Wykres commitów

751 Commity (cd131ddec8e0b98b4178ea1eeb062a7d03e90ab6)

Autor SHA1 Wiadomość Data
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
Vallabh 407860286b Removed obsolete section of InlinePanels 2023-02-16 16:17:03 +00:00
Vallabh 996d45e0f0 Added description for parameters taken by InlinePanel 2023-02-16 16:17:03 +00:00
Matt Westcott 207493dc95 Fix broken formatting for MultiFieldPanel / FieldRowPanel permission kwarg docs 2023-02-14 20:34:35 +10:00
LB Johnston 93d3652a15 Documentation - fix whitespace issues 2023-02-11 08:29:13 +10:00
Matt Westcott a634045b6c Remove remaining versionadded directives from before 4.2 2023-02-10 13:20:34 +00:00
Matt Westcott d5f787030a Update docs for use_json_field
Indicate that this must now be set to True.
2023-02-10 13:20:34 +00:00
Matt Westcott 18a574b520 Remove old versionadded / versionchanged directives from docs 2023-02-08 14:25:09 +00:00
Matt Westcott 1a0344216c Remove fallback on BASE_URL 2023-02-08 14:25:09 +00:00
Matt Westcott 3cb4033a11 Remove deprecated edit handlers / panels 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
Thibaud Colas 7339f6c3d1
Update guide.wagtail.org links to use most up-to-date URL and page name, with "latest" redirect 2023-02-03 11:13:15 +00:00
4the4ryushin 32822a90ee Fix: restrict globaly documents and images to certain types (#9860)
Fixes #1285
2023-01-30 14:44:07 +00:00
LB Johnston 9e016c17b8 Documentation - whitespace formatting fixes
- Includes small fix for #9969 missing space
2023-01-28 06:59:01 +10:00
4the4ryushin 48d3b2938c fix typo 2023-01-25 13:28:07 +00:00
Sage Abdullah ad3ef5875d
Update docs and changelog to reflect changes for #9817 2023-01-19 14:52:34 +00:00
Sage Abdullah 18c140e8be
Add docs for `WorkflowMixin` and enabling workflows for snippets 2023-01-19 14:07:51 +00:00
Sage Abdullah e1c6ae2d2b
Rename `Task.page_locked_for_user` to `Task.locked_for_user` 2023-01-19 14:06:04 +00:00
Sage Abdullah d8f9d9869a
Rename `page_revision` to `revision` in `TaskState` 2023-01-19 14:06:03 +00:00
Matt Westcott 515e76ab7b Add reference docs for MultipleChooserPanel 2023-01-18 14:31:08 +00:00
Matt Westcott c5513d098a Implement mechanism to pass the 'multiple' URL parameter (and any other specified ones) on links / form actions within generic chooser modal 2023-01-18 14:31:08 +00:00
Matt Westcott 3872de44d7 Add chooser view endpoints for returning multiple results
Extend the existing 'chosen' view so that it returns a single-item list when the URL parameter `multiple` is passed, and add a 'chosen_multiple' view that accepts multiple `id` URL parameters and returns the corresponding results as a list.
2023-01-18 14:31:08 +00:00