Sage Abdullah
c220662eed
Fix link in custom HTML attributes in Panels documentation
2023-07-21 06:36:11 +10: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
LB Johnston
0f97838381
Documentation - revise usage of e.g.
...
- Replace one usage of 'eg' with more suitable alternatives
- As per guidelines https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#latin-phrases-and-abbreviations
2023-07-17 15:13:30 +10:00
Antoni Martyniuk
47df43d722
Finish attrs
support for FieldPanel and other Panels
...
- Closes #10133
- Rework from original PR #10323
- Add documentation
2023-07-12 20:25:09 +10:00
Matt Westcott
4dd99007f6
Release note / upgrade consideration for TitlefieldPanel #10568
2023-06-20 13:03:03 +01:00
LB Johnston
c85eaae5a7
Add TitleFieldPanel to support shared usage of title field sync
...
- Avoid a widget approach used on default content_panels on Page, instead allow a shared TitleFieldPanel to be used
- Fixes #10517
2023-06-20 08:33:54 +10:00
LB Johnston
96a494581c
Documentation - clean up last two internal refs to use underscore
...
- As per https://docs.wagtail.org/en/latest/contributing/documentation_guidelines.html#reference-links - refs should be `lower_snake_case`
2023-06-19 15:18:02 +01:00
LB Johnston
5292f7dc1f
Docs - fix whitespace formatting (Prettier)
2023-05-30 07:25:21 +10:00
Sage Abdullah
0c075fb8de
Replace mentions of ModelAdmin with their snippets equivalent
2023-05-24 11:06:00 +01:00
Daniel Kirkham
c895e9031b
Fix treebeard link
2023-05-14 07:40:13 +10:00
LB Johnston
f1560625aa
Docs - fix minor typo on Panels reference
2023-05-09 17:43:06 +10:00
Andy Babic
3d7b540b10
Update docs
2023-04-25 16:06:40 +01:00
Matt Westcott
4a47bc611b
Remove old versionadded / versionchanged notes
2023-04-21 13:47:10 +01:00
Sage Abdullah
d696009a36
Revamp panel types documentation and other docs that reference it
...
This removes the parameters that come from the base Panel class (e.g.
heading, classname, etc.) from the specific panel types to avoid
repetition. Instead, these parameters are properly documented in the
separate "Panel customisation" section. They are also explicitly listed
in the Panel API reference.
2023-04-18 02:49:04 +01:00
Sage Abdullah
eb49f3cdf0
Add docs for FieldPanel's icon parameter
2023-04-18 02:49:04 +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
LB Johnston
65f2eaa4d2
Documentation - Clean up minor formatting issues
2023-03-21 08:02:25 +10:00
Thibaud Colas
fdc36a6989
Revert FieldRowPanel documentation removal, clarifying differences. Fix #10061
2023-03-14 22:44:11 +00:00
Vallabh
c73b03e03c
Added requested changes
2023-02-16 16:17:03 +00:00
Vallabh
407860286b
Removed obsolete section of InlinePanels
2023-02-16 16:17:03 +00:00
Vallabh
996d45e0f0
Added description for parameters taken by InlinePanel
2023-02-16 16:17:03 +00:00
Matt Westcott
207493dc95
Fix broken formatting for MultiFieldPanel / FieldRowPanel permission kwarg docs
2023-02-14 20:34:35 +10:00
LB Johnston
93d3652a15
Documentation - fix whitespace issues
2023-02-11 08:29:13 +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
Matt Westcott
3cb4033a11
Remove deprecated edit handlers / panels
2023-02-08 14:25:09 +00:00
Thibaud Colas
7339f6c3d1
Update guide.wagtail.org links to use most up-to-date URL and page name, with "latest" redirect
2023-02-03 11:13:15 +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
Matt Westcott
515e76ab7b
Add reference docs for MultipleChooserPanel
2023-01-18 14:31:08 +00:00
Matt Westcott
c6de0ec067
Fix remaining imports deprecated in Wagtail 3.0
2023-01-11 13:35:39 +00:00
LB Johnston
edb86a7e8f
Documentation - Fix missing links / images
...
Most of these are no longer applicable due to the introduction of Wagtail guide, where possible the new guide links are used now
- Re-add missing docs image for extending Draftail
- There is no Guide page (yet) for Inserting videos or images so those links have been removed
- Fix some additional reference issues where the page name and reference were causing issues
2023-01-05 12:08:27 +00:00
Sage Abdullah
8dcc292d26
Add docs for LockableMixin
and locking snippets
2022-12-14 11:46:57 +00:00
Oliver Parker
19fd2ceb98
Add ability to check permission on parent PanelGroup
class
...
- Used by TabbedInterface, ObjectList, FieldRowPanel, MultiFieldPanel
2022-10-18 09:53:13 +10:00
LB Johnston
6fa4f8faca
Documentation - misc formatting clean up items
2022-10-13 05:46:26 +10:00
LB Johnston
2e8709e0d6
Documentation - update dead/redirected links
2022-10-11 20:44:08 +10:00
Sage Abdullah
57beeb7154
Improve docs on scheduled publishing mechanism for clarity
...
Explicitly state that clicking Publish is required for the schedule to take effect.
Also document the edge cases for scheduled publishing when a page is scheduled to be unpublished
2022-09-30 16:13:19 +01:00
Sage Abdullah
48761ef5a9
Update docs for renaming publish_scheduled_pages command to publish_scheduled
2022-09-29 10:28:36 +01:00
Matt Westcott
528801f1a0
Ensure all panels output their own help_text ( #9240 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-09-28 10:49:08 +01:00
Mehrdad Moradizadeh
180d43a200
Fix Page queryset.not_public returning all pages when no page restrictions exist. ( #9067 )
...
Fixes #8952
2022-08-24 17:57:22 +01: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
Thibaud Colas
ca7f23d176
Update InlinePanel and StreamField styles for new designs ( #8983 )
2022-08-12 13:17:40 +01:00
Thibaud Colas
3d96e7fbe7
Implement collapsible and linkable panels
...
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00