0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

772 Commits

Author SHA1 Message Date
Thibaud Colas
ff822babb4 Refactor "More" listing dropdowns to new dropdown component 2023-06-26 13:55:08 +01:00
Matt Westcott
4dd99007f6 Release note / upgrade consideration for TitlefieldPanel #10568 2023-06-20 13:03:03 +01:00
LB Johnston
c85eaae5a7 Add TitleFieldPanel to support shared usage of title field sync
- Avoid a widget approach used on default content_panels on Page, instead allow a shared TitleFieldPanel to be used
- Fixes #10517
2023-06-20 08:33:54 +10:00
Sage Abdullah
f8d5151140
Move UserPagePermissionsProxy deprecation warning to each method 2023-06-19 15:25:02 +01:00
Sage Abdullah
6531c4ff98
Reinstate UserPagePermissionsProxy object in ActionMenuItem's context 2023-06-19 15:25:02 +01:00
Sage Abdullah
fa2a64e9d2
Remove user_page_permissions from page's ActionMenuItem 2023-06-19 15:25:00 +01:00
LB Johnston
96a494581c Documentation - clean up last two internal refs to use underscore
- As per https://docs.wagtail.org/en/latest/contributing/documentation_guidelines.html#reference-links - refs should be `lower_snake_case`
2023-06-19 15:18:02 +01:00
Etty
c5f238f98d Deprecate insert_editor_css in favor of insert_global_admin_css (#10499)
Fixes #10402
2023-06-01 16:28:00 +01:00
LB Johnston
aa9e9cddc7 Resolve multiple typos (spelling and grammar)
- Optimized/Customized/Catregorize -> Optimised/Customised/Categorise
- Github -> GitHub (80% were spelt with capital H, this is the way GitHub spells itself)
- GitPod -> Gitpod (most were without the capital P, Gitpod's site does not use capital P)
- Remove duplicate words (to to, the the)
- De-coupled -> decoupled
- implementors -> implementers (all other references used 'site implementers' so just aligning with the common case)
- Fix a/an usage in one case
- Fix one comment usage of ok, replace with OK
2023-05-30 21:07:37 +10:00
LB Johnston
5292f7dc1f Docs - fix whitespace formatting (Prettier) 2023-05-30 07:25:21 +10:00
Sage Abdullah
0c075fb8de Replace mentions of ModelAdmin with their snippets equivalent 2023-05-24 11:06:00 +01:00
Sage Abdullah
6ec734f836 Add separate headings for each snippets view customisation 2023-05-24 11:06:00 +01:00
Thibaud Colas
f372551a83 Fix StreamBlock documentation indentation 2023-05-20 07:21:48 +10:00
Daniel Kirkham
c895e9031b Fix treebeard link 2023-05-14 07:40:13 +10:00
LB Johnston
f1560625aa Docs - fix minor typo on Panels reference 2023-05-09 17:43:06 +10:00
Sage Abdullah
40b828a767 Link to RFC 85 and mention modeladmin deprecation in future release 2023-05-02 13:39:39 +01:00
Andy Babic
3d7b540b10 Update docs 2023-04-25 16:06:40 +01:00
Onno T
4d9f4898de Document how to add non-ModelAdmin views to a ModelAdminGroup (#10022) 2023-04-21 18:26:03 +01:00
Matt Westcott
4a47bc611b Remove old versionadded / versionchanged notes 2023-04-21 13:47:10 +01:00
Daniel Kirkham
659251b8a7 Added Documentation 2023-04-20 11:21:03 +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
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
Sage Abdullah
66c0ef48e9 Add docs for setting panels/edit_handler on SnippetViewSet 2023-04-19 13:24:17 +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
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
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
1992c72791 Add missing docs for chooser_viewset_class 2023-04-13 17:53:58 +01:00
Thibaud Colas
c2c37ab143 Update documentation referring to icon class names 2023-04-12 11:51:00 +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
Thibaud Colas
d856e702e1 Update documentation on icons management, with available icons 2023-03-28 16:13:35 +01: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
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
LB Johnston
65f2eaa4d2 Documentation - Clean up minor formatting issues 2023-03-21 08:02:25 +10:00
Thibaud Colas
fdc36a6989 Revert FieldRowPanel documentation removal, clarifying differences. Fix #10061 2023-03-14 22:44:11 +00:00
Sage Abdullah
909e7fedbf Update docs to reflect snippet deletion hook changes 2023-03-14 14:27:22 +00:00
Daniel Kirkham
23552f0e70 Fix two spacing typos 2023-03-11 11:03:54 +10:00
Matt Westcott
a07fe20ceb Add documentation for customising StreamField validation 2023-03-01 12:07:13 +01: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
Vallabh
c73b03e03c Added requested changes 2023-02-16 16:17:03 +00:00