Wykres commitów

4731 Commity (38e39271ee0925a2e23d751b401df4dfa5ec7b80)

Autor SHA1 Wiadomość Data
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
Daniel Kirkham 23552f0e70 Fix two spacing typos 2023-03-11 11:03:54 +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
Lovelyfin00 2519dc84e8 adding the introduction to stimulus webinar video link to docs 2023-03-08 06:35:59 +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 a07fe20ceb Add documentation for customising StreamField validation 2023-03-01 12:07:13 +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
Christopher Wardle 5f6f640d0d
Documentation: Adding return statement to process_form_submission (#10143)
* Adding missing return statement to FormPage.process_form_submission in the "Custom form submission model" example to make it available to FormPage.render_landing_page, among other methods.
2023-02-24 07:52:14 +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 dc2afe89b9 Specify that h1, h5, h6 are disabled in rich text by default
Fixes #10124
2023-02-22 08:48:02 +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
Kenny Wolf f50f04e129
Docs - Remove deprecated Settings Tab from documentation (#9813)
Since Wagtail 4.1 the Settings Tab and the corresponding scheduling of pages has been moved to the Status side panels. As mentioned in the release notes of Wagtail 4.1: [See here](https://docs.wagtail.org/en/stable/releases/4.1.html#new-ui-for-scheduled-publishing).

In the documentation section for customising the edit interface, this snippet is still available. When implemented, there is no effect and no error is shown.

Therefore this line is obsolete and only the two tabs 'Content' and 'Promote' should be available.

Co-authored-by: Julian Bigler <disperate@users.noreply.github.com>
2023-02-19 14:32:13 +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
Vallabh c73b03e03c Added requested changes 2023-02-16 16:17:03 +00:00
Vallabh 123d944674 Added docs about abtract model for InlinePanel (#9887) 2023-02-16 16:17:03 +00:00
Vallabh e0ea3ee448 Added link to description of InlinePanel 2023-02-16 16:17:03 +00:00
Vallabh 407860286b Removed obsolete section of InlinePanels 2023-02-16 16:17:03 +00:00