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
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
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
Matt Westcott
d742b0278b
Release note for #11995
2024-06-06 16:17:36 +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
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
sage
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
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
c28a260a1b
Release note for #11958
2024-05-21 10:24:40 +01:00
Matt Westcott
bf3f87b759
Release note for #11957 in 6.1.1
2024-05-17 20:54:16 +01:00
sage
8ddf472e93
Partially revert listing styles changes to fix layout issues ( #11936 )
2024-05-17 11:44:28 +01:00
Sage Abdullah
c8aeee941a
Only scan src in client directory for Tailwind to prevent unnecessary rebuilds
...
https://tailwindcss.com/docs/content-configuration#styles-rebuild-in-an-infinite-loop
This speeds up the FE production build from 60s to ~21s on my machine, and also speeds up hot rebuilds to just ~3s
2024-05-17 09:46:28 +01:00
Matt Westcott
4f5ffa85b6
Release note for #11943 in 6.1.1
2024-05-14 10:39:15 +01:00
Matt Westcott
4b7210dd51
Release note for #11943 in 6.0.4
2024-05-14 10:39:10 +01:00
Matt Westcott
df4c283ced
Release note for #11951 in 6.1.1
2024-05-13 18:50:06 +01:00
Matt Westcott
a09bba67cd
Refactor image chooser pagination to check WAGTAILIMAGES_CHOOSER_PAGE_SIZE at runtime
2024-05-09 09:38:54 +01:00
Matt Westcott
6fa3985674
Release note for #11926
2024-05-08 12:34:39 +01:00
elhussein almasri
8aec935f69
save-white-space-in-comment-reply ( #11908 )
2024-05-03 15:42:13 +01:00
smark-1
5c85c127e6
add docs for page view restriction ( #11917 )
2024-05-03 15:33:16 +01:00
Matt Westcott
8aaa579bef
Run permission labels through translation on the permission management template ( #11923 )
...
Since `{% trans some_variable %}` cannot be handled by makemessages, we also need to ensure that any string that arises from Wagtail's native permissions, such as "Can access Wagtail admin" or "Can view", exists somewhere in the python code as a `_("...")` value.
Fixes #5341
2024-05-03 13:50:53 +01:00
Matt Westcott
4ac42a723f
Release note for CopyView fix (cherry-picked from e3d9233f4d
)
2024-05-01 13:37:39 +01:00
Matt Westcott
ef57f9b2c9
Fill in release date for 6.1 final
2024-05-01 12:41:22 +01:00
Matt Westcott
955703fba6
Fill in release date for 6.0.3
2024-05-01 12:40:43 +01:00
Matt Westcott
42b7c9bcde
Release note for CVE-2024-32882 in 6.1
2024-05-01 12:20:00 +01:00
Matt Westcott
9d24ac4e39
Release note for CVE-2024-32882 in 6.0.3
2024-05-01 12:18:47 +01:00
Matt Westcott
7de6872277
Release note for #11912 in 6.1
2024-05-01 11:20:58 +01:00
Matt Westcott
72edc09851
Release note for #11912 in 6.0.3
2024-05-01 11:20:58 +01:00
Matt Westcott
fac768c076
Fill in release date for 5.2.5
2024-05-01 11:20:58 +01:00
Matt Westcott
81a11d63c6
Release note for #11912 in 5.2.5
2024-05-01 11:20:58 +01:00
Sage Abdullah
56e69bc3ea
Use DjangoJSONEncoder instead of custom LazyStringEncoder
2024-04-30 15:17:08 +07:00
Jake Howard
afbafd657d
Remove duplication on performance page for frontend caching proxies ( #11871 )
2024-04-29 19:10:07 +01:00
Benjamin Bach
b266e54ba9
Bug: Enable template tag `richtext` to convert lazy text strings ( #11901 )
...
Fixes #11900
2024-04-29 15:34:37 +01:00
Matt Westcott
763c990490
Release note for #11902 in 6.1
2024-04-29 14:18:02 +01:00
Matt Westcott
207d5dafd5
Release note for #11902 in 6.0.3
2024-04-29 14:18:02 +01:00
Sage Abdullah
4302bed1b1
Release note for #11860
2024-04-29 14:41:49 +07:00
Rohit Sharma
bfdd13f8a8
Pass page_size to ImageChooserViewSet ( #11884 )
...
Fixes #11813
2024-04-26 17:56:24 +01:00
Matt Westcott
714a1878c2
Add release notes for Wagtail 6.0.3
2024-04-26 12:16:39 +01:00
Matt Westcott
a236405d43
Add release notes for Wagtail 5.2.5
2024-04-26 12:16:39 +01:00
Matt Westcott
7900055afa
Release note for #11858
2024-04-24 23:55:22 +01:00
Matt Westcott
b5f5364b82
Update "integrating into Django" docs to emphasise creating page models
2024-04-23 08:18:07 +10:00
Matt Westcott
4048c70502
Release note for #11881
2024-04-22 20:05:51 +01:00
Matt Westcott
0338642e62
Release note for #11878
2024-04-22 12:42:49 +01:00
Sage Abdullah
0d23f431e9
Release note for #11876
2024-04-22 11:26:09 +07:00
Sage Abdullah
100566ab8f
Set up release notes for 6.2
2024-04-22 09:00:37 +07:00
scott
951e41ae26
add new field types ( #11861 )
2024-04-18 16:42:06 +01:00
LB Johnston
2d075177c4
Fix issue where allow unicode slugs was not correctly used for urlify ( #11865 )
...
When the urlify util is used, ensure that we pass in the allow unicode value correctly in the SlugController.
Note: This was passed in for slugify but the usage of slugify, not urlify.
Fixes #11828
2024-04-18 13:59:36 +01:00
Thibaud Colas
b21b1a1534
Add snug mode release notes
2024-04-18 13:04:25 +01:00
Matt Westcott
b57a9a94a0
Release note for #11832
2024-04-18 12:34:48 +01:00
sage
c1a23b4bd3
Tweak styles for w-header-button to better match the designs ( #11863 )
2024-04-18 12:29:01 +01:00
Matt Westcott
c02162dc50
Release note for #11737
2024-04-18 10:54:19 +01:00
Sage Abdullah
0f7398f93c
Update release notes for #11749 and #11762
2024-04-18 07:43:55 +07:00
LB Johnston
67471defcf
Add release notes for #11818
2024-04-18 07:48:33 +10:00
LB Johnston
37922cc03d
Add changelog & upgrade considerations #11525
2024-04-18 07:03:08 +10:00
Matt Westcott
1ec62a6c2d
Release note for #11749
2024-04-17 16:23:54 +01:00
Matt Westcott
abd018b926
Release note for #11850
2024-04-17 14:21:54 +01:00
Neeraj P Yetheendran
4bf966537a
Added ability to make keyboard shortcut Global
...
Add `w-kbd-scope-value` with support for `global` so that specific keyboard shortcuts (e.g. ctrl+s/cmd+s) can be used consistently even when focused on fields.
Fixes #11844
2024-04-17 21:00:58 +10:00
LB Johnston
b8ce8f7739
Add changelog for #11168
...
Relates to #2936
2024-04-17 19:58:08 +10:00
Sage Abdullah
657c867d03
Release note for #11839
2024-04-17 14:49:42 +07:00
Sage Abdullah
6d1fe98f6a
Release note for #11774
2024-04-17 03:56:27 +07:00
Matt Westcott
dd5e16b2e1
Release note for #11831
2024-04-16 16:37:47 +01:00
Matt Westcott
77eba6e052
Release note for #11835
2024-04-16 16:29:29 +01:00
Sage Abdullah
e653a4afbb
Correct LF vs CRLF instruction in Windows development docs ( #11848 )
2024-04-15 13:14:44 +01:00
Sage Abdullah
bd1a81d88f
Release note for #11762
2024-04-15 14:23:07 +07:00
Matt Westcott
e32aee036f
Release note for #5875
2024-04-12 20:47:47 +01:00
Matt Westcott
eedf0826d1
Add release note for #11837
2024-04-12 20:46:02 +01:00
Ihor Marhitych
c550173d6c
Fix postgres phrase search to respect language set in settings
2024-04-12 17:29:35 +01:00
zerolab
989a51f425
Release notes for #11683
2024-04-12 17:24:56 +01:00
Matt Westcott
366a2a48c8
Release note for #11823
2024-04-10 20:07:23 +01:00
Matt Westcott
fd08d209be
Fix timezone handling in timesince_last_update
...
Ref: https://github.com/wagtail/wagtail/pull/11815/files#r1556095493
test_group_edit was failing when run after 3pm UTC, due to the output being rendered as "Just now" instead of an explicit time. This was due to a previously unsurfaced logic error in the timesince_last_update tag: if the timestamp was passed as a timezone-aware datetime in UTC, it was failing to translate this to local time and thus it compared as a different date, even if it was only from a moment ago. Consequently, it was following the "X days ago" path that was only supposed to be used for timestamps before today.
With this fixed, the special-case for "Just now" can be removed since it won't come into play for timestamps of yesterday and earlier. (Well, technically it could in the first minute after midnight, but that really doesn't warrant a special case...)
2024-04-09 08:39:45 +07:00
Matt Westcott
d3da555a31
Release note for #11815
2024-04-08 16:06:32 +01:00
Matt Westcott
3ad88007db
Release note for #11805
2024-04-08 14:13:24 +01:00
LB Johnston
c61a446b2f
Add changelog for #11740
...
Closes #10167
2024-04-07 21:05:28 +10:00
Matt Westcott
ac8bdce9fb
Release note for #11783
2024-04-05 17:37:28 +01:00
Matt Westcott
b504ed0281
Release note for #11764
2024-04-05 15:24:56 +01:00
LB Johnston
73d4b8383c
Add changelog for #11775
...
- Closes #11597
2024-04-04 08:28:17 +10:00
Matt Westcott
83bacfa7fe
Fill in release date for 6.0.2
2024-04-03 21:37:36 +01:00
Matt Westcott
eefbc7731c
Add release notes for 5.2.4
2024-04-03 21:37:00 +01:00
Matt Westcott
ad7b20ef85
Release note for #11817 in 6.0.2
2024-04-03 19:11:22 +01:00
Sage Abdullah
f941b45b58
Release note for #11751
2024-04-02 16:50:14 +07:00
Abdelrahman
0599a56d81
Add support for related fields in generic IndexView.list_display
2024-03-28 12:55:01 +07:00
Sage Abdullah
d8085c6ee6
Clarify release notes for #11803
2024-03-28 12:24:34 +07:00
Sage Abdullah
e425244fd8
Sync 6.0.2 changelog & release notes
...
See 898f01f922
See 13153b5068
2024-03-27 19:15:51 +10:00
Sage Abdullah
3bdf5fedf9
Add _editor_js.html include to wagtailadmin/generic/form.html
...
and remove any other _editor_js.html includes from templates that extend
wagtailadmin/generic/form.html, either directly or via
wagtailadmin/generic/{create,edit}.html templates.
Fixes #11760
Fixes #11799
2024-03-27 18:47:57 +10:00
Sage Abdullah
7a5a178022
Bump minimum version of djangorestframework to 3.15.1
...
We only support Django 4.2 and 5.0. DRF v3.14.0 was released on
22-09-2022, while Django 4.2 was released on 03-04-2023. This means
Django 4.2 and 5.0 support were officially introduced in DRF 3.15.0.
While our tests used to indicate our use of an older version of DRF
didn't cause any issues when installed with a newer version of Django,
we should bump this anyway. This prevents people from installing a
cached version of DRF that we "claim" to be compatible with Wagtail,
but in reality DRF itself doesn't officially support our minimum Django
version. In such cases, the installation can still proceed as DRF does
not impose an upper bound on Django.
This also fixes an issue where our tests would fail when installed with
DRF < 3.15.0 as the PermissionDenied error messages became more
specific.
2024-03-27 17:54:50 +10:00
David Buxton
ca796cb703
Fix dummy request SERVER_NAME when running tests
...
Django's test runner appends 'testserver' to your ALLOWED_HOSTS
setting. If your project has `ALLOWED_HOSTS=['*']` (which is totally
legit for Google App Engine standard) this means the setting value is
`ALLOWED_HOSTS=['*', 'testserver']` and Wagtail's dummy request helper
was setting the request SERVER_NAME to '*'.
But '*' is not a valid host name, causing a DisallowedHost exception.
This change sets the SERVER_NAME to 'example.com' in that case.
2024-03-26 21:22:21 +07:00
Jhonatan Lopes
846076ebe3
Use `default_manager` instead of `objects` in snippets `ModelIndexView`
2024-03-25 20:28:24 +07:00
LB Johnston
79bc23788b
Docs - Add additional reference to `wagtail_update_image_renditions` command
...
- We have other references to this command added in 5.2 however we did not include this in the page that goes into detail of Image renditions
- See #8166
2024-03-23 22:56:03 +10:00
LB Johnston
83a60f685d
Add changelog for #11756 + additions
...
- Closes #10404
2024-03-23 19:48:31 +10:00
LB Johnston
5fd8ebf171
SwapController - Ensure untrusted data sources are logged correctly
...
Avoids the rare case of `requestUrl` being used to log out an object
Fixes #11212
2024-03-23 18:17:53 +10:00
LB Johnston
11570f0072
Add changelog for #10867 (bulk toggle user group permissions)
...
Includes partial work & inspiration from #5836
2024-03-23 14:24:23 +10:00
LB Johnston
31329da876
Add changelog for #11213
2024-03-22 17:41:06 +10:00
rohitsrma
dae51e1287
Update keyboard shortcuts dialog & menu item to use 'keyboard' icon
...
Fixes #11767
2024-03-17 19:18:10 +10:00
rohitsrma
51152ebefc
Add keyboard icon to admin icon set
2024-03-17 19:18:10 +10:00
LB Johnston
24f5a4a14c
Add changelog for #11717
2024-03-16 16:59:26 +10:00
Tibor Leupold
77d783b397
Add note about StreamField validation happening on the form
2024-03-14 07:56:15 +10:00
John-Scott Atlakson
068c3f2964
Added `AbstractGroupApprovalTask` to simplify customizing behavior
2024-03-14 07:38:07 +10:00
Chiemezuo
aebdf82387
Ensure that dropdown content will be scrollable if content is too high
...
Fixes #11108
2024-03-14 07:28:27 +10:00
LB Johnston
b0b304bb9a
Add changelog for #10876
2024-03-14 06:37:54 +10:00
Matt Westcott
f30c65138e
Release note for #11720
2024-03-12 14:57:31 +00:00
Matt Westcott
75af2f22be
Release note for #11709
2024-03-11 18:28:17 +00:00
Sage Abdullah
45484c5da7
Release note for #11698
2024-03-11 14:06:50 +00:00
LB Johnston
dd48762b18
Update changelog for cherry-pick #11736
2024-03-09 20:19:41 +10:00
Sage Abdullah
574a9d4ebd
Use TeleportController to re-render slim header's buttons on results refresh
...
Fixes #11726
2024-03-09 20:15:03 +10:00
Matt Westcott
007d5b048d
Release note for #11735
2024-03-07 14:54:35 +00:00
Sage Abdullah
c741351635
Release note for #11485
2024-03-07 09:58:28 +00:00
Karthik Ayangar
00474a6152
fix: MutationObserver in dirty form check only tests direct descendants
...
Fixes #11142
2024-03-07 08:09:37 +10:00
Mark Niehues
c580342a95
Fix date formatting in form builder email content
...
Ensure that the date_format util correctly gets passed a format reference, not the resolved format.
Fixes #11696
2024-03-05 18:33:14 +10:00
Sage Abdullah
28f42bd6a6
Update changelog for backport 6.0.* fix ( #11708 )
2024-03-05 18:12:16 +10:00
Sage Abdullah
a106a3e805
Remove extraneous padding in chooser modal listings
...
Fixes #11704
2024-03-05 18:09:16 +10:00
LB Johnston
a7a09f7348
Add Changelog for #11660 (6.0.2)
...
# Conflicts:
# CHANGELOG.txt
# docs/releases/6.1.md
2024-03-05 07:53:31 +10:00
LB Johnston
9d269e4b92
Add Changelog for #11660 (6.0)
2024-03-05 07:47:11 +10:00
Sage Abdullah
e04a06cba3
Release note for #11661
2024-03-01 14:11:50 +00:00
LB Johnston
07d6acfb52
Fix - Ensure that modal tabs width are not impacted by side panel opening
...
Regression from #11150
2024-02-29 11:37:53 +00:00
LB Johnston
96ae004ce7
Add changelog for #11695
...
Fixes #11644
2024-02-29 08:15:15 +10:00
LB Johnston
287e5f9ded
Fix contributor name #11694
2024-02-29 08:01:10 +10:00
Tibor Leupold
d26b2ced77
Update template components & Laces references
...
- Turn laces reference into link to package in the release notes
- This is so that interested parties have an easy path to find more information about the library.
- Add note referencing that implementation are now found in Laces
- Add note about components not being limited to the admin
2024-02-29 07:50:46 +10: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
LB Johnston
f9928b5c95
Add changelog & upgrade considerations for removal of window.chooserUrls
...
- Fixes #11586
- Fixes #11421
- Fixes #10377
2024-02-28 21:36:49 +10:00
elhussein almasri
266faf63c2
Move modal-workflow.js script to admin_base.html
...
The modal-workflow.js script is used across a wide range of views in the admin, it's simpler to include it globally instead of having to consider all places it may be used.
Also unblocks use cases that are outside of the core admin such as custom documents/user/image models that may want to leverage this functionality.
2024-02-28 21:36:49 +10:00
Sage Abdullah
bded2cb98b
Allow displaying permissions linked to the Admin model's content type ( #11668 )
2024-02-27 22:16:51 +00:00
Buraah
e30c25c3b1
Changed all British spellings to American spellings, in the changelog.txt file
2024-02-24 16:59:29 +10:00
Sage Abdullah
3b87644e07
Prevent shadowing of permissions with the same codename action ( #11667 )
...
This can cause issues where e.g. stale permissions become the ones used
to render the checkboxes after a RenameModel operation (changing the
Python class name, not just the verbose_name).
A similar issue can also be triggered with custom permissions that share
the same codename action (first part of the codename before _) as the
built-in permissions.
2024-02-23 21:22:35 +00:00
Viktor Szépe
5679b30d1b
Fix typos ( #11687 )
2024-02-22 17:39:16 +00:00
Sage Abdullah
cadc40e6a2
Release note for #11666
2024-02-22 09:58:05 +00:00
Sage Abdullah
c4335d35de
Revert "Fix inconsistent use of model verbose_name in permissions UI"
...
This reverts commit e03c412507
.
2024-02-21 14:49:55 +00:00
Matt Westcott
c11db31a78
Release note for #11665
2024-02-21 14:17:53 +00:00
Matt Westcott
c54d9aa64f
Release note for #11637
2024-02-20 02:00:08 +00:00
EK303
bd065c17cd
Docs - Update and fix broken links
...
Fixes #11635
2024-02-16 17:23:53 +10:00
Matt Westcott
bb5d21d3c7
Fill in release date for 6.0.1
2024-02-15 13:59:37 +00:00
Maikel Martens
ef06e48c7f
Fix #11600 Eleasticsearch7 empty admin search gives 500 ( #11626 )
2024-02-15 12:33:02 +00:00
Matt Westcott
263d3c6a1c
Release note for #11647
2024-02-15 12:16:05 +00:00
Matt Westcott
c405c3ad58
Add 6.0.1 to releases index / fix underline
2024-02-15 12:04:21 +00:00
Sage Abdullah
b24d354040
Release note for #11654
2024-02-15 10:01:48 +00:00
Victoria Poromon
c4f953e90f
Changed all British spellings to American spellings, in the Contributing to wagtail section. ( #11641 )
...
* Changed all British spellings to American spellings, in the Contributing to wagtail section
2024-02-14 08:20:02 +10:00
Neeraj P Yetheendran
e03c412507
Fix inconsistent use of model verbose_name in permissions UI
...
- Fixes #10982
- Rework of #11203
- Modify the sanitized `permission_action` name
- Relates to work around for the known Django issue https://code.djangoproject.com/ticket/26756
2024-02-13 08:32:31 +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
advik
e6aebc65a8
Implemented the UploadedFile mode to replace UploadedDocument and UploadedImage
...
- Rebase of #8085
2024-02-13 07:45:27 +10:00
Adrien Hamraoui
58ebfe1fb1
fix: InlinePanel - take 1st child when configuring up and down js events
...
Issue was appearing when there was nested inline panels.
currentChild. find would match the parent up/down button
but also all the ones of the nested inline panels
Fixes #5919
2024-02-13 07:45:06 +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
LB Johnston
d00137b2cd
Wagtail admin skeleton - use classnames template tag
2024-02-12 08:10:57 +10:00
LB Johnston
f65fc66ff9
Add changelog for #10906
2024-02-12 08:03:45 +10:00
Salvo Polizzi
502dd7c723
feature: allow disabling of shared password usage
...
Closes #11536
2024-02-09 08:52:32 +10:00
hossein
c384975147
Changed Workflow model to get inherited from AbstractWorkflow model
...
- Fixes #11538
2024-02-08 08:19:42 +10:00
Tibor Leupold
50b70219d9
Make sure the settings panel is listed in tabbed interface examples
2024-02-08 07:53:28 +10:00
Jhonatan Lopes
025249aab7
Handle date objects on human_readable_date template tag ( #11599 )
...
Fixes #11598
2024-02-07 17:14:55 +00:00
Matt Westcott
e7b80ee690
Fill in release date for 6.0
2024-02-07 12:51:32 +00:00
Sage Abdullah
548e8dfac2
Release note for #11591
2024-02-06 12:33:27 +00:00
Matt Westcott
f32c321cdd
fix spacing
2024-02-05 15:23:19 +00:00
Jake Howard
a204baddc0
Add support for ico files
2024-02-05 15:23:08 +00:00
Matt Westcott
05f94f1076
Release note for #11579 in 6.0
2024-02-05 14:02:16 +00:00
advik
0294dd1dd1
Changed Button to Link, and removed unnecessary props
...
- React Button was only ever used to render a link (a element)
- This creates a potential accessibility issue if developers want to render a button, it's confusing and incorrect
- Additionally, the unused prop (dialogTrigger) & aria-haspopup is non-compliant and has been removed
2024-02-05 20:07:40 +10:00
mirusu400
824273772d
Use reference for compatible Python versions in tutorial
...
Reference supported versions as it was not in sync with official versions (did not include python 3.12).
2024-02-05 19:29:28 +10:00
Karthik Ayangar
41d40f5c37
Adjust Eslint rules for TypeScript files (no-shadow)
...
Signed-off-by: Karthik Ayangar <karthik.ayangar7118@gmail.com>
2024-02-03 07:35:09 +10:00
LB Johnston
96367e00cf
Changelog for #11578
2024-02-03 07:19:30 +10:00