Wykres commitów

323 Commity (d9de2d781f247d64b9bda53e1efd904a7f73d802)

Autor SHA1 Wiadomość Data
Thibaud Colas 801b1bb067
Add more details of legacy rich text behavior
This is to hopefully make it easier to look up with search.
2025-02-06 16:34:49 +00:00
LB 1dd3dbea87 Fix spelling of `CloudFront` in docs & release notes 2025-01-22 10:31:35 +00:00
John-Scott Atlakson 9d31fd3fa5 Fix - Ensure `WagtailAdminFormPageForm.clean` returns `cleaned_data`
Return `cleaned_data` for more consistent subclassing.

Updated documentation with an example of adding custom page validation for form fields.

Add unit test to ensure that the documented usage of extending `WagtailAdminFormPageForm` works as expected.

Originally from #10375
2024-11-05 19:22:33 +00:00
Sage Abdullah 857b26e5a0
Replace hardcoded Django docs links to intersphinx links 2024-11-05 10:44:39 +00:00
Ayaan 0913118da4
Replaced Twitter references in the docs with more appropriate alternatives (#12516). Fix #12483
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-11-01 11:03:54 +00:00
Srishti-j18 fd9b1ca22b Docs - Update spelling to US customize variants
Fixes #12476
2024-10-29 18:47:43 +10:00
LB Johnston 1790bdd158 Align recent docs & release notes to US spelling 2024-08-29 18:28:07 +01:00
Matt Westcott e1f9d97238 Remove versionadded/versionchanged notes for 6.1 2024-07-22 13:43:34 +01:00
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