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

685 Commits

Author SHA1 Message Date
4the4ryushin
35a2f2cb7e Add purge_embeds management command
- Fixes #1267
- Caching OEmbed markup prevents markup changes for existing embeds so allow an easy way to clear these if needed
2022-11-11 08:00:50 +10:00
Doug Harris
2af1871271
Fix spelling middlware -> middleware (#9633)
* Fix spelling `middlware` -> `middleware`
2022-11-09 07:22:51 +10:00
Omer Ali
748c082e01 Docs / release note for #9602 2022-11-08 16:16:17 +00: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
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
Jake Howard
55f42d29c8 Mention using the image_url tag for increased performance on image URLs 2022-10-18 08:16:02 +10:00
Thibaud Colas
61b8336978 Release notes for #9344 2022-10-17 17:39:37 +01: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
Sage Abdullah
4e5f4ca4ec Add tests and docs for WhatsNewInWagtailVersionPanel 2022-10-17 17:39:37 +01:00
Oliver Parker
6341d90f56 Support "--verbosity 0" on update_index command
- Ensure that the `update_index` command can run without console output if called with `--verbosity 0`
- rebase of #4401
2022-10-17 08:15:14 +10:00
LB (Ben Johnston)
18371e2113
Documentation - adopt consistent sh console code snippets (#9321) 2022-10-13 07:25:19 +01:00
LB Johnston
6fa4f8faca Documentation - misc formatting clean up items 2022-10-13 05:46:26 +10:00
LB Johnston
2e8709e0d6 Documentation - update dead/redirected links 2022-10-11 20:44:08 +10:00
Matt Westcott
4c7e1ea1ce Add release note for #9279 and documentation for rebuild_references_index 2022-10-05 19:38:14 +01:00
Karl Hobley
b714a30bff Remove WAGTAIL_USAGE_COUNT_ENABLED setting 2022-10-05 19:38:14 +01:00
LB Johnston
466a911e54 update documentation examples got user hooks 2022-10-05 21:43:07 +10:00
Sage Abdullah
57beeb7154 Improve docs on scheduled publishing mechanism for clarity
Explicitly state that clicking Publish is required for the schedule to take effect.

Also document the edge cases for scheduled publishing when a page is scheduled to be unpublished
2022-09-30 16:13:19 +01:00
Sage Abdullah
48761ef5a9 Update docs for renaming publish_scheduled_pages command to publish_scheduled 2022-09-29 10:28:36 +01:00
Matt Westcott
528801f1a0
Ensure all panels output their own help_text (#9240)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-09-28 10:49:08 +01:00
Sage Abdullah
0a0bd30fad Allow customising snippet listing columns with list_display 2022-09-28 10:39:48 +01:00
Sage Abdullah
a7249a851f Document SnippetViewSet and how to customise it 2022-09-27 10:18:18 +01:00
Thibaud Colas
e8d67f778c Add alternative text for all documentation screenshots 2022-09-12 21:57:43 +10:00
LB (Ben Johnston)
d2b9442e56
Documentation - clarify that preview_modes=[] will disable preview (#9157) 2022-09-07 20:32:23 +01:00
Josh
27fbb9b5a0 Fix typo in ModelAdmin Primer docs 2022-09-06 23:50:53 +10:00
Mehrdad Moradizadeh
a5794c50e7 Add docs & changelog for form builder FormMixin & EmailFormMixin 2022-08-31 23:12:27 +10:00
LB Johnston
9cf6d9b7e3 clean up spelling of multi-site 2022-08-25 22:06:31 +10:00
Mehrdad Moradizadeh
180d43a200 Fix Page queryset.not_public returning all pages when no page restrictions exist. (#9067)
Fixes #8952
2022-08-24 17:57:22 +01:00
Sage Abdullah
d71a7ccdd4 Add links to topic guide from mixin reference docs 2022-08-21 07:18:27 +10:00
Matt Westcott
9aeb2e3e49 Ensure telepath adapter gets registered for document chooser widget
Fixes #9010. `wagtail.documents.widgets` is no longer reliably imported on startup now that the chooser widget is constructed within wagtail.documents.views.chooser instead, so the telepath adapter wasn't getting register. This meant that DocumentChooserBlocks in StreamField were using the base chooser implementation, which didn't include customisations such as populating the title field from the file upload field. Fix this by making ChooserViewSet responsible for registering the telepath adapter.
2022-08-17 18:24:18 +01: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
LB Johnston
401e84dfd9 fix various typos and backtick usage in 4.0 changelog/release notes
- adds a ref to the new setting added for `WAGTAILADMIN_UNSAFE_PAGE_DELETION_LIMIT` - see #8703
2022-08-16 12:36:46 +01:00
Sage Abdullah
e4509f3432 Improve Revision model docs 2022-08-16 07:58:28 +10:00
Sage Abdullah
e864b9c4d1 Add docs for PreviewableMixin 2022-08-16 07:58:28 +10:00
Sage Abdullah
fb6ec3ad00 Add docs for DraftStateMixin 2022-08-16 07:58:28 +10:00
Sage Abdullah
cf3cea9a5b Add docs for RevisionMixin 2022-08-16 07:58:28 +10:00
Sage Abdullah
3151200288 Improve Page model reference documentation
- Use inline code for `Locale` and `TranslatableMixin` headers to be consistent with other classes in the page
- Move `locale` and `translation_key` of `TranslatableMixin` to its own "Database fields" section
- Add missing periods in Page.update_aliases parameter description
2022-08-16 07:58:28 +10:00
Thibaud Colas
ca7f23d176
Update InlinePanel and StreamField styles for new designs (#8983) 2022-08-12 13:17:40 +01:00
Matt Westcott
61ed6caa57 Add upgrade consideration note for change to BaseSetting 2022-08-10 19:56:57 +01:00
Matt Westcott
f9fe6d0ca8 Documentation for generating chooser blocks via ChooserViewSet 2022-08-10 14:53:41 +10:00
Matt Westcott
161dd69c8a Implement generating a StreamField ChooserBlock from ChooserViewSet 2022-08-10 14:53:41 +10:00
tijani
61f6aeeb1a Add path & re_path pattern types for RoutablePageMixin
* Modified route decorator so it adds new route to view depending on pattern type; default to path
* Made a separate decorator
* Renamed route to path and updated RoutablePage models
* Added a check to warn user when using regex with path decorator
* Made @route alias of @re_path, added tests for @re_path
* resolves #7031
2022-08-08 20:09:38 +10:00
Akash-Kumar-Sen
827bcf3dbf Documentation - improve organisation of settings reference #8950
- fixes #8863
2022-08-06 21:20:22 +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
Thibaud Colas
3d96e7fbe7 Implement collapsible and linkable panels
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00
Thibaud Colas
af9b16e93d Re-implement base form field styles based on new page editor designs
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00
Matt Westcott
5521e3b59f Update panel templates for new designs (EditHandler rewrite)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-08-05 10:36:52 +02:00
Matt Westcott
02d836fe3e Make per_page configurable on viewsets 2022-08-05 08:34:14 +10:00
Matt Westcott
9667088e98 Move setting metadata / reindexing into form.save() 2022-08-02 18:53:56 +02: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