Wykres commitów

3282 Commity (f7fa20e600421763fd85ef1ce9c5367a05c17fa4)

Autor SHA1 Wiadomość Data
Sage Abdullah 012cd99c1b
Release note for #12017 2024-07-22 17:21:58 +01:00
Matt Westcott 9cd2005a09 Add release note stubs for 6.3 2024-07-22 13:43:34 +01:00
SebCorbin ca5d54cb89 Fix check when using FORMAT_MODULE_PATH (#12006)
Fixes #12005
2024-07-19 15:56:53 +01:00
Thibaud Colas c569e08d7d Release notes for #12099 2024-07-19 13:14:30 +01:00
SebCorbin 966f2df4ce
Fix focal point data being localized 2024-07-19 12:19:16 +01:00
Th0masCat 5cc28acc56
Fix not allowed extension not showing in the error message 2024-07-19 12:07:36 +01:00
Nathanaël Jourdane 5a8c33f34a doc: fix pdf export (#12076) 2024-07-19 01:27:07 +01:00
Matt Westcott e066424163 Release note for #12044 2024-07-19 00:23:55 +01:00
Sage Abdullah 6b5662cbdc
Release note for #12023 2024-07-18 18:26:38 +01:00
smark-1 95eac5ab78
Allow page to change private page options 2024-07-18 17:23:30 +01:00
Albina 2d568dd825
Content checks design upgrade: help text and separate cards (#12090)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-07-16 22:27:27 +01:00
Thibaud Colas 707467503d Release notes for #12092 2024-07-16 08:08:26 +01:00
Albina 14f3d4607f
Add content metrics board (#12058) 2024-07-11 14:58:19 +01:00
Matt Westcott 60d95b6f71 Add missing release notes for 6.1.3 2024-07-11 12:51:56 +02:00
Matt Westcott 74b2f54e05 Add release notes / fill in release date for 6.1.3 2024-07-11 11:43:18 +02:00
Matt Westcott 26de9fdc19 Add release notes for 6.0.6 2024-07-11 11:41:57 +02:00
Matt Westcott 11c061e51e Fill in release date for 5.2.6 2024-07-11 11:41:38 +02:00
Matt Westcott 7c16075342 Release note for CVE-2024-39317 in 5.2.6 2024-07-11 11:40:54 +02:00
Matt Westcott 0932ba395c Release note for #11952 2024-07-10 17:12:12 +02:00
Jake Howard 35a197d609 Move sprite hashing out of module import time
This speeds up application startup. The hash is now a query param, injected in the template. As this param is only needed for cache invalidation, it's optional. A helper method is provided to generate the URL, along with a template tag.

This also migrates to an `lru_cache` over a global variable for simplicity.

Fixes #11680
2024-07-09 07:02:28 +10:00
Daniel Kirkham d00df53a62 Document the vary_fields property for custom image filters 2024-07-09 06:53:27 +10:00
smark-1 ad884fe8d5 Add better docs for generating URLs on creating admin views
- Fixes #11963
2024-07-09 06:38:51 +10:00
Afonso 76fb103f54
Fix #11716: Failure in Dynamic Image ServeView
Added back a line that was removed in a previous commit,"rendition.file.open("rb")" in serve.py.
Also, created a test in admin/tests/viewsets , test_image_presence.py that confirms that
the issue has been resolved. The test looks for a status error code 500 in the display of an image,
something that happenned when the dynamic serve view failed. If it finds it, the test fails.
The test also passes when we dont't use a dynamic serve view.

Co-authored-by: SebCorbin <sebastien@rgoods.com>
2024-07-04 11:10:50 +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
Ben Dickinson 2c6ab32d61 Fix bug with .get_menu_item(order=0) calls (#12082) 2024-07-02 17:34:22 +01:00
Matt Westcott 9ef20ca08d Release note for #12097 2024-07-02 16:48:16 +01:00
Romein van Buren 7fca2d74a0 Add label to "user" column in views.generic.HistoryView (#12101)
Fixes #12100
2024-07-02 16:02:56 +01:00
Sage Abdullah 94d92ed822
Release note for #11987 2024-07-02 12:17:21 +01:00
Sage Abdullah 2fc7b4d5c9
Do not register 'view' permission if inspect view is not enabled 2024-07-02 10:21:03 +01:00
Matt Westcott 79a22efff8 Release note for #11985 2024-07-01 23:57:34 +01:00
Jake Howard 15511411bd Allow manually specifying credentials for CloudFront frontend cache backend (#10565) 2024-07-01 19:02:12 +01:00
Alex Morega d0647f3288
Add a deactivate() method to ProgressController 2024-06-28 11:59:43 +01:00
Matt Westcott 6dbae8ca2c Implement `for_instance` on `PageLogEntryManager` (#12093)
`BaseLogEntryManager` leaves this unimplemented, and `ModelLogEntryManager` implements it but `PageLogEntryManager` doesn't. The `LogActionRegistry.get_logs_for_instance` method calls this, which means it fails on page models.

Currently this is only used on generic views, which aren't used by page models (unless they're also registered as a snippet, which isn't really a supported setup) but LogActionRegistry is supposed to work transparently across log models, so this is clearly a bug.
2024-06-27 17:00:40 +01:00
Albina 03f26187b6
Add alt text validation rule in the accessibility checker (#11986)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-06-27 09:33:46 +01:00
Albina c632832edf
Language label redesign - admin listings (#12010)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-06-26 11:18:59 +01:00
Matt Westcott ecefcb680f Release note for #12075 2024-06-25 18:02:14 +01:00
Matt Westcott a7af760aa7 Add release notes for 5.2.6 2024-06-25 13:10:19 +01:00
Alex Tomkins 5fe8da9921
Fix image preview when Willow optimizers are enabled (#12047)
Avoids https://github.com/wagtail/Willow/issues/147
2024-06-25 10:19:25 +01:00
Jochen Wersdörfer 77791767a2 make sure there are no null bytes in input data from query strings (#12072)
Fixes #12052
2024-06-24 18:53:23 +01:00
Romein van Buren ad95e0a991 Add verbose name to locale field of TranslatableMixin (#12071)
fixes #12068
2024-06-24 18:48:45 +01:00
Matt Westcott ead391ea14 Release note for #12059 2024-06-24 16:52:55 +01:00
Jake Howard d1a0f4cd29 Replace `urlparse` with `urlsplit`. (#12028)
`urlsplit` is approximately 6x faster.
2024-06-21 00:08:56 +01:00
Matt Westcott d4391f4e72 Release note for #12063 2024-06-20 19:30:44 +01:00
Jeroen de Vries add3c7dc01
Update deployment instructions for Fly.io 2024-06-17 12:29:51 +01:00
Inju Michorius ac38343957
Remove opacity property from unpublished page titles (#12043) 2024-06-13 15:24:46 +02:00
Roel Koper 366a7b7e6f
Add prefers-reduced-motion to accessibility docs (#12038) 2024-06-13 14:46:52 +02:00
Sævar Öfjörð Magnússon 49ef72725a Add test for flatten_choices and support dictionaries 2024-06-13 13:05:12 +02:00
Bojan Mihelac 5a1ba5abe2 Documentation: Inline models optional Orderable, tests (#12034)
Fixes #11887
2024-06-13 11:55:06 +02:00
Sævar Öfjörð Magnússon b7ab0496f1 Remove undocumented autobuild.sh script (#12035) 2024-06-12 15:44:11 +02:00
Arnar Tumi Þorsteinsson c700ed67ef Copy for translations done signal and test (#12033) 2024-06-12 15:41:04 +02:00