Thibaud Colas
195985115a
Rename page_header_buttons template for consistency with tag name
2023-06-26 13:55:07 +01:00
Sage Abdullah
b8a7ad04a6
Release notes for #10592
2023-06-26 11:15:40 +01:00
Matt Westcott
6ee9d245d2
Use generic listing.html for page type usage view
2023-06-26 11:07:14 +01:00
Matt Westcott
ec80ede1c4
Move page-related column definitions to wagtail.admin.ui.tables.pages
2023-06-26 11:07:13 +01:00
Matt Westcott
6c818f1695
Restore the valign='top' style
2023-06-26 11:07:13 +01:00
Matt Westcott
7a9c9449bb
Use generic listing_results.html for usage_results.html
2023-06-26 11:07:13 +01:00
Matt Westcott
fbfe8fe75f
Add a BaseColumn class for things that don't have a meaningful 'value' to put in the context
2023-06-26 11:07:13 +01:00
Matt Westcott
bdce0a0388
Use table component for the page type usage listing
2023-06-26 11:07:13 +01:00
Matt Westcott
370973dce3
Change pagination include on page type usage view to match generic listings
2023-06-26 11:07:13 +01:00
Matt Westcott
3536f5f05c
Convert page type usage view to a ListView
2023-06-26 11:07:12 +01:00
Matt Westcott
aa81dfd6fe
Convert page type usage view to a class-based view
2023-06-26 11:07:12 +01:00
Matt Westcott
ce5a8a33eb
Move _list_explore.html block overrides into _list.html
...
_list.html is no longer used for anything other than the explorer
2023-06-26 11:07:12 +01:00
Matt Westcott
93dc25fe76
Remove unnecessary features from _list_page_report.html
...
Reports do not enable any of full_width, show_ordering_column, show_bulk_actions or show_parent; the title cell does not need an ID as that's only used for the aria-labelledby attribute on the bulk action checkbox which we don't have; and do not have navigation controls so there's no need to define a page_navigation block.
2023-06-26 11:07:12 +01:00
Matt Westcott
c4d85756cd
Replicate pages/listing/_list.html in reports/listing/_list_page_report.html instead of inheriting
...
This will allow us to refactor the pages index view further without affecting reports.
2023-06-26 11:07:12 +01:00
Matt Westcott
2aacac3e3d
Move help messages outside of the page listing table
...
They were only ever there because the parent page header used to be the first row of the table.
2023-06-26 11:07:12 +01:00
Matt Westcott
ce0e745c7d
convert page listing view to a ListView
2023-06-26 11:07:11 +01:00
Matt Westcott
18038c3ebe
Convert page listing view to TemplateView
2023-06-26 11:07:11 +01:00
Matt Westcott
2535fe0e3c
Use PermissionCheckedMixin in place of user_passes_test
2023-06-26 11:07:11 +01:00
Matt Westcott
ccb08a3a8a
Convert page listing view to a class-based view
2023-06-26 11:07:11 +01:00
D.M. Oladele
6d4265cbfa
Move the tutorial’s snippets section before tags
2023-06-23 15:37:58 +01:00
D.M. Oladele
71b98f3161
Revamp the start of the getting started section, with separate quick install page
2023-06-23 11:12:14 +01:00
LB Johnston
f6d119a6dd
Add changelog for #10502
...
- Fixes #9360
2023-06-22 08:11:54 +10:00
Sage Abdullah
aebca4781e
Defer preview panel iframe src loading until it's opened
2023-06-22 08:11:54 +10:00
Sage Abdullah
281a980736
Defer preview data updates until the preview panel is opened
2023-06-22 08:11:54 +10:00
Sage Abdullah
e598589ac6
Debounce live preview updates to prevent making too many requests
2023-06-22 08:11:54 +10:00
Daniel Kirkham
17230d183a
Add ordering for group editor object permissions
...
- Ensure the sorting will preserve Django's Permission model ordering as per ordering = ["content_type__app_label", "content_type__model", "codename"]
- `ordering = ["content_type__app_label", "content_type__model", "codename"]`
- Closes #10468
2023-06-22 08:11:04 +10:00
Jake Howard
f5187d1938
Don't redundantly try and find a site
...
We don't actually use the site. In all cases, it's sensible to fall back to passing the request instead, as this should improve cache ratios
2023-06-22 06:55:13 +10:00
Fabien Le Frapper
13672a1e7c
Add YouTube Live url to oEmbed all_providers
2023-06-22 06:50:29 +10:00
Matt Westcott
1df7048dfd
Update latest.txt for 5.0.2
2023-06-21 15:17:54 +01:00
Matt Westcott
545d1fc9ea
Fill in release date for 5.0.2
2023-06-21 13:56:11 +01:00
Matt Westcott
42a459dc2b
Fetch new translations from Transifex
2023-06-21 13:51:54 +01:00
Sage Abdullah
90ee3389fb
Fetch new translations from Transifex
2023-06-21 13:43:58 +01:00
Matt Westcott
401afe7a81
Release note for #10575 in 5.0.2
2023-06-20 13:26:28 +01:00
Thibaud Colas
f3f2589b7c
Use custom dark theme colors for revision comparisons. Fix #10552
2023-06-20 13:24:09 +01:00
Matt Westcott
4dd99007f6
Release note / upgrade consideration for TitlefieldPanel #10568
2023-06-20 13:03:03 +01:00
LB Johnston
c85eaae5a7
Add TitleFieldPanel to support shared usage of title field sync
...
- Avoid a widget approach used on default content_panels on Page, instead allow a shared TitleFieldPanel to be used
- Fixes #10517
2023-06-20 08:33:54 +10:00
zerolab
61f0f4d362
Upgrade ruff version ( #10556 )
...
Address "Unnecessary list comprehension" issues
2023-06-19 17:49:17 +01:00
Sage Abdullah
e6e392dc96
Release notes for #10562
2023-06-19 15:29:30 +01:00
Sage Abdullah
09ea58b53b
Update upgrade considerations regarding user_page_permissions
2023-06-19 15:25:03 +01:00
Sage Abdullah
be81209b43
Reinstate user_page_permissions context variable as part of the page_permissions tag
2023-06-19 15:25:02 +01:00
Sage Abdullah
f8d5151140
Move UserPagePermissionsProxy deprecation warning to each method
2023-06-19 15:25:02 +01:00
Sage Abdullah
6531c4ff98
Reinstate UserPagePermissionsProxy object in ActionMenuItem's context
2023-06-19 15:25:02 +01:00
Sage Abdullah
aa88061824
Simplify user_has_any_page_permission to only use PagePermissionPolicy.user_has_any_permission()
2023-06-19 15:25:02 +01:00
Sage Abdullah
1d0609826d
Simplify publish and edit permissions check in NotificationPreferencesForm
2023-06-19 15:25:02 +01:00
Sage Abdullah
c6f1667e5f
Fix incorrect user_has_any_permission usage
2023-06-19 15:25:02 +01:00
Sage Abdullah
1b4d7902b1
Deprecate wagtail.admin.auth.users_with_page_permission
2023-06-19 15:25:02 +01:00
Sage Abdullah
88ba49b496
Add upgrade considerations for get_pages_with_direct_explore_permission and get_explorable_root_page
2023-06-19 15:25:01 +01:00
Sage Abdullah
cddb2d657a
Deprecate get_explorable_root_page
2023-06-19 15:25:01 +01:00
Sage Abdullah
d4f9f3f9d1
Deprecate get_pages_with_direct_explore_permission
2023-06-19 15:25:01 +01:00
Sage Abdullah
18379f0131
Replace get_explorable_root_page() usage with PagePermissionPolicy.explorable_root_instance()
2023-06-19 15:25:01 +01:00