Mani
87bbc31d88
Add a setting to apply limit on number of tags that can be added to any tagged model.
2019-03-10 20:48:33 +10:00
tomedelliott
f5654981c8
Add limit image upload size by number of pixels ( #5097 )
...
* Add test for Image pixel size
* add pixel size check and update test to match
using djangos get_image_dimensions this maybe a internal function
but the commit adding it is over 9 years old
* Update docs and CHANGELOG
* fix typos
2019-02-23 14:13:00 +00:00
Matt Westcott
30f6a590b4
Documentation on rich text internals ( #4927 )
2018-11-29 16:36:09 +00:00
Sergey Fedoseev
47465197a9
Use intersphinx for Django references when possible. ( #4896 )
2018-11-14 11:48:32 +00:00
Matt Westcott
c2a351fee1
Clarify that the default languages list is the ones with >=90% coverage
2018-10-25 12:20:59 +01:00
Janneke Janssen
52a224ca64
Fixes reference to the wagtailsearch section
2018-10-23 15:51:14 +02:00
Matt Westcott
9afcd1a8be
Remove notes about URL confs for Django<2.0
2018-10-18 11:25:12 +01:00
Meteor0id
cb75effd11
url() is depriciated. Alias re_path()
...
Added important note about using url() on older versions of django, but switched the examples to re_path as to comply with Django docs for 2.0 and later.
2018-08-18 11:32:39 +02:00
Matt Westcott
939e031760
Fix passwordless user creation tests for Django 2.1 and clarify WAGTAILUSERS_PASSWORD_REQUIRED docs
...
The behaviour of `has_usable_password` has changed in Django 2.1, such that `None` is no longer considered a 'non-usable' password: https://docs.djangoproject.com/en/2.1/ref/contrib/auth/#django.contrib.auth.models.User.has_usable_password
As a consequence of the fix applied in Django https://code.djangoproject.com/ticket/28718 , Wagtail users created without a password will now be able to complete the password reset process to gain access to Wagtail. Sites that do not want this behaviour (e.g. because those users should be using an LDAP login instead) should disable password changes via WAGTAIL_PASSWORD_MANAGEMENT_ENABLED and WAGTAIL_PASSWORD_RESET_ENABLED.
2018-08-09 00:34:38 +01:00
Matt Westcott
c3dc86c0e5
Add full documentation for WAGTAILADMIN_RICH_TEXT_EDITORS. Fixes #4555
2018-06-10 12:45:48 +10:00
Matt Westcott
b629563fb3
Remove reference to WAGTAILIMAGES_BACKENDS
2018-06-10 12:45:48 +10:00
LB
740bbb6c39
fix typos
2018-06-10 12:45:48 +10:00
LB
c886d1ab4f
add missing settings
2018-06-10 12:45:48 +10:00
Victor Miti
c38b172793
updated Django Docs Links to point to *docs.djangoproject.com/en/stable/*
2018-05-18 14:43:42 +01:00
Matt Westcott
2c8d7371b4
Remove frontend search view
2018-05-18 11:43:28 +01:00
Matt Westcott
fa27773d16
Release note for #4462
2018-04-23 16:26:32 +01:00
Matt Westcott
bcbfe226ee
Allow disabling gravatar with WAGTAIL_GRAVATAR_PROVIDER_URL=None. Fixes #1286
2018-04-23 15:53:13 +01:00
Pierre Geier
96118cdb9a
Makes it possible to set a custom Gravatar source like robohash or your own.
2018-04-23 15:53:13 +01:00
David
e43ea79747
Add a per-user timezone setting
2018-04-20 12:06:52 +01:00
Matt Westcott
1799853b55
Fix 'email notifications' link
2018-02-14 14:06:21 +00:00
Bruno Alla
be164048b8
Add setting to disable notification to superusers -- Fixes #3969
...
WAGTAILADMIN_NOTIFICATION_INCLUDE_SUPERUSERS, default to True
If set to False, superusers do not receive moderation notification,
only moderators do.
2018-01-10 17:26:02 +00:00
Mike Dingjan
ef27853a05
Allow overriding login form via `WAGTAILADMIN_USER_LOGIN_FORM
` setting
2018-01-03 15:57:40 +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
Kees Hink
454af89c17
Move Usage info (Documents, Images) to sidebar
2017-10-26 14:34:58 +01:00
Matt Westcott
56a68c3ee8
Remove more Django 1.8 references from docs
2017-10-25 16:15:02 +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
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
Matt Westcott
fe360d9e10
Remove Wagtail-1.4-era fallback for rest_framework not being installed
2017-10-10 11:51:45 +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
Matt Westcott
b0aedf02dc
Remove old versionadded annotations from the docs
2017-08-22 14:08:44 +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
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
Matt Westcott
b2fbd91864
Document the DOCUMENT_PASSWORD_REQUIRED_TEMPLATE setting
2017-06-16 14:50:48 +01:00
Bertrand Bordage
769413dd2d
Promotes new admin preview in release notes.
2017-04-19 18:37:54 +02:00
Bertrand Bordage
b866e5b934
Adds some missing versionadded in settings docs.
2017-04-19 15:13:02 +02:00
Bertrand Bordage
1a82c19191
Adds documentation for WAGTAILADMIN_PERMITTED_LANGUAGES.
2017-04-19 15:09:58 +02:00
Bertrand Bordage
511c158b18
New admin preview ( #3383 )
...
* Rewrites the page preview to make it reliable.
* Updates preview tests.
* Fixes View import on Django 1.8 & 1.9.
* Starts sending preview auto-update data only after clicking on preview.
* Changes the preview session key prefix.
2017-04-12 16:35:38 +01:00
Bojan Mihelac
0f53afc5a6
Adds support for custom date and datetime formats ( #2595 )
...
It is possible to set default format for date/datetime inputs. This works together
with standard django localization.
# django settings
USE_I18N = True
LANGUAGE_CODE = 'sl'
# wagtail settings
WAGTAIL_DATE_FORMAT = '%d.%m.%Y.'
WAGTAIL_DATETIME_FORMAT = '%d.%m.%Y. %H:%M'
DateBlock, DateTimeBlock accepts additional keyword argument `format`.
2017-03-31 16:30:27 +01:00