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