Sage Abdullah
b3e87bcee8
Register permissions for models registered with ModelViewSet
2024-07-02 09:30:57 +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
Sage Abdullah
e1b77ccd6f
Add docs about not converting relative links when there are multiple sites
2024-06-25 17:59:37 +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
Sævar Öfjörð Magnússon
435293d9d7
Extend the until date of the promotion banner for Wagtail Space
2024-06-13 15:16:29 +02:00
Sævar Öfjörð Magnússon
d44808ac53
Update the date for Wagtail Space US
2024-06-13 15:07:19 +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
Thibaud Colas
79ac41a251
Add mention of html5lib in upgrade considerations ( #12031 )
2024-06-11 12:21:13 +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
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
0ae74677b2
Refactor BoundWidget to accept an iterable of elements
2024-05-21 10:21:39 +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
Jake Howard
84d9bd6fb6
Mention use of GitHub's security advisories
2024-05-08 12:34:39 +01:00
Jake Howard
37f9ae2ec6
Add note about bug bounties
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
95d23fdf7d
Typo - this features -> these features
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
Matt Westcott
617e5129c5
Add management command to fix UUID fields under MariaDB / Django 5.0 ( #11912 )
2024-05-01 11:07:20 +01:00
Thibaud Colas
cae0002afe
Add more sections to 6.1 release notes
2024-04-30 17:29:18 +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
9dc38076ed
Add missing promote tab to ObjectList permission example ( #11893 )
...
As per https://github.com/wagtail/wagtail/issues/10117#issuecomment-2002393424
2024-04-25 13:45:05 +01: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
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
LB (Ben Johnston)
d3d43420aa
Add third party tutorials Q1 2024 ( #11878 )
2024-04-22 12:37:26 +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
Sage Abdullah
ecb4028165
Version bump to start work on 6.2
2024-04-22 09:00:37 +07:00
Sage Abdullah
fd659ae767
Remove versionadded / versionchanged annotations for 6.0
2024-04-22 09:00:36 +07:00
LB Johnston
b664169b32
Improve 6.1 release notes
...
- Fix typo in example regex
- Add links to documentation where possible
- Minor clean up
2024-04-19 17:09:50 +10:00
LB Johnston
58d98974bc
Update tutorial page create_footer to use consistent filename
...
- File was using a mix of kebab & snake case, align with all other filenames and use only snake_case
2024-04-19 17:09:50 +10:00
LB Johnston
6e05134d12
Fix malformed documentation ref `developing_using_a_fork`
2024-04-19 17:09:50 +10:00
Matt Westcott
2174cf4c18
Remove extra 'Upgrade considerations' heading
2024-04-18 17:43:22 +01:00
Matt Westcott
65fbe147f0
Promote PageListingViewSet and keyboard shortcuts dialog to headline features
2024-04-18 17:41:40 +01: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
Thibaud Colas
ddb907d274
Add new global CSS variable --w-density-factor
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
Saksham Misra
53d6ea4491
Add documentation to support password required settings change
...
PASSWORD_REQUIRED_TEMPLATE -> WAGTAIL_PASSWORD_REQUIRED_TEMPLATE
DOCUMENT_PASSWORD_REQUIRED_TEMPLATE -> WAGTAILDOCS_PASSWORD_REQUIRED_TEMPLATE
2024-04-18 07:03:08 +10:00
Matt Westcott
1ec62a6c2d
Release note for #11749
2024-04-17 16:23:54 +01:00
Alec Baron
d71cf79520
Accept alias for WAGTAILIMAGES_RENDITION_STORAGE ( #11749 )
...
* Accept alias for WAGTAILIMAGES_RENDITION_STORAGE
* Update wagtail.images.models.get_rendition_storage to handle the case when the WAGTAILIMAGES_RENDITION_STORAGE setting is given a storage alias (defined in the STORAGES setting). Preserve old behavior when a dotted module path or a Storage instance are given.
* Refactor and improve all tests related to the WAGTAILIMAGE_RENDITION_STORAGE setting.
* Update related documentation.
2024-04-17 16:22:19 +01:00
LB Johnston
e8f4d56583
Support forwards compatible configuration for private pages/collections
...
The new settings introduced in #11582 / #11536 only considered one use case of disabling the shared password option. However, we may want to allow for more complex configuration in the future in this area.
Ensure we can support potential future requirements such as #11640 with a more flexible structure for private pages & collections.
The following settings have been changed from boolean to dictionary values.
WAGTAIL_ALLOW_SHARED_PASSWORD_PAGE -> WAGTAIL_PRIVATE_PAGE_OPTIONS
WAGTAIL_ALLOW_SHARED_PASSWORD_COLLECTION -> WAGTAILDOCS_PRIVATE_COLLECTION_OPTIONS
2024-04-17 15:29:50 +01:00
Matt Westcott
abd018b926
Release note for #11850
2024-04-17 14:21:54 +01:00
Matt Westcott
b0cda80626
Simplify example of appending a rich text block to a streamfield
2024-04-17 14:18:02 +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
LB Johnston
e6504951c8
Add deprecated backwards compatible window.URLify with release notes
...
- Add legacy support for window.URLify with allowUnicode as a param
- Add release notes details for both window.URLify (deprecated) & window.XRegExp (removed)
2024-04-17 19:58:08 +10:00
Sage Abdullah
657c867d03
Release note for #11839
2024-04-17 14:49:42 +07:00
Matt Westcott
9b74c83195
Eliminate jQuery from telepath widget classes
2024-04-17 14:49:11 +07:00
Sage Abdullah
6d1fe98f6a
Release note for #11774
2024-04-17 03:56:27 +07:00
Abdelrahman
61e803c740
Add choose parent view for creating pages via PageListingViewSet
2024-04-17 03:48:54 +07:00
Matt Westcott
dd5e16b2e1
Release note for #11831
2024-04-16 16:37:47 +01:00
Drikus Roor
bfce1cea64
docs: Make instructions about adding "wagtail.contrib.settings" to INSTALLED_APPS more explicit
2024-04-16 16:35:55 +01:00
Drikus Roor
e51e3f9fe2
docs: Fix language mistake
2024-04-16 16:35:54 +01:00
Drikus Roor
8e38f5ead4
docs: Remove unused import from code example
2024-04-16 16:35:54 +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
Andy Chosak
e9dcf7ca01
Documentation updates
2024-04-12 20:46:25 +01:00
Andy Chosak
47f0e533b6
Update docs/extending/rich_text_internals.md
...
Co-authored-by: Dan Braghiș <dan@zerolab.org>
2024-04-12 20:46:24 +01:00
Andy Chosak
cacfa820b8
Documentation
2024-04-12 20:46:24 +01:00
Sebastian Muthwill
e86e1caa28
bump django-filter to support 24.2 version ( #11837 )
2024-04-12 19:43:29 +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
Gordon Pendleton
06ed3ae6b8
Refactor page fetching logic to cache per request ( #11683 )
...
Adds two new helper static methods:
- `Page.route_for_request()` - to find the page route, given a request
object and a URL path
- `Page.find_for_request()` - to find the page given, a request object and a URL
path
2024-04-12 17:16:39 +01:00
Neeraj P Yetheendran
6843fbe643
Add re_path to imports in routablepage.md ( #11841 )
2024-04-12 14:22:15 +01:00
Matt Westcott
366a2a48c8
Release note for #11823
2024-04-10 20:07:23 +01:00
Sage Abdullah
2a3106a224
Use the users listing view with the group filter for listing group users
2024-04-09 08:54:49 +07:00
Sage Abdullah
d0fa6abae9
Pass the request user object instead of context to register_user_listing_buttons hook
2024-04-09 08:54:48 +07: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
Sage Abdullah
0006976267
Implement universal listings UI for form submissions listing view
2024-04-05 17:36:41 +01:00
Sage Abdullah
af80198c7d
Rename SubmissionsListView.ordering to default_ordering for consistency with BaseListingView
2024-04-05 17:36:41 +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
LB Johnston
a6b187a14f
Fix minor spelling (customizations) in 6.1 release notes
2024-04-04 08:01:47 +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
ad55e37162
Release note for #11817 in 6.0.2 docs
2024-04-03 19:11:23 +01:00