0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

854 Commits

Author SHA1 Message Date
LB Johnston
2e2e8f4452 Minor documentation formatting (Prettier) 2023-11-13 09:53:38 +11:00
Neeraj P Yetheendran
8932c67270 Add full set of Documents app features
- Added customizing document upload form subsection in documents section
- Added storing and serving subpage
- Added overview section, including RichText and StreamField usage
- Closes #2001
2023-11-13 09:53:16 +11:00
Temidayo32
9349e2ad9f
Allow UniqueConstraint in place of unique_together for TranslatableMixin's system check 2023-11-10 17:29:26 +00:00
Matt Westcott
c49ec1bb06 Remove use_json_field parameter from StreamField 2023-11-01 16:52:20 +00:00
Matt Westcott
c363f6dd27 Remove ModelAdmin 2023-11-01 16:52:20 +00:00
Matt Westcott
d3fb0ab358 Remove insert_editor_css hook 2023-11-01 16:52:20 +00:00
Matt Westcott
aae3ce1c84 Remove docs mentioning legacy moderation 2023-11-01 16:51:25 +00:00
Matt Westcott
12924a5a2d Remove docs for WAGTAIL_MODERATION_ENABLED 2023-11-01 16:51:25 +00:00
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
Matt Westcott
55a48a212c Remove UserPagePermissionsProxy from action_menu and wagtailadmin_tags 2023-11-01 15:00:42 +00:00
Thibaud Colas
567e84b4ea
Update image documentation to have more details for picture and srcset_image tags (#11167) 2023-11-01 12:11:46 +00:00
Sage Abdullah
0a11a3452b Update modeladmin deprecation and migration notes to also mention ModelViewSet 2023-10-31 17:25:21 +00:00
Sage Abdullah
27f72ff935 Improve linking in existing viewsets docs 2023-10-31 17:25:21 +00:00
Sage Abdullah
27515fb11c Move SnippetViewSet.ordering doc to ModelViewSet 2023-10-31 17:25:21 +00:00
Sage Abdullah
b258b99c86 Improve linking between viewset reference and extending docs 2023-10-31 17:25:21 +00:00
Sage Abdullah
622b71654c Document register_admin_viewset hook 2023-10-31 17:25:21 +00:00
Vedant Pandey
837d733097 Add search_index option to control search indexing of StreamField blocks (#11135) 2023-10-31 11:42:16 +00:00
LB Johnston
c13edd0e42 InlinePanel DOM events - add versionadded admonition 2023-10-24 18:36:37 +11:00
Matt Westcott
aea258248c Remove versionadded / versionchanged annotations for 5.1 2023-10-20 14:47:53 +01:00
Ihedioha Chinedu Innocent
26a89cf37d Updated FieldPanel to TitleFieldPanel in docs
- Closes #11078
2023-10-19 22:36:15 +11: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: sag​e <laymonage@gmail.com>
Co-authored-by: Storm B. Heg <storm@stormbase.digital>
2023-10-19 12:52:29 +02:00
LB Johnston
8002e75775 Documentation - Add initial Stimulus docs
- Move extending React to new extending client-side page within advanced topics
- Add general extending JavaScript / client-side overview
- Prepare initial Stimulus usage documentation
- Resolves #10197
- Apply suggestions from code review - Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:28:27 +01:00
Matt Westcott
8079cad7df Add a view_name argument to register_page_header_buttons 2023-10-17 17:28:08 +01:00
Matt Westcott
3d8e6824a8 Change register_page_header_buttons hook to pass a user argument instead of page_perms 2023-10-17 17:28:08 +01:00
Matt Westcott
1cb180c11a Change ButtonWithDropdownFromHook and its hooks (including register_page_listing_more_buttons) to accept a user argument instead of page_perms 2023-10-17 17:28:08 +01:00
Matt Westcott
54647bda2c Move construct_page_listing_buttons hook docs into the 'Page explorer' section 2023-10-17 17:28:08 +01:00
Matt Westcott
0ae8d5fc8c Change construct_page_listing_buttons hook to pass a user argument instead of page_perms 2023-10-17 17:28:06 +01:00
Matt Westcott
761ccfc215 Change register_page_listing_buttons hook to pass a user argument instead of page_perms 2023-10-17 17:26:39 +01:00
Thibaud Colas
4bfbbae405 Add picture tag implementation and tests 2023-10-17 16:09:06 +01:00
Paarth Agarwal
41dac89e1d Add srcset_image tag for responsive images 2023-10-17 16:09:06 +01:00
faishalmanzar
e9d88528e7 Added JS Events for Inline panel added/removed
- Added docs for InlinePanel JS events
- Added w-formset:ready w-formset:added & w-formset:removed events and expanded test suite
- Fixes #9105
2023-10-17 11:53:16 +11:00
Sage Abdullah
aee4f42a7d Add tests and docs for inspect view in ModelViewSet 2023-10-09 19:01:54 +01:00
LB Johnston
1c4e69dbce Add better docs & cross-linking for how PanelGroup permission kwarg works
Adds more details on how to use the feature added in #8846
2023-10-09 22:50:11 +11:00
LB Johnston
ee533ac1a7 Remove deprecated search_garbage_collect
Wagtail 5.0 advised that this old command should no longer be used.
https://docs.wagtail.org/en/stable/releases/5.0.html#managing-stored-search-queries

However, it was not fully removed from the documentation or the code.
2023-10-09 20:56:09 +11: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
Sage Abdullah
c5caec6345
Deprecate WAGTAIL_MODERATION_ENABLED setting in favour of WAGTAIL_WORKFLOW_ENABLED
The latter came later in #7218, but existing parts that still use
the old setting were not migrated to use the new setting
2023-10-05 10:18:48 +01:00
Sage Abdullah
97052d2e46
Add docs for context argument removal from construct_snippet_listing_buttons 2023-10-04 11:31:46 +01:00
Sage Abdullah
4593eabff8
Add usage view to ModelViewSet
- Move permission_required from snippets' UsageView to generic UsageView
- Fix breadcrumbs item missing capfirst()
- Move usage view config in SnippetViewSet to ModelViewSet
2023-10-04 11:20:30 +01:00
Sage Abdullah
bc2004cf7b
Add history view to ModelViewSet 2023-10-04 10:42:00 +01:00
LB Johnston
76a0c4968a Adopt classname instead of classnames in all MenuItem/Sidebar usage
- Adds a deprecation path, including documentation to further remove unpredictable naming of adding `classname` in Python APIs
- Intentionally keeps `classNames` in Telepath adaptor inner usage as this convention is not set, however, the server side value passed in will use `classname`
- See https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#use-classname-in-python-html-template-tag-variables
- See #9769 & #9770
2023-10-04 08:05:52 +11:00
TopDevPros
3a5cc8e75c Search Promotions - Add support for external link/text
Closes #10725
Built on original PR #4560
2023-09-26 13:44:09 +10:00
LB Johnston
6bcc66c1e0 Docs - use subclass not sub-class
- All other usage of this does not have the hyphen
2023-09-21 08:15:57 +10:00
LB Johnston
b60828ac47 Hooks documentation - fix up admonition formatting 2023-09-19 12:18:51 +10:00
Gareth Palmer
a63689869e Add support for merging cells in TableBlock.
Handsontable has support for merging table cells using the `mergeCells`
plugin but there was no support in Wagtail for storing which cells have
been merged or rendering them in the output template.

The client JavaScript will now save which cells have been merged and
the output template will merge or hide cells.

See https://handsontable.com/docs/6.2.0/Options.html#mergeCells
2023-09-08 08:30:49 +10:00
Matt Westcott
7b64f08e74 Allow ChooserViewSet to be filtered by specified URL parameters 2023-09-06 15:58:36 +01:00
Matt Westcott
cbeb9a2512 Docs and release note for ChooserViewSet.get_object_list (#10851) 2023-09-04 18:45:39 +01:00
LB Johnston
a19bae886d Format markdown files 2023-08-31 08:21:36 +10:00
Matt Westcott
151a386ff5 Add note to clarify that blocks are not interchangeable with model fields
Prompted by https://stackoverflow.com/questions/76973112/unknown-fields-specified-for-a-page-model-in-wagtail-at-content-panels/76973226?noredirect=1#comment135693718_76973226 and similar misconceptions people have made in the past.
2023-08-30 18:47:57 +01:00