jhrr
5402010d16
Allow hook override of user profile avatar url in admin tags ( #12689 )
...
Fixes #12661
2024-12-17 20:42:36 +00:00
Krystian Magdziarz
32417f9adc
Fix Missing Cache-Control Headers for Password-Protected Pages ( #12465 )
...
Fixes #12455
2024-12-07 02:49:16 +00:00
Aayushman Singh
7f6e7d4062
Docs - Improve hooks & extending pages with CSP compliant examples
...
- Avoid `mark_safe` and use `format_html` where possible
- Avoid inline scripts, instead ensure the example shows external script usage
2024-11-02 10:29:19 +10:00
Matt Westcott
bbb50459c9
Remove versionadded / versionchanged notes for 6.2
...
However, leave behind notes that mark settings/features that are deprecated but not yet removed, as this would be removing information that isn't in the main body of the text (and moving it out of a versionchanged note would make it harder to find when we come to remove it properly in 7.0).
2024-10-23 16:45:46 +10:00
LB Johnston
4af8ab528b
Documentation - formatting clean up
2024-08-29 18:32:20 +01:00
Sage Abdullah
d0fa6abae9
Pass the request user object instead of context to register_user_listing_buttons hook
2024-04-09 08:54:48 +07:00
Buraah
bfa29201c3
Docs - Page names & reference section - Update British spelling to American
...
- Changed all British spellings to American spellings, in the Customizing admin templates section of the docs
- Transferred all British spellings in the usage guide and advanced topics section to American spellings
- Update a series of other pages to use the spelling cutomize in the file name
Implemented all feedbacks on the usage guide and advanced topics section
2024-02-12 08:44:19 +10:00
arshyia3000
e97f3648c7
Fix incorrect function signature on `register_snippet_action_menu_item` hook docs ( #11621 )
...
Added "model" argument to register_guacamole_menu_item of documentation
2024-02-08 15:56:40 +00:00
Matt Westcott
c1ad975b3b
Remove versionadded / versionchanged annotations for 5.2
2024-02-01 16:24:12 +00:00
Neeraj P Yetheendran
7fa335c20d
Update Django intersphinx references to new format
2024-01-21 10:09:21 +10:00
Matt Westcott
d3fb0ab358
Remove insert_editor_css hook
2023-11-01 16:52:20 +00:00
Matt Westcott
aae3ce1c84
Remove docs mentioning legacy moderation
2023-11-01 16:51:25 +00:00
Matt Westcott
55a48a212c
Remove UserPagePermissionsProxy from action_menu and wagtailadmin_tags
2023-11-01 15:00:42 +00:00
Sage Abdullah
622b71654c
Document `register_admin_viewset` hook
2023-10-31 17:25:21 +00:00
Matt Westcott
aea258248c
Remove versionadded / versionchanged annotations for 5.1
2023-10-20 14:47:53 +01:00
Matt Westcott
8079cad7df
Add a view_name argument to register_page_header_buttons
2023-10-17 17:28:08 +01:00
Matt Westcott
3d8e6824a8
Change register_page_header_buttons hook to pass a user argument instead of page_perms
2023-10-17 17:28:08 +01:00
Matt Westcott
1cb180c11a
Change ButtonWithDropdownFromHook and its hooks (including register_page_listing_more_buttons) to accept a user argument instead of page_perms
2023-10-17 17:28:08 +01:00
Matt Westcott
54647bda2c
Move construct_page_listing_buttons hook docs into the 'Page explorer' section
2023-10-17 17:28:08 +01:00
Matt Westcott
0ae8d5fc8c
Change construct_page_listing_buttons hook to pass a user argument instead of page_perms
2023-10-17 17:28:06 +01:00
Matt Westcott
761ccfc215
Change register_page_listing_buttons hook to pass a user argument instead of page_perms
2023-10-17 17:26:39 +01:00
Sage Abdullah
97052d2e46
Add docs for context argument removal from construct_snippet_listing_buttons
2023-10-04 11:31:46 +01:00
LB Johnston
76a0c4968a
Adopt `classname` instead of `classnames` in all MenuItem/Sidebar usage
...
- Adds a deprecation path, including documentation to further remove unpredictable naming of adding `classname` in Python APIs
- Intentionally keeps `classNames` in Telepath adaptor inner usage as this convention is not set, however, the server side value passed in will use `classname`
- See https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#use-classname-in-python-html-template-tag-variables
- See #9769 & #9770
2023-10-04 08:05:52 +11:00
LB Johnston
6bcc66c1e0
Docs - use `subclass` not `sub-class`
...
- All other usage of this does not have the hyphen
2023-09-21 08:15:57 +10:00
LB Johnston
b60828ac47
Hooks documentation - fix up admonition formatting
2023-09-19 12:18:51 +10:00
Sage Abdullah
9f48a8af94
Fix incorrect versionchanged number for user_page_permissions deprecation
2023-07-19 17:53:26 +10:00
LB Johnston
3d471edbcf
Clean whitespace formatting in docs
...
- Update formatting with prettier in the documentation
2023-07-17 22:24:54 +10:00
Thibaud Colas
ff822babb4
Refactor "More" listing dropdowns to new dropdown component
2023-06-26 13:55:08 +01: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
Etty
c5f238f98d
Deprecate insert_editor_css in favor of insert_global_admin_css ( #10499 )
...
Fixes #10402
2023-06-01 16:28:00 +01:00
sage
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
Thibaud Colas
c2c37ab143
Update documentation referring to icon class names
2023-04-12 11:51:00 +01: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
18a574b520
Remove old versionadded / versionchanged directives from docs
2023-02-08 14:25:09 +00:00
Coen van der Kamp
26f5a4fcb1
Move custom image filter to extendig Wagtail section
2022-11-20 08:03:33 +10:00
LB Johnston
1fe9581548
Add documentation for register_user_listing_buttons hook
...
- Has existed since Wagtail ~1.6 but never documented
2022-11-07 06:59:24 +10:00
Sage Abdullah
0a0e07abc0
Add help menu with dismissible badges
...
By default, the menu contains a link to a blog post
showcasing features in Wagtail 4.1 and a link to the editor guide.
We need to update the links and labels manually in the next release.
2022-10-17 17:39:37 +01:00
LB Johnston
466a911e54
update documentation examples got user hooks
2022-10-05 21:43:07 +10:00
PaarthAgarwal
887a259723
added translate button to header actions dropdown, removed all the instances of is_parent
...
- Fixed failing tests, added check for simple_translations enabled
- resolves #8866
2022-07-26 22:36:35 +10:00
Dolidodzik
b131b4813e
replace latin abbreviations with english phrases & updated docs guidelines
...
- added sub-section to language part of general_guidelines.md
- fixes #8860
2022-07-20 16:11:38 +10:00
Paarth Agarwal
35b5ed350a
Adopt slim header in page listing views ( #8792 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-18 18:28:51 +01:00
LB Johnston
cda437804e
fix up markdown docs conversion issues
...
- introduced in #8759 & #8569
2022-06-30 16:36:37 +10:00
SilvestriStefano
f535a0cc43
Documentation - migrate reference/** files to markdown content
...
- relates to #8383
2022-06-30 09:57:26 +10:00
LB Johnston
0afe2f9c89
Documentation - rename docs/reference/**
...
- rename all files from rst to md so git history is preserved
2022-06-30 09:57:26 +10:00