Matt Westcott
305b63dd40
Add documentation for site setting permissions
2025-06-18 14:07:27 +01:00
Matt Westcott
36f8d83fb8
Fix jinja2 docs to reference preserve-svg rather than preserve_svg
...
As per https://github.com/wagtail/wagtail/pull/13125#pullrequestreview-2890949298
2025-06-11 16:42:07 +01:00
smark-1
405fa76288
Document `Block.is_previewable`
2025-05-23 11:17:02 +01:00
Vishesh Garg
d1fbb2e262
Add support for SVG when using jinja2 ( #13016 )
...
Fixes #12997
2025-05-16 11:51:19 +01:00
Alec Baron
05484a7784
Update RichTextBlock documentation
2025-05-15 14:41:00 +01:00
Sylvain Boissel
462673c3b0
Update customization.md
...
Fix field type for the example
2025-05-12 17:42:54 +01:00
Maciej Baron
b9e873fd0b
Cleaup docs
2025-05-12 15:22:38 +01:00
Maciek Baron
7ef898c801
Update docs/reference/signals.md
...
Co-authored-by: LB (Ben Johnston) <mail@lb.ee>
2025-05-12 15:22:38 +01:00
Maciek Baron
3f13bb51ab
Update docs/reference/signals.md
...
Co-authored-by: LB (Ben Johnston) <mail@lb.ee>
2025-05-12 15:22:38 +01:00
Maciej Baron
36d611904b
Add description of init_new_page signal to docs
2025-05-12 15:22:38 +01:00
Sage Abdullah
9c4630b5aa
Document WorkflowMixin._workflow_states and its difference with workflow_states
2025-05-07 14:49:20 +01:00
Sage Abdullah
69940fc94a
Document RevisionMixin._revisions and its difference with revisions
2025-05-07 14:47:32 +01:00
Thibaud Colas
08c0ce9f45
Further document usage of API ?limit. Fix #12604
2025-05-06 13:29:15 +01:00
Sage Abdullah
3c28330e01
Deprecate UserListingButton and SnippetListingButton in favor of Button
2025-05-01 20:49:56 +01:00
Sage Abdullah
d6e6b015ab
Deprecate PageListingButton in favor of ListingButton
2025-05-01 20:49:56 +01:00
Matt Westcott
3e7c2b079a
Remove versionadded / versionchanged notes for 6.4
2025-04-25 14:26:59 +01:00
smark-1
1b9991cd46
Document page.move() in page reference ( #12761 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-04-22 14:36:17 +01:00
Andy Chosak
b376a7b65d
Don't duplicate snippets in "Snippets" menu
...
This change alters the behavior of the sidebar "Snippets" menu such that
the snippet index view doesn't include snippet models that have been
configured with their own menu item.
Currently, the "Snippets" menu doesn't appear if all snippet models have
their own menu items; however, if some models do and some don't, the
snippets index view lists all of them, causing some duplication in the
UI which could be confusing for editors.
This commit changes this behavior so that "Snippets" is only used to
edit those snippet models that aren't editable elsewhere.
A new setting (WAGTAILSNIPPETS_MENU_SHOW_ALL) has been added to always
show the snippets menu and all snippets models. This setting will allow
for continuation of the current behavior for those users that desire it.
Closes issue 11340.
2025-04-17 14:31:31 +01:00
Sage Abdullah
aff18f634f
Remove 6.2 versionchanged note in frontend cache docs
2025-04-15 09:37:37 +01:00
Matt Westcott
9f9aecfd61
Document removal of deprecated features in 7.0
2025-04-15 09:33:59 +01:00
Matt Westcott
9c24705b88
Release note / documentation for validate on publish
2025-04-15 09:15:06 +01:00
Matt Westcott
26e65b5c01
Change references to version 6.5 to 7.0
2025-04-10 12:56:11 +01:00
Sage Abdullah
f3e2084b3a
Document snippets requirement for features provided by model mixins ( #12999 )
2025-04-09 15:50:49 +01:00
LB
5b429e24d6
Ensure `insert_editor_js` documentation reflects common usage ( #13022 )
...
Fixes #13021
Relates to #2936
2025-04-09 12:14:10 +01:00
Baptiste Mispelon
c6c996b54c
Make all formbuilder field types accept a custom widget + add docs
...
Prior to this change, it was inconsistent whether passing
a `widget` argument as an option to a create_<field>_field()
method would work or not (it might work, or might result in a
TypeError caused by the duplicate argument).
2025-04-06 17:03:14 +10:00
SebCorbin
5c30b4211a
Support documented ability to override/extend icons in the userbar
...
Allow to override icons in userbar
2025-04-06 14:57:11 +10:00
LB
c663911b9c
Minor cleanup to documentation whitespace formatting
2025-04-06 14:32:00 +10:00
Matt Westcott
edf7c66fac
Mention third-party StreamField form builder packages in form builder docs
...
As per https://github.com/wagtail/wagtail/pull/12287#issuecomment-2769692508
2025-04-02 06:17:47 +10:00
Matt Westcott
103ea61702
Document that request_or_site is optional on BaseGenericSetting.load
2025-03-20 19:11:19 +07:00
Matt Westcott
1f210831dd
Relax model validation when saving pages as draft
2025-03-19 14:22:45 +00:00
smark-1
322d7e1620
Add documentation for setting the default privacy option on pages
2025-03-15 15:23:54 +10:00
Thibaud Colas
801b1bb067
Add more details of legacy rich text behavior
...
This is to hopefully make it easier to look up with search.
2025-02-06 16:34:49 +00:00
Aayushman Singh
4f37b011f5
Add WAGTAIL_ prefix to non-taggit settings
2025-02-04 10:34:25 +00:00
Sage Abdullah
251d1d188c
Expand docs for StreamField block previews
2025-02-03 16:43:29 +00:00
Sage Abdullah
f309a44075
Add reference docs for Block.get_template and Block.get_context
2025-02-03 16:43:29 +00:00
Matt Westcott
695ff86c87
Remove versionchanged note for ImageChooserBlock to ImageBlock migration
...
Leave other versionadded/versionchanged notes intact, as they relate to deprecated features that are not yet removed and should thus be left in place until 7.0.
2025-01-27 18:54:25 +00:00
LB
1dd3dbea87
Fix spelling of `CloudFront` in docs & release notes
2025-01-22 10:31:35 +00:00
LB
0bf909414a
Fix minor whitespace formatting issues in docs
2025-01-22 10:31:35 +00:00
Sage Abdullah
ac4bd79e40
Add initial docs for StreamField block previews
2025-01-20 17:35:06 +00:00
Matt Westcott
82c42d1ecc
Nest code snippets for string panel definitions inside the note
2025-01-06 19:29:44 +00:00
USER
da818b562f
“Update-FieldPanel-documentation-to-encourage-use-of-strings-in-panel-definitions”
2025-01-06 19:26:26 +00:00
Claude Meyer
aa08e86cba
Fixes #3847 by adding page as a third argument to construct_wagtail_userbar hooks along with a deprecation warning.
2024-12-17 22:10:09 +00:00
Jake Howard
076af8bec8
Automatically set CSP when serving images and documents ( #12672 )
...
Addresses #12617
2024-12-17 21:06:39 +00:00
jhrr
5402010d16
Allow hook override of user profile avatar url in admin tags ( #12689 )
...
Fixes #12661
2024-12-17 20:42:36 +00:00
Ayaan
3e75c018be
Add support for query string params in WAGTAIL_GRAVATAR_PROVIDER_URL
...
- Enhance capabilities for WAGTAIL_GRAVATAR_PROVIDER_URL URL to support merging of URL params.
- Fixes #12659
- Rework of original PR #11077
2024-12-07 21:23:13 +10:00
Krystian Magdziarz
32417f9adc
Fix Missing Cache-Control Headers for Password-Protected Pages ( #12465 )
...
Fixes #12455
2024-12-07 02:49:16 +00:00
Clifford Gama
7566fb84e0
Docs: Use sentence case for titles in pages/theory.md
2024-11-26 06:46:21 +10:00
Clifford Gama
8df6cae90c
Docs: Break Scheduled Publishing into multiple subheadings
2024-11-26 06:38:26 +10:00
Andy Babic
66f1e817eb
Allow page types to easily restrict what type of requests they respond to ( #12473 )
...
* Allow page types to specify the request methods they support and block unsupported requests in serve()
* Use 'before_serve_page' hook to serve OPTIONS responses
* Add checks to RoutablePageMixin.serve() where the parent implementation is bypassed
* Rename check_http_method to check_request_method and actually use the return value
* Support Python 3.9 through to current approaches for `http` method strings
* Include documentation, docstrings & changelog entry
2024-11-20 10:15:36 +10:00
John-Scott Atlakson
9d31fd3fa5
Fix - Ensure `WagtailAdminFormPageForm.clean` returns `cleaned_data`
...
Return `cleaned_data` for more consistent subclassing.
Updated documentation with an example of adding custom page validation for form fields.
Add unit test to ensure that the documented usage of extending `WagtailAdminFormPageForm` works as expected.
Originally from #10375
2024-11-05 19:22:33 +00:00