Karl Hobley
bdfee22e8b
New topic docs for internationalisation ( #6436 )
...
* New topic docs for internationalisation
* Spelling + Grammar fixes
* Clarity fixes
* Fix formatting issues
2020-10-16 13:36:19 +01:00
Sævar Öfjörð Magnússon
9d10e28214
Update wagtail app list to match installed apps in documentation
2020-10-06 15:03:39 +01:00
Karl Hobley
6e5f89adf2
General spelling fixes
2020-10-03 14:43:03 +01:00
Karl Hobley
9195131738
Lint docs with doc8
2020-10-03 14:43:03 +01:00
Matt Westcott
dc110b5432
Remove note about MSSQL being known to work
...
As per https://github.com/wagtail/wagtail/issues/6393
2020-09-30 16:29:08 +01:00
Katie McLaughlin
637000fc08
Add notes for CORS settings on Google Cloud Storage
2020-08-24 13:05:38 +01:00
Katie McLaughlin
707dc171dc
Add Google Cloud deployment references
...
App Engine video
Cloud Run codelab
2020-08-24 13:05:38 +01:00
Matt Westcott
e0dc53d9ad
Remove versionadded/versionchanged notes for 2.9
2020-07-28 12:53:22 +01:00
Matt Westcott
d3f7ffa369
Add a variant of WorkflowAction that just collects, validates and returns form data so that the action can be performed separately
2020-07-24 16:59:33 +01:00
jacobtoppm
c79668929e
Update reference documentation, custom task guide, and release notes, and fix documentation build errors
2020-07-24 16:59:33 +01:00
Dan Braghis
92e7330180
Update docs with current log actions and the rule of thumb for logging
2020-07-24 16:59:33 +01:00
Dan Braghis
f69287f6f4
Add documentation
2020-07-24 16:59:33 +01:00
Dan Braghis
fb0742802f
Include task description in choosers, if defined ( #6200 )
2020-07-24 16:59:33 +01:00
Karl Hobley
edfd17a1f1
Reduce usage of edit handlers for workflow management ( #6172 )
...
* Use plain old Django forms for tasks
* Revert "Add ExcludeFieldsOnEditMixin for edit handlers, disabling specific fields when bound to an existing instance rather than creating a new one"
This reverts commit 62961b74bb
.
* Move Workflow edit handler creation into Workflow forms
Only advantage of having it the way it was before is that allows
overriding the edit handler in subclasses. But nobody will be doing this
with workflows.
I've added a note into the code pointing out that we might want to
rethink using edit handlers if:
- It gets easier to style formsets without using InlinePanel
- We want to allow customisation of the form (the use of edit handlers
should be considered an internal implementation detail at the moment)
* Make task name readonly but groups editable
* Update wagtail/admin/templates/wagtailadmin/workflows/task_chooser/includes/create_form.html
Co-authored-by: Dan Braghis <dan@zerolab.org>
* Update wagtail/admin/forms/workflows.py
Co-authored-by: Dan Braghis <dan@zerolab.org>
Co-authored-by: Dan Braghis <dan@zerolab.org>
2020-07-24 16:59:33 +01:00
jacobtoppm
dde1507da1
Fix typos
2020-07-24 16:59:33 +01:00
jacobtoppm
16966b195b
Add example of field belonging on custom TaskState, and fix typos
2020-07-24 16:59:33 +01:00
jacobtoppm
d14563dfd5
Remove version reference
2020-07-24 16:59:33 +01:00
jacobtoppm
832e0be8e0
Add task_state_class specification for custom tasks to docs
2020-07-24 16:59:33 +01:00
jacobtoppm
b508001336
Add developer guide to new Task types
2020-07-24 16:59:33 +01:00
jacobtoppm
b8c70163ca
Add custom_tasks.rst
2020-07-24 16:59:33 +01:00
FreshPass
b59a737930
Update third_party_tutorials.rst
...
Fixing a 404 on the rosederwelt.com Deploying my Wagtail blog to Digital Ocean, pt. 1
2020-07-17 10:57:48 +01:00
Storm Heg
8c306910dd
Fix incorrect urls in the docs
2020-07-06 13:15:40 +01:00
Storm Heg
98c66359a8
Replace a few instances of re_path with path
2020-07-06 13:15:39 +01:00
Storm Heg
4076b9ef5e
Replace calls to django.conf.urls.url with django.urls.path or django.urls.re_path
2020-07-06 13:15:37 +01:00
Matt Westcott
52013f4920
Mention INSTALLED_APPS ordering in custom user docs
2020-05-18 11:33:53 +01:00
LB (Ben Johnston)
d3dd7296c9
docs - revise heading levels for feature detection (images) ( #6029 )
2020-05-15 09:42:37 +01:00
Eric Phetteplace
20790f4c96
improve Adding Reports documentation
...
* `reverse` was used but not imported in the wagtail_hooks.py examples, causing them to be invalid
* I switched the Django `url` calls to use `path` instead since that seems both cleaner and officially recommended, the url function is "likely to be deprecated in a future release" per Django docs and `path` is starting to replace it in urls.py files now
2020-05-10 17:15:32 +10:00
Neal Todd
2b35a852fe
Add Rustface to the feature detection docs (images)
2020-05-10 17:09:33 +10:00
Liam Mullens
52cb7ab77b
Update ImageRendition field to return Image alt text
...
* Update ImageRendtion to use default_alt_text property of Image
* Update example in documentation
* Add a test for ImageRenditionField
* Resolves #5816
2020-05-08 11:22:49 +10:00
Meteor0id
829a9bbf06
Add ability to replace the default Wagtail logo in the userbar, via branding_logo
block ( #4731 )
2020-05-08 00:11:05 +01:00
Sylvain Fankhauser
2055da6a3a
Fix code example in image file formats docs
2020-04-25 15:39:05 +10:00
Matt Westcott
58b11833c8
Add placeholder docs for internationalisation
2020-04-20 21:04:00 +10:00
Matt Westcott
4023a90d6e
Allow custom image model to have fields defined as required
...
If validation rules prevent the multiple image upload view from
creating Image objects from just the image file, an UploadedImage object is
created instead, and turned into an image once the form is filled in.
* Fixes #847
* Add UploadedImage model and related views
* Update custom image model docs
2020-04-20 14:46:24 +10:00
LB
a69559174f
Add tutorials Q1 2020
2020-04-18 23:49:10 +01:00
Matt Westcott
297f663861
Rename _list_report.html to _list_page_report.html
2020-04-17 12:02:28 +01:00
Matt Westcott
abb6634d92
Move default export_heading_overrides / list_export config to PageReportView
2020-04-17 12:02:28 +01:00
Karl Hobley
1e4a331766
Split out base report template into an empty base and a page-specific one
2020-04-17 12:02:28 +01:00
Karl Hobley
a1b09f65c9
Rename export_heading_overrides to export_headings
2020-04-17 12:02:28 +01:00
Tom Dyson
f37da8f7d8
Cache image renditions ( #4883 )
2020-04-07 14:05:27 +01:00
jacobtoppm
23af29d35c
Use AdminOnlyMenuItem in both code samples in reports docs
2020-04-07 12:13:17 +01:00
jacobtoppm
2b096419dc
Fix typo in import in reports documentation
2020-04-07 12:13:17 +01:00
Mohamed Feddad
bb2e460c0b
Replace deprecated ugettext, ungettext with gettext and ngettext. ( #5907 )
2020-04-02 17:15:26 +01:00
Tom Dyson
8c1a234f13
Remove our outdated preferences for deployment
2020-03-25 14:31:35 +00:00
jacobtoppm
5e95e91226
Add AdminOnlyMenuItem and update custom report documentation to use it
2020-03-19 17:47:37 +00:00
jacobtoppm
587ccdc8b0
Add complete report example
2020-03-19 17:47:30 +00:00
jacobtoppm
cbe3058794
Add documentation on how to add custom reports
2020-03-19 17:47:17 +00:00
Frantisek Holop
fc0cf64ac6
Be more specific regarding the cached loader. ( #5754 )
...
Be more explicit about not needing to enable the `cached.Loader`
manually, unless using some custom loaders.
2020-03-19 17:01:29 +00:00
Matt Westcott
96cd5c066d
Update wording
...
Also move warning so it occurs on server startup rather than first request
2020-02-17 12:06:19 +00:00
Matt Westcott
5eec4d954e
Deprecate SiteMiddleware ( #3834 , #5332 , #5673 )
...
Squashed commit of the following:
commit 6ff78d0271ae9bb8be20edc77acc046b7ecd1190
Merge: cbb5575
b7872e3
Author: Matt Westcott <matt@west.co.tt>
Date: Fri Jan 24 10:41:00 2020 +0000
Merge branch 'master' into sitemiddleware-rebase-2
Conflicts:
docs/reference/settings.rst
wagtail/api/v2/endpoints.py
wagtail/api/v2/filters.py
wagtail/api/v2/serializers.py
commit cbb5575fd8
Author: timothy@bttrcode <timothy@bttrcode.nl>
Date: Sun Nov 3 02:30:00 2019 +0100
Update branch, resolve conflicts, clean up
commit 6188742cfe
Merge: 4b4dee6
1c1341e
Author: timothy@bttrcode <timothy@bttrcode.nl>
Date: Sun Nov 3 01:48:21 2019 +0100
Resolve merge conflicts
commit 4b4dee6c47
Author: timothy@bttrcode <timothy@bttrcode.nl>
Date: Sun Nov 3 01:42:37 2019 +0100
Temporarily add Pipfile and yarn file
commit 540dff380b
Merge: 4a93424
0d2442f
Author: timothy@bttrcode <timothy@bttrcode.nl>
Date: Fri Sep 27 20:22:00 2019 +0200
Merge branch 'master' of https://github.com/aritas1/wagtail into aritasmaster
commit 0d2442fc1f
Author: Daniel <mail@aritas.de>
Date: Wed Jun 26 03:01:44 2019 +0200
clean tests and add ALLOWED_HOSTS globally
commit b7e6b8e655
Author: Daniel <mail@aritas.de>
Date: Wed Jun 26 03:00:07 2019 +0200
change context processor to be lazy
commit b16250fce9
Author: Daniel <mail@aritas.de>
Date: Tue May 28 21:37:05 2019 +0200
update SiteMiddleware documentation
commit 4be243f64d
Author: Daniel <mail@aritas.de>
Date: Tue May 28 20:52:08 2019 +0200
fix linting
commit 33151817a0
Author: Daniel <mail@aritas.de>
Date: Tue May 28 19:11:47 2019 +0200
add wagtail_site template tag
commit 38b304105a
Author: Daniel <mail@aritas.de>
Date: Tue May 28 16:19:22 2019 +0200
update tests for deprecated SiteMiddleware
commit f745aae9d0
Author: Daniel <mail@aritas.de>
Date: Tue May 28 16:11:58 2019 +0200
change Site finding mechanism to be independent of deprecated SiteMiddleware
2020-02-17 12:06:18 +00:00
Pete Andrew
abd8320dc3
Update links in docs to point at stable Django version
2019-12-01 13:19:40 +10:00
Matt Westcott
d65532dd0f
Mention the need to inherit from PermissionsMixin in custom user model docs
2019-11-28 12:35:30 +00:00
Karl Hobley
36d440d2dd
Rename endpoints
modules to views
2019-11-28 09:00:56 +00:00
Karl Hobley
16d5b5c99e
Rename Endpoints to ViewSets
...
For consistency with Django REST Framework
2019-11-28 09:00:35 +00:00
Karl Hobley
633ad38925
Rename settings how-to guide
2019-11-20 17:54:08 +00:00
Karl Hobley
23145382e9
Move settings reference into separate doc
2019-11-20 17:39:46 +00:00
Karl Hobley
16bf4cac56
Delete the internationalisation docs
2019-11-09 15:34:51 +00:00
Martey Dodoo
229103ff2e
Update links in documentation. ( #5689 )
...
Use HTTPS links instead of non-secure HTTP links wherever possible in
documentation.
2019-11-08 09:15:01 +00:00
WinterComes
06fb0764e0
Move get_document_model to __init__ & add get_document_model_string
...
Avoids issues where models are not yet loaded and document model is needed.
- apply isort
- fix minor typos
- fixes #5614
2019-11-07 07:47:12 +10:00
Tom Readings
e75b74911e
Reference the embedly package requirement for embedly finder support ( #5680 )
2019-11-06 17:03:44 +00:00
Karl Hobley
5845cfbfe9
Add Recipe doc for implementing AMP on a site ( #5626 )
...
* Add Recipe doc for implementing AMP on a site
* Fix typos
* Add section on using a different page template for AMP
* Move AMP recipe out of images
Not very image specific anymore
* Wording tweaks and grammar fixes
2019-11-05 15:28:45 +00:00
Matt Westcott
8577cc2d02
Remove old versionadded tags in the docs
2019-10-29 08:56:12 +00:00
Matt Westcott
302d22e252
Release note for #5249 / #5629
2019-10-16 16:21:26 +01:00
frmdstryr
01e0cd9dac
Support format-webp and allow changing default formatting
2019-10-16 15:02:59 +01:00
Karl Hobley
b4ecead6d9
[5225] Take number of frames into account when limiting image size
2019-10-16 11:36:07 +01:00
LB (Ben Johnston)
03cd4056df
Docs - Add AbstractUser import to custom user model
...
- `from django.contrib.auth.models import AbstractUser`
- revise a previous changelog entry to clarify 'clean up' vs 'fix'
2019-10-12 09:57:47 +10:00
a-mere-peasant
1eae1e4614
Added 'image uploads in forms' to third party tutorials
2019-10-12 09:31:19 +10:00
Matt Westcott
8711050e49
Add cache-busting parameter to admin static files
...
Fixes #5493
2019-10-09 12:16:56 +01:00
jacobtoppm
dd5cbd8d7a
Add new docs page 'Changing rich text representation' ( #5579 )
...
* Add new docs page 'Changing rich text representation' describing how to subclass Format to provide a custom image html representation in rich text
2019-10-02 12:12:38 +01:00
jacobtm
daba83aab1
Add a note on 'Previewing and Submitting for Moderation' page about potential disabled moderation
2019-10-02 10:48:15 +01:00
Brian Whitton
34f4ab8a3f
allow image page sizes to be configurable ( #5568 )
2019-09-25 10:49:57 +01:00
jacobtm
a7b470bc9d
Add ability to hide 'Submit for Moderation' in action menu using setting WAGTAIL_MODERATION_ENABLED. When set to false, SubmitForModerationMenuItem method is_shown returns false ( #5574 )
2019-09-24 16:28:47 +01:00
Dawn Wages
1b2dadc429
Update configuration.rst ( #5576 )
2019-09-23 12:06:16 +01:00
Matt Westcott
76d72a36c3
Documentation tweaks for WAGTAILDOCS_SERVE_METHOD
...
As suggested by @chosak - https://github.com/wagtail/wagtail/pull/5296#discussion_r324252497 , https://github.com/wagtail/wagtail/pull/5296#discussion_r324257167
2019-09-21 18:53:48 +01:00
Tobias McNulty
40fa3956f5
add WAGTAILDOCS_SERVE_METHOD setting to allow serving files from underlying storage
2019-09-21 18:53:48 +01:00
Dawid Bugajewski
90b7a3b0d3
Fix class selector mapping ( #5571 )
...
The markup is wrong which results in code not working properly.
2019-09-20 10:18:55 +01:00
Janne Alatalo
dd0bb9a870
Add setting to disable email management
...
This commit adds WAGTAIL_EMAIL_MANAGEMENT_ENABLED setting that defaults
to True, but when disabled, hides the 'Change email' button in account
management view, and disables the associated route. This is useful when
using external authentication method like LDAP or OpenID Connect where
email management is handled elsewhere.
Wagtail already includes WAGTAIL_PASSWORD_MANAGEMENT_ENABLED setting.
This is almost exact copy of that implementation.
2019-09-04 10:25:35 +01:00
Sanyam Khurana
f9753f1f23
fix(docs/customization): Add models import to fix example ( #5520 )
2019-08-20 11:57:14 +01:00
Sergey Fedoseev
94be338cbd
Fix mention of non-existing PageLinkHandler.get_identifier
...
Refs #5184
2019-08-20 11:54:43 +01:00
Daniele Procida
72db52371a
Updated feature detection notes
2019-07-21 18:03:09 +10:00
Jaroslaw Zabiello
7df817d29c
Update third_party_tutorials.rst
...
Add a detailed article about using GraphQL in Wagtail
2019-06-25 16:07:06 +01:00
jordan-bauer
998440cfa9
Remove buggy tab order customisations in CMS admin ( #5383 , #5351 )
2019-06-18 12:49:16 +01:00
Dillen Meijboom
dd1597ea37
Implemented branding title prefix customization ( #5344 )
2019-06-07 17:06:00 +01:00
Michael Bunsen
b06cb6a6eb
ImageRenditionField returns a relative URL
...
The example in the docs shows an absolute URL with the site's hostname, but the ImageRenditionField returns a relative URL.
Relevant source here: https://github.com/wagtail/wagtail/blob/master/wagtail/images/api/fields.py
2019-05-17 16:44:32 -07:00
scil
1e55b98af0
Update performance.rst
2019-05-01 12:58:22 +01:00
LB Johnston
8407245207
Add Third Party Tutorials & Links
...
- Revise grammar for Learn Wagtail link
- Add articles from Timonweb blog
- Add Youtube link for Google Cloud Platform
- Add blog from Jelastic (PaaS) deployment
- Add Mozilla guide for end users (really well laid out and reasonably generic)
2019-04-25 17:24:46 +01:00
Thibaud Colas
b7f53ef276
Fix typo in rewrite handlers example code ( #5253 )
2019-04-24 21:10:12 +01:00
Matt Westcott
12f7ee2f1a
Deprecation note for #5184
2019-04-08 16:35:58 +01:00
Andy Chosak
d7bad06fe8
Add documentation of rewrite handlers
2019-04-08 14:31:55 +01:00
Md. Arifin Ibne Matin
2b2c71a4d9
Support additional custom handler for links in Rich text editor. ( #5159 )
2019-04-03 20:50:39 +01:00
Matt Westcott
3c44037b2f
Fix warnings on building documentation ( #5145 )
...
* Fix "Duplicate explicit target name" warnings on extending_draftail.rst
ref: https://github.com/sphinx-doc/sphinx/issues/3921
* Fix 'Unknown target name' warning on third_party_tutorials.rst
* Add docstrings to Page.get_ancestors, get_descendants and get_siblings
Documents the `inclusive` flag and avoids the "Field list ends without a blank line; unexpected unindent" warning when building docs
2019-03-15 02:03:56 +01:00
Md. Arifin Ibne Matin
edfd9afc1d
Add more built-in rich text formats ( #5141 )
2019-03-15 01:39:18 +01:00
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
Matt Westcott
3fe442ff4d
Add Learn Wagtail to third-party tutorials
2019-03-10 15:57:52 +10:00
Evan Winter
5a34090b4b
Fix typo in api/v2/usage.rst
...
first_publised_at --> first_published_at
2019-03-06 01:19:07 +00: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
DanAtShenTech
e6e9fd09e2
Highlight "create" and "edit" forms ( #5081 )
2019-02-19 10:53:29 +00:00
Matt Westcott
087434f348
Update links to Draftail documentation
2019-02-14 23:24:30 +01:00
DanAtShenTech
f21e75e95d
Fix typo (missing plural)
2019-02-14 23:18:48 +01:00
DanAtShenTech
966ad8658d
Properly designate last_name field
2019-02-14 12:05:26 +00:00
pvetch
731b8fc9b4
Update third_party_tutorials.rst ( #5057 )
...
This content seemed moribund so have added some newer material and checked that the original links still work. There are probably lots of other newer examples that could be added (it might be worth weeding out some of the older content at this point too).
2019-02-08 17:06:01 +00:00
Matt Westcott
30f6a590b4
Documentation on rich text internals ( #4927 )
2018-11-29 16:36:09 +00:00
Sergey Fedoseev
e8c88d44af
Fixed reference to LoginView in docs. ( #4901 )
2018-11-15 11:13:00 +00:00
Alex Gleason
08ea980410
Fix missing comma in Draftail docs code
2018-11-14 17:11:49 -05:00
Sergey Fedoseev
47465197a9
Use intersphinx for Django references when possible. ( #4896 )
2018-11-14 11:48:32 +00:00
Yannick Chabbert
515aa61943
Add template tag for dynamic image url
...
Update documentation
Co-Authored-By: zerolab <dan@zerolab.org>
2018-10-28 16:21:46 +03:00
Matt Westcott
183b626dc3
Eliminate {% load staticfiles %}
and {% load admin_static %}
...
These are removed in Django 3.0 in favour of `{% load static %}`
2018-10-27 09:40:42 +02: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
088d3ffc21
missing quotation, not that it matters
...
award of smallest contribution of the year goes to..
2018-09-13 13:00:57 +01:00
Michael Harrison
8ef0edb371
Add file download url to Imagesv2 API endpoint
2018-09-06 17:12:02 +01:00
Matt Westcott
2947c584b0
Recommend the use of ManifestStaticFilesStorage. Fixes #3700
2018-09-04 12:56:11 +01:00
Meteor0id
cb8fe063bb
depriciate url() for alias re_path()
2018-08-18 11:33:12 +02: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
Martey Dodoo
1247565d3d
Add warning about unregistering image formats.
...
Add warning to documentation to warn that unregistering image formats
that are being used will create an error when viewing or editing pages.
See https://groups.google.com/forum/#!topic/wagtail/X8xTUs-2npA and
https://github.com/wagtail/wagtail/issues/1471#issuecomment-118436706 .
2018-08-16 10:52:51 +01: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
48b5740d03
Merge branch 'docs-divio-cloud' of https://github.com/evildmp/wagtail into evildmp-docs-divio-cloud
2018-06-18 15:45:38 +01:00
ed@sharpertool.com
4539ced8cc
Added documentation for new JS/CSS media files association with Draftail feature definitions ( #4627 )
...
Add more documentation for #4568
2018-06-17 00:13:38 +03:00
Daniele Procida
b1db6c5882
Added Divio Cloud notes to documentation
2018-06-16 15:51:06 -04: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
LB
8d2ee74be0
add reference anchors
2018-06-10 12:45:48 +10:00
Matt Westcott
6f92f9a23a
Add default_features step to strikethrough example
2018-06-07 11:48:55 +01:00
Matt Westcott
607f2ec067
Allow specifying js/css imports against Draftail features
2018-05-31 17:13:33 +01:00
Alex Gleason
1c7e90c3ee
Change wagtailimages.Image on_delete CASCADE to SET_NULL in docs
2018-05-18 14:51:50 +01: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
3fc9ed5119
Remove old versionadded/versionchanged notes
2018-05-18 11:43:28 +01:00
Matt Westcott
fc46f12939
AWS_S3_FILE_OVERWRITE must be False, not True
2018-05-15 19:42:03 +01:00
Matt Westcott
5ce14841d8
Remove ancient versionchanged notes
2018-05-15 14:54:41 +01:00
Kees Hink
0b3c20556d
Docs: How to create test fixtures for custom Page models
2018-05-15 14:50:24 +01:00
Matt Westcott
937254f321
Add documentation for deploying with cloud storage
2018-05-09 10:41:09 +01:00
Karl Hobley
0dec4c8f89
Update supported databases in docs
2018-05-08 11:58:31 +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
Thibaud Colas
c309753378
Expose reusable client-side code to build Draftail extensions ( #4467 )
...
* Expose Draftail package as global variable for reuse
* Expose Wagtail React components for reuse
* Expose Draftail-related React components for reuse
2018-04-18 00:27:07 +03:00
Karl Hobley
17f7f70170
Added "find" API view and ability to find pages by HTML path
...
This implements a new "find" view for all endpoints which can be used
for finding an individual object based on the URL parameters passed to
it.
If an object is found, the view will return a ``302`` redirect to detail
page of that object. If not, the view will return a ``404`` response.
For the pages endpoint, I've added a ``html_path`` parameter to this
view, this allows finding a page by its path on the site.
For example a GET request to ``/api/v2/pages/find/?html_path=/`` will
always generate a 302 response to the detail view of the homepage. This
uses Wagtail's internal routing mechanism so routable pages are
supported as well.
Fixes #4154
2018-04-13 12:08:19 +01:00
Karl Hobley
f608c67eb1
Fix capitalisation of names
2018-04-05 12:13:05 +01:00
Karl Hobley
a9b4b09152
Fix spelling mistakes in documentation
2018-04-05 12:13:05 +01:00
DanAtShenTech
76975525f7
Typo and clarification ( #4319 )
2018-02-27 22:08:57 +02:00
Matt Westcott
c205c8fac6
Add rich_text form data helper
2018-02-15 11:54:34 +00:00
Matt Westcott
067c26f54d
Add form data helpers
2018-02-15 11:54:32 +00:00
Matt Westcott
1799853b55
Fix 'email notifications' link
2018-02-14 14:06:21 +00:00
Thibaud Colas
6c714b1537
Document plain JS & CSS extension points for Draftail
2018-02-12 21:54:07 +00:00
Dário
55580d96e8
Embed Docs: fix broken link ( #4270 )
2018-02-12 10:15:22 -05:00
Thibaud Colas
d86f48842d
Add note about block Draftail entities in docs
2018-02-09 15:24:24 +00:00
Thibaud Colas
cedfd2b1bc
Update to latest Draftail and Draft.js
2018-02-09 15:24:24 +00:00
Thibaud Colas
e59863f903
Refactor Draftail JS plugin API to be more similar to the rich text features registry API
2018-02-09 15:24:24 +00:00
Thibaud Colas
ae4e48ed3f
Use built-in feature for defaults example instead of custom
2018-02-09 15:24:24 +00:00
Thibaud Colas
f50c096706
Finish Draftail entities extension documentation
2018-02-09 15:24:24 +00:00
Thibaud Colas
5c00b843c5
Move Hallo & Draftail extension docs to their own pages
2018-02-09 15:24:24 +00:00
Thibaud Colas
4285b9f1cc
Add start of example for entity docs
2018-02-09 15:24:24 +00:00
Thibaud Colas
19a83364dc
Add missing release notes and dependencies as globals docs from Draftail work
2018-02-09 15:24:24 +00:00
Thibaud Colas
fac8582ac4
Add entities disclaimer
2018-02-09 15:24:24 +00:00
Thibaud Colas
49c9999cb8
Add Draftail docs for custom inline styles and blocks
2018-02-09 15:24:24 +00:00
Thibaud Colas
9760e8f520
Document Hallo extension points in docs, CHANGELOG, upgrade considerations
2018-02-09 15:24:24 +00:00
Thibaud Colas
f21b4146ac
Move "default features" section out of Hallo-only docs
2018-02-09 15:24:24 +00:00
Thibaud Colas
452ea4d1fe
Reformat deprecation notice
2018-02-09 15:24:24 +00:00
Thibaud Colas
1e31120103
Use wontfix label for known Hallo issues
2018-02-09 15:24:24 +00:00
Thibaud Colas
9b6102b5b5
Split WYSIWYG extension docs between Hallo and Draftail
2018-02-09 15:24:24 +00:00
Thibaud Colas
9284615d94
Update rich text features docs for Draftail + Hallo support
2018-02-09 15:24:24 +00:00
Mads Jensen
b30c722728
Used Python 3 super() syntax also in documentation. ( #4246 )
...
This disregards the release notes for earlier releases and only deals
with current documentation.
2018-02-07 10:11:27 +00:00
Matt Westcott
e1325ed4d6
Release notes and documentation for Draftail ( #4136 )
2018-01-25 16:38:38 +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
Matt Westcott
b9a548f424
Update documentation for rich text element whitelisting
2018-01-05 16:15:59 +00:00
Mike Dingjan
ef27853a05
Allow overriding login form via `WAGTAILADMIN_USER_LOGIN_FORM
` setting
2018-01-03 15:57:40 +00: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
LB
70eb2b6ae3
add on_delete argument to ParentalKey & ForeignKey
2017-12-15 10:33:09 +00:00
Mads Jensen
ffd93a0d28
Don't inherit from object
2017-11-27 10:06:03 +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
Martin Sandström
345b527ca2
Fix syntax error in ImageRenditionField example
2017-11-12 18:07:38 +00:00
Matt Westcott
aebb69a2ba
Remove dead links to API v1 docs
2017-11-03 17:03:57 +00:00
Karl Hobley
bf7936ade2
Replace django.core.urlresolvers
with django.urls
2017-11-01 16:22:46 +00:00
Kees Hink
454af89c17
Move Usage info (Documents, Images) to sidebar
2017-10-26 14:34:58 +01:00
Karl Hobley
fa302c0853
Remove wagtail.contrib.wagtailapi
2017-10-25 16:49:17 +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
d48c3709cd
Remove support for registerHalloPlugin
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
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