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
Sage Abdullah
da636f6b61
Release notes for #10864
2023-09-20 14:01:15 +01:00
Neeraj P Yetheendran
cdd6f1800c
Allow subclasses of PagesAPIViewSet override default Page model
...
- Built on original PR #7372 and feedback on that solution
- Add unit tests and documentation
- Fix typo in API documentation for `CustomPagesAPIViewSet`
- Ensure that pk is used (not id) while filtering to prevent assumption that id is pk
2023-09-20 08:13:19 +10:00
Matt Westcott
6009903c55
Support passing extra context variables via the {% component %} tag
2023-09-20 07:46:39 +10:00
LB Johnston
dd95b8b0d2
Fix changelog / release notes entry for #10916
2023-09-20 07:24:58 +10:00
Matt Westcott
30a489a51c
Document support for OpenSearch
...
Fixes #7920
2023-09-20 07:17:58 +10:00
Matt Westcott
4938db9b7c
Release note for #10916 in 5.1.2
2023-09-19 10:29:23 +01:00
LB Johnston
b60828ac47
Hooks documentation - fix up admonition formatting
2023-09-19 12:18:51 +10:00
Matt Westcott
b5eff93fde
Release note for #10911 in 5.0.3
2023-09-18 16:03:10 +01:00
LB Johnston
27a8f85e1e
Add changelog for #10245 & #10893
2023-09-17 21:20:51 +10:00
SebCorbin
f82366e151
Fix PublishMenuItem label is not overridable through hook
...
Fixes #10663
2023-09-17 17:27:44 +10:00
Daniel Kirkham
72c55dee17
Fix typo and expression in 5.1 release notes
2023-09-17 16:28:40 +10:00
Sage Abdullah
bde19900b9
Release notes for #10880
2023-09-15 15:33:55 +01:00
WhatIsThisVJ
b681e74d30
Replace @total_ordering usage with comparison functions implementation #10526
2023-09-14 11:32:59 +01:00
LB Johnston
ba9f7c898f
Add changelog / upgrade considerations for #10869
...
Closes #10668
2023-09-14 09:09:59 +10:00
LB Johnston
e317ac482b
Revise the human_readable_date arg (rename position to placement)
...
- Add unit tests
- Move changelog entry to features, not maintenance
- See #10871 & 0a977cc54d
2023-09-14 07:30:28 +10:00
Andy Chosak
dbc130e565
Fix minor typos in the docs
...
"JavasScript" -> "JavaScript"
2023-09-14 06:36:46 +10:00
LB Johnston
a5966753d2
Changelog & release notes for #10857
...
- Including backport to 5.1.2
2023-09-14 06:32:29 +10:00
LB Johnston
19b4df2648
Add 5.1 release notes for changed attrs.html
template location
...
Fixes #10874
2023-09-14 06:04:01 +10:00
Sage Abdullah
3cd13c65ef
Release notes for #10865 and #10870
2023-09-13 17:53:15 +01:00
LB Johnston
51353c7c43
Do not use jest inside stubs.js to prevent Storybook from crashing
2023-09-13 15:04:04 +01:00
rohitsrma
451c21ea52
Page status sidebar - add support for actual published date date in tooltip
...
Fixes #10789
2023-09-13 08:20:45 +10:00
rohitsrma
0a977cc54d
human_readable_date - update template tag to support tooltip position
2023-09-13 08:20:45 +10:00
faishalmanzar
3a86efaf12
Add ability for InlinePanel to set focus on newly created items
...
Fixes #10764 - Inserting a new InlinePanel function improved
2023-09-13 07:54:57 +10:00
LB Johnston
0daf33b1b4
Add changelog for #10835
2023-09-13 07:40:04 +10:00
LB Johnston
b96d2d7faa
Adopt w-messages (CloneController) in unsaved changes warning
...
- Replace global util window.updateFooterSaveWarning with the w-messages usage
- Remove window.updateFooterSaveWarning usage in core.js & move 'delay before clearing' time delay to the Stimulus value
- Fix JSDoc usage in `enableDirtyFormCheck`
- Add aria-live="polite" so message updates can be advised to screen readers
- Add release considerations and for `window.updateFooterSaveWarning` removal
- Closes #10091
2023-09-13 07:40:04 +10:00
Hatim Makki Hoho
bf709279d5
Update focal_points.md ( #10878 )
...
corrected the load from {% load wagtailimages %} to {% load wagtailimages_tags %}
2023-09-11 20:13:19 +01:00
Matt Westcott
386e7c896e
Release note for #10866 in 5.1.2
2023-09-11 19:06:48 +01:00
Matt Westcott
e017225c0f
Add release note recommending the use of AutocompleteField
2023-09-11 17:11:26 +01: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
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