0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-22 11:07:57 +01:00
Commit Graph

15120 Commits

Author SHA1 Message Date
Oli
459fbb2cc9 Switch to ruff for flake8 / isort code checking (#10324) 2023-04-21 11:58:27 +01:00
Sage Abdullah
5b20ae5f83 Use django-taggit fork to test against Django main 2023-04-21 11:51:30 +01:00
LB Johnston
b6392eab05 Docs - Add recent third party tutorials 2023-04-20 18:12:47 +01:00
Matt Westcott
7f0e761b33 Generate new strings for translation 2023-04-20 11:49:14 +01:00
Matt Westcott
d101a396bb Fetch new translations from Transifex 2023-04-20 11:47:23 +01:00
Sage Abdullah
d8a0ff98e3 Add handsontable styles override to fix background color in dark mode 2023-04-20 11:34:09 +01:00
Sage Abdullah
2ef3b36c11 Fix comment notice text color in dark mode 2023-04-20 11:34:09 +01:00
Matt Westcott
85c9b6689f Ensure that models can still be registered with ReferenceIndex.register_model after the initial set of signals has been connected 2023-04-20 11:21:43 +01:00
Matt Westcott
072c8f21e1 Split the _indexed_models dict into two sets, one for tracked models, the other for indexed models
Also tweak register_model to recursively follow child relations.
2023-04-20 11:21:05 +01:00
Daniel Kirkham
6a0cd8e186 Add test for show_references_table command 2023-04-20 11:21:05 +01:00
Daniel Kirkham
659251b8a7 Added Documentation 2023-04-20 11:21:03 +01:00
Daniel Kirkham
ef3aace6b0 New show_references_index management command 2023-04-20 11:20:37 +01:00
Daniel Kirkham
378761f0ca Use revised interface in rebuild_references_index 2023-04-20 11:20:37 +01:00
Daniel Kirkham
f782d3cca0 Model registration for tests 2023-04-20 11:20:37 +01:00
Daniel Kirkham
1a372e4bb4 Default Wagtail model registration 2023-04-20 11:20:37 +01:00
Daniel Kirkham
552e640511 Refactor ReferenceIndex to require model registration 2023-04-20 11:20:37 +01:00
Sage Abdullah
b9f8a6b6c0 Dispatch resize event to resize Handsontable on initialisation (#10367)
Fixes #10355
2023-04-20 09:48:58 +01:00
Sage Abdullah
d650af3f39
Release notes for #10366 2023-04-20 14:17:08 +07:00
Thibaud Colas
3a98b062a9
Add more space for buttons next to fields in TypedTableBlock 2023-04-20 14:14:25 +07:00
Thibaud Colas
b81ec15e3d
Fix comment "add" buttons being hidden in StreamField 2023-04-20 14:14:25 +07:00
Thibaud Colas
64ae146e29
Swap comment "add" button icons between default and hover 2023-04-20 14:14:24 +07:00
Thibaud Colas
5ef6af178e
Prevent reaching side panel close button while tabbing 2023-04-20 14:14:24 +07:00
Thibaud Colas
d8731c2dc6
Fix inconsistent comment button positions for fields in and out of StreamField 2023-04-20 14:14:24 +07:00
Thibaud Colas
82ea1fd975
Fix StreamField comment controls initialisation 2023-04-20 14:14:24 +07:00
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
Daniel Kirkham
ca0177292c Fixed two tests incorrectly using StringIO 2023-04-20 06:26:49 +10:00
Sage Abdullah
ce62c716a0 Add the ability to use autocomplete search on generic IndexView and use it for snippets 2023-04-19 15:36:19 +01: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
a51e7ae75a Avoid custom menu label tests clashing with existing test assertions 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
5b76d8ec31 Add SnippetViewSetGroup to allow grouped snippets registration 2023-04-19 15:13:42 +01:00
Sage Abdullah
8df6e62fb4 Allow register_snippet() to be passed a SnippetViewSet as the only argument 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
641e029c63 Override is_shown on custom Snippets menu item based on permissions 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
Sage Abdullah
9c8fd70b10 Add menu-related attributes and methods to register a separate menu item for Snippets 2023-04-19 15:13:42 +01:00
Sage Abdullah
8f22dae7b0 Move snippet_viewset assignment to SnippetViewSet.on_register() 2023-04-19 15:13:42 +01:00
Sage Abdullah
52739832bc Fix nested SubmenuMenuItem from being hidden when expanded 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
bf1f15c3d5 Update relevant color declarations to use theme-agnostic color tokens 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
Thibaud Colas
35868364c5 Remove unused dropzone styles 2023-04-19 13:38:23 +01:00
Thibaud Colas
308f01b3b1 Remove legacy dropdown-button--white variant 2023-04-19 13:38:23 +01:00
Thibaud Colas
5f050ec84b Add theme class to HTML root based on user profile 2023-04-19 13:38:23 +01:00
Thibaud Colas
42600f8bec Fix Storybook rendering of body element 2023-04-19 13:38:23 +01:00
Thibaud Colas
69eef34e56 Add more components to Storybook 2023-04-19 13:38:23 +01:00
Thibaud Colas
9325f7dd6f Add theme field on UserProfile model and form 2023-04-19 13:38:23 +01:00