Jake Howard
4727663fa6
Remove multi-line icon comments
...
Ensure multi-line comments are cleaned from custom icons in addition to just single line comments.
This doesn't affect Wagtail's, but could reduce the size of 3rd-party icons.
2024-10-02 15:52:09 +10:00
rahulsamant37
50ba3a9c44
Update email notification header to new logo
...
- Fixes #12369
- Relates to logo update #10404
2024-10-02 15:43:57 +10:00
Krzysztof Jeziorny
72292d4d01
Documentation: Configure API to use the DRF's TokenAuthentication ( #12363 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-09-29 15:59:15 +01:00
Ishwari8104
f86161ba00
Ensure dropdown toggles show with border in high contrast mode
...
Update _dropdown.scss (#12365 )
2024-09-29 16:37:38 +10:00
Matthew Scouten
1f7710c4d8
oEmbed - Update polldaddy to crowdsignal & remove polleverywhere
...
- Update polldaddy oEmbed to crowdsignal (changed in 2018) https://crowdsignal.com/2018/10/18/introducing-crowdsignal/
- Remove polleverywhere as it no longer supports oEmbed
2024-09-28 18:26:53 +10:00
Drikus Roor
6aa4647120
docs: Clarify file location, add missing imports
2024-09-28 17:45:32 +10:00
Sage Abdullah
3a9b975ba1
Fix UnsavedController.forceValue not immediately notifying the unsaved changes
...
Fixes #12355
2024-09-28 17:41:48 +10:00
Shubham
e7de2f8955
Refactor UnsavedController to use event.preventDefault() to trigger browser confirmation dialog
...
Per https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event
"best practice is to trigger the dialog by invoking `preventDefault()`
on the event object, while also setting `returnValue` to support legacy
cases."
We don't need to support legacy cases, as our supported browsers all
support the `preventDefault()` approach.
See also:
https://caniuse.com/mdn-api_window_beforeunload_event_preventdefault_activation
Fixes #12132
From PR #12139
2024-09-28 17:41:48 +10:00
Coen van der Kamp
abcb2da372
Add translatable model copy for translation done signal ( #12362 )
2024-09-27 16:01:52 +01:00
LB Johnston
a5c31f91c2
Mark js_translation_strings template tag for deprecation
...
- `js_translation_strings` is no longer used by Wagtail admin code
- It was historically used for generating the JS config strings within templates, we now do this in Python and expose as JSON via the `wagtail_config` template tag
- Add a warning for deprecation so that we can remove this unused template tag in the next major version of Wagtail
- See #9771 for context
2024-09-26 01:12:31 -04:00
Sage Abdullah
53f55a8786
Release note for #11166
2024-09-25 14:52:50 -04:00
LB Johnston
429732f09e
Start deprecation for the `locales` as a template tag
...
- This was only used by our JS config globals and can now be removed in a future release
2024-09-25 14:45:45 -04:00
SebCorbin
83f00a8363
Capfirst should be used on model verbose name instead of title ( #12358 )
2024-09-25 17:13:21 +01:00
Cynthia Kiser
d526612e4b
Added example for customizing a default accessibility check ( #12267 )
...
Co-authored-by: Albina <51043550+albinazs@users.noreply.github.com>
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-09-24 11:00:20 +01:00
Albina
722b79d9be
Fix minimap toggle visibility ( #12279 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-09-24 10:58:23 +01:00
Thibaud Colas
c2b35b8945
Release notes for #12045
2024-09-24 10:52:01 +01:00
Matt Westcott
246aaa42d9
Fill in release date for 6.2.2
2024-09-24 10:09:12 +01:00
Matt Westcott
f43a516219
Release note for #12352 in 6.3
2024-09-24 09:26:57 +01:00
Matt Westcott
281d600db3
Release note for #12352 in 6.2.2
2024-09-24 09:26:19 +01:00
Matt Westcott
5aa0673452
Update `WAGTAIL_WORKFLOW_REQUIRE_REAPPROVAL_ON_EDIT` docs to indicate that default is False ( #12340 )
...
Fixes #12329
2024-09-19 16:41:17 +01:00
Matt Westcott
7083bc9460
Docs - Update spelling & reference in release notes for UserViewSet for 6.2.2
2024-09-19 10:12:34 +01:00
LB Johnston
7a03106ddd
Docs - Update spelling & reference in release notes for UserViewSet
2024-09-19 10:11:42 +01:00
LB Johnston
8b3540de0d
Simplify Wagtail docs section titles
...
- Avoid additional 'Wagtail' names in the docs titles (inc. contributing)
2024-09-19 10:09:46 +01:00
LB Johnston
8f215bda5f
Rename deploy URL to deployment + update title
2024-09-19 10:09:46 +01:00
Matt Westcott
a3d06be90c
Release note for #12332 in 6.3
2024-09-19 10:01:27 +01:00
Matt Westcott
2cc5cea4c7
Release note for #12332 in 6.2.2
2024-09-19 10:01:05 +01:00
sage
e529b5b84e
Fix content metrics plugin to work on the main element before falling back to `body` ( #12295 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-09-19 08:53:12 +01:00
LB Johnston
d677b1fa24
Add changelog for migrate preview-panel.js to Stimulus PreviewController
...
- Closes #11677
2024-09-19 08:22:54 +10:00
Sage Abdullah
706b95f670
Deprecate the WAGTAIL_AUTO_UPDATE_PREVIEW setting
2024-09-19 08:22:54 +10:00
Sage Abdullah
014ffb5ce9
Ensure the side panel's show event is dispatched after any hide events
...
If the event is dispatched in the loop, then the show event may be
dispatched before the hide event is dispatched. For example, if you're
switching from the checks panel to the preview panel, as the preview
panel is ordered before the checks panel in the DOM.
This could cause an issue with the preview panel code, where we listen
for the show event to activate the auto update, and listen to the hide
event to deactivate it. We're listening to both the preview and checks
side panels.
Without this fix, the preview auto-update will get deactivated upon
switching from the checks panel to the preview panel, as the hide event
is dispatched after the show event.
2024-09-19 08:22:54 +10:00
Sage Abdullah
30f1115353
Fix debounce() return type to follow original function
...
Without typing Promise and Promise.resolve with R, it defaults to
unknown, so the R generic type can't be used.
Also, the debounced function's args should take the generic A parameter
instead of redefining it as any[].
2024-09-19 08:22:54 +10:00
LB Johnston
6bb0c7597f
Docs - Hacktoberfest - Remove reference to the t-shirt
...
There is no longer a t-shirt reward as of 2023
https://hacktoberfest.com/participation/#faq
2024-09-19 08:03:36 +10:00
sanjeevholla26
aa3be4b888
[UI]: Changed class from warning to failure for confirm delete message
...
Ensure the contrast of the message is suitable
Fixes #12232
2024-09-18 09:48:41 +10:00
Matt Westcott
9c153d27ea
Release note for #12327
2024-09-17 18:12:50 +01:00
Matt Westcott
baa2e15d82
Update Atif Khan's name in release notes
2024-09-17 17:23:31 +01:00
Matt Westcott
66ff3c52cc
Use non-tracked links in Divio hosting details
...
As per https://github.com/wagtail/wagtail/pull/12250#discussion_r1762523573
2024-09-17 14:37:08 +01:00
Atif2077
96f8324458
Modified slugify/urlify to according to django's slug validator ( #12319 )
...
Fixes #12300
2024-09-17 13:14:51 +01:00
Sage Abdullah
6affa04d32
Add search and filters from PageListingMixin to form pages listing ( #12324 )
2024-09-17 09:58:12 +01:00
Matt Westcott
a7ad9ba5f1
Release note for #12275
2024-09-16 20:27:12 +01:00
Matt Westcott
63fb2b123d
Release note for #12248
2024-09-16 14:23:59 +01:00
Matt Westcott
84ab70d3a1
Release note for #12272
2024-09-16 09:27:23 +01:00
Daniel Black
93b9c04ce7
Update MySQL and MariaDB healthcheck commands for GitHub Actions
...
mysqladmin ping and mariadb-admin ping can return healthy during their
initialization stage as by default these connect over unix socket.
Add --protocol=tcp to mysqladmin to report healthy when a TCP
connection occurs. The initial startup uses --skip-networking.
MariaDB has a built-in healthcheck.sh in its container:
https://mariadb.com/kb/en/using-healthcheck-sh-script/
2024-09-13 11:22:47 +01:00
Matt Westcott
bd90802877
Release note for #12261
2024-09-13 09:23:59 +01:00
Matt Westcott
4e0236d5c2
Release note for #12298 in 6.3
2024-09-12 19:18:12 +01:00
Matt Westcott
31a3a47263
Release note for #12298 in 6.2.2
2024-09-12 19:17:49 +01:00
Matt Westcott
4e4fac003b
Release note for #12310 / document support for MariaDB
2024-09-12 19:11:22 +01:00
smark-1
14c2150f29
Add generated `test-media` to .gitignore
2024-09-12 14:18:34 +01:00
Matt Westcott
48b3a52c92
Release note for #12268 in 6.2.2
2024-09-11 19:48:35 +01:00
Matt Westcott
2b481e677c
Release note for #12268 in 6.3
2024-09-11 19:47:02 +01:00
Sage Abdullah
50a1aba134
Clarify UserViewSet customization to avoid confusion with the custom user model's app config
2024-09-11 19:44:36 +01:00