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
Matt Westcott
de3f9550b4
Release note for #3824
2017-10-05 15:40:55 +01:00
Karl Hobley
48cfb8e790
Tweaks to the docs
2017-10-05 15:15:21 +01:00
Karl Hobley
0cb63c72c5
Implemented suggestions from @chosak
2017-10-05 15:15:20 +01:00
Karl Hobley
de3c37639b
isort
2017-10-05 15:15:20 +01:00
Karl Hobley
4767e9cf80
Tests for batch cache invalidation
2017-10-05 15:15:20 +01:00
Karl Hobley
8dc425660b
Docs for batch cache invalidation
2017-10-05 15:15:20 +01:00
Karl Hobley
0a02e5cc78
Added PurgeBatch class
2017-10-05 15:15:20 +01:00
Karl Hobley
99b9af3b5b
Added purge_pages_from_cache function
2017-10-05 15:15:20 +01:00
Karl Hobley
4570653d0c
Implement purge_urls_from_cache
2017-10-05 15:15:20 +01:00
Karl Hobley
dcfd45c326
Implement purge_batch on frontend cache backends
2017-10-05 15:15:19 +01:00
Karl Hobley
2082c2ff76
Implemented remaining suggestions from @chosak
2017-10-05 15:07:14 +01:00
Karl Hobley
1c13461004
Add comment about why setting self.object is required
2017-10-05 15:07:14 +01:00
Karl Hobley
e83eb0b32b
Various cleanups in generic views
2017-10-05 15:07:14 +01:00
Karl Hobley
8a028fbe38
Removed unused get_queryset methods
...
Thanks to @chosak for spotting. I also removed these methods from
EditView and DeleteView as they weren't being used there.
2017-10-05 15:07:14 +01:00
Karl Hobley
c75d209925
Convert groups to generic views/viewsets
...
Picking off the lower hanging fruit first.
This converts the groups section of the admin to use generic
views/viewsets.
2017-10-05 15:07:14 +01:00
Mads Jensen
3dc3236e3f
Removed Django pre 1.8 fallback for urlquote_safechars
2017-10-05 12:16:49 +01:00
Mads Jensen
c94b518295
Removed Python 2.6 email.utils import fallback
2017-10-05 12:15:27 +01:00
Mads Jensen
27eddba955
Simplified Content-Encoding in response in utils/sendfile.py
2017-10-05 11:36:46 +01:00
Mads Jensen
b655cda791
Deleted Django 1.3 import fallback in utils/sendfile.py
2017-10-04 23:59:52 +01:00
Matt Westcott
f8bbd9b9b5
Ensure example.doc is deleted on TestServeView teardown
2017-10-04 20:00:24 +01:00
Samir Shah
62b8caedd5
Remove SessionAuthenticationMiddleware from project template and docs.
...
The project template assumes Django 1.11, where SessionAuthenticationMiddleware is redundant (see https://docs.djangoproject.com/en/1.11/releases/1.10/#features-removed-in-1-10 ).
Also update the documentation to consistently refer to MIDDLEWARE instead of MIDDLEWARE_CLASSES.
2017-10-04 16:14:34 +01:00