0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

17487 Commits

Author SHA1 Message Date
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
Matthias Brück
0bea099ab8
Skip ChooseParentView if only one possible valid parent page available to the user 2024-06-12 11:49:47 +02:00
Byron Peebles
e36c4d3fba Documentation: Update some Sphinx-style code ref roles to MyST style (#12030) 2024-06-12 11:47:06 +02:00
Thibaud Colas
79ac41a251
Add mention of html5lib in upgrade considerations (#12031) 2024-06-11 12:21:13 +01:00
Matt Westcott
33967fc4fe Specify postgres 15 for testing stable/5.1.x 2024-06-10 12:33:37 +01:00
Matt Westcott
1cfec331c9 Don't use fork of django-taggit, as fix is part of 5.0 2024-06-10 12:33:37 +01:00
Matt Westcott
b595c06b31 Bump minimum version of django-taggit to 5.0 2024-06-10 12:33:37 +01:00
Matt Westcott
e9d43b3b2f Test against Django 5.1.x stable branch
Also bump some Python versions from 3.10 to 3.11 / 3.12
2024-06-10 12:33:37 +01:00
Julie Rymer
f5552c4044
Fix ico format conversion to work in template 2024-06-10 10:20:34 +01:00
Matthias Brück
ebc77dda83
Remove duplicate header in privacy dialog when a privacy setting is set on a parent page or collection 2024-06-07 11:25:32 +01:00
Matt Westcott
88311ce75c Fix can_delete flag in generic edit view to account for instance-level permissions (#12018)
Fixes #10084, supersedes #11964
2024-06-06 19:07:27 +01:00
Matt Westcott
62f7487617 Release note for #12013 2024-06-06 17:05:15 +01:00
Sage Abdullah
20d3fe355c Allow access to snippets model index view with only 'view' permission 2024-06-06 16:35:25 +01:00
Sage Abdullah
4b3b5e46b6 Show ModelViewSet menu item even if user only has view permission 2024-06-06 16:35:19 +01:00
Sage Abdullah
c3f770ef0e Link to inspect view from index view if user only has view permission
This also allows the user to access the index view with only 'view' permission
2024-06-06 16:35:13 +01:00
Sage Abdullah
d8a9cd399e Allow InspectView to be accessed with only the 'view' permission 2024-06-06 16:35:07 +01:00
Matt Westcott
d742b0278b Release note for #11995 2024-06-06 16:17:36 +01:00
Sage Abdullah
2a0d05a1a8 Do not render 'more' dropdown on the listing view if there are no items 2024-06-06 16:15:14 +01:00
Sage Abdullah
0816b46a65 Perform permission checks in get_foo_url() in generic views
This ensures the links are never generated if the user has no permission
to access it, which prevents e.g. linking to the edit view from the
listing view, only to redirect user with an error message upon clicking.
2024-06-06 16:15:14 +01:00
Sage Abdullah
3f58e6f2d7 Move check for whether permission_policy is set to user_has{_any,}_permission methods
This allows us to more easily reuse the shorthand methods in subclasses
without having to check whether permission_policy is set every time
2024-06-06 16:15:14 +01:00
Sage Abdullah
06ad1d9dc1 Do not bypass permission policy check for superusers in snippets Create/Edit view (#11966)
Except for the lock/unlock permission, since we still need to sync that logic with PagePermissionTester

Fixes #11707
2024-06-06 01:09:22 +01:00
Matt Westcott
a7798c1b80 Release note for #11977 2024-06-04 22:28:01 +01:00
Andy Babic
234d928b99 Simplify type-hints 2024-06-04 22:26:37 +01:00
Andy Babic
c7caa450c8 Fix mock paths in tests 2024-06-04 22:26:37 +01:00
Andy Babic
30cb881976 Split contrib.frontend_cache.backends.py into separate dedicated sub-modules 2024-06-04 22:26:37 +01:00
Sage Abdullah
5f158de94a
Update latest.txt for 6.1.2 2024-05-30 15:28:50 +01:00
Sage Abdullah
a441f976fa
Fill in release date for 6.1.2 2024-05-30 14:58:06 +01:00
Sage Abdullah
39e8d02d20
Fill in release date for 6.0.5 2024-05-30 14:56:48 +01:00
Sage Abdullah
8b63309ced
Release note for CVE-2024-35228 in 6.1.2 2024-05-30 14:47:40 +01:00
Sage Abdullah
f8bf497741
Release note for CVE-2024-35228 in 6.0.5 2024-05-30 14:44:01 +01:00
Matt Westcott
284f75a6f9 Restore permission check on settings EditView 2024-05-30 14:32:36 +01:00
Sage Abdullah
c08cae1802
Fetch new translations from Transifex 2024-05-30 13:52:56 +01:00
sag​e
157a06d3fe
Support SVG icon id attributes with single quotes in the styleguide (#11903)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-05-30 12:39:03 +01:00
Sage Abdullah
b2be969118
Release note for #11992 2024-05-29 19:34:03 +01:00
Matt Westcott
30fa20c1ac
Update RadioSelect adapter to handle CheckboxMultipleSelect widgets
This matches the inheritance pattern used on the Django side: 99f23eaabd/django/forms/widgets.py (L868)
2024-05-29 19:26:57 +01:00
Matt Westcott
53b7738df0
Update BoundSelect to support multiple select widgets 2024-05-29 19:26:57 +01:00
Matt Westcott
aafb3a04cb
Fix getting/setting state on BoundRadioSelect
The state as returned from `ChoiceBlock.get_form_state` is an array of values, so getState / setState needs to work with that.

Fixes #11990
2024-05-29 19:26:56 +01:00
Tom Dyson
39bc851932
Add Jake to CONTRIBUTORS.md (#11993) 2024-05-29 11:24:14 +01:00
Matt Westcott
252bae9129 Update latest.txt for 6.1.1 2024-05-21 12:39:42 +01:00
Matt Westcott
a1b40fe4d0 Fill in release date for 6.1.1 2024-05-21 11:00:19 +01:00
Matt Westcott
d3df8d9948 Fill in release date for 6.0.4 2024-05-21 10:59:53 +01:00
Matt Westcott
b75c66ac42 Fetch new translations from Transifex 2024-05-21 10:55:23 +01:00
Matt Westcott
c28a260a1b Release note for #11958 2024-05-21 10:24:40 +01:00
Matt Westcott
0ae74677b2 Refactor BoundWidget to accept an iterable of elements 2024-05-21 10:21:39 +01:00
Sage Abdullah
0cc274f36a Allow multiple top-level nodes when rendering StreamField blocks
But keep passing just the first element to the BoundWidget class
2024-05-21 10:21:38 +01:00
Matt Westcott
bf3f87b759 Release note for #11957 in 6.1.1 2024-05-17 20:54:16 +01:00
Matt Westcott
7d2f485e97 Refactor rich text rewriter to introduce a TagMatch object 2024-05-17 20:51:37 +01:00
Andy Chosak
83af49327b Properly handle out-of-order tag rewriting 2024-05-17 20:51:37 +01:00