Jaap Roes
f9872fae03
Make sure get_site_root_paths returns a list of SiteRootPath objects ( #8819 )
...
Fixes #8062
2023-02-10 15:55:00 +00:00
Matt Westcott
11b9448dc0
Changelog entries for #9974 , #9987 , #9996
2023-02-10 14:44:55 +00:00
Matt Westcott
692147afdc
Add upgrade consideration note for use_json_field
2023-02-10 13:20:34 +00:00
Coen van der Kamp
619f395980
Add new "Icons" page for icons customisation and reuse across the admin interface ( #6028 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-10 07:22:45 +00:00
Lovelyfin00
fd9eed97d7
Converted button-longrunning to a Stimulus Controller
...
- implemented afterLoad in Stimulus button-longrunning to support non-adopted data attributes
- Partial completed #9910
2023-02-09 09:44:18 +10:00
Matt Westcott
ae996ab0f2
Add release note about removal of deprecated features
2023-02-08 14:25:09 +00:00
Lovelyfin00
b336536015
User - Reimplement Gravatar switching without JS
...
- Resolves #9972
- Avoids inline script for a solution that can be CSS/HTML only
- Use translatable alt text for when the default avatar is selected
- Relates to #1288 & #5247 (CSP compliance)
2023-02-07 21:18:31 +10:00
Aadi jindal
1ffa497886
fixed Uncaught TypeError: Cannot read properties of undefined (reading 'getTextLabel') in admin and missing stream blocks. ( #10023 )
...
Fixes #9990
2023-02-06 19:37:11 +00:00
Matt Westcott
1bc0cba5fb
Fill in release date for 4.2
2023-02-06 13:07:28 +00:00
Matt Westcott
68e7e5ab51
Fill in release date for 4.1.2
2023-02-06 12:02:35 +00:00
Vallabh
a88ea0962d
Changed Access level label in admin/users
...
- Closes #10017
2023-02-05 16:16:56 +10:00
Matt Westcott
bf3ec15209
Release note for #9935 in 4.2.x
2023-02-03 17:54:55 +00:00
Matt Westcott
b735700ddf
Release note for #9935 in 4.1.x
2023-02-03 17:54:55 +00:00
Matt Westcott
37d82f5879
Release note for #9976 in 4.1.2
2023-02-03 15:52:35 +00:00
Matt Westcott
8b3b3d7ebd
Release note for #9976 in 4.2
2023-02-03 15:20:31 +00:00
Thibaud Colas
7339f6c3d1
Update guide.wagtail.org links to use most up-to-date URL and page name, with "latest" redirect
2023-02-03 11:13:15 +00:00
Matt Westcott
3c33b3bea6
Release note for #10010 (backport of #9994 ) in 4.1.x
2023-02-03 09:22:32 +00:00
Matt Westcott
b7b6ee9215
Release note for #9994
2023-02-02 14:09:14 +00:00
Sage Abdullah
c0a6cdae12
Release notes for #9640 in 4.2
2023-02-02 12:28:06 +00:00
Sage Abdullah
5961bd5482
Release notes for #9640 in 4.1.2
2023-02-02 12:27:23 +00:00
Sage Abdullah
796b3fe120
Document potential data loss for BaseLogEntry migration in 3.0
2023-02-02 12:22:52 +00:00
Sage Abdullah
0eb3e17f58
Release notes for #9981 in 4.2
2023-02-02 11:08:19 +00:00
Sage Abdullah
6de2a3906b
Release notes for #9981 in 4.1.2
2023-02-02 11:08:19 +00:00
Matt Westcott
22f6b32634
Release note for #10004 in 4.2
2023-02-02 10:49:00 +00:00
Matt Westcott
caf54c005a
Release note for #10004 in 4.1.2
2023-02-02 10:49:00 +00:00
yass19
0221457a67
Remove Page.get_static_site_paths ( #8536 )
...
Fixes #8535
2023-02-01 19:46:54 +00:00
LB (Ben Johnston)
0b822f2ccf
Update 4.2 release notes for `class_name` warning ( #9998 )
2023-02-01 11:01:24 +00:00
4the4ryushin
32822a90ee
Fix: restrict globaly documents and images to certain types ( #9860 )
...
Fixes #1285
2023-01-30 14:44:07 +00:00
Matt Westcott
6a4e944b26
Start release notes for Wagtail 5.0
2023-01-30 14:39:48 +00:00
LB Johnston
9e016c17b8
Documentation - whitespace formatting fixes
...
- Includes small fix for #9969 missing space
2023-01-28 06:59:01 +10:00
Albina Starykova
2afeca2875
Refactor accessibility checker userbar item
...
- Move dialog template code from the userbar base template to the
accessibility item template
- Use fragment for the total results count in the header
- Wrap dialog header in a div to allow styling it separately from the
rest of the dialog content
- Get selector from the first element of axe violation's node.target
2023-01-27 12:31:31 +00:00
Thibaud Colas
0ae04eb72a
Move accessibility checker to its own section of release notes, with upgrade considerations
2023-01-25 16:03:25 +00:00
Matt Westcott
bd3b2b5421
Upgrade consideration note for SearchForm validation
2023-01-25 11:57:20 +00:00
Matt Westcott
04df875d17
Fix assertCanCreate to publish by default
...
Fixes #9939
Also remove the mentions of redirects from the documentation - the fact that the method has to check for a different redirect URL is an internal implementation detail, and not relevant to what the assertion is intending to test (namely that a page is successfully created).
2023-01-25 08:14:15 +10:00
LB Johnston
999f9ef579
4.2 release - Move docs item to correct docs section for #9902
2023-01-21 07:50:27 +10:00
Matt Westcott
08d05c6392
Release note for #9820
2023-01-19 23:42:53 +00:00
Matt Westcott
f35d4a966e
Release note for #9900
2023-01-19 21:09:33 +00:00
Thibaud Colas
357edf2914
Release notes for #9131
2023-01-19 16:57:24 +00:00
Matt Westcott
28a78a6e52
Release note for #9639
2023-01-19 16:42:18 +00:00
Albina
a3f10acae1
Userbar & accessibility checker UI improvements ( #9913 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-19 16:06:11 +00:00
Sage Abdullah
ad3ef5875d
Update docs and changelog to reflect changes for #9817
2023-01-19 14:52:34 +00:00
Thibaud Colas
c7da2988d5
Pull out Stimulus refactoring release notes into their own section
2023-01-19 12:51:26 +00:00
LB Johnston
d2f47e7083
Icon template tag - add deprecation for class_name
...
- If using `class_name` we will now trigger a warning that this will be removed in Wagtail 5.0
- Update release notes accordingly
2023-01-19 12:23:16 +00:00
Thibaud Colas
e33cdbf8db
Set up CSS LTR-RTL direction variable and fix incorrect transforms ( #9914 ). Fix #9800
...
- Fix Draftail block toolbar trigger overlay in RTL mode
- Fix switch component rendering in RTL mode
- Fix panel header positioning in RTL mode
- Remove unused 404 styles
- Fix comments positioning in RTL mode
- Fix sidebar sub-menus transition direction
- Fix form side panels in RTL mode
- Fix minimap positioning in RTL mode
- Fix Draftail tooltips positioning in RTL mode
- Fix page explorer transition direction in RTL mode
- Set up CSS LTR-RTL direction variable
2023-01-19 12:06:43 +00:00
Thibaud Colas
afc6004441
Release notes for #9868
2023-01-19 11:19:25 +00:00
Jake Howard
c8c1870c97
Prevent memory exhaustion when purging a large number of revisions
...
Optimise determining whether a revision is the latest
This no longer attempts to load the entire revision into memory to compare. Instead, we just check if any revisions created after this one exist (that aren't this one).
2023-01-19 21:06:58 +10:00
4the4ryushin
529d2feb49
Add docs example for how to configure API renderer_classes
...
- Update docs/advanced_topics/api/v2/configuration.md
- Fixes #6066
- Fix up spelling of customise (UK English not US)
2023-01-19 20:43:45 +10:00
bbeniamin
96b94d01d9
Fix parsing of queries with multiple filters that contain quotes
2023-01-19 20:41:48 +10:00
4the4ryushin
cc0f2d7c4c
Migrate avatar template to an include tag
...
Includes style guide & storybook implementation
Fixes #8655
2023-01-19 20:32:05 +10:00
Albina
55d04366f7
Axe accessibility checker integration with floating dialog component ( #9899 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-18 15:59:44 +00:00
Matt Westcott
d7adcec584
Release note for #9886
2023-01-18 14:31:08 +00:00
Matt Westcott
e3d42c546b
Minor grammar fixes to 4.2 release notes
2023-01-18 14:18:14 +00:00
Matt Westcott
6e78caa84f
Release note for #9872
2023-01-18 14:15:57 +00:00
Lovelyfin00
b929694203
Migrate lock/unlock actions to w-action controller
...
- Revise 'redirect' from a string to a 'continue' boolean that defaults to false
- Use 'continue=true' for cases where we do not want to create a next param on submit that takes the user back to the current page
- Fixes #9815
2023-01-18 19:00:47 +10:00
Lovelyfin00
9e9a84c953
Pull out loadiconSprite function from inline script
...
- wrote test for initIconSpirite
- changed from xmlhttprequest to fetch
- prepared a domReady util
- Fixes #9811
2023-01-18 08:04:55 +10:00
Thibaud Colas
34f6bab633
Rich text toolbar refinements from usability testing. Fix #9281 ( #9905 )
2023-01-17 17:21:45 +00:00
sage
c8981416ef
Load Axe configuration and error messages defined in Python ( #9898 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-16 13:42:09 +00:00
Lovelyfin00
004faac53c
Migrate workflow and workflow tasks enable action to a Stimulus controller ( #9844 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-12 21:55:40 +00:00
Albina
1e9f580b8c
Add base Axe accessibility checker integration within userbar, with error count ( #9850 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-01-12 12:21:58 +00:00
Thibaud Colas
ea13a1b60a
Release notes for #9841 . Fix #9034
2023-01-12 09:51:51 +00:00
LB Johnston
c8dca0a7f2
Migrate upgrade notification to Stimulus (UpgradeController)
2023-01-12 09:26:31 +10:00
Matt Westcott
a31fa8589e
Release note for #9806
2023-01-11 13:37:59 +00:00
Thibaud Colas
0513a78fb5
Refactor Wagtail userbar to use core.css stylesheet like other components
2023-01-11 20:20:15 +10:00
LB Johnston
52a4d9a6f3
Add changelog for #9785
2023-01-11 20:10:05 +10:00
LB Johnston
ba13f56db7
Fix issue where notifications did not include the correct hash
...
- The Tab notification URL hash changed when adopting the new tabs system
- Fixes #9873
2023-01-11 20:03:51 +10:00
LB Johnston
b3a2aec43c
Add changelog for #9818
2023-01-11 08:42:34 +10:00
Thibaud Colas
d036f10e61
Remove react-axe package usage ( #9865 )
2023-01-10 11:12:19 +00:00
Albina
a37c4bab3d
Re-implement design system colors so HSL values exactly match the desired RGB. Fix #9571 ( #9856 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
Fixes https://github.com/wagtail/wagtail/issues/9571
2023-01-10 08:31:51 +00:00
Thibaud Colas
4230630ceb
Update focus outline color ( #9839 )
2023-01-10 00:23:56 +00:00
Rishabh Jain
959a802c76
Updated documentation for adding reports to cover permission restrictions ( #9859 )
2023-01-09 14:14:53 +00:00
Matt Westcott
b0259a4990
Fix check for `delete_url_name` attribute in generic `DeleteView`
...
Fixes #9861
2023-01-09 14:02:07 +00:00
Matt Westcott
99eaef6ee6
Remove resize handles from autosize text areas ( #9713 )
...
Fixes #7210 , replacing #9651 as per https://github.com/wagtail/wagtail/issues/7210#issuecomment-1325707942 . AdminAutoHeightTextInput now inserts a w-field__autosize classname which explicitly disables the resizing handle, leaving resizing fully in control of the jquery.autosize plugin.
2023-01-05 14:13:29 +00:00
Rishabh Jain
e68f2e0d7d
Added check for file overwrite setting ( #9823 )
2023-01-05 13:48:21 +00:00
LB Johnston
edb86a7e8f
Documentation - Fix missing links / images
...
Most of these are no longer applicable due to the introduction of Wagtail guide, where possible the new guide links are used now
- Re-add missing docs image for extending Draftail
- There is no Guide page (yet) for Inserting videos or images so those links have been removed
- Fix some additional reference issues where the page name and reference were causing issues
2023-01-05 12:08:27 +00:00
Matt Westcott
26ea675520
Release note for #9851
2023-01-05 12:03:14 +00:00
Matt Westcott
1da5b97d51
Add release notes and versioned deprecation warnings for #9824
2023-01-04 18:17:35 +00:00
Matt Westcott
6e4c449fda
Release note for #9795
2023-01-04 17:51:43 +00:00
Jake Howard
2f86d9abc7
Use util method to construct util dummy requests ( #9797 )
...
This more reliably mocks a request for a given site and path.
2023-01-03 15:00:23 +00:00
Thibaud Colas
1de29709de
Remove unused search-bar and button-filter styles ( #9812 )
...
- Remove unneeded search-bar class from templates
- Remove _file_field_as_li template with unneeded overrides
- Remove unused search-bar styles
2023-01-03 09:39:21 +00:00
Vallabh
71c9415327
Added release notes for #9683 (devdocs)
...
- #9683
2022-12-28 08:15:10 +10:00
Albina
5cf621660c
Refactor Wagtail userbar as a web component ( #9816 )
...
* Add a border around the userbar menu in Windows high-contrast mode so it can be identified
* Make sure browser font resizing applies to the userbar
* Switch userbar to initialise a Web Component to avoid styling clashes
* Refactor userbar stylesheets to use the same CSS loading as the rest of the admin
2022-12-27 16:55:19 +00:00
Albina
5eb2064574
Close the userbar when clicking its toggle. Fix #9342 ( #9808 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
Fixes https://github.com/wagtail/wagtail/issues/9342
2022-12-27 15:36:05 +00:00
Thibaud Colas
4246c0b703
Add release notes for #9772 in v4.1.2
2022-12-19 14:05:41 +00:00
Thibaud Colas
84e2390192
Add release notes for Stimulus adoption
2022-12-19 14:00:11 +00:00
Sage Abdullah
8dcc292d26
Add docs for `LockableMixin` and locking snippets
2022-12-14 11:46:57 +00:00
Sage Abdullah
1a09e2d70e
Rename `WAGTAILADMIN_GLOBAL_PAGE_EDIT_LOCK` to `WAGTAILADMIN_GLOBAL_EDIT_LOCK`
2022-12-14 11:46:57 +00:00
Natarajan Balaji
b6f7fbf828
Fix issue where Decimal value block null caused an error
...
- Fixes #9777
- DecimalBlock value when Null forces a conversion to null which crashes the server. Fixed it by returning null when the value is null and decimal when a value is other than null
2022-12-13 07:47:18 +10:00
LB Johnston
da90061ca8
Docs - formatting - clean up whitespace
2022-12-11 18:43:50 +10:00
LB Johnston
abc39ad3c4
Changelog for #9761
...
- Closes #9748
2022-12-11 15:32:47 +10:00
Lovelyfin00
6997ff1d68
Use browser URLSearchParams to determine q param (core.js)
...
- Fixes #9765
- removed the function for getURLParam function and replaced with URLSearchParam method
- already used in many other places in the same file
2022-12-10 07:19:48 +10:00
LB Johnston
ec41b7448a
Add changelog for #8746
2022-12-10 07:05:39 +10:00
Thibaud Colas
0bf26a73c1
Fix horizontal positioning of rich text inline toolbar
2022-12-10 06:56:54 +10:00
Matt Westcott
f635038e13
Release note for StreamField data migration helpers ( #9694 )
2022-12-09 16:40:07 +00:00
4the4ryushin
7fe09f65bb
conditional display of meta description ( #9764 )
2022-12-08 14:35:46 +00:00
Sage Abdullah
ddbdd51607
Extract generic Lock/Unlock views and make page's views extend from them ( #9740 )
2022-12-08 12:06:52 +00:00
LB Johnston
f31cce6786
Update changelog for #9750
2022-12-08 07:45:00 +10:00
LB Johnston
fa544d4ec2
Add changelog for #9762
2022-12-08 07:43:30 +10:00
Matt Westcott
52c50e0e67
Release note for InlinePanel refactor
2022-12-08 07:37:32 +10:00
Matt Westcott
5b8b508385
Release note for #9726
2022-12-07 10:43:09 +00:00
Matt Westcott
bb9dad4f96
Release note for #9709
2022-12-06 18:08:56 +00:00