0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

406 Commits

Author SHA1 Message Date
Matt Westcott
4a47bc611b Remove old versionadded / versionchanged notes 2023-04-21 13:47:10 +01: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
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
dde58c718d Add docs and tests for separate menu item registrations for Snippets 2023-04-19 15:13:42 +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
Sage Abdullah
3965ceedfa Allow default ordering of Snippets IndexView to be specified via SnippetViewSet (#10276) 2023-04-17 23:58:20 +01:00
Sage Abdullah
87cbf01894 Add docs and tests for overriding SnippetViewSet.get_queryset() 2023-04-14 12:34:11 +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
bcbaafd116 Add docs and tests for snippets listing filters via list_filter 2023-04-03 10:24:30 +02:00
Joshua Munn
2424df3d68 Remove WAGTAILIMAGES_ALLOW_SVG setting for WAGTAILIMAGES_EXTENSIONS
PR #9860 introduced the WAGTAILIMAGES_EXTENSIONS setting, which
conflicts with the use of
WAGTAILIMAGES_ALLOW_SVG. WAGTAILIMAGES_EXTENSIONS can be used to
opt-in for SVG use instead.
2023-03-30 10:19:43 +01:00
Joshua Munn
657afde30a Add more detail to SVG security notes, update settings reference 2023-03-30 10:19:43 +01:00
Joshua Munn
196ed4162d Add SVG docs 2023-03-30 10:19:43 +01:00
Thibaud Colas
d856e702e1 Update documentation on icons management, with available icons 2023-03-28 16:13:35 +01:00
Sage Abdullah
094bb83848 Allow customising the number of snippets per page on the chooser view 2023-03-23 14:15:47 +00:00
Sage Abdullah
f533ab219d Allow customising the number of snippets per page on the listing view 2023-03-23 14:15:42 +00:00
Sage Abdullah
b713a1753e Allow admin URL customisation for snippet chooser views via SnippetViewSet 2023-03-23 13:54:59 +00:00
Sage Abdullah
e6d920d435 Add docs and tests for snippets admin URL customisation 2023-03-23 13:54:49 +00:00
Daniel Kirkham
198388bf55 Add docs and tests for customising snippet icons 2023-03-22 15:15:30 +00:00
LB Johnston
65f2eaa4d2 Documentation - Clean up minor formatting issues 2023-03-21 08:02:25 +10:00
4the4ryushin
66a086da29 Add support for double quotes query string searches
- Fixes #9951
2023-03-19 21:30:21 +10:00
Sage Abdullah
cfcfd85525
Clarify ClusterableModel requirements for using relations with RevisionMixin-enabled models 2023-03-13 09:35:05 +00: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
Matt Westcott
a07fe20ceb Add documentation for customising StreamField validation 2023-03-01 12:07:13 +01: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
Matt Westcott
d5f787030a Update docs for use_json_field
Indicate that this must now be set to True.
2023-02-10 13:20:34 +00:00
Matt Westcott
18a574b520 Remove old versionadded / versionchanged directives from docs 2023-02-08 14:25:09 +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
LB Johnston
9e016c17b8 Documentation - whitespace formatting fixes
- Includes small fix for #9969 missing space
2023-01-28 06:59:01 +10:00
Sage Abdullah
a6a431a083
Return ScheduledForPublishLock from DraftStateMixin.get_lock()
Update docs to enforce that the LockableMixin should come last (but before RevisionMixin)
2023-01-19 14:07:54 +00:00
Sage Abdullah
18c140e8be
Add docs for WorkflowMixin and enabling workflows for snippets 2023-01-19 14:07:51 +00:00
Jhonatan Lopes
7a6feb188f Link django docs to stable version 2023-01-11 20:18:04 +10: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
Jake Howard
0b72e3f598 Fix typo in docs
Co-authored-by: Matt Westcott <matthew@torchbox.com>
2023-01-04 16:13:56 +00:00
Jake Howard
0f209ee848 Add {% fullpageurl %} for resolving absolute URLs to pages 2023-01-04 16:13:56 +00: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
Sage Abdullah
8dcc292d26
Add docs for LockableMixin and locking snippets 2022-12-14 11:46:57 +00:00
Joshua Munn
e84cdc4e2c Add wagtail-streamfield-migration-toolkit docs
- Move RichText -> StreamField migration guide into
  advanced/streamfield_migrations.md
2022-12-09 16:40:07 +00:00
Sage Abdullah
d3f9d2e9a3 Document ClusterableModel requirement for relations in RevisionMixin-enabled snippets 2022-12-08 11:46:59 +00:00
Matt Westcott
2cb12871ef Fix RichTextField - StreamField migration example code
Follow-up to #8307. It appears that the original code was designed for a StreamField setup where the `rich_text` block is not a RichTextBlock, but a StructBlock with a RichTextBlock child also named `rich_text`. #8307 correctly removed this redundant wrapper from page_to_streamfield, but there are corresponding changes required for the rest of the helper methods.
2022-12-08 07:39:37 +10:00
Sage Abdullah
1f143cf8ca Create and show publish permissions for snippets with DraftStateMixin applied (#9711) 2022-12-06 16:16:59 +00:00
Jeremy Thompson
4613fa2562 Fix RichTextField to StreamField example migration 2022-11-20 22:06:24 +10:00
Coen van der Kamp
26f5a4fcb1 Move custom image filter to extendig Wagtail section 2022-11-20 08:03:33 +10:00
Coen van der Kamp
1fb588c314 Add custom image operation example to docs 2022-11-20 08:03:33 +10:00