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
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
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
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