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