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
Matt Westcott
31bfe77494
Correct 'Indexing extra fields' note to avoid implying that the Postgresql backend doesn't support it
...
Fixes #3899 - thanks @sivictorallen for the report!
2017-10-10 12:03:16 +01:00
Matt Westcott
a92784f31f
Say "as a child of Homepage" rather than "under Homepage", to avoid ambiguity
...
Thanks to @rifuso for the suggestion!
2017-10-10 11:58:26 +01:00
Matt Westcott
df69e3a47e
Tell readthedocs to use python 3
2017-10-10 11:58:25 +01:00
Matt Westcott
d72e3d9286
Other features -> New features
2017-10-06 16:23:22 +01:00
Matt Westcott
d43dd5b7d3
Version bump to 1.13rc1
2017-10-06 16:22:40 +01:00
Matt Westcott
48593d14cf
Add 1.13 to version compatibility table
2017-10-06 16:21:13 +01:00
Matt Westcott
9a1d44396f
Generate new strings for translation
2017-10-06 16:08:01 +01:00
Matt Westcott
26c677cc5a
Pull new translations from Transifex
2017-10-06 16:08:01 +01:00
Matt Westcott
e6d9428949
Pin django-rest-framework to <3.7 to preserve Django 1.8 support
2017-10-06 15:30:36 +01:00
Matt Westcott
e93b21036e
Allow navigation from page usage/search results
...
Remove the allow_navigation flag from the 'explore' page listing, and have navigation always enabled - there's no good reason to leave it out, and people have asked for it. Fixes #952
2017-10-06 14:17:41 +01:00
Matt Westcott
ef7ef8de13
Blog posts are ordered most recently published first, not most recently modified
...
Fixes #3909 - thanks to @gkahn for the report.
2017-10-06 14:06:57 +01:00
Matt Westcott
be73f16e14
Make custom PageManagers return the correct PageQuerySet subclass
...
As reported in https://github.com/wagtail/wagtail/issues/3250#issuecomment-284988695 , custom page managers created with PageManager.from_queryset(CustomPageQuerySet) fail to return instances of CustomPageQuerySet. This breaks the EventPageQuerySet example given at http://docs.wagtail.io/en/v1.9/topics/pages.html#custom-page-managers .
2017-10-06 13:06:18 +01:00
Matt Westcott
0e38f0b401
Reinstate MSSQL implementation of _update_descendant_url_paths
...
We don't currently have testing infrastructure to confirm that the pure-ORM version works on MSSQL, so we'll make an exception for it in the interests of not blocking this fix for other DBs.
2017-10-06 12:40:28 +01:00
Michael van Tellingen
cf25d07120
Remove custom SQL statements in Page._update_descendant_url_paths
...
Django 1.8 introduced ORM functions for Concat and Substring so use that
instead of custom SQL statements based on the connection vendor.
2017-10-06 11:31:25 +01:00
Matt Westcott
700864bb2a
Release note for #3794
2017-10-06 00:37:47 +01:00
Matt Westcott
09591fcf98
Add tests for custom admin display titles in search results
2017-10-06 00:24:25 +01:00