0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

14654 Commits

Author SHA1 Message Date
Matt Westcott
e52a557c05 Add release notes for #10050 in 4.2.1 2023-02-13 12:39:01 +00:00
Matt Westcott
48731afa58 Release note for #10050 in 4.1.3 2023-02-13 12:38:17 +00:00
Matt Westcott
c21bb79d23 copy across 4.1.3 release notes 2023-02-13 12:38:10 +00:00
Matt Westcott
63de25a9da Release note for #10050 in 5.0 2023-02-13 12:06:38 +00:00
Tidiane Dia
8a78a51066 Implement __reduce__ in StructValue class 2023-02-13 12:04:02 +00:00
Tidiane Dia
fc09a2cedf Add failing test 2023-02-13 12:04:02 +00:00
Albina
38ea027d04
Implement new simplified userbar designs (#9989)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-13 09:55:20 +00:00
LB (Ben Johnston)
8aa892bf0f
Add recent third party tutorials (Feb 2023) (#10059) 2023-02-10 23:02:02 -05:00
LB Johnston
93d3652a15 Documentation - fix whitespace issues 2023-02-11 08:29:13 +10:00
Jaap Roes
f9872fae03 Make sure get_site_root_paths returns a list of SiteRootPath objects (#8819)
Fixes #8062
2023-02-10 15:55:00 +00:00
Matt Westcott
11b9448dc0 Changelog entries for #9974, #9987, #9996 2023-02-10 14:44:55 +00:00
Sage Abdullah
e00a80e91d Test logout mechanisms with POST request and form action 2023-02-10 14:41:58 +00:00
Sage Abdullah
345873f99f Use ActionMenuItem for 'Log out' button 2023-02-10 14:41:58 +00:00
Sage Abdullah
cf269272be Add ActionMenuItem sidebar component
This represents a button wrapped in a form element with customisable action and method attributes
2023-02-10 14:41:58 +00:00
Sage Abdullah
b17c72cf3d Test Django main against django-modelcluster main branch
To be removed when a new release of django-modelcluster with the necessary fixes is out.
2023-02-10 14:41:58 +00:00
Sage Abdullah
d73210026d Fix flake8 A504 errors 2023-02-10 14:41:58 +00:00
Sage Abdullah
32bc42b64a Put WagtailTestUtils before TestCase in inheritance MRO
This allows WagtailTestUtils to override the methods in TestCase
2023-02-10 14:41:58 +00:00
Sage Abdullah
b05982e4d2 Add compatibility shims for test methods 2023-02-10 14:41:58 +00:00
Sage Abdullah
c232988059 Add default chunk_size value to iterator() in fallback search backend 2023-02-10 14:41:58 +00:00
Sage Abdullah
b5e967347f Remove pytz.utc and django.utils.timezone.utc usages 2023-02-10 14:41:58 +00:00
Matt Westcott
692147afdc Add upgrade consideration note for use_json_field 2023-02-10 13:20:34 +00:00
Matt Westcott
83cbd2fffa Add missing changed=False initialisation 2023-02-10 13:20:34 +00:00
Matt Westcott
64c8ccc59e fix testapp migration conflict 2023-02-10 13:20:34 +00:00
Matt Westcott
a78e80e9c6 Rotate deprecation warning classes 2023-02-10 13:20:34 +00:00
Matt Westcott
a634045b6c Remove remaining versionadded directives from before 4.2 2023-02-10 13:20:34 +00:00
Matt Westcott
d5f787030a Update docs for use_json_field
Indicate that this must now be set to True.
2023-02-10 13:20:34 +00:00
Matt Westcott
635db6d850 Update richtext to streamfield migration snippet
Perform the data migration while it's still a rich text field, to avoid the need for `use_json_field=False`. Also work around the unavailability of `page.revisions` on frozen ORM models (which has been absent since 4.0, since it's now a property on RevisionMixin rather than a true relation).
2023-02-10 13:20:33 +00:00
Matt Westcott
5c653002a2 Remove support for use_json_field=False StreamFields
use_json_field=False (outside of migrations) now throws an ImproperlyConfigured exception. In Wagtail 6.0 this will be changed to default to True, and user code can remove it - we cannot do this in 5.0 because this would mean that site owners who have not already generated the migrations to change legacy StreamFields to use_json_field=True will be unable to do so (since makemigrations will see no changes).
2023-02-10 13:20:33 +00:00
Coen van der Kamp
619f395980 Add new "Icons" page for icons customisation and reuse across the admin interface (#6028)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-10 07:22:45 +00:00
Thibaud Colas
51f0f82b2f
Update Draftail entity source example recording (#10054) 2023-02-09 09:39:53 +00:00
Lovelyfin00
fd9eed97d7 Converted button-longrunning to a Stimulus Controller
- implemented afterLoad in Stimulus button-longrunning to support non-adopted data attributes
- Partial completed #9910
2023-02-09 09:44:18 +10:00
Matt Westcott
ae996ab0f2 Add release note about removal of deprecated features 2023-02-08 14:25:09 +00:00
Matt Westcott
18a574b520 Remove old versionadded / versionchanged directives from docs 2023-02-08 14:25:09 +00:00
Matt Westcott
42ed2dc30d remove note about removing unsquashed testapp migrations
we already did it in #9414
2023-02-08 14:25:09 +00:00
Matt Westcott
2a6c4c6e1c remove deprecated wagtail.tests modules 2023-02-08 14:25:09 +00:00
Matt Westcott
3faa5c51c6 remove get_snippet_edit_handler 2023-02-08 14:25:09 +00:00
Matt Westcott
f9391de81a Remove deprecated Panel internals 2023-02-08 14:25:09 +00:00
Matt Westcott
1a0344216c Remove fallback on BASE_URL 2023-02-08 14:25:09 +00:00
Matt Westcott
1e4417ae0c Remove AdminChooser widget class 2023-02-08 14:25:09 +00:00
Matt Westcott
981d02ff1a Remove BaseSetting 2023-02-08 14:25:09 +00:00
Matt Westcott
7f0b1b6094 Handle modeladmin deprecations 2023-02-08 14:25:09 +00:00
Matt Westcott
9d41aec99a Remove deprecated page-specific methods from revisions 2023-02-08 14:25:09 +00:00
Matt Westcott
7f111d257e Remove wagtail.core 2023-02-08 14:25:09 +00:00
Matt Westcott
3cb4033a11 Remove deprecated edit handlers / panels 2023-02-08 14:25:09 +00:00
Matt Westcott
1c2d828e7b Remove deprecated createXChooser JS functions 2023-02-08 14:25:09 +00:00
Matt Westcott
a7bd0c431f Defer icon class_name and Azure cache backend deprecations to 6.0 2023-02-08 14:25:09 +00:00
Lovelyfin00
b336536015 User - Reimplement Gravatar switching without JS
- Resolves #9972
- Avoids inline script for a solution that can be CSS/HTML only
- Use translatable alt text for when the default avatar is selected
- Relates to #1288 & #5247 (CSP compliance)
2023-02-07 21:18:31 +10:00
Aadi jindal
1ffa497886 fixed Uncaught TypeError: Cannot read properties of undefined (reading 'getTextLabel') in admin and missing stream blocks. (#10023)
Fixes #9990
2023-02-06 19:37:11 +00:00
Matt Westcott
82d81f38b8 Update latest.txt for 4.2 / 4.1.2 2023-02-06 14:04:27 +00:00
Matt Westcott
1bc0cba5fb Fill in release date for 4.2 2023-02-06 13:07:28 +00:00