Matt Westcott
c9d2fcd650
Release note for CVE-2023-28837 in 4.2.2
2023-04-03 12:41:18 +02:00
Matt Westcott
eefc3381d3
Release note for CVE-2023-28836 in 4.1.4
2023-04-03 12:41:18 +02:00
Matt Westcott
bc84bf9815
Release note for CVE-2023-28836 in 4.2.2
2023-04-03 12:41:18 +02:00
Matt Westcott
a3498b260f
Release note for #10256
2023-04-03 10:24:30 +02:00
Matt Westcott
def7e44a38
Release note for #10266 in 4.2.2
2023-04-01 01:23:31 +01:00
Matt Westcott
d82ae50ca9
Release note for #10266 in 4.1.4
2023-04-01 01:23:31 +01:00
Matt Westcott
4498956f05
Release note for #10284 in 4.2.2
2023-04-01 00:58:17 +01:00
Matt Westcott
2cd4730e63
Release note for #10284 in 4.1.4
2023-04-01 00:58:10 +01:00
Thibaud Colas
f82ff1e22c
Move help text above all form fields ( #10302 )
...
* Move all help text above fields
* Adjust vertical spacing of form fields and panels
* Move the page title’s help text below the field
* Release notes
2023-03-31 17:05:20 +01:00
Matt Westcott
84fdbf3783
Make /admin/jsi18n/ view accessible to unauthenticated users
...
Fixes #10293
2023-03-31 14:55:12 +01:00
LB Johnston
7a6d2bc689
5.0 release notes clean up
...
- Remove unnecessary `docs:` prefix on documentation item
- Fix w-slug attribute example (should end with -value)
- Remove heading levels for old/new syntax in progress button details
- Use a consistent approach to Stimulus adoption entries (focus on data attributes used, not Stimulus migration)
2023-03-31 07:07:20 +10:00
Matt Westcott
e6282572c3
Release note for #10298
2023-03-30 16:12:15 +01:00
Matt Westcott
9e4226dd61
Release note for #10297
2023-03-30 14:54:41 +01:00
Matt Westcott
fd88ec3eb7
Release note for #9842
2023-03-30 10:45:09 +01:00
Thibaud Colas
da7e68ea08
Release notes for #9666
2023-03-30 00:14:03 +01:00
Thibaud Colas
b504403ebf
Release notes for #10277
2023-03-29 13:20:23 +01:00
mansi0829
433d70d3bf
Adopt w-status instead of status for classes
...
- Fixes #10244
2023-03-29 08:07:47 +10:00
Thibaud Colas
15643015c6
Remove eef0b2701d
from v4.1.4 release notes
2023-03-28 17:17:33 +01:00
Babitha Kumari
eef0b2701d
Avoid showing scrollbars in the block picker unless necessary. Fix #10253 ( #10268 )
2023-03-28 17:15:38 +01:00
Sage Abdullah
d1a668a3b1
Explicitly specify MenuItem.name
for Snippets, Reports, and Settings menu items ( #10270 )
2023-03-28 17:07:20 +01:00
Thibaud Colas
27459d61ce
Release notes for #10262 / #6667
2023-03-28 16:13:35 +01:00
Lovelyfin00
a81242ca86
Migrate initAutoPopulate to Stimulus
...
- Removed initAutoPopultae function from editor.js
- Added the compare and urlify methos to SlugController
- Wrote tests for SyncController, added more test cases to slugController
- Closes #10088
2023-03-27 21:55:56 +10:00
Thibaud Colas
ca83e5a34f
Re-label "StreamField blocks" option in block picker to "Blocks"
2023-03-24 15:46:51 +00:00
Thibaud Colas
9288f3940c
Fix server-side caching of the icons sprite
2023-03-24 15:31:58 +00:00
Sage Abdullah
8285936d99
Add missing changelog for #10223 and #10255 in 4.1.4 and 4.2.2
2023-03-24 15:31:43 +00:00
Matt Westcott
15821675e8
Release note for #10241
2023-03-23 14:17:44 +00:00
Matt Westcott
8d2b1c68cb
Release note for #10235
2023-03-23 13:55:42 +00:00
Sage Abdullah
9f33ef3137
Add missing extra CSS and JS defined by filters in snippets listing view
...
- Fixes #10254
2023-03-23 09:06:33 +10:00
Matt Westcott
5f154a5a51
Release note for #10178
2023-03-22 15:30:42 +00:00
Matt Westcott
7a7bbfa6cf
Release note for #10072
2023-03-21 14:31:05 +00:00
Andy Babic
f680f188f3
Add useful properties to Locale
...
- Update get_display_name() to always return a string
- Add documentation and unit tests
2023-03-21 08:02:40 +10:00
zerolab
d51ec00ce1
Fix TableBlock initialisation
...
- move Handsontable render after load & resize width after load
- stops firing a resize event
- adjusts targets to account for the changed markup
- fixes #9107
2023-03-21 07:02:00 +10:00
Stefan Hammer
0016ee7dfd
Fix timezone handling of TemplateResponse
s for users with a custom timezone
...
The PR #9628 missed the cases, where a TemplateResponse is used, which
defers the rendering to a point outside the override_tz() context
manager. This change re-uses the existing handling for the user's
preferred language.
Fixes #10243
2023-03-20 11:43:10 +00:00
Thibaud Colas
8705124eaf
Add release notes for #10239
2023-03-20 09:51:51 +00:00
4the4ryushin
66a086da29
Add support for double quotes query string searches
...
- Fixes #9951
2023-03-19 21:30:21 +10:00
4the4ryushin
df9437b4de
Adopt shared header in Snippets type index header
...
- Fixes #9227
2023-03-19 20:53:31 +10:00
Satvik Vashisht
4ee60b5d47
Adopt the pageurl template tag over page.url
where possible
...
- Fixes #10125
- So that determining page URL is more performant - see https://docs.wagtail.org/en/stable/advanced_topics/performance.html#page-urls
2023-03-18 07:35:27 +10:00
Himanshu Garg
427f5623d9
Update leftover status-tag class usage to use status template tag
...
- Closes #10129
- Relates to #8656 & #9721
2023-03-18 07:10:24 +10:00
Matt Westcott
71563ec720
Release note for #10099
2023-03-14 14:28:33 +00:00
Sage Abdullah
909e7fedbf
Update docs to reflect snippet deletion hook changes
2023-03-14 14:27:22 +00:00
Matt Westcott
87650344e2
Fill in release date for 4.2.1
2023-03-13 10:14:07 +00:00
Matt Westcott
bcf5b6459f
Fill in release date for 4.1.3
2023-03-13 10:14:00 +00:00
Sage Abdullah
cfcfd85525
Clarify ClusterableModel requirements for using relations with RevisionMixin-enabled models
2023-03-13 09:35:05 +00:00
Andy Chosak
6eca0004b3
Fix paginated results count on document search #10220
...
Paginated document search results currently always show the number of
documents per page instead of the total number of documents in the
search results.
For example, if a document search
(at http://localhost:8000/admin/documents/ )
returns 100 results, and the results are paginated by 20, the results
view always says "There are 20 matches", when it should instead say
"There are 100 matches".
This commit fixes that bug and adds a unit test to cover it.
2023-03-12 20:28:50 +10:00
Daniel Kirkham
af57a3eb7e
Add ability to disable search indexing for a model #9821
...
- Add tests for search disable capability
- Update index disable to use empty search_fields property
- Relates to #7570
2023-03-12 20:16:19 +10:00
LB Johnston
efe7202575
Add changelog for #10216
...
- Relates to #10206
2023-03-12 19:41:42 +10:00
AceHunterr
ff7494bf79
Replace ButtonSelect widgets with radio buttons
...
- Instead of a complex and non-accessible JS solution for filter selects, replace with simple radio select fields
- Fixes #9838
2023-03-11 17:21:00 +10:00
George Sakkis
38e39271ee
ChooserWidget: Trigger manually change event when input.value is set
...
- Ensure that the change events bubble as this is the default browser behaviour
- By default, changes to hidden values will not fire a `change` event, nor those that are a result of programatic changes to `value, so instead this needs to be added manually so that other code can listen to changes to chosen fields with DOM event listeners.
- https://stackoverflow.com/questions/6533087/jquery-detect-value-change-on-hidden-input-field/8965804#8965804
- Closes #10187
2023-03-11 15:57:33 +10:00
Thibaud Colas
d5e4ac5590
Update Algolia DocSearch integration with new application and correct versioning setup
2023-03-10 15:57:17 +00:00
Albina
5e23eedcd8
Axe accessibility checker: sorting violations based on their place in DOM ( #10013 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-03-10 12:05:12 +00:00
Matt Westcott
b7f81bc720
Release note for #10215
2023-03-10 12:03:14 +00:00
Deepam Priyadarshi
de3a0b3495
Fixing duplicate addition of StreamField blocks with the new block picker. Fix #10057 ( #10149 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-03-10 09:52:17 +00:00
Matt Westcott
ab05be3bb2
Prevent matches from unrelated models from leaking into SQLite FTS searches
...
Fixes #10188
2023-03-09 10:13:54 +00:00
Thibaud Colas
c01303927a
Release notes for #10171
2023-03-08 15:21:38 +00:00
LB Johnston
6ec6895f4f
Docs - 5.0 release notes - clean up formatting
2023-03-08 21:35:34 +10:00
4the4ryushin
eb5bb5a9c8
Migrate window.addMessage
to a Stimulus Controller w-message
...
- Introduce a new controller `MessagesController` to contain the dynamic updating of messages
- Ensure the document updated label does not repeat every time a document is updated
- Using the Stimulus controller with templates approach, icons can easily be pre-loaded for each message type
- Ensure that messages are consistently cleared when new ones are added (this was done ad-hoc across some usage and not others)
- Fixes #9493
2023-03-08 21:35:34 +10:00
Sage Abdullah
24ba0b7fc1
Release notes for #9628 in 4.1.3 and 4.2.1
2023-03-07 19:01:40 +00:00
Sam
a393ea8091
Fix dialog component's message to have rounded corners at the top side
...
Fixes #10177
2023-03-07 18:36:02 +00:00
Suyash Srivastava
382b7fbbee
Keep applied filters when downloading form submissions
...
Made use of the xlsx_export_url and the csv_export_url properties instead of hardcoding the urls in the template
2023-03-07 18:21:00 +00:00
sheepman4267
04cca97f09
Fix typo in "Extending Draftail" docs ( #10185 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-03-07 10:11:45 +00:00
Thibaud Colas
468e8d8581
Docs - Prepare short section on Stimulus usage in UI guidelines
...
- Aimed at contributors, based on initial implementation learnings and original RFC content
- See https://github.com/wagtail/rfcs/blob/main/text/078-adopt-stimulus-js.md#c-documentation-for-contributors
- Closes #10093
2023-03-07 18:11:39 +10:00
Sage Abdullah
b3b53c8b70
Release notes for #9628
2023-03-01 12:00:43 +00:00
Matt Westcott
114e25e7db
Release note for custom StreamField validation support ( #7250 )
2023-03-01 12:24:05 +01:00
Matt Westcott
a98779e734
Make TypedTableBlockValidationError constructor more permissive
...
Either of cell_errors or non_block_errors can now be omitted, and non_block_errors accepts a plain list of ValidationErrors as well as an ErrorList.
2023-03-01 11:48:29 +01:00
Matt Westcott
e9e401b891
Make StreamBlockValidationError constructor more permissive
...
Either of block_errors or non_block_errors can be omitted; non_block_errors can be passed as a plain list rather than an ErrorList; and the values in block_errors can be ValidationError instances or singleton lists, not just singleton ErrorLists.
2023-03-01 11:48:29 +01:00
Matt Westcott
d262291b6e
Make StructBlockValidationError constructor more permissive
...
Refactor it to allow either of block_errors or non_block_errors to be omitted; allow non_block_errors to be passed as a plain list rather than an ErrorList; and allow the items of block_errors to be ValidationError instances or singleton lists rather than just singleton ErrorLists.
2023-03-01 11:48:29 +01:00
Matt Westcott
486a49797b
Refactor ListBlockValidationError to use a dict for block_errors
2023-03-01 11:47:18 +01:00
Sage Abdullah
4956e9554c
Release notes for #9946
2023-03-01 09:23:40 +00:00
Sage Abdullah
f3f45a9860
Fix page/snippet cannot proceed a GroupApprovalTask if it's locked by someone outside of the group
...
Regression in d85db866cc
2023-02-28 13:22:06 +00:00
4the4ryushin
9537547b46
Migrate initErrorDetection to a Stimulus Controller w-count
...
- Used for tabs error counts
- Fixes #10090
2023-02-27 23:11:19 +10:00
LB Johnston
845b731d13
Add release notes & upgrade considerations for #7277
...
- Relates to #8012
2023-02-26 12:59:18 +10:00
jatinkumar001
b87f71ca38
Update privacy collection switch button
...
- The status tag styles did not actually change when the permissions changed
- Instead of trying to treat the status tag as a button, use an actual button styling as this pattern is not used anywhere else in Wagtail
- Fixes #10128
2023-02-25 08:10:43 +10:00
4the4ryushin
fd73fc2905
Use shared header template in ModelAdmin index
...
- Closes #8907
2023-02-24 17:38:33 +10:00
Matt Westcott
ff70382ebb
Remove obsolete client-side BlockValidationError classes and telepath adapters
2023-02-23 11:47:34 +00:00
Himanshu Garg
2ae061a703
Add curlylint and update djhtml, semgrep versions in pre-commit config
...
The djhtml and semgrep versions are now in sync with the ones in setup.py
2023-02-23 11:24:50 +00:00
Matt Westcott
55fcace173
Release note for #10130 in 4.1.3
2023-02-21 17:47:53 +00:00
Matt Westcott
0dd7dfedeb
Release note for #10130 in 4.2.1
2023-02-21 17:47:06 +00:00
Matt Westcott
517b59c736
Release note for #10130 in 5.0
2023-02-21 17:42:40 +00:00
4the4ryushin
93077eaccd
Migrate status tag usage to shared Template tag
...
* Style guide updated tests added
* Added story for status tag and put pageurl tag in use for page_status_tag
* Allow for url/non-url variant & attrs to be passed through to root element
* Closes #8656
2023-02-21 22:30:18 +10:00
LB Johnston
d5eb255320
Add changelog for #9934 / #7756
...
- Closes #7160
- Add additional test coverage
2023-02-21 21:48:38 +10:00
Lovelyfin00
2a9d01b849
Migrate initSlugCleaning to Stimulus SlugController
...
- Closes #10086
2023-02-21 08:57:20 +10:00
LB Johnston
469f3ee1d2
Documentation - remove legacy docs references
...
- Permissions/commenting links no longer exist in the documentation and have moved to the user guide
- As these are quite old releases now, remove the references to avoid build errors in docs
2023-02-19 16:01:38 +10:00
Julian Bigler
8be4722458
Add release notes & contributors #9813
2023-02-19 14:39:06 +10:00
Thibaud Colas
4bea98d981
Convert userbar implementation to TypeScript
2023-02-17 01:13:51 +00:00
Fabien Le Frapper
065df6064a
Remove unneeded float styles on 404 page ( #8914 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-17 00:06:57 +00:00
Albina
afff60e3b9
Add unit tests for MinimapItem ( #10083 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-16 23:51:00 +00:00
Matt Westcott
cbe5e0d22d
Release note for #9940
2023-02-16 16:19:33 +00:00
Matt Westcott
9417e13445
Release note for #10009
2023-02-16 15:29:21 +00:00
Ayman Makroo
ff4957799b
Fix overflow of search results on mobile devices (docs)
...
- Fixes #9893
2023-02-16 19:48:02 +10:00
LB Johnston
0187a1494b
Add release note item about additional button fix
...
- Fixed in #10062 / #9956
2023-02-16 08:19:44 +10:00
rishabhDev2700
49d0aab24d
Replaced script tags with template tag for image/document bulk uploads
...
- Fixes #10033
- Partial work on #7053
2023-02-16 08:17:07 +10:00
Lovelyfin00
ab05f7dd3c
Rename AutoFieldController to SubmitController
...
- Closes #10092
2023-02-16 07:23:03 +10:00
LB Johnston
3cf38f0365
Add changelog for #6086
...
- Fixes #6085
2023-02-16 00:00:34 +10:00
Lovelyfin00
6f38e979a4
Improve docs for getting started and development (new contributors)
...
- Added a new section for common issues faced in getting started
- Added a section link for environment creation
- Refine confusing wording around fork/clone
2023-02-15 23:01:27 +10:00
Matt Westcott
297e08df2a
Release note for #10007
2023-02-15 09:57:18 +00:00
LB Johnston
55483b5424
5.0 release notes - fix headings from #10062
2023-02-15 06:01:41 +10:00
GLEF1X
768d8f3d2c
refactor code, fix some minor issues
2023-02-14 17:35:26 +00:00
Sage Abdullah
e6afce23dc
Release notes for #10021 in 4.1.3
2023-02-14 16:51:43 +00:00
Sage Abdullah
8c2a382949
Release notes for #10021 in 5.0
2023-02-14 15:35:37 +00:00
Sage Abdullah
7addcbef8d
Release notes for #10021 in 4.2.1
2023-02-14 15:35:20 +00:00
Matt Westcott
3310e0874c
Release note for #10051 on 5.0
2023-02-14 13:57:34 +00:00
Matt Westcott
7f20507f8c
Release note for #10051 on 4.2.1
2023-02-14 13:57:13 +00:00
Lovelyfin00
c52074250b
Refine Stimulus progress controller (button-longrunning)
...
- use milliseconds instead of seconds for duration
- allow `em` to be used without target attribute
- added connect method for labelTarget
- closes #8232
- closes #9910
2023-02-14 23:19:42 +10:00
Albina Starykova
6d007fc623
Add unit tests for collapseAll component
2023-02-14 20:39:27 +10:00
sage
d46d724d31
Fix side panel resize direction on RTL languages. Fix #9916 ( #10044 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
Fixes https://github.com/wagtail/wagtail/issues/9916
2023-02-14 10:38:57 +00:00
Matt Westcott
207493dc95
Fix broken formatting for MultiFieldPanel / FieldRowPanel permission kwarg docs
2023-02-14 20:34:35 +10:00
Albina
546a552ac2
Add more Axe rules to the accessibility checker ( #10011 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-13 13:01:34 +00:00
Matt Westcott
52d32628eb
Mark 4.1.3 as in development
2023-02-13 12:39:18 +00:00
Matt Westcott
e52a557c05
Add release notes for #10050 in 4.2.1
2023-02-13 12:39:01 +00:00
Matt Westcott
48731afa58
Release note for #10050 in 4.1.3
2023-02-13 12:38:17 +00:00
Matt Westcott
c21bb79d23
copy across 4.1.3 release notes
2023-02-13 12:38:10 +00:00
Albina
38ea027d04
Implement new simplified userbar designs ( #9989 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-13 09:55:20 +00:00
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