0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

2229 Commits

Author SHA1 Message Date
Karl Hobley
1e332b4b67 Implement 'bgcolor' image operation.
Also fixes #3713.

Remove alpha channel if converting transparent image to JPEG
2018-01-03 11:26:14 +01:00
misraX
c48a2ef501 Fixing search url for django 1.10 and above.
For django 1.10 and above the search url will fail with a TypeError since there is no support for views as string insider urlpatterns, It will raise TypeError('view must be a callable or a list/tuple in the case of include().')
TypeError: view must be a callable or a list/tuple in the case of include().
2018-01-02 23:37:10 +00:00
kevin howbrook
0b44392c3d Add missing import to tagging docs (#4158) 2017-12-29 17:54:38 +01:00
Matt Westcott
be2b5a7981 Release notes for #4060 2017-12-15 13:50:36 +00:00
LB
6866fa0d8d add Django 2.0 note 2017-12-15 10:33:09 +00:00
LB
70eb2b6ae3 add on_delete argument to ParentalKey & ForeignKey 2017-12-15 10:33:09 +00:00
Karl Hobley
26d9fb42a3 Changelog/release notes for #3947 2017-12-14 15:22:29 +00:00
LB (Ben Johnston)
e20fbcc3cd Update register_page_listing_more_buttons example
Use Button instead of PageListingButton in **register_page_listing_more_buttons** section.
2017-12-14 12:37:16 +00:00
LB
5c29f37632 Add filter example images 2017-12-14 12:35:52 +00:00
Karl Hobley
ebb84d835d Add upgrade consideration for removal of API v1 2017-12-14 12:00:15 +00:00
Karl Hobley
91eb6b0f6c Changelog/release note for #4128 2017-12-14 11:36:12 +00:00
LB
4ea8365203 Add ability to set custom value_class on StructBlock 2017-12-13 00:00:35 +00:00
LB
78cd642def Release notes for #4093 2017-12-06 13:29:41 +08:00
Philipp Bosch
a9f51a09c4 [Docs] Fix imports in "Buttons with dropdown lists" hooks example 2017-12-05 00:12:06 +00:00
Matt Westcott
733f487dc0 Enable password validators on the project template.
Thanks to @tmsndrs for the heads-up!
2017-12-04 22:49:09 +00:00
Matt Westcott
3191849b6b Update setup.py and docs to mention Django 2.0 support 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
6578c006dd
More clarification on when not to replace wagtailcore -> core 2017-12-04 11:18:30 +00:00
Janneke Janssen
91d1150fc4 Release notes for #3592 2017-12-01 16:24:05 +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
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
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
Mads Jensen
ffd93a0d28 Don't inherit from object 2017-11-27 10:06:03 +00:00
Mads Jensen
8b420b9abc Removed __future__ imports
Also delete add_imports directive from isort configuration
2017-11-27 02:18:30 +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
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
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
4300e19da2 Rename wagtail.wagtailcore to wagtail.core 2017-11-26 22:43:47 +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
Karl Hobley
49b28311fc Changelog/release note for #3951 2017-11-23 09:48:19 +00:00
Bertrand Bordage
50a52c20a6 #3583 release notes. 2017-11-22 18:06:25 +01:00
Bertrand Bordage
c5593ac49a Changelog for #3936. 2017-11-22 17:04:48 +01:00
LB (Ben Johnston)
ebc423e91a Add instructions on how to do test app migrations
Previously answered [here](https://github.com/wagtail/wagtail/pull/4024#issuecomment-345267222) and [here](https://groups.google.com/forum/#!msg/wagtail-developers/P6x9N5qzq-I/0gbRzWgBBgAJ). Just adding this into these docs for future contributors.
2017-11-19 09:08:01 +00:00
Matt Westcott
392cd21014 Improve description of real-soon-now milestone 2017-11-17 14:39:12 +00:00
Matt Westcott
97c98e170a Fill in release date for 1.13.1 2017-11-17 11:15:34 +00:00
Matt Westcott
ae0d7e6149 Fill in release date for 1.12.3 2017-11-17 11:15:11 +00:00
Matt Westcott
9613bc087d Release notes for #4028 2017-11-17 10:58:05 +00:00
Matt Westcott
b4f2017123 Release notes for #4027 2017-11-17 10:58:05 +00:00
Matt Westcott
970f26249b Release note for #4017 2017-11-16 17:08:34 +00:00
Matt Westcott
4cceba80f1 Release note for #4018 2017-11-16 17:08:34 +00:00
Matt Westcott
676a5edee3 Mention Slack on support documentation 2017-11-15 21:06:45 +00:00
Matt Westcott
e8720c7627 Release note for #4007 2017-11-14 20:12:32 +00:00
LB
8f1f7a63d1 Add explicit requirement for image and filter 2017-11-14 20:10:45 +00:00
LB
48b6a1b067 add note about django-treebeard api 2017-11-12 18:13:23 +00:00
Martin Sandström
345b527ca2 Fix syntax error in ImageRenditionField example 2017-11-12 18:07:38 +00:00
Matt Westcott
501273f3d8 release note for #3987 2017-11-10 11:14:27 +00:00
LB
cd924d0948 add docs for exclude_fields_in_copy 2017-11-10 11:02:55 +00:00
Matt Westcott
c9b6d3a4e6 Release note for #3999 backported to 1.13.x 2017-11-07 16:48:26 +00:00
Matt Westcott
e603080092 Release note for #3999 2017-11-07 16:45:55 +00:00
Matt Westcott
fa0734b4b2 Release note for #3981 2017-11-06 14:30:04 +00:00
Karl Hobley
696acfd28b Remove ES 1.x search backend 2017-11-06 14:27:27 +00:00
Matt Westcott
e5ecc6318b Release note for #3965 2017-11-03 18:12:41 +00:00
Matt Westcott
aebb69a2ba Remove dead links to API v1 docs 2017-11-03 17:03:57 +00:00
Jonathan Carmack
7859627a6e Added hooks for user for create, delete, and edit actions 2017-11-03 16:53:32 +00:00
Edd Baldry
a28fa5e8c8 Amends label for when user changes images closes #3955 2017-11-03 16:12:22 +00:00
Matt Westcott
b0ddfc6da4 Update warning re ATOMIC_REBUILD on Elasticsearch >= 5.4
It appears that the bug may have reappeared in 5.5 final. Fixes #3985
2017-11-03 15:53:29 +00:00
Matt Westcott
31294f3b38 Release note for #3974 backport to 1.13.x 2017-11-03 15:44:20 +00:00
Matt Westcott
ced5cf2fe8 Release note for #3974 backport to 1.12.x 2017-11-03 15:44:14 +00:00
Matt Westcott
e61481442e Release note for #3912 backported to 1.12.x 2017-11-03 15:04:04 +00:00
Matt Westcott
3a017fc00d Add release note for #3973 backported to 1.13.x 2017-11-03 15:03:55 +00:00
Matt Westcott
77093a8cc6 Add release note for #3973 backported to 1.12.x 2017-11-03 15:02:48 +00:00
Matt Westcott
022c31d91e Release note for #3973 2017-11-03 14:43:32 +00:00
Karl Hobley
bf7936ade2 Replace django.core.urlresolvers with django.urls 2017-11-01 16:22:46 +00:00
Tim Heap
1f2b8ccaf1 Filter pop-out explorer pages using 'construct_explorer_page_queryset'
The pages listed when browsing the /admin/pages/ explorer differed from
the pages listed in the new React/admin API powered pop-out explorer.
The latter did not pass the queryset through the
'construct_explorer_page_queryset' hook, so pages that should have been
hidden were visible. Visiting these pages in the explorer could then
lead to unexpected behaviours, as hidden sections of the site became
browsable.

A new `for_explorer=1` query parameter has been added to the admin API,
which will pass the page queryset through the
'construct_explorer_page_queryset' hooks.
2017-10-31 15:55:01 +00:00
Karl Hobley
0fb6edcf5f Changelog/release notes for #3979 and #3983 2017-10-30 10:17:12 +00:00
Karl Hobley
1c9c934f9f Changelog/release notes for #3856 and #3946 2017-10-26 16:53:09 +01:00
Karl Hobley
b350672585 Merge pull request #3934 from gasman/cleanup/remove-python2
Remove Python 2 fallback code
2017-10-26 14:41:43 +01:00
Kees Hink
454af89c17 Move Usage info (Documents, Images) to sidebar 2017-10-26 14:34:58 +01:00
Karl Hobley
030c6b9548 Changelog/release notes for #3925, #3930 and #3974 2017-10-26 13:55:21 +01:00
Karl Hobley
fa302c0853 Remove wagtail.contrib.wagtailapi 2017-10-25 16:49:17 +01:00
Karl Hobley
bd38525e5b Merge branch 'master' into cleanup/remove-python2 2017-10-25 16:21:27 +01:00
Matt Westcott
60c26e5565 Remove note about Django 1.10 being required for postgres search backend 2017-10-25 16:15:02 +01:00
Matt Westcott
56a68c3ee8 Remove more Django 1.8 references from docs 2017-10-25 16:15:02 +01:00
Karl Hobley
499ef19a9b Changelog/release note for #3521 2017-10-25 15:28:32 +01:00
Karl Hobley
328e337395 Changelog and release notes for #3940 and #3968 2017-10-25 11:56:39 +01:00
Matt Westcott
9ec8daba43 Update slugurl documentation with a "real-world" example.
Thanks to @rifuso for the suggestion!
2017-10-23 12:40:07 +01:00
Bertrand Bordage
0f5640b212 Fixes INDEX_SETTINGS docs. 2017-10-19 23:11:40 +01:00
Karl Hobley
6514650aa4 Merge pull request #3940 from BertrandBordage/postgres_search_improvements
Postgres_search simplification.
2017-10-19 16:27:48 +01:00
Kees Hink
c03f43a70b Also show link to image usage page on confirm_delete page 2017-10-19 10:23:36 +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
Matt Westcott
fd9d36d66b Mark 1.13 as no longer in development
Conflicts:
	CHANGELOG.txt
2017-10-16 19:03:47 +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
Matt Westcott
5f382d8784 Remove Python 2 references from docs 2017-10-13 12:24:42 +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
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
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
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
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
700864bb2a Release note for #3794 2017-10-06 00:37:47 +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
8dc425660b Docs for batch cache invalidation 2017-10-05 15:15:20 +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
Timo Rieber
63af2b28ea Added PythonAnywhere deployment infos including the wagtail-pythonanywhere-quickstart project 2017-10-03 15:54:33 +01:00
Timo Rieber
6414e6c10b Removed openshift deployment infos (v2 has been sunset) 2017-10-03 15:54:33 +01:00
Mikalai Radchuk
ddb0665f79 Make last_published_at filterable 2017-10-02 21:39:31 +01:00
Matt Westcott
ce0e88c3ae Release note for #3893 2017-10-02 21:15:36 +01:00
Mikalai Radchuk
bcf3a8f364 Release notes for #3792 2017-10-02 10:20:17 +01:00
Janneke Janssen
b3e126d6b9 Update React to 15.6.2 due to relicensing (#3884) 2017-09-29 18:18:16 +13:00
Matt Westcott
5d39033df0 Use globe instead of home icon for breadcrumb root 2017-09-27 14:19:24 +01:00
Matt Westcott
2c0177234e Add 'The Zen of Wagtail' document 2017-09-27 12:20:34 +01:00
Matt Westcott
c19bea67b9 Stop breadcrumb home icon from showing as ellipsis in Chrome 2017-09-26 16:18:22 +02:00
Matt Westcott
f9de02b806 Release note for #3705 2017-09-21 15:00:10 +01:00
Matt Westcott
3d21cae940 Allow overriding branding_logo on the 404 page 2017-09-21 13:25:12 +01:00
Matt Westcott
6570cf1a76 Release note for #3442 2017-09-20 20:48:03 +01:00
Matt Westcott
37be77143d Release note for #3822 2017-09-20 16:08:58 +01:00
Matt Westcott
65e833603a Release note for #3821 2017-09-20 15:59:57 +01:00
Matt Westcott
5232a3aa7c Fill in release date for 1.12.2 2017-09-18 21:44:48 +01:00
Matt Westcott
a4b99ce4f0 Change StreamField examples to use explicit required=False instead of required=True 2017-09-18 21:34:35 +01:00
Matt Westcott
addb31c1d6 Explicitly state that required defaults to true on StreamField blocks 2017-09-18 21:34:35 +01:00
Matt Westcott
cc77f8e7d4 Clarify interaction between StreamField's blank property and StreamBlock's required property 2017-09-18 21:34:35 +01:00
Matt Westcott
563b8e48ef Release notes for #3541 2017-09-13 21:41:35 +01:00
Matt Westcott
665d06c8ce Remove docs for setting up post_delete signals on custom document models
This is no longer required as of #3541
2017-09-13 21:36:55 +01:00
Matt Westcott
2a9ec51995 Set preview dropdown button to 250px (desktop) / 100% (mobile)
Re-fixes #3784, without breaking non-dropdown save buttons as a side effect (#3836).
2017-09-13 15:47:48 +01:00
Mitchel Cabuloy
83e6a551fe Fix OEmbed endpoints 2017-09-08 17:55:35 +01:00
Matt Westcott
92b4f68c67 Don't call static() when constructing HalloPlugins
This isn't necessary, since Django form media fills in static paths itself - and doing it at module level will break on startup with certain staticfiles configurations if collectstatic hasn't run yet. Fixes #3829
2017-09-07 16:21:24 +01:00
Venelin Stoykov
90ce50307e Make it possible to reverse migrations
Conflicts:
	CONTRIBUTORS.rst
2017-09-06 16:37:31 +01:00
Matt Westcott
1aaf7b17ef Add release note sections for 1.12.2 2017-09-06 16:30:13 +01:00
Matt Westcott
e64762acbb fill in release date for 1.12.1 2017-08-30 17:24:04 +01:00
Matt Westcott
ca589a56f3 Move release note for #3790 to 1.12.1 2017-08-30 16:55:54 +01:00
Matt Westcott
c87b400c7a Release note for #3799/#3820 2017-08-30 16:54:48 +01:00
Matt Westcott
a7820a2e90 Release note for #3785
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2017-08-29 11:49:45 +01:00
LB
0b90ee15fa add request.FILES to form 2017-08-29 10:55:28 +01:00
Janneke Janssen
3baf087979 Update changelog with correct contributors for #2189 2017-08-27 20:28:52 +02:00
Vincent Audebert
a10e1f0761 Add CSS minification and source maps for Sass 2017-08-27 20:25:53 +02:00
Jack P
981108919a Fix avatar position in footer on mobile (#3781)
* Fix avatar unnecessarily shifting by 50px in the footer on mobile

* Update _formatters.scss

* Move mobile menu on homepage override to col1 on homepage instead of avatar

* Add release notes for #3781
2017-08-27 01:04:17 +03:00
Thibaud Colas
c271993a2d Fix link to stylelint site in documentation 2017-08-26 19:07:08 +03:00
Anselm Bradford
a900965fba Fixes #3516 - replaces scss-lint with stylelint 2017-08-26 16:39:45 +03:00
kapito
8ff650a5b4 Fix form submission page header class 2017-08-25 16:20:15 +01:00
Lucas Moeskops
f7024a4193 Fixed wrong argument for datetimechooser widget
The argument for specifying the language of the DateTimeChooser is wrong, which makes it impossible to customise the language. Compare for reference the argument specification for the DateChooser and the TimeChooser :-)
2017-08-25 16:12:35 +01:00
Mikalai Radchuk
2cba1b13bf Release notes for #3789 2017-08-25 09:34:50 +01:00
Emily Horsman
423c31ddf6 Adds docs for custom document models and get_document_model
This documentation will need to be updated if/when #3539 is fixed,
similar to the custom image model documentation that exists already.
2017-08-24 10:22:52 -07:00
Bertrand Bordage
894887e7da [Postgres_search] Adds a default ordering when ranking of objects is the same. 2017-08-24 11:52:21 +01:00
Ben Sturmfels
5278e005a0 Remove unused import in docs snippet. 2017-08-23 22:58:42 +01:00
Ben Sturmfels
5301010474 Update docs for Amazon ElasticSearch service as backend.
This change moves the "connection_class" key into "OPTIONS", resolving error
``AttributeError: 'AWS4Auth' object has no attribute 'encode'``.
2017-08-23 21:11:25 +01:00
Timothy Allen
8d08f83c5a Minor documentation example fix; bold and italic should be spelled out explicitly. (#3779) 2017-08-22 20:29:15 +03:00
Matt Westcott
b0aedf02dc Remove old versionadded annotations from the docs 2017-08-22 14:08:44 +01:00
Joe Cronyn
d56f1069ef Updating to allow no limit max 2017-08-22 12:09:05 +01:00
Bertrand Bordage
d53162957d Removes useless “Fix:” from 1.13 release notes. 2017-08-21 16:03:25 +02:00
Matt Westcott
28d8f80a23 Fill in release date for 1.12 final 2017-08-21 14:38:05 +01:00
Bertrand Bordage
31e025032c Adds changelog notes for 29360a4. 2017-08-21 14:06:39 +02:00
Bertrand Bordage
72f0a3a2fc Adds release notes for #3726. 2017-08-16 18:12:08 +02:00
Matt Westcott
77ae8eac50 Mention the RFC process on the contributing page 2017-08-16 10:19:16 +01:00
Matt Westcott
ca8503846e Fix link to RFC 8 2017-08-16 10:19:16 +01:00
Thibaud Colas
b0b5e25e97 Release note for #3763, in 1.13 2017-08-16 00:40:49 +03:00
Thibaud Colas
6b605aaa0d Create new release note sections for Wagtail 1.13 2017-08-16 00:38:09 +03:00
Thibaud Colas
65e6c6920f Add npm run lint:css command to run Sass linting 2017-08-11 16:26:11 +01:00
Thibaud Colas
4eafad0a57 Fix scss_lint gem naming 2017-08-11 16:26:11 +01:00
Thibaud Colas
91490566c2 Replace references to Node versions 2017-08-11 15:40:43 +01:00
Tomasz Knapik
80c846a0cf Add help_text to DecimalBlock and RegexBlock 2017-08-11 11:48:51 +01:00
Jeffrey Chau
c26e019ed1 Followup to #3640. Fix hidden field rendering in other document forms 2017-08-11 11:25:04 +01:00
Karl Hobley
2e81c30ca5 Changelog/release note for #3344 2017-08-11 10:18:21 +01:00
Matt Westcott
b376da022f Grammar nitpick ('By default' sounds more natural than 'Per default') 2017-08-11 09:58:44 +01:00
Andreas Nüßlein
39bca11283 added default index_route for RoutablePageMixin
RoutablePageMixin has a default index_route method that is decorated
with `@route(r'^$')`. This way, including RoutablePageMixin doesn't
force you to re-enable the default functionality you would expect from a
Page anyways.
index_route behaves exactly like a standard Wagtail Page.
To override the default behaviour, one can simply override the route by
decorating another function with r'^$'.

(as disussed in issue #2866)
2017-08-11 09:58:44 +01:00
kapito
e008838d53 Non-obstructive navbar toggle icon
Changes the design of the navbar toggle slightly so that it no longer obstructs page headers.
Currently: https://cdn.pbrd.co/images/GAruhHC.png, https://cdn.pbrd.co/images/GArxXtn.png
With fix: https://cdn.pbrd.co/images/GArvF7ec.png, https://cdn.pbrd.co/images/GArwp3o.png
2017-08-11 03:41:51 +03:00
kapito
aed6791088 Optimise caudal oscillation parameters on logo (#3740) 2017-08-10 15:31:29 +01:00
Matt Westcott
f9824236a8 Fix Christine Ho's credit 2017-08-10 14:31:23 +01:00
Matt Westcott
9942822fca Make paragraph elements an always-on plugin rather than configurable with plugins 2017-08-10 14:19:34 +01:00
Matt Westcott
c1b9204615 Release notes for rich text features 2017-08-10 14:19:34 +01:00
Matt Westcott
7c99cad62b Documentation for rich text features 2017-08-10 14:19:34 +01:00
Matt Westcott
0f5db96364 Add WAGTAILUSERS_PASSWORD_ENABLED and WAGTAILUSERS_PASSWORD_REQUIRED settings
Fixes #3706. These options restore the ability to create users with no password set on the Django side, for setups where authentication is managed externally (e.g. LDAP) - this was inadvertently dropped in Wagtail 1.10 when the form validation was tightened up (#3007). Additionally, the password fields can now be removed entirely, to enforce the use of an external auth setup.
2017-08-10 10:11:47 +01:00
Jack P
f9aebb77d7 Fix inconsistent footer width (#3723) 2017-08-08 21:55:08 +03:00
Thibaud Colas
85286699d2 Release notes for #3748 2017-08-08 21:41:37 +03:00
Karl Hobley
3163f77d2a Changelog/contributor/release note for #3701 2017-08-04 14:32:57 +01:00
kapito
b6e01515cb fix deprecated load() function 2017-08-03 19:47:16 +01:00
Matt Westcott
8ba95cb664 Add release note about the need to specify draft_title in fixtures 2017-08-03 13:24:24 +01:00
Matt Westcott
70aa876e55 Extra documentation / release note re the relationship between draft_title and get_admin_display_title 2017-08-03 12:05:52 +01:00
Matt Westcott
8a055addad Don't render a StructValue's template on calls to str(value)
This is liable to cause infinite loops on debug / logging code that attempts to log the fact that it's rendered a template with this value in the context.

Fixes #2874, https://github.com/jazzband/django-debug-toolbar/issues/950
2017-08-02 14:04:47 +01:00
Matt Westcott
17939e5190 release note fixup 2017-08-02 12:28:28 +01:00
Jack P
ee2e44c125 Fix footer collapsing too early (#3719) 2017-08-02 13:45:45 +03:00
Stein Strindhaug
f663c76490 Prevent users from demoting or deactivating themself
Remove is_active and is_superuser fields completely when editing
oneself, to avoid locking oneself out.
2017-08-02 00:13:05 +01:00
Matt Westcott
2021042d57 Release note for #3605 2017-08-01 15:03:07 +01:00
Matt Westcott
2e5dd9aa55 Refactor #3605 to work alongside 'required' param 2017-08-01 15:02:52 +01:00
ebar0n
993cff3e22 Add validations for min_max_fields on StreamBlock 2017-08-01 10:41:49 +01:00
Edwar Baron
58ad6545be Add ability to specify min/max block counts on StreamBlock 2017-08-01 10:41:48 +01:00
Matt Westcott
4a5f3072bd Release note and docs for #3315 2017-08-01 00:17:02 +01:00
Levi Adler
6bd7515663 Reduce queries and speed up sitemap generation with PageQuerySet.specific (#3727) 2017-07-28 16:07:16 +01:00
Jeffrey Chau
988a2487ef Update documentation to reflect specific behavior of form_classname meta attribute 2017-07-28 15:41:38 +01:00
Eugene Morozov
7b55c5094f Backslash is not necessary when multi-line expression is parenthesized. 2017-07-18 09:56:42 +03:00
Eugene Morozov
f85f186cea Hide wagtail icon from printed page representation. 2017-07-14 11:49:52 +02:00
Matt Westcott
a9b7265784 Add docs about upgrading and supported Django / Python versions (#3690)
* Add docs about upgrading and supported Django / Python versions

Fixes #2429

* Add table of LTS support periods
2017-07-12 14:50:27 +01:00
Matt Westcott
2bd54431b4 fill in release date for 1.11.1
Conflicts:
	CHANGELOG.txt
2017-07-07 14:40:16 +01:00
Matt Westcott
a0c6e46580 Release note for #3694
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2017-07-07 14:39:28 +01:00
Matt Westcott
8003185ac2 Release note for #3569 2017-07-06 15:23:40 +01:00
Matt Westcott
4caa860149 Mark 0.8, 1.4, 1.8 and 1.12 as LTS releases in release notes 2017-07-04 15:20:44 +01:00
Karl Hobley
8a8b440532 Put a space back
Accidentally removed by previous commit
2017-07-04 09:58:01 +01:00
Karl Hobley
1d878c6788 Remove a broken link from pages.rst
This link now just leads to a blank page with the message "The Django wiki is no longer used for this information."
2017-07-04 09:56:36 +01:00
Karl Hobley
01e2d5f4a0 Class based embed finders and new embed finder configuration (#2127)
* Allow additional oembed providers to be used (currently all are hardcoded)
 * Make per-provider configuration possible
    * Choose which finders get used for which provider (eg, force use of oembed for instagram but use embedly for everything else)
    * Allow specifying additional parameters for certian providers such as scheme=https to YouTube
2017-07-03 18:28:13 +01:00
Mikalai Radchuk
cc4f941c0a Add release notes for #3285 2017-07-03 10:14:16 +01:00
Matt Westcott
4bcd4b1834 Fill in release date for 1.11
Conflicts:
	CHANGELOG.txt
2017-06-30 14:39:07 +01:00
Karl Hobley
ae070c688e Changelog/release note for #3670 2017-06-30 09:33:35 +01:00
David
240fa9153b Added multiselect form field 2017-06-28 17:25:25 +01:00
Matthew Downey
27808a9fe1 Respect max_num when setting initial disabled state for InlinePanel add button #3316 2017-06-28 15:56:50 +01:00
Tim Heap
55a56416f5 Call Field.prepare_value from FieldBlocks
This is used by some form fields to convert from the internal Python
value to the value used by a widget, much like `Block.get_prep_value`
for blocks or `Field.get_prep_value` for model fields.
2017-06-26 23:21:13 +01:00
Matt Westcott
8a07ce57f4 Version bump to start work on Wagtail 1.12 2017-06-22 18:33:48 +01:00
Matt Westcott
3d9159c0b4 Release note for #3663 2017-06-19 16:57:05 +01:00
Mikalai Radchuk
5f651299df oEmbed: Add support of Tumblr 2017-06-19 15:10:54 +01:00
Matt Westcott
0611a1b2cd Release note for #3545 2017-06-19 15:08:24 +01:00
Matt Westcott
6bc6480cd2 Fix deprecated import of modelcluster.tags in tutorial 2017-06-19 12:23:30 +01:00
Bertrand Bordage
729bee6c14 Changelog for #2547. 2017-06-19 03:34:16 +02:00
Matt Westcott
4bd8ebb85f Add acknowledgement to Wharton for sponsoring private docs feature 2017-06-16 15:55:39 +01:00
Matt Westcott
4e5fff7e41 Release note for #3245 / #3644 2017-06-16 15:33:54 +01:00
Matt Westcott
b2fbd91864 Document the DOCUMENT_PASSWORD_REQUIRED_TEMPLATE setting 2017-06-16 14:50:48 +01:00
Matt Westcott
049b15f3fe Define a 'before_serve_document' hook 2017-06-16 14:50:47 +01:00
Matt Westcott
980f979d90 Release note for #3492 2017-06-12 19:08:33 +01:00
LB
18cb0245fc allow default for show_in_menus 2017-06-09 12:50:39 +01:00
Jeffrey Chau
0c9ad90edd Fix document chooser template to account for hidden fields 2017-06-09 12:31:33 +01:00
Matt Westcott
ea8ab5de45 Document Elasticsearch 5.4 incompatibility with ATOMIC_REBUILD 2017-06-07 15:08:48 +01:00
Matt Westcott
b976db3afc Pin isort to 4.2.5 - fixes #3623 2017-06-02 12:23:49 +01:00
Matt Westcott
927770eaab Release note / docs for #3608 2017-06-02 10:58:34 +01:00
John Franey
3f8052064e Mention PostgreSQL backend in docs Search index
Updates the Search docs index to mention the new PostgreSQL backend
2017-05-30 20:48:46 +01:00
Matt Westcott
2f2bfa0159 Make tagging example not rely on an unmentioned 'blogs' method - fixes #3602 2017-05-30 20:39:30 +01:00
Mikalai Radchuk
9d64068082 Release notes for #3588 2017-05-23 20:55:43 +01:00