Wykres commitów

4844 Commity (3a98b062a96886dfe7c8cfc55f03b7620994efd2)

Autor SHA1 Wiadomość Data
sag᠎e ed36b5b9b6
Improve customisability of the accessibility checker configuration. Fix #10137 (#10333)
* Extract userbar BaseItem.get_context_data()
* Extract Axe config into smaller attributes and methods for easier overrides
* Add TypeScript interface for WagtailAxeConfiguration
* Improve typings for userbar.ts
* Separate Axe `runOnly` and `rules` options
* Pass request object to all axe configuration methods
* Remove Axe runOnly option if it's falsy
* Add docs for customising the accessibility checker
* Use lists for Axe include and exclude selectors
* Parse JSON script when testing accessibility checker config
* Add tests for customising accessibility checker configuration

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-04-20 07:46:56 +01:00
zerolab cd131ddec8 Skip Locale query when WAGTAIL_I18N_ENABLED is False
- Fixes #10329
2023-04-20 07:07:40 +10:00
Matt Westcott 87eb961b0b Release note for #10330 2023-04-19 15:14:14 +01:00
Sage Abdullah c027e0bce4 Hide Snippets menu item if all snippet models have their own menu items 2023-04-19 15:13:42 +01:00
Sage Abdullah 7ba2098d1a Add docs and tests for grouped snippets registration 2023-04-19 15:13:42 +01:00
Sage Abdullah 5fb4d6316f Allow SnippetViewSet.model to be defined directly on the class 2023-04-19 15:13:42 +01:00
Sage Abdullah dde58c718d Add docs and tests for separate menu item registrations for Snippets 2023-04-19 15:13:42 +01:00
sag᠎e 70bb15a7e1
Prevent long preview mode names from making the select element overflow the side panel. Fix #10240 (#10354) 2023-04-19 14:30:21 +01:00
Thibaud Colas 69fc0d41d2 Release notes for #10056 2023-04-19 13:38:23 +01:00
Thibaud Colas 567b999548 Set up new color design tokens for light and dark themes 2023-04-19 13:38:23 +01:00
Matt Westcott 26a14da3d7 Release note for #10299 2023-04-19 13:25:58 +01:00
Sage Abdullah 66c0ef48e9 Add docs for setting panels/edit_handler on SnippetViewSet 2023-04-19 13:24:17 +01:00
Sage Abdullah 88b742b979 Clarify docs of Snippets features to better reflect current state 2023-04-19 13:24:17 +01:00
Matt Westcott 8ceede175f Deprecate the partial_match argument 2023-04-19 10:53:25 +01:00
Matt Westcott db691b5f1b Remove use of partial_match on search 2023-04-19 10:53:25 +01:00
Thibaud Colas 9b4378485c Release notes for #10344 2023-04-18 15:58:20 +01:00
Thibaud Colas 117eae2299 Release notes for #10347 2023-04-18 15:32:56 +01:00
Sage Abdullah 72f77e4359
Add tests and release notes for #10336 2023-04-18 20:25:33 +07:00
SwA 0447b259c7 fix: modify get_full_url to omit adding base_url in inaplicable cases (#10291)
Fixes #10285
2023-04-18 12:30:20 +01:00
Sage Abdullah 64ea6dd8b8 Fix missing newline in editing interface customisation docs
Regression in 2abd7916af
2023-04-18 19:14:02 +10:00
Daniel Kirkham 0d77311fb6 Update number of tests 2023-04-18 18:14:48 +10:00
Thibaud Colas 68cea0429a Release notes for #10320 2023-04-18 02:49:04 +01:00
Sage Abdullah 136a5486d8 Add decimal and regex icons 2023-04-18 02:49:04 +01:00
Sage Abdullah d696009a36 Revamp panel types documentation and other docs that reference it
This removes the parameters that come from the base Panel class (e.g.
heading, classname, etc.) from the specific panel types to avoid
repetition. Instead, these parameters are properly documented in the
separate "Panel customisation" section. They are also explicitly listed
in the Panel API reference.
2023-04-18 02:49:04 +01:00
Sage Abdullah eb49f3cdf0 Add docs for FieldPanel's icon parameter 2023-04-18 02:49:04 +01:00
Sage Abdullah b017157818 Fix extraneous period typo in page editing interface docs 2023-04-18 02:49:04 +01:00
Karl Hobley 7f297cd019
Update comment list positioning so that they slide in/out with the sidebar (#8345) 2023-04-18 00:58:14 +01:00
Sage Abdullah 167471b1f7 Allow customising the search_fields and search backend to use via SnippetViewSet (#10290) 2023-04-18 00:06:09 +01:00
Sage Abdullah 3965ceedfa Allow default ordering of Snippets IndexView to be specified via SnippetViewSet (#10276) 2023-04-17 23:58:20 +01:00
Aadi jindal ed58c692ca Allow Action controller to trigger a redirect
- Migrate site switcher to use Stimulus approach via w-action
- Closes #10035
2023-04-18 08:30:22 +10:00
LB Johnston 37192f847b Fix changelog for #10212 2023-04-18 08:07:54 +10:00
Suyash Srivastava 39fa706ff2 Update ActionController with a click method
- Partial change towards #10167
2023-04-18 08:04:01 +10:00
Suyash Srivastava e72e454ba5 Migrate autosize jQuery to stimulus controller w-autosize
- Closes #10170
2023-04-18 05:41:00 +10:00
Lovelyfin00 cc23aa6be7 Migrated initDismissibles to a Stimulus controller w-dismissible
- Closes #10166
2023-04-17 23:27:24 +10:00
Albina 935d29e2f5
Accessibility checker outlines feature (#10176)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-04-17 09:59:55 +01:00
Thibaud Colas f944d744b4 Release notes for #9755 2023-04-17 09:28:16 +01:00
Matt Westcott 09fb848288 Release notes for #10271 / #10275 / #10294 2023-04-14 15:38:24 +01:00
Sage Abdullah 9e914dbe87 Remove usage_url and get_usage methods from snippet models
The usage_url can be resolved from the SnippetViewSet,
and the get_usage can be replaced with ReferenceIndex.get_grouped_references_to
2023-04-14 15:35:10 +01:00
Sage Abdullah ff363dee87 Remove get_admin_url_namespace() and get_admin_base_path() from snippet models 2023-04-14 15:34:58 +01:00
Sage Abdullah 87cbf01894 Add docs and tests for overriding SnippetViewSet.get_queryset() 2023-04-14 12:34:11 +01:00
Thibaud Colas 8aa0bf9275 Release notes for #10303 2023-04-14 08:38:01 +01:00
Thibaud Colas 8ee0141361 Update wagtail_icons_table.txt 2023-04-14 08:38:01 +01:00
Thibaud Colas 93732690a3 Update icon visuals to FontAwesome 6, with deprecation warnings for removed icons 2023-04-14 08:38:01 +01:00
Sage Abdullah dc6c0b0949 Allow overriding SnippetViewSet template prefix 2023-04-13 17:53:58 +01:00
Sage Abdullah f2ab3ae774 Add docs and tests for Snippets template overrides 2023-04-13 17:53:58 +01:00
Sage Abdullah 1992c72791 Add missing docs for chooser_viewset_class 2023-04-13 17:53:58 +01:00
Hanoon 70a6230a65 Migrate submit translation bulk toggle to Stimulus Controller (w-bulk)
- Closes #10247
- adding BulkController files and removing {% block extra_js %} from submit_translation.html
- add unit tests for new controller
- partial work on CSP compliance #7053
2023-04-13 22:28:17 +10:00
Matt Westcott f88796b3dd Release note for #10208 2023-04-12 16:26:05 +01:00
Thibaud Colas 574cc05d19 Release notes for #10278 2023-04-12 11:51:00 +01:00
Thibaud Colas c2c37ab143 Update documentation referring to icon class names 2023-04-12 11:51:00 +01:00