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
Andy Chosak
f98c4f8ae8
Fix: Properly rewrite rich text with mixed links
...
The bulk rich text link rewriter logic introduced in PR 5875 doesn't
work properly if the rich text contains multiple link types where one
of those types doesn't need to be rewritten (for example external
links like <a href="https://wagtail.org/ ">).
This commit fixes that bug by handling these cases, and adds additional
unit tests to cover the failure cases.
Fixes issue 11957.
2024-05-17 20:51:37 +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
Sage Abdullah
40980bab9d
Fix CopyView not prefilling the form data for snippets
2024-05-14 10:39:01 +01:00
Matt Westcott
df4c283ced
Release note for #11951 in 6.1.1
2024-05-13 18:50:06 +01:00
sage
36892908b6
Fix form action URL in user edit and delete views for custom user models ( #11951 )
...
* Add test for the form action URL in the user edit and delete views
* Reinstate context_object_name in users EditView and DeleteView
Mistakenly removed in 83e79301a9
2024-05-13 18:47:12 +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
Matt Westcott
4f78cced7f
Speed up semgrep on pre-commit ( #11927 )
...
Skip version check, and only run on Python files
2024-05-04 10:40:31 +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
dependabot[bot]
538365fcfc
Bump ejs from 3.1.9 to 3.1.10
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 15:39:00 +10:00
LB Johnston
6b915f4abd
Fix spelling in `safe_snake_case` docstring
2024-05-03 15:37:28 +10:00
Matt Westcott
196cb02d10
Generate new strings for translation
2024-05-02 10:06:13 +01:00
Matt Westcott
1874350fbf
Update latest.txt for 6.1 / 5.2.5
2024-05-02 09:46:31 +01:00
Storm Heg
2031eb3d24
Give translators more context about how density is used ( #11918 )
2024-05-02 09:44: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
Jake Howard
ee57f6d4dc
Merge pull request from GHSA-w2v8-php4-p8hc
...
* Pass user to settings form to enable permissions checks
* Add tests for settings creation and editing
* Ensure all generic create / edit view forms receive `for_user`
Co-authored-by: Sage Abdullah <sage.abdullah@torchbox.com>
* Test field permissions on ModelViewTest
---------
Co-authored-by: Sage Abdullah <sage.abdullah@torchbox.com>
2024-05-01 12:14:16 +01:00
Matt Westcott
932402fd28
Fetch new translations from Transifex
2024-05-01 11:32:29 +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
08ee15a358
Remove --inline-actions variant of listing tables
...
This was added in f322e9d868
, when the
snippets listing view was briefly redesigned to put the "Edit", "Delete"
etc. actions in the same line as the title instead of in a new line.
With the universal listings design, all listing actions are put inside a
three-dot dropdown menu.
This style is no longer used anywhere in Wagtail, especially now that
the HistoryView has been reimplemented using the dropdown menu for the
actions.
2024-04-30 16:13:33 +01:00
Sage Abdullah
b8dd7f484f
Fix icon alignment in page listings
2024-04-30 16:13:33 +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