Wykres commitów

315 Commity (e02ca6ce62369328ce616ef032a41ce4b5ea0b40)

Autor SHA1 Wiadomość Data
Andy Chosak a81cabce05 Expose URL resolver match for RoutablePageMixin (#11953)
Django provides an `HttpRequest.resolver_match` attribute [0] that
allows downstream code to inspect a request object to see how its URL
was resolved to a view.

Wagtail's RoutablePageMixin does its own sub-URL routing to call
different view functions on a page object, but the resolver result isn't
similarly made available.

This commit sets a new `routable_resolver_match` attribute on the
request object, akin to Django's `resolver_match`, that stores this
sub-URL routing information for downstream use.

Documentation has been updated appropriately (along with a couple of
other minor broken things in the RoutablePageMixin docs).

[0] https://docs.djangoproject.com/en/5.0/ref/request-response/#django.http.HttpRequest.resolver_match
2024-07-03 14:17:12 +01:00
Jake Howard 15511411bd Allow manually specifying credentials for CloudFront frontend cache backend (#10565) 2024-07-01 19:02:12 +01:00
Byron Peebles e36c4d3fba Documentation: Update some Sphinx-style code ref roles to MyST style (#12030) 2024-06-12 11:47:06 +02: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
Neeraj P Yetheendran 6843fbe643
Add re_path to imports in routablepage.md (#11841) 2024-04-12 14:22:15 +01:00
Sage Abdullah af80198c7d Rename SubmissionsListView.ordering to default_ordering for consistency with BaseListingView 2024-04-05 17:36:41 +01:00
EK303 bd065c17cd Docs - Update and fix broken links
Fixes #11635
2024-02-16 17:23:53 +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
Matt Westcott c1ad975b3b Remove versionadded / versionchanged annotations for 5.2 2024-02-01 16:24:12 +00:00
Rohit Sharma 996abeae8e Add initial redirects (contrib) API endpoint
Builds on previous PRs #6110 & #8842
2024-01-24 10:42:25 +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
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
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
Matt Westcott c363f6dd27 Remove ModelAdmin 2023-11-01 16:52:20 +00:00
Sage Abdullah 0a11a3452b Update modeladmin deprecation and migration notes to also mention ModelViewSet 2023-10-31 17:25:21 +00:00
Matt Westcott aea258248c Remove versionadded / versionchanged annotations for 5.1 2023-10-20 14:47:53 +01:00
Matt Westcott 761ccfc215 Change register_page_listing_buttons hook to pass a user argument instead of page_perms 2023-10-17 17:26:39 +01:00
TopDevPros 3a5cc8e75c Search Promotions - Add support for external link/text
Closes #10725
Built on original PR #4560
2023-09-26 13:44:09 +10:00
Gareth Palmer a63689869e Add support for merging cells in TableBlock.
Handsontable has support for merging table cells using the `mergeCells`
plugin but there was no support in Wagtail for storing which cells have
been merged or rendering them in the output template.

The client JavaScript will now save which cells have been merged and
the output template will merge or hide cells.

See https://handsontable.com/docs/6.2.0/Options.html#mergeCells
2023-09-08 08:30:49 +10:00
LB Johnston a19bae886d Format markdown files 2023-08-31 08:21:36 +10:00
Sage Abdullah ccbd6849f3
Move SnippetViewSet.search_fields and search_backend_name definition to ModelViewSet 2023-08-30 10:29:29 +01:00
Sage Abdullah 3ae937120e
Fix cross-reference links in Snippets-ModelAdmin migration docs 2023-08-30 10:26:39 +01:00
Sage Abdullah cd222898fd
Move SnippetViewSet.list_diplay definition to ModelViewSet 2023-08-22 16:34:51 +01:00
Sage Abdullah c56ec67a39
Introduce BooleanColumn for showing boolean values as tick/cross icons 2023-08-10 09:11:26 +01:00
Sage Abdullah 133da4c3a9
Add docs for migrating ModelAdminGroup to SnippetViewSetGroup 2023-08-10 09:11:25 +01:00
Sage Abdullah fad37fd232
Add docs for migrating from modeladmin to snippets 2023-07-26 16:04:35 +01:00
Sage Abdullah 64f496a2e1 Remove old versionadded / versionchanged notes 2023-07-19 17:53:26 +10:00
sgfost 61594a2616
Add docs for managing stored queries in searchpromotions
and update docs about the search -> searchpromotions migration.
2023-07-18 15:00:56 +01:00
Sage Abdullah 191ddf8a55
Deprecate wagtail.contrib.modeladmin 2023-07-18 12:33:42 +01:00
LB Johnston aa9e9cddc7 Resolve multiple typos (spelling and grammar)
- Optimized/Customized/Catregorize -> Optimised/Customised/Categorise
- Github -> GitHub (80% were spelt with capital H, this is the way GitHub spells itself)
- GitPod -> Gitpod (most were without the capital P, Gitpod's site does not use capital P)
- Remove duplicate words (to to, the the)
- De-coupled -> decoupled
- implementors -> implementers (all other references used 'site implementers' so just aligning with the common case)
- Fix a/an usage in one case
- Fix one comment usage of ok, replace with OK
2023-05-30 21:07:37 +10:00
Sage Abdullah 40b828a767 Link to RFC 85 and mention modeladmin deprecation in future release 2023-05-02 13:39:39 +01:00
Onno T 4d9f4898de Document how to add non-ModelAdmin views to a ModelAdminGroup (#10022) 2023-04-21 18:26:03 +01:00
Matt Westcott 4a47bc611b Remove old versionadded / versionchanged notes 2023-04-21 13:47:10 +01:00
Thibaud Colas d856e702e1 Update documentation on icons management, with available icons 2023-03-28 16:13:35 +01: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
Matt Westcott a634045b6c Remove remaining versionadded directives from before 4.2 2023-02-10 13:20:34 +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
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
Jhonatan Lopes 7a6feb188f Link django docs to stable version 2023-01-11 20:18:04 +10:00
LB Johnston edb86a7e8f Documentation - Fix missing links / images
Most of these are no longer applicable due to the introduction of Wagtail guide, where possible the new guide links are used now
- Re-add missing docs image for extending Draftail
- There is no Guide page (yet) for Inserting videos or images so those links have been removed
- Fix some additional reference issues where the page name and reference were causing issues
2023-01-05 12:08:27 +00:00
Jake Howard 55ea8f8532 Document the policy needed to create invalidations in CloudFront 2023-01-05 12:02:04 +00:00
Matt Westcott 1da5b97d51 Add release notes and versioned deprecation warnings for #9824 2023-01-04 18:17:35 +00:00
Doug Harris 2af1871271
Fix spelling `middlware` -> `middleware` (#9633)
* Fix spelling `middlware` -> `middleware`
2022-11-09 07:22:51 +10:00