0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

8425 Commits

Author SHA1 Message Date
Bertrand Bordage
3eea0767ab Merge branch 'master' into postgresql-autocomplete-api
# Conflicts:
#	wagtail/contrib/postgres_search/backend.py
2018-05-11 19:39:10 +02:00
Bertrand Bordage
601cb6c377 Fixes elasticsearch tests. 2018-05-11 19:26:00 +02:00
Bertrand Bordage
32148b2b24 Changelog for #4533. 2018-05-11 19:05:55 +02:00
Bertrand Bordage
c59da6db36 Adds annotate_score support on PostgreSQL. 2018-05-11 19:03:31 +02:00
Bertrand Bordage
389835438c Test annotate_score on PostgreSQL search backend. 2018-05-11 19:03:31 +02:00
Bertrand Bordage
66140044a9 Fixes tests. 2018-05-11 18:48:22 +02:00
Bertrand Bordage
021fbc8118 Isort. 2018-05-11 18:24:15 +02:00
Bertrand Bordage
38e97a2bce Adds test_incomplete_plain_text. 2018-05-11 17:52:15 +02:00
Bertrand Bordage
5642d566bf
Merge branch 'master' into postgresql-autocomplete-api 2018-05-11 17:43:06 +02:00
Matt Westcott
937254f321 Add documentation for deploying with cloud storage 2018-05-09 10:41:09 +01:00
Karl Hobley
0e19076b1c Moved changelog/release note for #4503 to version 2.2 2018-05-08 14:50:53 +01:00
Karl Hobley
10f4c0b082 Changelog/release note for #4503 2018-05-08 13:04:31 +01:00
Bertrand Bordage
184469c6e6 Adds another valid AudioBoom oEmbed pattern. 2018-05-08 13:03:02 +01:00
Karl Hobley
0dec4c8f89 Update supported databases in docs 2018-05-08 11:58:31 +01:00
Matt Westcott
679fdca740 Version bump to 2.1rc1 2018-05-05 00:31:24 +01:00
Matt Westcott
83df6168fc Add 2.1 to supported versions table 2018-05-04 20:45:34 +01:00
Matt Westcott
99275b8b75 Generate new source files for translation 2018-05-04 20:29:48 +01:00
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