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
Bertrand Bordage
ff1272dea2
Simplification.
2017-11-24 05:33:43 +01:00
Bertrand Bordage
b3bf2415d2
Fixes PostgreSQL tests.
2017-11-24 05:09:39 +01:00
Bertrand Bordage
d187bf4c75
Disables AUTO_UPDATE in PostgreSQL test for speed.
2017-11-24 04:37:10 +01:00
Bertrand Bordage
420f721631
Tests Travis CI against the PostgreSQL search backend.
2017-11-24 04:05:54 +01:00
Bertrand Bordage
c598534271
Tests invalid search operators and removes a useless check.
2017-11-24 03:40:51 +01:00
Bertrand Bordage
1bc7cf5934
Unused import.
2017-11-23 22:45:06 +01:00
Bertrand Bordage
c3cac970ff
Fixes Elasticsearch tests.
2017-11-23 22:16:08 +01:00
Bertrand Bordage
d537737166
Replaces a remaining None with MATCH_ALL.
2017-11-23 22:12:33 +01:00
Bertrand Bordage
04e2deb309
Allows search query API tests failure on ES5.
2017-11-23 21:26:54 +01:00
Bertrand Bordage
c737f516e8
Implements Filter & Boost in database search backends.
2017-11-23 21:03:00 +01:00
Bertrand Bordage
b36165fd6a
Implements And/Or/Not/Term in database search backend.
2017-11-23 19:25:18 +01:00
Bertrand Bordage
4c4dfac806
Removes keyword_split.
2017-11-23 18:52:50 +01:00
Bertrand Bordage
6fe6935997
Makes Flake8 happy.
2017-11-23 18:51:34 +01:00
Bertrand Bordage
4a05f4ae23
Adds a test for complex operators combinations.
2017-11-23 18:48:22 +01:00
Bertrand Bordage
27bcb3f38f
Implements And/Or/Not/Term in postgres_search.
2017-11-23 18:37:36 +01: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
71a7ca5808
SearchQueryCompiler → BaseSearchQueryCompiler.
2017-11-23 17:05:54 +01:00
Bertrand Bordage
019f59f486
Fixes an undefined variable.
2017-11-23 16:57:52 +01:00
Bertrand Bordage
1bb6613bcc
Types the search query API.
2017-11-23 16:53:41 +01:00