0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 09:33:54 +01:00
Commit Graph

14031 Commits

Author SHA1 Message Date
Albina Starykova
bd13f567fe Ensure visual consistency between buttons and links as buttons in WHCM
- Fix secondary-button disabled state
- Fix legacy dropdown in WHCM
- Fixes #9078
2022-10-21 08:35:12 +10:00
Lovelyfin00 (Nutjob)
91de7a126d Ensure authentication forms have a visible border in Windows high contrast mode
- fixes #9350
2022-10-20 23:01:30 +10:00
DokuaAsiedu
cec5f3ccf5 Documentation - Fixes in editor's manual (inserting images)
- Changed heading level of 'Choosing an image to insert' to h3 as it seemed to give more insight on 'Inserting images using the image chooser field'
- Wrapped 'Search' tab within an emphasis tag.
- Change of some formatting in inserting_images.md
2022-10-20 22:09:46 +10:00
LB Johnston
7430167751 Changelog entry for #9414 2022-10-20 22:03:40 +10:00
Matt Westcott
3bc6e0c5aa Remove unsquashed testapp migrations 2022-10-20 22:02:49 +10:00
Buraah
674c67b933 4.1 Release notes - fix upgrade considerations
- Corrected a typo relating to WagtailPageTests usage and fixed whitespace issue
2022-10-20 21:59:15 +10:00
LB Johnston
a4f6c04613 Add changelog for #9411 2022-10-20 21:53:58 +10:00
Dan Hayden
3ba25576f5
Add custom permissions section to permissions docs (#9411)
* Update docs/topics/permissions.md
2022-10-20 21:52:02 +10:00
Damilola Oladele
0fb66cd663
Grammatical adjustments of writing templates usage guide to resolve issue #9400 (#9401)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-20 08:29:09 +01:00
Vicky
6314b2540c
Adding xmlns attribute in all icon files (#9393)
See https://github.com/wagtail/wagtail/compare/main...vicky1312:wagtail:vi#issuecomment-1276245262

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-19 22:16:33 +01:00
Albina
9a02879432
Improve grammar, spelling, and punctuation in Getting started section (#9394)
Co-authored-by: Matt Westcott <matthew@torchbox.com>
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-19 21:52:58 +01:00
Albina
1434a93c54
Improve grammar, spelling, and punctuation in Contributing to Wagtail section (#9396)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-19 21:51:16 +01:00
Albina
4f478a514b
Improve grammar, spelling, and punctuation in Extending Wagtail section (#9373) 2022-10-19 21:41:50 +01:00
Lovelyfin00
86437515a3
Make sure workflow timeline icons are visible in high-contrast mode. Fix #9349 (#9383)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-19 21:35:05 +01:00
Matt Westcott
c5580b896a Fix TestWhatsNewInWagtailVersionPanel for Django 4.2a0
This fails from 6220c445c4 onward - evidently it's picking up a stale copy of the user profile object from the request, from before the database update has happened. Fix this by performing the database update before building the request.
2022-10-19 16:48:29 +01:00
Matt Westcott
55858c0dc0 Do not install django-rest-framework master when testing against Django main
This was added in 070b0bdfa4 to ensure https://github.com/encode/django-rest-framework/pull/8556 was in place, but this fix has now been released in django-rest-framework 3.14.
2022-10-19 16:48:29 +01:00
Matt Westcott
b24422194d Add Sage to core team 2022-10-19 15:30:39 +01:00
Matt Westcott
ddce86f461 Version bump to 4.2 2022-10-19 07:26:17 +10:00
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