Matt Westcott
ab86351a8d
Remove legacy moderation system
2023-11-01 16:51:25 +00:00
Matt Westcott
cdac7dc7f5
Remove permission_type field from GroupPagePermission
2023-11-01 15:18:41 +00:00
Neeraj P Yetheendran
7239e11e0c
Avoid purging Revisions in use by third-party packages ( #10961 )
...
* Resolves #10678 Avoid purging Revisions in use by third-party packages
---------
Co-authored-by: MeghanaNalla <123588774+MeghanaNalla@users.noreply.github.com>
Co-authored-by: sage <laymonage@gmail.com>
Co-authored-by: Storm B. Heg <storm@stormbase.digital>
2023-10-19 12:52:29 +02:00
Sage Abdullah
065fab50a3
Deprecate submitted_revisions manager and save_revision's submitted_for_moderation kwarg
2023-10-05 10:35:27 +01:00
Sage Abdullah
5f70ebeaa1
Deprecate Revision.approve_moderation() and Revision.reject_moderation()
2023-10-05 10:18:48 +01:00
Jake Howard
69724e4e3a
Create preview-aware & page-enhanced cache template tags
...
This can be used in other places, but ensures caches are invalidated
whenever something about a page changes.
- Add a util to get wagtail-specific fragment cache keys
- Don't pollute context when injecting site variable
- Add documentation on wagtail fragment caching
- Define an intelligent cache key for pages
- Allow the components of the cache key to be easily modified
- Note that some manual changes may not create a new cache key
Co-authored-by: Andy Babic <andyjbabic@gmail.com>
Closes #5074
2023-07-20 08:24:09 +10:00
Daniel Kirkham
c895e9031b
Fix treebeard link
2023-05-14 07:40:13 +10:00
Matt Westcott
4a47bc611b
Remove old versionadded / versionchanged notes
2023-04-21 13:47:10 +01:00
Andy Babic
f680f188f3
Add useful properties to Locale
...
- Update get_display_name() to always return a string
- Add documentation and unit tests
2023-03-21 08:02:40 +10:00
Matt Westcott
a634045b6c
Remove remaining versionadded directives from before 4.2
2023-02-10 13:20:34 +00:00
Matt Westcott
18a574b520
Remove old versionadded / versionchanged directives from docs
2023-02-08 14:25:09 +00:00
Sage Abdullah
ad3ef5875d
Update docs and changelog to reflect changes for #9817
2023-01-19 14:52:34 +00:00
Sage Abdullah
18c140e8be
Add docs for `WorkflowMixin` and enabling workflows for snippets
2023-01-19 14:07:51 +00:00
Sage Abdullah
e1c6ae2d2b
Rename `Task.page_locked_for_user` to `Task.locked_for_user`
2023-01-19 14:06:04 +00:00
Sage Abdullah
d8f9d9869a
Rename `page_revision` to `revision` in `TaskState`
2023-01-19 14:06:03 +00:00
Sage Abdullah
8dcc292d26
Add docs for `LockableMixin` and locking snippets
2022-12-14 11:46:57 +00:00
Sage Abdullah
d71a7ccdd4
Add links to topic guide from mixin reference docs
2022-08-21 07:18:27 +10:00
Sage Abdullah
e4509f3432
Improve Revision model docs
2022-08-16 07:58:28 +10:00
Sage Abdullah
e864b9c4d1
Add docs for PreviewableMixin
2022-08-16 07:58:28 +10:00
Sage Abdullah
fb6ec3ad00
Add docs for DraftStateMixin
2022-08-16 07:58:28 +10:00
Sage Abdullah
cf3cea9a5b
Add docs for RevisionMixin
2022-08-16 07:58:28 +10:00
Sage Abdullah
3151200288
Improve Page model reference documentation
...
- Use inline code for `Locale` and `TranslatableMixin` headers to be consistent with other classes in the page
- Move `locale` and `translation_key` of `TranslatableMixin` to its own "Database fields" section
- Add missing periods in Page.update_aliases parameter description
2022-08-16 07:58:28 +10:00
LB (Ben Johnston)
aa55457c82
Convert reference pages documentation section to Markdown ( #8881 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-20 16:49:25 +01:00