Commit graph

7590 commits

Author SHA1 Message Date
Matt Westcott
d785dea86b Pin django-taggit to a <1.11 compatible version - see #4725 2018-08-10 16:34:14 +01:00
Matt Westcott
32b011339f see if requirements_file: null makes readthedocs happy 2018-08-10 16:31:55 +01:00
Matt Westcott
5b370fc06c Fill in release date for 1.13.2 2018-07-04 15:31:40 +01:00
Matt Westcott
b74302c8c1 Version bump to 1.13.2 2018-07-04 15:30:57 +01:00
Matt Westcott
babb65d380 Fill in release date for 1.12.4 2018-07-04 15:30:28 +01:00
Matt Westcott
c8f036c82b Release note for #4496 in 1.13.2 2018-07-03 17:25:00 +01:00
Matt Westcott
d7ac32a79f Release note for #4496 in 1.12.4 2018-07-03 17:23:44 +01:00
Matt Westcott
6bc36ab3f2 Reject null characters in redirect URLs 2018-07-03 17:23:36 +01:00
Matt Westcott
4c50e86649 Release note for #4553 in 1.12.4 2018-07-03 16:05:10 +01:00
Matt Westcott
e49bdae737 Release note for #4553 in 1.13.x 2018-07-03 15:49:34 +01:00
Matt Westcott
99b6437028 Pass all necessary template context to chooser view after upload validation error
Fixes #4548
2018-07-03 15:42:51 +01:00
Matt Westcott
7e515111d8 Release note for #4480 in 1.13.2 2018-06-29 15:16:09 +01:00
Matt Westcott
7372c6a24a Release note for #4480 in 1.12.4 2018-06-29 15:14:27 +01:00
Matt Westcott
ca64c77283 Copy 1.12.4 release notes to 1.13.x branch 2018-06-29 15:14:19 +01:00
Aram Dulyan
0f314e7a12 Fix 500 errors when indexing fails on models with non-ASCII characters in their representation
Calling `repr()` on a model instance that has non-ASCII characters in
its string representation returns a UTF8-encoded bytestring that
includes that representation. This cannot be substituted into a
`unicode` string, since Python will attempt and fail to decode it with
the `ascii` codec.
2018-06-29 15:06:30 +01:00
Allen, Timothy
df839272c6 Add trove classfier for Wagtail... to Wagtail. 2018-06-19 14:48:51 +01:00
Loic Teixeira
e146816b8b Update LTS imformation 2018-03-29 14:34:36 +02:00
Karl Hobley
61698981fe [1.13.x] Changelog/release notes for #4128 2017-12-14 11:42:33 +00:00
Mikalai Radchuk
a4382d962c Use the exists_alias method with keyword arguments
Documentation for elasticsearch client suggests to pass arguments into exists_alias
as keyword arguments: http://elasticsearch-py.readthedocs.io/en/6.0.0/api.html#elasticsearch.client.IndicesClient.exists_alias

They changed order of arguments at least once:

* https://github.com/elastic/elasticsearch-py/blob/1.6.0/elasticsearch/client/indices.py#L378
* https://github.com/elastic/elasticsearch-py/blob/1.7.0/elasticsearch/client/indices.py#L385

This is also fixes support for `ATOMIC_REBUILD`.
2017-12-14 11:39:59 +00:00
Matt Westcott
b0be9edf51 Fill in release date for 1.13.1 2017-11-17 11:14:44 +00:00
Matt Westcott
6f837580cc Version bump to 1.13.1 2017-11-17 11:13:55 +00:00
Matt Westcott
e36c96f587 Fill in release date for 1.12.3 2017-11-17 11:13:32 +00:00
Matt Westcott
22270a70bd Release notes for #4028 2017-11-17 10:56:55 +00:00
Matt Westcott
4dcaab3f9e Release notes for #4027 2017-11-17 10:56:11 +00:00
Karl Hobley
7df28accad Remove randomly failing test
The underlying bug has been fixed properly on master
2017-11-17 09:14:06 +00:00
Matt Westcott
787fda53d2 Ensure we only look at SearchField records (not FilterField) to find boost values
It's valid for the same field to exist as both a SearchField and FilterField, and in this case get_boost would randomly find the FilterField and try (and fail) to read its 'boost' attribute.
2017-11-17 09:14:06 +00:00
Matt Westcott
4bc4cacfbd Include a Django 1.11 + sqlite + Elasticsearch5 environment in the Travis test matrix
We now know that sqlite vs postgresql is a meaningfully different code path for our ES5 tests, so they warrant separate test runs more than py3.5 versus py3.6 does...
2017-11-17 09:14:06 +00:00
Matt Westcott
a457176e84 Iterate over the full resultset of execute_sql(result_type=MULTI) when filtering by __in with a subquery
This ensures that it will work equivalently for lists (as returned when connection.features.can_use_chunked_reads is False) as for iterators, and means we don't need to worry about missing results if we ever receive a chunked resultset.
2017-11-17 09:14:06 +00:00
Matt Westcott
15ed3cd0cb Add tests for filtering search with isnull 2017-11-17 09:14:06 +00:00
Matt Westcott
7b3b059c8c Fix search tests so that test_filters_in_subquery catches the values_list bug addressed by #3957 2017-11-17 09:14:06 +00:00
Karl Hobley
85dac6c55e Fix __isnull=True lookup for Elasticsearch 5 2017-11-17 09:14:06 +00:00
Karl Hobley
bceff7a9cf Fix values_list subqueries in Elasticsearch queries 2017-11-17 09:14:06 +00:00
Matt Westcott
64dd04700f Release note for #4017 2017-11-16 17:07:39 +00:00
Matt Westcott
50afbde584 Release note for #4018 2017-11-16 17:07:32 +00:00
Matt Westcott
8b9ec7060d Add tests for searching on the Page model 2017-11-16 16:22:47 +00:00
Matt Westcott
4c1f3fc929 Backport fix for converting SearchRank weight list, from 781263d4e1 2017-11-16 16:22:47 +00:00
Martin Sandström
7f026d50b4 Fix syntax error in ImageRenditionField example 2017-11-12 18:10:13 +00:00
Matt Westcott
6457b89855 Release note for #3999 backported to 1.13.x 2017-11-07 16:48:12 +00:00
Matt Westcott
99853ad517 Prevent cssnano from 'optimising' z-index:9999 into z-index: 1. Fixes #3944 2017-11-07 16:47:43 +00:00
Matt Westcott
d26e6734ec Update warning re ATOMIC_REBUILD on Elasticsearch >= 5.4
It appears that the bug may have reappeared in 5.5 final. Fixes #3985
2017-11-03 15:55:49 +00:00
Matt Westcott
cc08268f3d Release note for #3974 backport to 1.13.x 2017-11-03 15:24:55 +00:00
Matt Westcott
42c752fb4e Release note for #3974 backport to 1.12.x 2017-11-03 15:24:24 +00:00
Stein Strindhaug
c93fabc8e7 Tolerate sites where all pages are private (#3974)
When all pages on a site is private, the last_mods set will be empty
causing a crash when trying to get the max value from it.
This fix adds a test that the set is truthy (not empty) before calling
max.
2017-11-03 15:24:12 +00:00
Matt Westcott
0f73be3386 Release note for #3912 backported to 1.12.x 2017-11-03 15:02:09 +00:00
Matt Westcott
9673bd8b67 Add release note for #3973 backported to 1.13.x 2017-11-03 14:53:45 +00:00
Matt Westcott
ec70e11d79 Add release note for #3973 backported to 1.12.x 2017-11-03 14:52:43 +00:00
Karl Hobley
7b5476a827 Fix AttributeError in listing_view endpoint
Fixes #3967

If there was no site configured, the listing views in the API would
break with an AttributeError.

Now, the following happens if there is no site record:
 - In the Admin API, all pages are returned but links in the response do
not include a domain name
 - In the Public API, no pages are returned
2017-11-03 14:51:47 +00:00
Matt Westcott
26ee9550ec Version bump to 1.13 final 2017-10-16 19:02:00 +01:00
Matt Westcott
39f80e2229 Mark 1.13 as no longer in development 2017-10-16 19:00:00 +01:00
Matt Westcott
cedc09dbf9 Fetch new strings for translation
Also remove tr_TR translations, as they will mask the more-complete TR translation due to #3600.
2017-10-16 18:53:16 +01:00