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

14013 Commits

Author SHA1 Message Date
Matt Westcott
feecacd288 Add changelog / release notes for 4.2 2022-10-19 07:26:17 +10:00
Matt Westcott
1b46f996fb Update latest.txt for 4.0.4 release 2022-10-18 14:01:04 +01:00
Matt Westcott
1a72b2a557 Renumber 4.0.3 to 4.0.4 in release notes 2022-10-18 13:26:51 +01:00
Matt Westcott
e0e49f8e8a Generate new strings for translation 2022-10-18 12:18:28 +01:00
Matt Westcott
29b2d47158 Version bump to 4.1rc1 2022-10-18 12:15:38 +01:00
Matt Westcott
a8868b728e Fetch new translations from Transifex 2022-10-18 11:15:25 +01:00
Matt Westcott
7fc434cdcd Fill in release date for 4.0.3 2022-10-18 11:15:17 +01:00
Oliver Parker
19fd2ceb98 Add ability to check permission on parent PanelGroup class
- Used by TabbedInterface, ObjectList, FieldRowPanel, MultiFieldPanel
2022-10-18 09:53:13 +10:00
Jake Howard
55f42d29c8 Mention using the image_url tag for increased performance on image URLs 2022-10-18 08:16:02 +10:00
LB Johnston
e7f007c6c2 Add changelog & release notes for #9294 2022-10-18 08:00:20 +10:00
Andy Babic
c94ba56128 Documentation - update testing page with WagtailPageTestCase
- Docs for #9294
2022-10-18 08:00:20 +10:00
Andy Babic
f6a92bf7d2 Add new test assertions to WagtailPageTestCase
- Add assertions, and move them to a new TestCase that allows use without forcing authentication for every test
- Add routes and preview modes to RoutablePageTest to facilitate testing
- Move assertion tests out of admin app
- Add custom test assertions for pages
- Use default value for exclude_csrf in assertPageIsEditable
- Use publish action when posting in assertPageIsEditable for better coverage
- Update assertPageIsEditable to always make both a GET and POST request
2022-10-18 08:00:20 +10:00
Juliet Adeboye
284535166a
Use the py command from Python Launcher for Windows in tutorial (#9338)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-17 22:56:14 +01:00
Jake Howard
e991a8e8d9 Use a temporary redirect for image URLs when using serve view
- If the underlying image changes underneath (eg S3 file key), then the rendition URL becomes incorrect. Use a temporary redirect in this case.
- Set cache control header when serving images
- This will help with the redirect no longer being permanent
2022-10-18 07:40:22 +10:00
Thibaud Colas
52e55a7c46
Implement new minimap component for forms with side panels. Fix #8673 (#9345) 2022-10-17 18:52:09 +01:00
Thibaud Colas
61b8336978 Release notes for #9344 2022-10-17 17:39:37 +01:00
Sage Abdullah
2f7f462440 Add tests for dismissible menu items 2022-10-17 17:39:37 +01:00
Sage Abdullah
0a0e07abc0 Add help menu with dismissible badges
By default, the menu contains a link to a blog post
showcasing features in Wagtail 4.1 and a link to the editor guide.

We need to update the links and labels manually in the next release.
2022-10-17 17:39:37 +01:00
Sage Abdullah
4e5f4ca4ec Add tests and docs for WhatsNewInWagtailVersionPanel 2022-10-17 17:39:37 +01:00
Sage Abdullah
28ed884581 Add WhatsNewInWagtailVersionPanel to home dashboard
Can be disabled via WAGTAIL_ENABLE_WHATS_NEW_BANNER setting.

We need to update the link and content in the next release if necessary.
2022-10-17 17:39:37 +01:00
Sage Abdullah
9f30d2dd14 Add tests for Dismissibles view 2022-10-17 17:39:37 +01:00
Sage Abdullah
b115e03d28 Add view and client script for Dismissibles 2022-10-17 17:39:37 +01:00
Sage Abdullah
a70ae4844a Add dismissibles field to UserProfile model 2022-10-17 17:39:37 +01:00
Sage Abdullah
34a79d36ad Add attrs to base MenuItem class and default it to empty dict 2022-10-17 17:39:37 +01:00
Sam Moran
45f0c73ff4 Update version.js to accept dev build version format
- fixes #9184
2022-10-17 22:06:08 +10:00
Matt Westcott
f86073c55e Release note for #9304 2022-10-17 12:50:41 +01:00
Matt Westcott
f37768ecaf Revise wagtailsearch migrations to avoid keeping editorspick table around
Fixes #1824, as per the outline in https://github.com/wagtail/wagtail/issues/1824#issuecomment-1271840741. Revise the existing migrations so that rather than keeping the wagtailsearch_editorspick table in place and unmanaged for the wagtail.contrib.search_promotions app to potentially rename and adopt, search_promotions creates its own table. This then leaves wagtailsearch free to delete wagtailsearch_editorspick properly in a new migration, to be run on both new and upgraded projects (although this needs to be done inside an existence check, in case the old version of the search_promotions app migrations have already run and renamed the table).
2022-10-17 12:47:31 +01:00
LB Johnston
4b0f69fc04 Add changelog for #9376 2022-10-17 21:46:55 +10:00
D.M. Oladele
7376bb63bb Documentation - Getting started tutorial clarity for new developers #9327
* Your first wagtail tutorial adjusted for better clarity to help users new to Django framework
* Fixes #9332
2022-10-17 21:43:44 +10:00
Steve Stein
5112c0eaa8
Improve side panels’ resizing in page editor and listings, and breadcrumbs alignment. Fix #9036 (#9090)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-17 12:18:02 +01:00
LB Johnston
fb2c7760a5 Documentation - update package versions
- Upgrade Wagtail sphinx theme to 5.3.2
- Upgrade MyST parser to 0.18.1
- add sphinx_copybutton
- https://github.com/wagtail/sphinx_wagtail_theme/blob/main/CHANGELOG.md#531---2022-10-13
- https://github.com/wagtail/sphinx_wagtail_theme/blob/main/CHANGELOG.md#532---2022-10-16
2022-10-17 10:07:44 +01:00
Lovelyfin00 (Nutjob)
79d918ed42 Removed extra dot in Wagtail version on admin settings menu item
- Fixes #9352
2022-10-17 08:33:27 +10:00
Oliver Parker
6341d90f56 Support "--verbosity 0" on update_index command
- Ensure that the `update_index` command can run without console output if called with `--verbosity 0`
- rebase of #4401
2022-10-17 08:15:14 +10:00
Ruqouyyah Muhammad
398c575153
Add missing rendered output in documentation guidelines. Fix #9331 (#9365)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-16 01:12:57 +01:00
Matt Westcott
e9ce02d409 Release note for #9347 2022-10-14 18:40:15 +01:00
Matt Westcott
c165814311 Fix focus handling when blocks are inserted with animation
Calling focus() on a block immediately after inserting it with animate:true has been broken since d3e58f7908, since the field only becomes focusable once the animation begins. Address this by adding a new 'focus' option to the BaseSequenceChild constructor and related insert methods, to indicate that the block should be focused as soon as it becomes available.
2022-10-14 18:36:08 +01:00
Matt Westcott
e0266c276a Don't split block when inserting a new block at the end 2022-10-14 18:34:05 +01:00
Matt Westcott
6885eedb52 Pass widget instance to command classes 2022-10-14 18:34:05 +01:00
Matt Westcott
e635daf5a3 Move split command into its own class 2022-10-14 18:34:05 +01:00
Matt Westcott
afc0c6d0a4 Move logic for Draftail block insertion commands into its own class 2022-10-14 18:34:05 +01:00
Matt Westcott
0de901014b Remove misleading dynamic text for split command
The splitter always splits into 2 - the number of blocks in the content is not relevant.
2022-10-14 18:34:05 +01:00
Matt Westcott
80f17710d1 Move getFullOptions into a method on BoundDraftailWidget 2022-10-14 18:34:05 +01:00
Matt Westcott
813c1fa74b Make boundDraftail into a proper class 2022-10-14 18:34:05 +01:00
Seremba Patrick
4ec7724728
Add missing asterisk to title field placeholder. Fix #9028 (#9348)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-14 17:48:15 +01:00
Matt Westcott
54717b6b0a fix spacing on 4.0.3 release notes 2022-10-14 14:42:24 +01:00
Matt Westcott
a899f20bbc Release note for #9320 in 4.1 2022-10-14 14:41:06 +01:00
Matt Westcott
47d3ffac7c Release note for #9320 in 4.0.3 2022-10-14 14:40:03 +01:00
Thibaud Colas
a005f66475 Make sure chooser buttons can be revealed for all widgets. Fix #9260 2022-10-14 14:32:02 +01:00
sag᠎e
01dbababa9
Remember last opened side panel in the editor on page load (#9269)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-14 14:27:59 +01:00
Thibaud Colas
7c1d73cbea
Update InlinePanel’s headings text and level (#9316) 2022-10-14 14:14:04 +01:00