Matt Westcott
76435fa475
Add release notes for 1.12.5
2018-08-13 11:25:21 +01:00
Matt Westcott
3e1ca1c706
Version bump to 1.12.5
2018-08-10 16:40:13 +01:00
Matt Westcott
6088825a89
Block installation of beautifulsoup4==4.6.1
...
It contains a critical bug that breaks Wagtail: https://bugs.launchpad.net/beautifulsoup/+bug/1784408
2018-08-10 16:29:35 +01:00
Matt Westcott
8e95c04fd7
Pin django-taggit to a <1.11 compatible version - see #4725
2018-08-10 16:27:19 +01:00
Matt Westcott
d394bde6d1
Add readthedocs config
2018-08-10 16:25:18 +01:00
Matt Westcott
912adfd275
Fill in release date for 1.12.4
2018-07-04 15:29:25 +01:00
Matt Westcott
8abf5a04d5
Version bump to 1.12.4
2018-07-04 15:28:25 +01:00
Matt Westcott
3d6d09d188
Release note for #4496 in 1.12.4
2018-07-03 17:20:36 +01:00
Matt Westcott
1aaad64a6f
Reject null characters in redirect URLs
2018-07-03 17:19:22 +01:00
Matt Westcott
51ee04db42
Release note for #4553 in 1.12.4
2018-07-03 16:03:55 +01:00
Matt Westcott
190a648148
Pass all necessary template context to chooser view after upload validation error
...
Fixes #4548
2018-07-03 16:01:29 +01:00
Matt Westcott
b6bd954130
Release note for #4480 in 1.12.4
2018-06-29 14:36:59 +01:00
Aram Dulyan
cfe2b4a6a2
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 14:25:26 +01:00
Loic Teixeira
77e562aaf2
Update LTS imformation
2018-03-29 14:38:20 +02:00
Karl Hobley
a5bf40381c
[1.12.x] Changelog/release notes for #4128
2017-12-14 11:46:03 +00:00
Mikalai Radchuk
c48fe70958
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:44:27 +00:00
Matt Westcott
46891f3596
Fill in release date for 1.12.3
2017-11-17 11:12:27 +00:00
Matt Westcott
3938ba260c
Version bump to 1.12.3
2017-11-17 11:10:40 +00:00
Matt Westcott
c7f311a002
Release notes for #4027
2017-11-17 10:55:43 +00:00
Karl Hobley
e421b7a811
Remove randomly failing test
...
The underlying bug has been fixed properly on master
2017-11-16 17:21:45 +00:00
Matt Westcott
3ed72d3c0b
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-16 17:21:45 +00:00
Matt Westcott
4baa6cda58
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-16 17:21:45 +00:00
Matt Westcott
b72ec0e632
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-16 17:21:45 +00:00
Matt Westcott
21d62ffc0b
Add tests for filtering search with isnull
2017-11-16 17:21:45 +00:00
Matt Westcott
0514608d80
Fix search tests so that test_filters_in_subquery catches the values_list bug addressed by #3957
2017-11-16 17:21:45 +00:00
Karl Hobley
447f163d2e
Fix __isnull=True lookup for Elasticsearch 5
2017-11-16 17:21:45 +00:00
Karl Hobley
4b96f5eba3
Fix values_list subqueries in Elasticsearch queries
2017-11-16 17:21:45 +00:00
Matt Westcott
9931ca5f15
Release note for #4018
2017-11-16 17:04:46 +00:00
Matt Westcott
0451fc730f
Add tests for searching on the Page model
2017-11-16 16:22:29 +00:00
Matt Westcott
f4db4fcea9
Backport fix for converting SearchRank weight list, from 781263d4e1
2017-11-16 16:22:29 +00:00
Martin Sandström
857e397870
Fix syntax error in ImageRenditionField example
2017-11-12 18:09:14 +00:00
Matt Westcott
50f50d77f3
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:32 +00:00
Matt Westcott
58e8765116
Release note for #3974 backport to 1.12.x
2017-11-03 15:23:49 +00:00
Stein Strindhaug
f65d961ae0
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:22:31 +00:00
Matt Westcott
8d421fd84f
Release note for #3912 backported to 1.12.x
2017-11-03 15:01:39 +00:00
Matt Westcott
4c98163c71
Pin django-rest-framework to <3.7 to preserve Django 1.8 support
2017-11-03 14:59:43 +00:00
Matt Westcott
d5964b3bfa
Add release note for #3973 backported to 1.12.x
2017-11-03 14:47:06 +00:00
Karl Hobley
90153e31c8
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:44:07 +00:00
Matt Westcott
7175cd8d9b
Version bump to 1.12.2
2017-09-18 21:44:07 +01:00
Matt Westcott
976d915dd5
Fill in release date for 1.12.2
2017-09-18 21:43:44 +01:00
Matt Westcott
64f8e23f31
Change StreamField examples to use explicit required=False instead of required=True
2017-09-18 21:35:09 +01:00
Matt Westcott
b1b9775e52
Explicitly state that required defaults to true on StreamField blocks
2017-09-18 21:35:09 +01:00
Matt Westcott
06ea3fb301
Clarify interaction between StreamField's blank property and StreamBlock's required property
2017-09-18 21:35:08 +01:00
Matt Westcott
7cf38f115c
Set preview dropdown button to 250px (desktop) / 100% (mobile)
...
Re-fixes #3784 , without breaking non-dropdown save buttons as a side effect (#3836 ).
2017-09-13 15:48:36 +01:00
Matt Westcott
a1b395d851
Revert "Fix preview button dropdown styling ( #3785 )"
...
This reverts commit a60aa1bfe2 .
2017-09-13 15:48:36 +01:00
Matt Westcott
1bdd26ea41
Fix test for Python 2.x
2017-09-09 00:43:09 +01:00
Mitchel Cabuloy
bdeb104804
Fix OEmbed endpoints
2017-09-08 17:56:15 +01:00
Matt Westcott
28907c14db
Don't call static() when constructing HalloPlugins
...
This isn't necessary, since Django form media fills in static paths itself - and doing it at module level will break on startup with certain staticfiles configurations if collectstatic hasn't run yet. Fixes #3829
2017-09-07 16:22:13 +01:00
Venelin Stoykov
f0e9258af9
Make it possible to reverse migrations
2017-09-06 16:35:54 +01:00
Matt Westcott
d17caef271
Add release note sections for 1.12.2
2017-09-06 16:28:37 +01:00