Wykres commitów

894 Commity (0bea099ab860128cfab8bebb7e0c40a35d0a377a)

Autor SHA1 Wiadomość Data
Byron Peebles e36c4d3fba Documentation: Update some Sphinx-style code ref roles to MyST style (#12030) 2024-06-12 11:47:06 +02:00
smark-1 5c85c127e6 add docs for page view restriction (#11917) 2024-05-03 15:33:16 +01:00
Matt Westcott 617e5129c5
Add management command to fix UUID fields under MariaDB / Django 5.0 (#11912) 2024-05-01 11:07:20 +01:00
Matt Westcott 7900055afa Release note for #11858 2024-04-24 23:55:22 +01:00
Jake Howard c00c2b684f Allow frontend caching backends to limit which hostnames they respond to 2024-04-24 23:34:33 +01:00
Sage Abdullah fd659ae767
Remove versionadded / versionchanged annotations for 6.0 2024-04-22 09:00:36 +07:00
Saksham Misra 53d6ea4491 Add documentation to support password required settings change
PASSWORD_REQUIRED_TEMPLATE -> WAGTAIL_PASSWORD_REQUIRED_TEMPLATE
DOCUMENT_PASSWORD_REQUIRED_TEMPLATE -> WAGTAILDOCS_PASSWORD_REQUIRED_TEMPLATE
2024-04-18 07:03:08 +10:00
Alec Baron d71cf79520
Accept alias for WAGTAILIMAGES_RENDITION_STORAGE (#11749)
* Accept alias for WAGTAILIMAGES_RENDITION_STORAGE

* Update wagtail.images.models.get_rendition_storage to handle the case when the WAGTAILIMAGES_RENDITION_STORAGE setting is given a storage alias (defined in the STORAGES setting). Preserve old behavior when a dotted module path or a Storage instance are given.
* Refactor and improve all tests related to the WAGTAILIMAGE_RENDITION_STORAGE setting.
* Update related documentation.
2024-04-17 16:22:19 +01:00
LB Johnston e8f4d56583 Support forwards compatible configuration for private pages/collections
The new settings introduced in #11582 / #11536 only considered one use case of disabling the shared password option. However, we may want to allow for more complex configuration in the future in this area.

Ensure we can support potential future requirements such as #11640 with a more flexible structure for private pages & collections.

The following settings have been changed from boolean to dictionary values.

WAGTAIL_ALLOW_SHARED_PASSWORD_PAGE -> WAGTAIL_PRIVATE_PAGE_OPTIONS
WAGTAIL_ALLOW_SHARED_PASSWORD_COLLECTION -> WAGTAILDOCS_PRIVATE_COLLECTION_OPTIONS
2024-04-17 15:29:50 +01:00
Abdelrahman 61e803c740
Add choose parent view for creating pages via PageListingViewSet 2024-04-17 03:48:54 +07:00
Gordon Pendleton 06ed3ae6b8
Refactor page fetching logic to cache per request (#11683)
Adds two new helper static methods:
- `Page.route_for_request()` - to find the page route, given a request
  object and a URL path
- `Page.find_for_request()` - to find the page given, a request object and a URL
  path
2024-04-12 17:16:39 +01:00
Neeraj P Yetheendran 6843fbe643
Add re_path to imports in routablepage.md (#11841) 2024-04-12 14:22:15 +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
Sage Abdullah af80198c7d Rename SubmissionsListView.ordering to default_ordering for consistency with BaseListingView 2024-04-05 17:36:41 +01:00
Sage Abdullah a5aafe0d15
Remove support for customising the number of entries on the image listing 2024-03-11 09:55:41 +00:00
Matt Westcott 5e5619d43f Add warnings about XSS to WAGTAILDOCS_SERVE_METHOD and WAGTAILDOCS_EXTENSIONS settings docs 2024-03-07 12:19:22 +00:00
Matt Westcott b05c50b3f5
Add reference docs for PageListingViewSet 2024-03-07 09:57:11 +00:00
Pranith 1640104c57 Fixed formatting typo in --purge-only command flag
Was rendering as `-purge-only` (with one dash)
Fixes #11646
2024-02-29 07:32:27 +10:00
EK303 bd065c17cd Docs - Update and fix broken links
Fixes #11635
2024-02-16 17:23:53 +10:00
Rohit Sharma 427d821e3a Add system checks for WAGTAIL_DATE_FORMAT, WAGTAIL_DATETIME_FORMAT and WAGTAIL_TIME_FORMAT
- Includes a rework of #6168
- Fixes #11504
2024-02-13 08:27:00 +10: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
Salvo Polizzi 502dd7c723 feature: allow disabling of shared password usage
Closes #11536
2024-02-09 08:52:32 +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
LB Johnston b81f369498 6.0 release - Add versionadded sections & release notes links 2024-01-24 13:54:48 +00:00
Shlomo Markowitz 7f6a2623d1 Add ability to use copy view for SnippetViewSet & ModelViewSet
Closes #10921
2024-01-24 22:47:34 +10:00
Rohit Sharma 996abeae8e Add initial redirects (contrib) API endpoint
Builds on previous PRs #6110 & #8842
2024-01-24 10:42:25 +10:00
Salvo Polizzi dd338de6f3 docs: documented get_children in Page model reference
Fixes #11499
2024-01-23 07:49:40 +10:00
Curtis Maloney 399aad2ce7
Fix documentation - TableBlock example (#11502)
Add missing comma in `contextMenu` configuration.
2024-01-22 16:29:06 +10:00
Matt Westcott 5b1ab02be5 Document MIT licensing terms for handsontable 6.2.2
Ref: #11497
People regularly raise concerns about handsontable as a commercial product being incompatible with Wagtail's licence. Clarify that we are using the last version available under the MIT licence, and link to the relevant git tag to allow people to verify this (since the handsontable website no longer mentions the open-source version, and is probably a vastly different product at this point).
2024-01-21 14:41:46 +00:00
LB Johnston bbcf1e74ee Add changelog & a few fixes for #11194
Partially reverts commit 7fa335c20d (fixing some issues with the URL updates)
2024-01-21 18:55:43 +10:00
Neeraj P Yetheendran 7fa335c20d Update Django intersphinx references to new format 2024-01-21 10:09:21 +10:00
Curtis Maloney 5c412d45c9
Update table_block.md (#11474)
* Correct `mergeCells` option.
2024-01-19 11:37:57 +10:00
Neeraj P Yetheendran 3faeabb4d7 Allow admin backend login URL to be customised (#11415)
Fixes #10882
2024-01-16 23:50:31 +00:00
sheepman4267 b7605a4c15 Fix typo in customisation.md
I'm pretty sure that "modal" should be "model" in this context.
2024-01-09 19:40:24 +10:00
Kalob Taulien f4978a0f4b
Update sitemaps.md (#11352) 2023-12-18 09:07:46 +00:00
Andy Chosak c109c661c1 Docs: Clarify appropriate use of MultipleChooserPanel
This documentation change clarifies that MultipleChooserPanel can only
be used when the inline model has a ForeignKey to a model that
implements Wagtail's chooser interface. Currently the docs mention
"a chooser for a ForeignKey relation" but it's not obvious how that
restricts which models can be pointed to or how to implement this for a
non-(image, document, snippet, page) model.

Relates to #10646.
2023-12-13 07:32:00 +10:00
Shlomo Markowitz f9c7df49c8 Add support for modifying default page listing ordering 2023-12-07 06:50:38 +10:00
Sage Abdullah b4881cad64
Move SnippetViewSet.get_edit_handler() to ModelViewSet
However, keep the logic for falling back to extracting panel definitions
from the model class as snippets-specific. ModelViewSets are likely used
with models that are more low-level and thus we want developers to
explicitly define the fields that are editable in the admin, just like
how Django's ModelForm works.
2023-11-28 09:26:33 +00:00
Damilola Oladele 7e774971fa
Documentation: GSoD - A complete tutorial on how to build your Portfolio site with Wagtail (#11217)
Co-authored-by: Meagen Voss <45881480+vossisboss@users.noreply.github.com>
2023-11-17 16:39:37 +00:00
LB Johnston 2e2e8f4452 Minor documentation formatting (Prettier) 2023-11-13 09:53:38 +11:00
Neeraj P Yetheendran 8932c67270 Add full set of Documents app features
- Added customizing document upload form subsection in documents section
- Added storing and serving subpage
- Added overview section, including RichText and StreamField usage
- Closes #2001
2023-11-13 09:53:16 +11:00
Temidayo32 9349e2ad9f
Allow UniqueConstraint in place of unique_together for TranslatableMixin's system check 2023-11-10 17:29:26 +00:00
Matt Westcott c49ec1bb06 Remove use_json_field parameter from StreamField 2023-11-01 16:52:20 +00:00
Matt Westcott c363f6dd27 Remove ModelAdmin 2023-11-01 16:52:20 +00: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 12924a5a2d Remove docs for WAGTAIL_MODERATION_ENABLED 2023-11-01 16:51:25 +00:00
Matt Westcott ab86351a8d Remove legacy moderation system 2023-11-01 16:51:25 +00:00
Matt Westcott cdac7dc7f5 Remove permission_type field from GroupPagePermission 2023-11-01 15:18:41 +00:00