Commit graph

7788 commits

Author SHA1 Message Date
Matt Westcott
9584b554e7 Remove dj20 from allow-failures and add more test environments 2017-12-04 12:58:29 +00:00
Matt Westcott
fd4666b257 str() no longer makes SafeText unsafe, so explicitly modify it 2017-12-04 12:58:29 +00:00
Matt Westcott
9bf8735e0e Make generate_signature return a string, so we can pass it to reverse() again 2017-12-04 12:58:29 +00:00
Matt Westcott
ed3cc5587c Account for undocumented management command options used in tests 2017-12-04 12:58:29 +00:00
Matt Westcott
b87eed1cce Fix password reset tests to cast uid to string 2017-12-04 12:58:29 +00:00
Matt Westcott
e78a627bce Pass fields to GinIndex as a kwarg 2017-12-04 12:58:29 +00:00
Matt Westcott
c2af41b4b9 Add Django 2.0 to travis 2017-12-04 12:58:29 +00:00
Matt Westcott
d0ce34b869 Use keyword argument for form field label 2017-12-04 12:58:29 +00:00
Matt Westcott
02d581cad3 Add Django 2.0 compatible imports for RoutablePage 2017-12-04 12:58:29 +00:00
Matt Westcott
6578c006dd
More clarification on when not to replace wagtailcore -> core 2017-12-04 11:18:30 +00:00
Mads Jensen
85b7b7c0df Deleted a Python 2 fallback in tests/customuser/models.py 2017-12-02 13:32:28 +00:00
Janneke Janssen
91d1150fc4 Release notes for #3592 2017-12-01 16:24:05 +01:00
Janneke Janssen
8b7510e16b #3591 Added media queries to the summary numbers to enable responsiveness 2017-12-01 16:11:38 +01:00
LB
7c54c14709 search on changed query only
linting
2017-12-01 12:52:57 +01:00
Janneke Janssen
2cd6086f0b Fix revisions link collapsing 2017-12-01 10:37:11 +01:00
Luiz Boaretto
ee9403f7f7 Fix typo for wagtailsnippets JS
Currently, it's not possible to select a snippet because the JS file is not loaded, resulting in the error:
ReferenceError: createSnippetChooser is not defined

This is due to a typo in the gulp config file.
2017-11-30 16:52:49 +00:00
Robert Rollins
c8b0fff586 Added a flag in dummy_request() to inform middleware that the request is a dummy.
This is useful for middleware that perform destructive changes in
process_response(). They rightfully expect process_response() to only get called
once per thread, but it happens twice during a Page preview when running under
Django 1.10's middleware system. This flag lets the middleware know that they
should potentially skip their destructive operations.

Conflicts:
	wagtail/wagtailcore/models.py
2017-11-30 15:21:01 +00:00
Matt Westcott
7c92ed7bad fix backticks in release notes 2017-11-30 12:43:29 +00:00
LB
a42893f497 FormSubmissionsPanel to use get_submission_class 2017-11-30 12:42:49 +00:00
Matt Westcott
9610c2d3af Make InlinePanel heading independent of label. Original commit by @Adrian-Turjak 2017-11-30 12:08:19 +00:00
Mikalai Radchuk
b36d7cabb3 Update setup.cfg to drop support of Python 2 2017-11-30 11:14:45 +00:00
LB
f0bdfcb22f Release notes for #4024 2017-11-28 22:11:21 +08:00
LB
bc0923b356 Add note that form_submission is passed to landing page context 2017-11-28 22:01:37 +08:00
LB
afee487d52 Documentation example for render_landing_page 2017-11-28 22:01:18 +08:00
LB
6120366345 Tests for render_landing_page method 2017-11-28 22:00:39 +08:00
LB
d16430fe2d Render landing page moved to overridable method 2017-11-28 22:00:03 +08:00
Bertrand Bordage
edca709601
Merge pull request #4071 from atombrella/uwsgi_spelling
Fixed spelling error in uwsgi.conf.sample
2017-11-28 01:31:17 +01:00
Mads Jensen
db6d36845f Use Python 3 super() syntax 2017-11-27 18:05:25 +00:00
Mads Jensen
c8c6e30c4f Fixed spelling error in uwsgi.conf.sample 2017-11-27 13:08:42 +01:00
Mads Jensen
48adc08d8f Replaced FormView.get_form_kwargs with a super-call in modeladmin/views.py 2017-11-27 11:15:19 +00:00
Mads Jensen
47eca0f3d7 Deleted definitions of __ne__ 2017-11-27 10:17:27 +00:00
Mads Jensen
ffd93a0d28 Don't inherit from object 2017-11-27 10:06:03 +00:00
Mads Jensen
f0eef2fc88 Deleted unused wggtail.utils.compat 2017-11-27 02:18:30 +00:00
Mads Jensen
8b420b9abc Removed __future__ imports
Also delete add_imports directive from isort configuration
2017-11-27 02:18:30 +00:00
Mads Jensen
cde0fafe7c Use Python 3's metaclass-attribute in class definitions. 2017-11-27 01:42:24 +00:00
Mads Jensen
35460101f1 Removed use of six.assertRegex 2017-11-27 01:42:24 +00:00
Matt Westcott
ff0daf074d Add line break to makemigrations code snippet 2017-11-27 01:11:09 +00:00
Matt Westcott
782108e263 Release notes for module reorganisation 2017-11-27 01:09:42 +00:00
Matt Westcott
8e0b2f6d1d Fix non-standard import of wagtail.search 2017-11-26 22:43:47 +00:00
Matt Westcott
d73d714e02 Update appNames in gulpfile 2017-11-26 22:43:47 +00:00
Karl Hobley
9a13b09d41 Renamed wagtail.contrib.wagtailstyleguide to wagtail.contrib.styleguide 2017-11-26 22:43:47 +00:00
Karl Hobley
58ea7f824a Renamed wagtail.contrib.wagtailsitemaps to wagtail.contrib.sitemaps 2017-11-26 22:43:47 +00:00
Karl Hobley
fd8f642fb6 Renamed wagtail.contrib.wagtailsearchpromotions to
wagtail.contrib.search_promotions

Conflicts:
	wagtail/contrib/search_promotions/forms.py
	wagtail/contrib/search_promotions/templatetags/wagtailsearchpromotions_tags.py
	wagtail/contrib/search_promotions/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
394274b0a1 Renamed wagtail.contrib.wagtailroutablepage to
wagtail.contrib.routable_page

Conflicts:
	docs/reference/contrib/routablepage.rst
2017-11-26 22:43:47 +00:00
Karl Hobley
7f1b60abca Renamed wagtail.contrib.wagtailfrontendcache to
wagtail.contrib.frontend_cache

Conflicts:
	docs/reference/contrib/frontendcache.rst
	wagtail/api/v2/signal_handlers.py
	wagtail/contrib/frontend_cache/signal_handlers.py
2017-11-26 22:43:47 +00:00
Karl Hobley
4deb1dbff0 Renamed wagtail.wagtailredirects to wagtail.contrib.redirects
Conflicts:
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	wagtail/contrib/redirects/forms.py
	wagtail/contrib/redirects/permissions.py
	wagtail/contrib/redirects/tests.py
	wagtail/contrib/redirects/views.py
	wagtail/contrib/redirects/wagtail_hooks.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/tests/settings.py
2017-11-26 22:43:47 +00:00
Karl Hobley
f29ce6c1f9 Renamed wagtail.wagtailforms to wagtail.contrib.forms
Conflicts:
	docs/reference/contrib/forms/customisation.rst
	docs/reference/contrib/forms/index.rst
	wagtail/contrib/forms/tests/test_forms.py
	wagtail/contrib/forms/tests/test_models.py
	wagtail/contrib/forms/tests/test_views.py
	wagtail/contrib/forms/views.py
	wagtail/contrib/forms/wagtail_hooks.py
	wagtail/tests/settings.py
	wagtail/tests/testapp/models.py
2017-11-26 22:43:47 +00:00
Karl Hobley
80ff06f988 Rename wagtail.wagtailusers to wagtail.users
Conflicts:
	wagtail/admin/tests/test_pages_views.py
	wagtail/admin/utils.py
	wagtail/admin/views/account.py
	wagtail/users/views/groups.py
	wagtail/users/views/users.py
	wagtail/users/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
1ecf48fb3f Rename wagtail.wagtailsnippets to wagtail.snippets
Conflicts:
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/topics/pages.rst
	docs/topics/snippets.rst
	gulpfile.js/config.js
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/snippets/tests.py
	wagtail/snippets/views/chooser.py
	wagtail/snippets/views/snippets.py
	wagtail/snippets/wagtail_hooks.py
	wagtail/tests/settings.py
	wagtail/tests/snippets/models.py
	wagtail/tests/testapp/models.py
2017-11-26 22:43:47 +00:00
Karl Hobley
b08d4dd83a Renamed wagtail.wagtailsites to wagtail.sites
Conflicts:
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	wagtail/project_template/project_name/settings/base.py
	wagtail/sites/views.py
	wagtail/tests/settings.py
2017-11-26 22:43:47 +00:00