Wykres commitów

144 Commity (98bbded2a892ffefcf23ce6c74be1998b4567144)

Autor SHA1 Wiadomość Data
LB Johnston 145e33de9d
5.2 release notes - add supporting links and fix typos 2023-10-20 10:13:27 +01:00
LB Johnston 8002e75775 Documentation - Add initial Stimulus docs
- Move extending React to new extending client-side page within advanced topics
- Add general extending JavaScript / client-side overview
- Prepare initial Stimulus usage documentation
- Resolves #10197
- Apply suggestions from code review - Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:28:27 +01:00
Susheel Thapa 2307eb5681 Chore: Typo fixed in multiple files 2023-10-17 21:07:37 +11:00
LB Johnston 1c4e69dbce Add better docs & cross-linking for how PanelGroup permission kwarg works
Adds more details on how to use the feature added in #8846
2023-10-09 22:50:11 +11:00
Charlie Sue 86ed0ab9f7 Docs - Add note about including the feature in text editor settings 2023-10-02 09:12:33 +11:00
Matt Westcott 6009903c55 Support passing extra context variables via the {% component %} tag 2023-09-20 07:46:39 +10:00
Matt Westcott b6bd047598 Add documentation for non-model choosers using queryish (#10863) 2023-09-07 11:27:10 +01:00
Matt Westcott 8223162c93 Add documentation for linked_fields 2023-09-06 15:58:36 +01:00
Thibaud Colas f4ea0156a2 Implement new Draftail customisation APIs
- Fixes #5580
- Remove TSLA/TWTR/BTC references and replace with clean energy FSLR / NEE stocks
2023-07-06 13:14:54 +10:00
LB Johnston 6491ae49ce Docs - Align on client-side & fix Draftail typos
- Prep for #10197
- Fix a few cases where Draftail was spelt incorrectly
- Align with `client-side` not `clientside` as this is used most commonly
- fix javascript code snippet
2023-07-03 19:18:44 +10:00
Daniel Kirkham 17230d183a Add ordering for group editor object permissions
- Ensure the sorting will preserve Django's Permission model ordering as per ordering = ["content_type__app_label", "content_type__model", "codename"]
- `ordering = ["content_type__app_label", "content_type__model", "codename"]`
- Closes #10468
2023-06-22 08:11:04 +10: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
LB Johnston fd83bedd72 Docs - fix typo in Django forms reference 2023-06-15 07:52:52 +10:00
LB Johnston d5bd828b8e Docs - update Django urls to shorthand method 2023-06-01 16:50:03 +01:00
Sage Abdullah 0c075fb8de Replace mentions of ModelAdmin with their snippets equivalent 2023-05-24 11:06:00 +01:00
Matt Westcott 4a47bc611b Remove old versionadded / versionchanged notes 2023-04-21 13:47:10 +01:00
Thibaud Colas c2c37ab143 Update documentation referring to icon class names 2023-04-12 11:51:00 +01:00
sheepman4267 04cca97f09
Fix typo in "Extending Draftail" docs (#10185)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-03-07 10:11:45 +00:00
Coen van der Kamp 619f395980 Add new "Icons" page for icons customisation and reuse across the admin interface (#6028)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-10 07:22:45 +00:00
Matt Westcott 18a574b520 Remove old versionadded / versionchanged directives from docs 2023-02-08 14:25:09 +00:00
LB Johnston 8908c38dcd Documentation - fix up ModelAdmin items
- Link to ModelAdmin showed incorrectly as `Index app` not `ModelAdmin app`
- Many code snippets were nested, causing double nesting to appear in published docs
2023-02-06 10:26:46 +00:00
Sage Abdullah ad3ef5875d
Update docs and changelog to reflect changes for #9817 2023-01-19 14:52:34 +00:00
Rishabh Jain 959a802c76 Updated documentation for adding reports to cover permission restrictions (#9859) 2023-01-09 14:14:53 +00:00
Loic Teixeira 5c1c2c8f53 Enforce the use of a single string formatting mechanism for translation source strings
Close #9377
2022-11-26 11:00:05 +01:00
Coen van der Kamp 26f5a4fcb1 Move custom image filter to extendig Wagtail section 2022-11-20 08:03:33 +10:00
ChickenF622 4ee7a633b6
Add clarification on where to register entity plugins (#9487)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 11:24:08 +00:00
Marvis Chukwudi b9a5f9e333
Documentation - Minor punctuation and capitalisation fixes (#9508) 2022-11-01 20:42:54 +10:00
LB Johnston 28013470a7 Documentation - clean up white space 2022-10-27 07:18:22 +10:00
Precious Arinda 3b6acf036d
Documentation - update hooks.py to wagtail_hooks.py (#9462)
- Fixes #9453
2022-10-25 21:40:51 +10:00
Albina 4f478a514b
Improve grammar, spelling, and punctuation in Extending Wagtail section (#9373) 2022-10-19 21:41:50 +01:00
Oliver Parker 19fd2ceb98 Add ability to check permission on parent `PanelGroup` class
- Used by TabbedInterface, ObjectList, FieldRowPanel, MultiFieldPanel
2022-10-18 09:53:13 +10:00
zobbs 5ea291da1a Documentation - fix some escaped content that does not need escaping 2022-10-13 17:34:46 +10:00
LB Johnston 2e8709e0d6 Documentation - update dead/redirected links 2022-10-11 20:44:08 +10:00
Sage Abdullah 48761ef5a9 Update docs for renaming publish_scheduled_pages command to publish_scheduled 2022-09-29 10:28:36 +01:00
LB Johnston 0e036d228f Add changelog entry for 4.0 - bulk actions for snippets #8574
- also add Shohan to contributors list
- resolves #8183
2022-09-19 19:40:46 +10:00
Nicholas Johnson 9e810ce5b0 Make report titles sentence case consistently
Fix a few more "Locked Pages" references
2022-09-16 07:04:46 +10:00
Matt Westcott 7eefd98dc2 Revert chooser button labels to "Choose another X"
Fixes #9113
2022-09-14 07:40:38 +10:00
Thibaud Colas a1bff1bcbd Update all documentation images except editor manual 2022-09-12 21:57:43 +10:00
ariadi 4a6e744d34 Update admin_views.md
typo method from `format_month(current_year, current_month)` to `formatmonth(current_year, current_month)`
2022-08-22 12:52:04 +10:00
Matt Westcott b4bc681865 Fix DocumentChooserBlock deconstruction for custom document models
Fixes #8989. The previous fix #9004 failed for custom document models because ChooserViewset assigns an internal name for the ChooserBlock class based on the model name, and if this is anything other than Document it won't match the name DocumentChooserBlock that it's exposed under in wagtail.documents.blocks. Fix this by replacing the `block_class` property with a `get_block_class` method that lets us specify the class name. As a bonus, user code that defines chooser blocks no longer has to directly hack the `__module__` attribute.
2022-08-16 20:50:04 +01:00
LB Johnston 666cc5e8e5 fix up legacy release note refs & use consistent format
- fix some broken refs that were lost in the migration to markdown files
- use lower_snake_case for all internal refs (most follow this convention)
- release process sub-section in docs should be named release schedule instead
2022-08-16 12:42:42 +01:00
Matt Westcott a6a94a9a04 Ensure DocumentChooserBlock can be deconstructed for migrations
Fixes #8989. Now that DocumentChooserBlock is constructed dynamically via wagtail.documents.viewsets.chooser, we need to explicitly set its `__module__` attribute so that the result of calling `deconstruct()` for migrations points back to the wagtail.documents.blocks module.

Also update the documentation for defining custom choosers, and add tests for deconstructing the other chooser blocks.
2022-08-15 15:38:54 -04:00
LB Johnston 9321cd9404 documentation - extending generic views - fix typo
- closing ``` (backticks) were missing
2022-08-12 17:20:24 +10:00
Thibaud Colas 21b5ad5ce9 Update chooser styles across all types 2022-08-10 15:08:57 +10:00
Matt Westcott f9fe6d0ca8 Documentation for generating chooser blocks via ChooserViewSet 2022-08-10 14:53:41 +10:00
Thibaud Colas eac5e0bc2c Finish re-implementing form styles based on design feedback & code review
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00
Matt Westcott c4d6c7d6c5 Add docs for DRF-based choosers 2022-08-05 08:34:14 +10:00
LB Johnston 2bb18d7703 remove duplicate custom bulk actions docs
- introduced in #8574
- move snippets bulk actions docs to existing markdown docs variant
2022-07-20 17:10:45 +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
Shohan 7286c530e9
Snippets bulk actions (#8574) 2022-07-10 11:42:38 +01:00
Matt Westcott 4dd3483617 Add a (non-functional) 'create' form to generic chooser modal 2022-07-04 13:48:35 +01:00
SilvestriStefano f535a0cc43 Documentation - migrate reference/** files to markdown content
- relates to #8383
2022-06-30 09:57:26 +10:00
Matt Westcott b8a9a2d319 Deprecate wagtail.contrib.modeladmin.menus.SubMenu in favour of wagtail.admin.menu.Menu
The Menu class was not originally designed to accept menu items at constructor time (instead requiring them to be passed via hooks); ModelAdmin's SubMenu class patched this functionality in, and the documentation for extending admin views piggybacked on this. Add this functionality to the base Menu class so that we don't have this unnecessary dependency on ModelAdmin.
2022-06-28 16:32:15 +10:00
LB Johnston 58095cde30 documentation minor fixes 2022-06-23 08:12:07 +10:00
Matt Westcott 911f17bf8f
Typo in generic views docs - People -> Person (#8720) 2022-06-21 17:11:56 +01:00
Noble Mittal 0be024e024 documentation - migrate docs/extending/ to md 2022-06-20 16:36:25 +10:00
Nick Moreton eec8c0088d
Update example code - Adding a group of menu items (#8683) 2022-06-16 12:01:06 +02:00
Matt Westcott 865df1153b Documentation for ChooserViewSet 2022-06-12 15:47:24 +10:00
Matt Westcott b00d19b3a0 Documentation for ModelViewSet 2022-06-12 15:47:24 +10:00
Matt Westcott b4d3cf1c30 Docs for base ViewSet class 2022-06-12 15:47:24 +10:00
LB Johnston d9981e0ec7 fix up spelling in documentation & docstrings (should be en-GB not en-US)
- customize -> customise
- color -> colour
- customizing -> customising
- organize -> organise
2022-05-13 08:13:06 +10:00
Cynthia Kiser 399a34bc93
Make nested list render as a nested list (#8516) 2022-05-11 09:05:02 +01:00
Matt Westcott 37784643e9 API docs for Panel 2022-04-22 17:25:30 +01:00
Matt Westcott 06abc49712 Add documentation for the panel rendering mechanism 2022-04-22 17:25:30 +01:00
Harris Bard Lapiroff 1adc82c044
Add trimmed to blocktrans tags. Fix #8217 (#8226) 2022-04-01 23:16:51 +01:00
Karl Hobley 75cc7da38a Move wagtail.core to wagtail 2022-03-17 17:19:59 +00:00
LB (Ben Johnston) 6ed65f14c6
Move Markdown docs to MyST parser. Fix #8074 (#8084) 2022-03-09 11:48:19 +00:00
Matt Westcott 92cc026694 Rename docs page to 'Using forms in admin views' 2022-03-02 15:55:25 +00:00
Matt Westcott 786a4a3384 Provide a documented register_form_field_override method for apps to register their own form fields with WagtailAdminModelForm 2022-03-02 15:55:25 +00:00
LB Johnston 6ecdc16bd4 remove Hallo references in the documentation 2022-03-02 20:15:33 +10:00
Thibaud Colas c5d2f98205 Remove redundant noopener from noreferrer rel attributes 2022-02-15 16:31:57 +00:00
Thibaud Colas ae14fa6e76 Remove JS compatibility code for IE11 2022-02-15 16:31:57 +00:00
Jannis Vajen 7e6755ec62 Add missing import statement in code example 2022-02-13 16:33:46 +00:00
Jake Howard 4718fae68b Update email addresses for new .org domain (#7845) 2022-01-28 12:16:24 +00:00
Sævar Öfjörð Magnússon bab1f44aed Adding documentation for grouped custom menu items (#7872) 2022-01-21 10:03:35 +00:00
Jake Howard 0a9b23979b Update links to wagtail.io website to point to wagtail.org
This covers only links to the website, not other sites
2022-01-15 20:23:44 +10:00
Tibor Leupold 783f0d4a16 Update the mentioning of `default_app_config` in the docs 2021-12-20 18:09:32 +00:00
LB (Ben Johnston) c9aa26e887
Documentation - remove all jQuery usage (#7658) 2021-12-07 15:37:33 +00:00
Matt Westcott 3e64deb1ac Label edit actions as 'Edited' instead of 'Draft saved' for non Page models
Fixes #7622
2021-10-26 07:53:12 +10:00
Coen van der Kamp b03ab850d6 Fix Python code blocks, indent lines with multiple of 4 spaces 2021-10-18 12:37:26 +01:00
Dan Braghis d19e1b4380 Tidy up based on code review 2021-10-15 16:51:18 +01:00
Shohan 24f987db49 Add bulk actions documentation
Co-Authored-By: Thibaud Colas <thibaudcolas@gmail.com>
2021-10-15 16:51:18 +01:00
LB Johnston 3e2012373a update documentation & 2.15 release to drop IE11 support
- update browserslist
- fixes #6170
2021-10-04 12:35:58 +01:00
Matt Westcott 6cb463dd41 Document the new 'log' method 2021-10-01 16:30:05 +01:00
Victor Miti f59658c6ca Adding Notifications docs - update sample code
Update sample code in the section
Extending Wagtail -> Adding new Task types -> Adding notifications

The previous example did not work because of changes in
`wagtail.admin.mail`

`EmailNotifier` doesn't exist, so we need to import
`EmailNotificationMixin` and `Notifier` instead, and
update `BaseUserApprovalTaskStateEmailNotifier`
accordingly
2021-09-26 20:46:29 +10:00
Matt Westcott 1155373d72 "simplest way" -> "preferred way" 2021-08-24 15:42:04 +01:00
Matt Westcott 1ad6f3518c Update docs to cover use of components in homepage panels / summary items 2021-08-24 15:42:04 +01:00
Matt Westcott 428c4c7a3f Documentation for template components 2021-08-24 15:42:04 +01:00
Karl Hobley 8413d00bdd Spelling fixes 2021-08-06 20:11:30 +01:00
Matt Westcott 8588acc043 Add screenshots 2021-08-03 16:07:18 +01:00
Matt Westcott f2f7413d55 Add a basic howto on creating custom admin views 2021-08-03 16:07:18 +01:00
Matt Westcott 83717829bb Add intro text for Extending Wagtail section 2021-08-03 16:07:18 +01:00
Matt Westcott ee8af13adf Remove 'How to...' from page titles for consistency
These were previously added at Daniele Procida's recommendation so that 'how to' pages could easily be identified in a future reorganisation that splits them out from other modes of documentation. Since 'Extending Wagtail' as a whole is expressly a 'how to' section, this is no longer required.
2021-08-03 16:07:18 +01:00
Matt Westcott 4e2685f47d Add an 'Extending Wagtail' section to the docs 2021-08-03 16:07:18 +01:00