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
Sage Abdullah
28d55f8c24
Release notes for #10826 and #10827 in 5.1.2
2023-09-07 13:58:01 +01:00
Matt Westcott
d00c2fe12c
Release note for #10847 in 5.1.2
2023-09-07 12:22:54 +01:00
Matt Westcott
d322d60228
Release note for #10847 in 5.0.3
2023-09-07 12:22:53 +01:00
Matt Westcott
b6bd047598
Add documentation for non-model choosers using queryish ( #10863 )
2023-09-07 11:27:10 +01:00
Matt Westcott
0cea5a70d4
Release note for #10836 in 5.1.2
2023-09-06 17:56:57 +01:00
Matt Westcott
d112127178
Release note for #10836 in 5.0.3
2023-09-06 17:56:00 +01:00
Matt Westcott
6a30d5ebc1
Release note for #10859
2023-09-06 16:00:15 +01:00
Matt Westcott
8223162c93
Add documentation for linked_fields
2023-09-06 15:58:36 +01:00
Matt Westcott
7b64f08e74
Allow ChooserViewSet to be filtered by specified URL parameters
2023-09-06 15:58:36 +01:00
LB Johnston
8a52269da5
Update w-breadcrumb root class to w-breadcrumbs (plural)
...
- This way we align with the controller name
2023-09-05 20:05:56 +10:00
LB Johnston
857ea05c2e
Migrate breadcrumb JS to Stimulus RevealController
...
- Adds a new generic `RevealController` that handles the ability for content to be opened/closed while updating the relevant parts of the DOM such as aria-expanded on the toggle.
- Register this controller as a generic `w-reveal` and also the `w-breadcrumb` identifiers so that we can differentiate usage via different DOM attributes and events.
- Closes #10118
2023-09-05 20:05:56 +10:00
Matt Westcott
cbeb9a2512
Docs and release note for ChooserViewSet.get_object_list ( #10851 )
2023-09-04 18:45:39 +01:00
Matt Westcott
fced56b65c
Release note for #10849
2023-09-04 16:13:36 +01:00
Thibaud Colas
06a7bc6124
Fix outdated reference to BlogCategory in tutorial
2023-09-01 16:22:00 +01:00
LB Johnston
1dbf2ec2df
Add changelog for #10798
2023-08-31 18:43:15 +10: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
Sage Abdullah
be9504cb42
Release notes for #10826
2023-08-30 16:50:21 +01:00
Christer Jensen
0edf22ccbc
Allow overriding export_headings
via ModelViewSet
2023-08-30 12:22:15 +01:00
Sage Abdullah
b61bd4463e
Release notes for #10807 , #10811 , #10818 , and #10822
2023-08-30 11:15:25 +01:00
Sage Abdullah
9a2d53d0cf
Move SnippetViewSet.list_per_page to ModelViewSet
2023-08-30 10:31:16 +01:00
Sage Abdullah
66216852b8
Move SnippetViewSet.list_export and export_filename to ModelViewSet
2023-08-30 10:30:17 +01:00
Sage Abdullah
ccbd6849f3
Move SnippetViewSet.search_fields and search_backend_name definition to ModelViewSet
2023-08-30 10:29:29 +01:00
Sage Abdullah
3ae937120e
Fix cross-reference links in Snippets-ModelAdmin migration docs
2023-08-30 10:26:39 +01:00
Sage Abdullah
1fa124fe82
Move SnippetViewSet.list_filter and filterset_class definition to ModelViewSet
2023-08-30 10:26:38 +01:00
LB Johnston
585a08fea0
Adopt w-bulk Stimulus controller for form submissions listing
2023-08-24 20:53:49 +10:00
Sage Abdullah
714beabb7f
Release notes for #10823
2023-08-24 11:02:47 +01:00
LB Johnston
6f9dda5cfc
Fix issue where collection deletion success message was not correct
...
- Fixes #10813
2023-08-24 18:33:23 +10:00
Matt Westcott
2be1da6621
Stop private pages from breaking display of snippets in moderation dashboard
...
Fixes #10819
2023-08-24 18:28:08 +10:00
LB Johnston
6dfa97b908
Add changelog for #7937
2023-08-24 07:14:06 +10:00
Sage Abdullah
564b52188d
Release notes for #10779 and #10796
2023-08-22 17:14:44 +01:00
Sage Abdullah
cd222898fd
Move SnippetViewSet.list_diplay definition to ModelViewSet
2023-08-22 16:34:51 +01:00
Sage Abdullah
849dd5124b
Rename groups IndexView.results_template_name to results.html
2023-08-22 16:25:26 +01:00
Sage Abdullah
91a539d797
Add docs and tests for custom template overrides in ModelViewSets
2023-08-22 15:56:42 +01:00
Shreshth Srivastava
7a647eb53b
Fix incorrect screenshot for authors on tutorial ( #10805 )
...
Fixes #10763
2023-08-21 19:28:57 +01:00
Antoni Martyniuk
eadf9a6d9c
feat: pickle support for StreamField ( #10654 )
...
Fixes #1988
2023-08-21 18:42:38 +01:00
Sage Abdullah
ad070af8fd
Change WagtailTestUtils.get_soup() to accept str/bytes instead of HttpResponse
2023-08-21 14:40:07 +01:00
Matt Westcott
cfa4b7ca69
Copy view restrictions when creating a page alias
...
Rebuild of #10145 following modifications to #6406 . Fixes #10111
2023-08-18 19:10:01 +01:00
Matt Westcott
ea659cb98b
Release note for #10758
2023-08-18 17:45:31 +01:00
Sandeep
a1e50c57f6
Copy privacy settings on page copy ( #6406 )
...
Fixes #6212
2023-08-18 15:58:55 +01:00
Shreshth Srivastava
ff16cb5a3e
Mention WAGTAILADMIN_BASE_URL in integrating_into_django.md ( #10758 )
...
Fixes #10741
Mentioned WAGTAILADMIN_BASE_URL and the warnings related to it in the 'Settings' section.
2023-08-18 13:00:42 +01:00
Sage Abdullah
d8a2826fb4
Release notes for #10767 and #10777
2023-08-16 11:42:11 +01:00
Sage Abdullah
65739c6925
Add ModelViewSet.add_to_reference_index to allow opting out of the ReferenceIndex
2023-08-16 11:42:11 +01:00
Sage Abdullah
c7b5c9a04d
Update viewsets documentation to cover ViewSetGroups and menu item registration
2023-08-15 11:53:44 +01:00
Matt Westcott
e0b0d03cf0
Release note for #10782
2023-08-15 01:33:16 +01:00
Matt Westcott
9ff0f10310
Mention model_name in docstrings
2023-08-15 01:31:16 +01:00
Matt Westcott
485545a983
Allow ViewSet subclasses to customise url_prefix and url_namespace logic
...
Alternative approach to #10766 , as per https://github.com/wagtail/wagtail/pull/10766#issuecomment-1675043897
2023-08-15 01:31:16 +01:00
Sage Abdullah
ea8f45be85
Fill in release date for 5.1.1
2023-08-14 15:03:51 +01:00
Florent Lebreton
e7bb3e9d22
Fix read_only panels for fields with translatable choice labels
2023-08-10 11:16:13 +01:00