Bertrand Bordage
d19934512d
Only rank specific field search when `order_by_relevance`.
2017-10-18 21:49:19 +01:00
Bertrand Bordage
5fac10656d
Removes useless code.
2017-10-18 21:21:50 +01:00
Bertrand Bordage
272bfba95d
Fixes a QuerySet.
2017-10-18 21:16:40 +01:00
Bertrand Bordage
9db5b45ec7
Replace every remaining mention of postgresql_psycopg2.
...
PostgreSQL search backend were not running because of this since 67b1ddb665 (diff-c2cc727a5e1fca9050dea34af68aa13c)
2017-10-18 21:10:49 +01:00
Bertrand Bordage
780d06215e
Fixes fetching results from a queryset directly.
2017-10-18 20:54:46 +01:00
Bertrand Bordage
f16e8d14b8
Isort fixes.
2017-10-18 16:28:26 +01:00
Bertrand Bordage
f17ac6cedf
Postgres_search simplification.
...
This also preserves the original queryset order when using
`order_by_relevance=False`.
2017-10-18 16:03:33 +01:00
Matt Westcott
fd9d36d66b
Mark 1.13 as no longer in development
...
Conflicts:
CHANGELOG.txt
2017-10-16 19:03:47 +01:00
Matt Westcott
54f362f2ac
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 19:03:21 +01:00
Ross Crawford-d'Heureuse
32555f7a1c
Added hiddenfield
2017-10-13 17:26:20 +01:00
Sævar Öfjörð Magnússon
9ac07d0a75
Bypass removelist in urlify when dealing with unicode characters. Fixes #3915
2017-10-13 16:57:20 +01:00
Patrick Woods
fa853de486
Use parse_known_args so we can handle extra testrunner named parameters
2017-10-13 16:35:03 +01:00
Matt Westcott
a789ec7b7f
Un-pin Django Rest Framework <3.7. Reverses #3912
2017-10-11 20:57:16 +01:00
Matt Westcott
2b64922a05
Add release note re removal of Python 2.7, Django 1.8 and Django 1.10 support
2017-10-11 17:31:08 +01:00
Matt Westcott
2d2518a571
Remove now-redundant 'import django' lines
2017-10-11 17:04:06 +01:00
Karl Hobley
e3f968a154
Remove obsolete compat functions
2017-10-11 17:04:06 +01:00
Karl Hobley
67b1ddb665
Remove django.VERSION checks
2017-10-11 17:04:06 +01:00
Matt Westcott
5a0c36cdae
Remove Django 1.8/1.10 from CI and readme
2017-10-11 17:04:06 +01:00
Matt Westcott
c80bbfcc5f
Eliminate references to wagtaildemo from the docs
...
bakerydemo is now our preferred demo site and the one which will be updated for Wagtail 2.x / Django 2.x.
2017-10-11 16:58:30 +01:00
Karl Hobley
4a1e27dbd4
Remove Python 2 from CI and docs
2017-10-11 16:40:10 +01:00
Matt Westcott
fddb9a076e
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:09:13 +01:00
Matt Westcott
016bf2deb9
Rotate deprecation warnings
2017-10-10 11:51:45 +01:00
Matt Westcott
d48c3709cd
Remove support for registerHalloPlugin
2017-10-10 11:51:45 +01:00
Matt Westcott
119d2334ac
Replace insert_editor_js hook example with a non-registerHalloPlugin one
...
Fixes #3839
2017-10-10 11:51:45 +01:00
Matt Westcott
fe360d9e10
Remove Wagtail-1.4-era fallback for rest_framework not being installed
2017-10-10 11:51:45 +01:00
Matt Westcott
0629b6a866
Say "as a child of Homepage" rather than "under Homepage", to avoid ambiguity
...
Thanks to @rifuso for the suggestion!
2017-10-10 11:48:03 +01:00
Matt Westcott
f15a98f983
readthedocs needs a requirements.txt, apparently
2017-10-09 19:45:07 +01:00
Matt Westcott
f69c73ef66
Version bump to begin work on 2.0
2017-10-09 18:34:43 +01:00
Matt Westcott
031a6dee9f
docs/requirements.txt probably not needed now that we're pip installing wagtail
2017-10-09 18:22:17 +01:00
Matt Westcott
a52d5be479
requirements_file not needed, but maybe pip_install is
2017-10-09 18:15:36 +01:00
Matt Westcott
04940287ab
ok, readthedocs.yml back in the root again...?
2017-10-09 18:11:18 +01:00
Matt Westcott
353d11c203
need to specify full path for readthedocs requirements
2017-10-09 18:08:48 +01:00
Matt Westcott
6e5262624e
specify requirements.txt for readthedocs
2017-10-09 18:05:06 +01:00
Matt Westcott
4d2bb813a9
See if readthedocs.yml in the docs folder has any effect
2017-10-09 18:00:53 +01:00
Matt Westcott
e504fb1cdf
Revert readthedocs to 2.7 (see if failure is py3 specific or triggered by the presence of readthedocs.yml)
2017-10-09 17:49:42 +01:00
Matt Westcott
ca819145c9
Tell readthedocs to use python 3
2017-10-09 17:41:26 +01:00
Matt Westcott
d294e39884
Other features -> New features
2017-10-06 16:23:39 +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
Ben Sturmfels
4063573f9c
Use Page subclass get_admin_display_title() in admin search views.
...
The template changes force the most specific ``get_admin_display_title`` method
to be used across all page explorer lists and page choosers in the admin. The
view changes should reduce the performance hit in the case of the search views.
2017-10-06 00:24:25 +01:00
Mads Jensen
11bf9b0e28
Use django.utils.six.iteritems in wagtail.utils.utils.deep_update.
2017-10-05 16:43:28 +01:00