LB Johnston
bbcf1e74ee
Add changelog & a few fixes for #11194
...
Partially reverts commit 7fa335c20d
(fixing some issues with the URL updates)
2024-01-21 18:55:43 +10:00
Neeraj P Yetheendran
7fa335c20d
Update Django intersphinx references to new format
2024-01-21 10:09:21 +10:00
Curtis Maloney
5c412d45c9
Update table_block.md ( #11474 )
...
* Correct `mergeCells` option.
2024-01-19 11:37:57 +10:00
Neeraj P Yetheendran
3faeabb4d7
Allow admin backend login URL to be customised ( #11415 )
...
Fixes #10882
2024-01-16 23:50:31 +00:00
sheepman4267
b7605a4c15
Fix typo in customisation.md
...
I'm pretty sure that "modal" should be "model" in this context.
2024-01-09 19:40:24 +10:00
Kalob Taulien
f4978a0f4b
Update sitemaps.md ( #11352 )
2023-12-18 09:07:46 +00:00
Andy Chosak
c109c661c1
Docs: Clarify appropriate use of MultipleChooserPanel
...
This documentation change clarifies that MultipleChooserPanel can only
be used when the inline model has a ForeignKey to a model that
implements Wagtail's chooser interface. Currently the docs mention
"a chooser for a ForeignKey relation" but it's not obvious how that
restricts which models can be pointed to or how to implement this for a
non-(image, document, snippet, page) model.
Relates to #10646 .
2023-12-13 07:32:00 +10:00
Shlomo Markowitz
f9c7df49c8
Add support for modifying default page listing ordering
2023-12-07 06:50:38 +10:00
Sage Abdullah
b4881cad64
Move SnippetViewSet.get_edit_handler() to ModelViewSet
...
However, keep the logic for falling back to extracting panel definitions
from the model class as snippets-specific. ModelViewSets are likely used
with models that are more low-level and thus we want developers to
explicitly define the fields that are editable in the admin, just like
how Django's ModelForm works.
2023-11-28 09:26:33 +00:00
Damilola Oladele
7e774971fa
Documentation: GSoD - A complete tutorial on how to build your Portfolio site with Wagtail ( #11217 )
...
Co-authored-by: Meagen Voss <45881480+vossisboss@users.noreply.github.com>
2023-11-17 16:39:37 +00:00
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: sage <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