Matt Westcott
f77229da2a
Version bump to 4.0.4
2022-10-18 13:25:41 +01:00
Matt Westcott
e0b4938c1d
Renumber 4.0.3 to 4.0.4 in release notes
2022-10-18 13:24:53 +01:00
Thibaud Colas
2eca0a1456
Make sure chooser buttons can be revealed for all widgets. Fix #9260
2022-10-18 13:22:56 +01:00
Matt Westcott
4a54423dfc
Fetch new translations from Transifex
2022-10-18 11:13:15 +01:00
Matt Westcott
4468c03757
Version bump to 4.0.3
2022-10-18 10:46:56 +01:00
Matt Westcott
893dcf45b0
Fill in release date for 4.0.3
2022-10-18 10:46:39 +01:00
Matt Westcott
2be9217881
fix spacing on 4.0.3 release notes
2022-10-14 14:41:55 +01:00
Matt Westcott
676aa6d796
Release note for #9320 in 4.0.3
2022-10-14 14:37:49 +01:00
Farouk Yunusa
d097d964eb
Add correct custom property font usage to the userbar. Fix #9290 ( #9314 )
...
moved hardcoded font to userbar.scss file
2022-10-13 07:57:15 +01:00
Dan Bentley
09676deb8f
Fix preview for pages using Form page models #9266
...
- Adds missing form to preview context
- broke when moving to `PreviewableMixin` - see #8709
2022-09-30 07:34:44 +10:00
Matt Westcott
e29bee66fa
Reword special-purpose FieldPanel deprecation message for clarity #9265
...
Multiple people on Slack support have asked "how do I fix this error" now, which suggests that the wording here needs improvement...
* change "is obsolete" to "is no longer required", to make it sound less "your code is broken" and more "here's an improvement you can make" (but also state that it'll be removed in a future release, to make it clear that you have to do it soomer or later)
* leave out the full module paths - they're probably coming across as internal tech gobbledegook rather than informative, and obscuring the word "Panel" which is the most important thing in the message
* link to the release note to clear up any remaining confusion
2022-09-30 06:36:05 +10:00
Thibaud Colas
3d636c5e5e
Add 4.0.3 release notes with fix for #9134 ( #9259 )
2022-09-28 11:18:59 +01:00
Matt Westcott
c4966e3684
Ensure all panels output their own help_text ( #9240 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-09-28 10:54:21 +01:00
Matt Westcott
538328067b
Fill in release date for 4.0.2
2022-09-23 12:05:16 +01:00
Matt Westcott
59d1b9dd8e
Document django-taggit 3.0.0 requirement for Django 4.1
...
Alternative to #9244 , as per https://github.com/wagtail/wagtail/pull/9244#issuecomment-1255908946
2022-09-23 12:02:40 +01:00
Matt Westcott
cac67bae47
Generate new translation strings
2022-09-23 11:46:01 +01:00
Matt Westcott
9f0b48905f
Fetch new translations from Transifex
2022-09-23 11:45:03 +01:00
Matt Westcott
6b795c8c16
Release note for #9242
2022-09-23 11:16:01 +01:00
Matt Westcott
1a0c1f6b08
Warm up cache to ensure that assertNumQueries assertions are consistent when tests are run in isolation
2022-09-23 11:15:51 +01:00
Matt Westcott
6b102caa15
Reinstate cached_property on PermissionHelper
...
As per https://github.com/wagtail/wagtail/pull/9242#issuecomment-1254972249
2022-09-23 11:12:47 +01:00
Matt Westcott
65b1106b51
Add tests for modeladmin permission changes taking effect
...
Ref: #9207
2022-09-23 11:09:22 +01:00
Matt Westcott
52c98edc13
Revert "Cache model permission codenames in PermissionHelper"
...
This reverts commit cb4017c649
.
2022-09-23 11:09:12 +01:00
Daniel Kirkham
dfed8d1957
Fix note markup in developing doc
2022-09-22 15:11:00 +10:00
Matt Westcott
b81dfbbe96
Ensure MultiFieldPanel outputs all child classnames #9239
...
Fixes #9232 . The on-hover behaviour for StreamField controls relies on the classname `w-panel--nested` being set on a container element. This is added to FieldPanel via the `classes` method. However, MultiFieldPanel was outputting `child.classname` which only includes the classname passed to the panel constructor, bypassing the `classes` method. As a result, `w-panel--nested` was not being added.
2022-09-22 15:07:23 +10:00
Dan Braghis
d71a49fb00
Move the 'Translate' page header button to simple_translation's wagtail_hooks ( #9235 )
2022-09-21 15:38:46 +01:00
Matt Westcott
354ef20ddf
Ensure "recent edits" panel works when page record is missing
...
Fixes #9185
2022-09-21 08:16:02 +10:00
Matt Westcott
d556411078
Set related_name on user revision relation to avoid conflict with django-reversion ( #9234 )
...
Fixes #9158
2022-09-20 16:04:31 +01:00
Tidiane Dia
ab127df9cb
Fix entries per page selected value ( #9213 )
...
Fixes #9212
2022-09-20 16:01:50 +01:00
Tidiane Dia
e6e2f86249
Fix undefined error when some dropdowns aren't shown in the images index view ( #9211 )
...
Fixes #9210
2022-09-20 14:47:33 +01:00
LB Johnston
e097d23bd5
fix issue with edit page header delete button showing an invalid next_url
...
- fixes #9195
- header button on edit page & page listing - unpublish now correctly includes the next url (was missing on page listing previously)
- header button on edit page - delete button does not include next url (as this would be the edit page for what was deleted)
- adds more robust unit tests for the page listing & page header more hooks, including separating the tests out to separate classes
2022-09-20 14:24:07 +01:00
Storm Heg
4b0ac7e94b
Fix code style of example in Wagtail API docs
...
Example code should be compliant with PEP-8.
2022-09-19 21:49:32 +10:00
LB Johnston
76da53854c
fix contents in 2.16.3 release notes (again)
2022-09-19 19:59:28 +10:00
LB Johnston
f7e01c9e03
Add changelog entry for 4.0 - bulk actions for snippets #8574
...
- also add Shohan to contributors list
- resolves #8183
- cherry pick of 0e036d228f
2022-09-19 19:59:09 +10:00
Steve Stein
44d954e00a
Update alignment and reveal logic of fields’ comment buttons. Fix #9025 ( #9164 )
...
Co-authored-by: Steven Steinwand <steven_ts@hotmail.com>
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-09-14 16:54:56 +01:00
Steve Stein
ce43564bde
Use the correct type scale for heading levels in rich text. Fix #9027 ( #9189 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-09-14 13:59:49 +01:00
LB (Ben Johnston)
a4eb5a81df
Add missing vertical space between header and content in embed chooser modal. Fix #9182 ( #9186 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-09-14 13:42:09 +01:00
Stefan Hammer
3fe550c448
Fixed FilterFieldError in image search
...
- Also added test for the use case of a combined search request.
- Resolve issue where searches with a tag and a query param in the image listing would result in an `FilterFieldError`.
- This combined search will not be functional (will not combine as yet) but will not error.
- Fixes #9160
2022-09-14 08:38:36 +10:00
Matt Westcott
3853ad9679
Revert chooser button labels to "Choose another X"
...
Fixes #9113
2022-09-14 07:41:24 +10:00
LB (Ben Johnston)
8759c2f179
Fix for chooser modals with no tabs (layout & JS console error). Fix #9130 ( #9159 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-09-13 13:36:40 +01:00
Matt Westcott
74d897a54c
Add PyPI classifier for Wagtail 4 to developer docs
2022-09-13 09:45:23 +01:00
LB Johnston
31fe40d61c
minor docs fixes
2022-09-12 22:00:26 +10:00
LB Johnston
35f75f0f14
add changelog for #9172
2022-09-12 22:00:26 +10:00
Thibaud Colas
735c4616af
Add alternative text for all documentation screenshots
2022-09-12 22:00:25 +10:00
Thibaud Colas
b57c0bf744
Update editor manual screenshots
2022-09-12 22:00:25 +10:00
Thibaud Colas
86c36e8336
Update all documentation images except editor manual
2022-09-12 22:00:25 +10:00
Thibaud Colas
f3821a31fa
Update screenshots for our tutorial
2022-09-12 22:00:25 +10:00
Thibaud Colas
3a4365c4d8
Remove unused documentation images
2022-09-12 22:00:25 +10:00
Thibaud Colas
8aa82da8d9
Rename docs images only relevant for specific releases
2022-09-12 22:00:25 +10:00
Thibaud Colas
83fad2f52c
Remove unused image
2022-09-12 22:00:25 +10:00
Christophe Bastin
2e16111ef5
docs: APIField naming ( #9173 )
2022-09-09 13:48:35 +01:00