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
Karl Hobley
19730bea53
Renamed wagtail.wagtailsearch to wagtail.search
...
Conflicts:
docs/advanced_topics/settings.rst
docs/getting_started/integrating_into_django.rst
docs/getting_started/tutorial.rst
docs/topics/pages.rst
docs/topics/search/searching.rst
tox.ini
wagtail/admin/tests/test_pages_views.py
wagtail/admin/views/mixins.py
wagtail/api/v2/filters.py
wagtail/contrib/wagtailsearchpromotions/forms.py
wagtail/contrib/wagtailsearchpromotions/views.py
wagtail/documents/models.py
wagtail/documents/views/chooser.py
wagtail/documents/views/documents.py
wagtail/documents/views/multiple.py
wagtail/images/migrations/0001_initial.py
wagtail/images/models.py
wagtail/images/views/chooser.py
wagtail/images/views/images.py
wagtail/images/views/multiple.py
wagtail/project_template/project_name/settings/base.py
wagtail/project_template/search/views.py
wagtail/search/tests/test_frontend.py
wagtail/search/tests/test_index_functions.py
wagtail/search/views/frontend.py
wagtail/search/views/queries.py
wagtail/search/wagtail_hooks.py
wagtail/tests/demosite/models.py
wagtail/tests/modeladmintest/models.py
wagtail/tests/non_root_urls.py
wagtail/tests/settings.py
wagtail/tests/snippets/models.py
wagtail/tests/testapp/migrations/0001_initial.py
wagtail/tests/testapp/migrations/0020_customdocument.py
wagtail/tests/testapp/models.py
wagtail/tests/urls.py
wagtail/wagtailsnippets/views/chooser.py
wagtail/wagtailsnippets/views/snippets.py
2017-11-26 22:43:47 +00:00
Karl Hobley
bf0f3e02ba
Rename wagtail.wagtailimages to wagtail.images
...
Conflicts:
docs/advanced_topics/api/v2/configuration.rst
docs/advanced_topics/jinja2.rst
docs/advanced_topics/settings.rst
docs/getting_started/integrating_into_django.rst
docs/getting_started/tutorial.rst
docs/topics/pages.rst
docs/topics/streamfield.rst
gulpfile.js/config.js
tox.ini
wagtail/admin/tests/test_compare.py
wagtail/admin/tests/test_edit_handlers.py
wagtail/api/v2/signal_handlers.py
wagtail/contrib/wagtailstyleguide/views.py
wagtail/core/tests/test_streamfield.py
wagtail/documents/tests/test_models.py
wagtail/images/models.py
wagtail/images/permissions.py
wagtail/images/tests/test_admin_views.py
wagtail/images/tests/test_image_operations.py
wagtail/images/tests/test_models.py
wagtail/images/tests/test_signal_handlers.py
wagtail/images/views/chooser.py
wagtail/images/views/images.py
wagtail/images/views/multiple.py
wagtail/images/wagtail_hooks.py
wagtail/images/widgets.py
wagtail/project_template/project_name/settings/base.py
wagtail/tests/demosite/models.py
wagtail/tests/non_root_urls.py
wagtail/tests/settings.py
wagtail/tests/testapp/migrations/0001_initial.py
wagtail/tests/testapp/migrations/0008_inlinestreampage_inlinestreampagesection.py
wagtail/tests/testapp/migrations/0009_defaultstreampage.py
wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
54d8357f96
Rename wagtail.wagtailembeds to wagtail.embeds
...
Conflicts:
gulpfile.js/config.js
wagtail/embeds/blocks.py
wagtail/embeds/tests.py
wagtail/embeds/views/chooser.py
wagtail/embeds/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
78b1372cd4
Rename wagtail.wagtaildocs to wagtail.documents
...
Conflicts:
docs/advanced_topics/i18n/index.rst
docs/advanced_topics/settings.rst
docs/getting_started/integrating_into_django.rst
gulpfile.js/config.js
wagtail/admin/tests/test_collections_views.py
wagtail/api/v2/signal_handlers.py
wagtail/contrib/wagtailstyleguide/views.py
wagtail/core/tests/test_collection_permission_policies.py
wagtail/documents/permissions.py
wagtail/documents/tests/test_admin_views.py
wagtail/documents/tests/test_collection_privacy.py
wagtail/documents/tests/test_models.py
wagtail/documents/views/chooser.py
wagtail/documents/views/documents.py
wagtail/documents/views/serve.py
wagtail/documents/wagtail_hooks.py
wagtail/documents/widgets.py
wagtail/project_template/project_name/urls.py
wagtail/tests/demosite/models.py
wagtail/tests/non_root_urls.py
wagtail/tests/settings.py
wagtail/tests/testapp/models.py
wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
63a32fb77f
Fix path to admin SCSS files in gulp config
2017-11-26 22:43:47 +00:00
Karl Hobley
ae8f11d38c
Fix paths to JS files in webpack config
2017-11-26 22:43:47 +00:00
Karl Hobley
062d05189b
Rename wagtail.wagtailadmin to wagtail.admin
...
Conflicts:
docs/advanced_topics/customisation/admin_templates.rst
docs/advanced_topics/customisation/page_editing_interface.rst
docs/advanced_topics/i18n/duplicate_tree.rst
docs/advanced_topics/jinja2.rst
docs/advanced_topics/settings.rst
docs/getting_started/integrating_into_django.rst
docs/getting_started/tutorial.rst
docs/reference/hooks.rst
docs/reference/pages/panels.rst
docs/topics/pages.rst
docs/topics/streamfield.rst
wagtail/admin/blocks.py
wagtail/admin/checks.py
wagtail/admin/edit_handlers.py
wagtail/admin/forms.py
wagtail/admin/rich_text.py
wagtail/admin/search.py
wagtail/admin/site_summary.py
wagtail/admin/templatetags/wagtailadmin_tags.py
wagtail/admin/tests/test_admin_search.py
wagtail/admin/tests/test_buttons_hooks.py
wagtail/admin/tests/test_compare.py
wagtail/admin/tests/test_edit_handlers.py
wagtail/admin/tests/test_page_chooser.py
wagtail/admin/tests/test_pages_views.py
wagtail/admin/tests/test_rich_text.py
wagtail/admin/tests/test_widgets.py
wagtail/admin/tests/tests.py
wagtail/admin/urls/__init__.py
wagtail/admin/views/account.py
wagtail/admin/views/chooser.py
wagtail/admin/views/collection_privacy.py
wagtail/admin/views/collections.py
wagtail/admin/views/home.py
wagtail/admin/views/page_privacy.py
wagtail/admin/viewsets/model.py
wagtail/admin/wagtail_hooks.py
wagtail/admin/widgets.py
wagtail/contrib/settings/registry.py
wagtail/contrib/wagtailsearchpromotions/wagtail_hooks.py
wagtail/contrib/wagtailstyleguide/wagtail_hooks.py
wagtail/project_template/project_name/settings/base.py
wagtail/project_template/project_name/urls.py
wagtail/tests/non_root_urls.py
wagtail/tests/settings.py
wagtail/tests/snippets/models.py
wagtail/tests/testapp/models.py
wagtail/tests/testapp/wagtail_hooks.py
wagtail/tests/urls.py
wagtail/wagtaildocs/models.py
wagtail/wagtaildocs/views/chooser.py
wagtail/wagtaildocs/wagtail_hooks.py
wagtail/wagtailembeds/wagtail_hooks.py
wagtail/wagtailforms/models.py
wagtail/wagtailforms/tests/test_views.py
wagtail/wagtailforms/views.py
wagtail/wagtailforms/wagtail_hooks.py
wagtail/wagtailimages/models.py
wagtail/wagtailimages/views/chooser.py
wagtail/wagtailimages/wagtail_hooks.py
wagtail/wagtailredirects/forms.py
wagtail/wagtailredirects/wagtail_hooks.py
wagtail/wagtailsites/forms.py
wagtail/wagtailsites/views.py
wagtail/wagtailsites/wagtail_hooks.py
wagtail/wagtailsnippets/tests.py
wagtail/wagtailsnippets/wagtail_hooks.py
wagtail/wagtailusers/forms.py
wagtail/wagtailusers/views/groups.py
wagtail/wagtailusers/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
11b822d2dc
Disable isort
...
Keeping isort happy while renaming lots of modules in parallel will
create a lot of merge conflicts which take time to resolve.
We will re enable after all the modules have been renamed.
2017-11-26 22:43:47 +00:00
Karl Hobley
4300e19da2
Rename wagtail.wagtailcore to wagtail.core
2017-11-26 22:43:47 +00:00
Matt Westcott
026346b977
Mention Slack in readme
2017-11-23 17:35:55 +00:00
LB (Ben Johnston)
fbd317e6b9
Fix issues with 'Customising generated forms'
...
The 'Customising generated forms' example contains a few issues that might confuse those who are copy/pasting the code.
1. No reference to the `geocode` library and where it comes from, added imports and revised API usage
2. `location = models.CharField()` requires the `max_length` attribute set
3. `FieldPanel('title')` added to content panels, otherwise testing this out causes error because no title or slug exists
These issues were flagged in #3737
2017-11-23 17:30:14 +00:00
Bertrand Bordage
8d31cd4707
test_search_count is now working on PostgreSQL.
2017-11-23 15:30:35 +01:00
Karl Hobley
49b28311fc
Changelog/release note for #3951
2017-11-23 09:48:19 +00:00
Bertrand Bordage
b380703bcf
Fixes the function to get ancestors content types.
2017-11-23 09:46:27 +00:00