Commit graph

9308 commits

Author SHA1 Message Date
Matt Westcott
4b079601a1 Promote Ukrainian to the list of default provided languages 2018-05-04 20:29:48 +01:00
Matt Westcott
b4a9097f34 Update translator credits 2018-05-04 20:29:48 +01:00
Matt Westcott
84328e4f0d Fetch new translations from Transifex 2018-05-04 20:29:48 +01:00
Matt Westcott
cd3b676c44 Fix regression in #3988 where no revision records exist - fixes #4505 2018-05-04 19:09:09 +01:00
Matt Westcott
7f38c476be Release note for #4132 2018-05-04 16:19:27 +01:00
Karl Hobley
01c4b3bfd8 Fix another occurence of query -> query compiler 2018-05-04 15:57:37 +01:00
Matt Westcott
961a2f91d0 Rename Elasticsearch5SearchQuery to Elasticsearch5SearchQueryCompiler as per #4059 2018-05-04 15:57:36 +01:00
Karl Hobley
ed83585b86 Fixed backend configration tests
The latest version of the Elasticsearch client attempts to establish a
connection upon initialisation. This commit mocks out the backend.
2018-05-04 15:57:36 +01:00
Karl Hobley
6308e6b816 Docs update for Elasticsearch 6 support 2018-05-04 15:57:36 +01:00
Karl Hobley
cac3a65a3d Travis/tox configuration for Elasticsearch 6 2018-05-04 15:57:36 +01:00
Karl Hobley
0d7faef513 Removed root content type name from document ids
This hasn't been required since we separated indices per root content
type for Elasticsearch 2 support.
2018-05-04 15:57:36 +01:00
Karl Hobley
09c8843b7f Rename _partials to _edgengrams (ES6 only) 2018-05-04 15:57:36 +01:00
Karl Hobley
24edeb39b0 Give all documents the same type name
ES6 no longer supports multiple types in the same index
2018-05-04 15:57:36 +01:00
Karl Hobley
feeeb6410f Replaced _all field with custom field 2018-05-04 15:57:35 +01:00
Karl Hobley
135a62051b Added Elasticsearch 6 backend 2018-05-04 15:57:35 +01:00
Karl Hobley
df4f1204e8
Fix a couple of search indexing examples 2018-05-03 12:29:35 +01:00
Andy Babic
d0670da61b Fix minor typo in modeladmin docs (#4509)
add_to_setings_menu -> add_to_settings_menu
2018-05-02 18:11:01 +03:00
Matt Westcott
fa27773d16 Release note for #4462 2018-04-23 16:26:32 +01:00
Matt Westcott
a98f7dd03a Add warning when failing to delete old avatar file 2018-04-23 15:54:56 +01:00
Matt Westcott
ad7bf892eb Don't override MEDIA_ROOT for avatar tests 2018-04-23 15:54:56 +01:00
Matt Westcott
651af6370f Use <button> for submit button as per https://github.com/wagtail/wagtail/pull/4462#pullrequestreview-111174303 2018-04-23 15:54:56 +01:00
Matt Westcott
9d11a6ba29 Delete old avatar when uploading new one 2018-04-23 15:54:56 +01:00
Matt Westcott
70aea60e11 Improve layout of avatar upload page 2018-04-23 15:54:55 +01:00
Matt Westcott
4a9326724d Remove 'clear' option from avatar upload 2018-04-23 15:54:55 +01:00
Matt Westcott
a3bf84fc3b Remove avatar_choice field from UserProfile 2018-04-23 15:54:52 +01:00
Matt Westcott
ac038c3deb Remove logic for deleting old avatars
This logic was broken; it deleted the existing file on EVERY save, regardless of whether that save was in fact setting a new one
2018-04-23 15:53:14 +01:00
Matt Westcott
b25bf0c6bd Ditch user_profile.get_avatar_url and ignore avatar_choice when locating avatar
Avatars are now sourced from the uploaded file if available, falling back on gravatar (if enabled and email address is non-empty), falling back on the default mystery-man icon. This restores the old behaviour of using gravatar by default for new users.
2018-04-23 15:53:13 +01:00
Matt Westcott
bcbfe226ee Allow disabling gravatar with WAGTAIL_GRAVATAR_PROVIDER_URL=None. Fixes #1286 2018-04-23 15:53:13 +01:00
Pierre Geier
96118cdb9a Makes it possible to set a custom Gravatar source like robohash or your own. 2018-04-23 15:53:13 +01:00
Matt Westcott
f81c7d619c Consistently use the gravatar 'mystery man' as fallback, regardless of whether gravatar is in use
The .svg had various design issues (didn't follow the square avatar design adopted in #2805, was aligned too low in the menu footer, and had a transparent background leading to grey-on-teal ugliness on the homepage).
2018-04-23 15:53:13 +01:00
Matt Westcott
ff6ca55b12 Move avatar tag into wagtailadmin_tags 2018-04-23 15:53:12 +01:00
Daniel Chimeno
5b8ca7d7e7 first working attempt to make gravatar optional 2018-04-23 15:53:06 +01:00
Karl Hobley
1849f0d54a Pass index name in URL to Bulk API
We currently index all items in Elasticsearch using the root bulk api
(at ``/_bulk``). This API is to allow multiple indices to be inserted
into at once. However, Wagtail inserts into one index at a time so this
is not needed. If we pass the index name as a parameter in the call to
``bulk()``, the index-specific bulk API will be used instead (at
``/<index name>/_bulk``.

The advantage of this change is it makes it possible to implement access
control by checking the URL an application is using. This is required in
order for the Bulk API to work on certain hosts (such as Divio).
2018-04-20 15:02:46 +01:00
Matt Westcott
0aced66fe3 fix isort 2018-04-20 12:50:59 +01:00
David
e43ea79747 Add a per-user timezone setting 2018-04-20 12:06:52 +01:00
Matt Westcott
c82b6835a0 Add a meaningful error message for invalid arguments to pageurl (#4228) 2018-04-20 09:02:29 +02:00
Andy Chosak
3bd3275add more tests for ordering pages with custom titles 2018-04-19 22:40:16 -04:00
Matt Westcott
7818edf758 Use specific page objects on reorder listings with <100 items 2018-04-19 22:33:47 -04:00
h.zeinstra
a03c310858 changes message.error to message.validation_error 2018-04-19 16:16:43 +01:00
Karl Hobley
8503d1c365 Convert login/logout to class-based views 2018-04-19 15:03:56 +01:00
Karl Hobley
ea6a994280 Convert password reset to class based views 2018-04-19 15:03:55 +01:00
Arthur Holzner
878a5beeca Add extra_footer_actions template blocks 2018-04-19 12:37:52 +01:00
Bertrand Bordage
2bf3110ea1 Prevents postgres_search from adding multiple index_entries managers. 2018-04-18 22:29:58 +02:00
pyMan
b3fa09b95e Improved 'purge_page_from_cache' to purge the url for any managed language 2018-04-18 11:28:23 +01:00
Thibaud Colas
c309753378
Expose reusable client-side code to build Draftail extensions (#4467)
* Expose Draftail package as global variable for reuse
* Expose Wagtail React components for reuse
* Expose Draftail-related React components for reuse
2018-04-18 00:27:07 +03:00
Matt Westcott
574e7ff3fa Release note for #4470 2018-04-17 12:23:24 +01:00
Matt Westcott
443503d145 Fix non-model form fields being compared. Fixes #3737 2018-04-17 12:21:12 +01:00
Matt Westcott
b743b87d2f Release note for #4469 in 2.0.x
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2018-04-17 12:19:38 +01:00
Matt Westcott
b704a7e188 Release note for #4469 2018-04-17 12:15:17 +01:00
Matt Westcott
63fb483efb Restore ability to use non-model fields with FieldPanel
This feature is documented in http://docs.wagtail.io/en/v1.11.1/advanced_topics/customisation/page_editing_interface.html but was broken by the EditHandler refactor #3810 - see https://github.com/wagtail/wagtail/pull/4053#issuecomment-380594092
2018-04-17 12:03:14 +01:00