Wykres commitów

15680 Commity (708e69f2728e3dfe263c94e3a18bfc637cd3387d)

Autor SHA1 Wiadomość Data
Sage Abdullah 8bb52cffd1 Move _get_permission_objects_for_actions to BaseDjangoAuthPermissionPolicy 2023-06-27 18:59:25 +01:00
Sage Abdullah 9c602bc9a8 Use get_permission_codename in permission policies
Also change PagePermissionPolicy to subclass OwnershipPermissionPolicy
as it technically implements the ownership logic
2023-06-27 18:59:25 +01:00
Sage Abdullah bc5e0c8b5e Fix PagePermissionPolicy to work with Django's Permission model 2023-06-27 18:59:25 +01:00
Sage Abdullah 0bf5cc336c Add migration to enforce GroupPagePermission.permission not-null and remove permission_type field 2023-06-27 18:59:25 +01:00
Sage Abdullah 78c00f3f06 Add migration to populate GroupPagePermission.permission 2023-06-27 18:59:25 +01:00
Sage Abdullah fe1629ed9c Add foreign key to Django's Permission model in GroupPagePermission 2023-06-27 18:59:25 +01:00
Sage Abdullah 2e94f850c2 Add default page permissions for Django's Permission model 2023-06-27 18:59:25 +01:00
LB Johnston 1f5069758a Remove unused window.tagit_opts declarations
- Additional clean up from #10102
- See #10100
2023-06-27 20:10:31 +10:00
Sage Abdullah 2eaaf0b1bd
Release notes for #10102 2023-06-27 09:25:50 +01:00
LB Johnston 150e988f4d
Migrate Tagit init JS to TagController
- Closes #10100
2023-06-27 09:23:01 +01:00
LB Johnston 82ca711f16
Rename initTagField to TagController 2023-06-27 09:23:01 +01:00
LB Johnston 4195f80d29
Create shared util domReady 2023-06-27 09:23:01 +01:00
Sage Abdullah 0ba6cb726c Fix taggit/tagit autocomplete text colour in dark mode
- Relates to #10418
2023-06-27 08:01:57 +10:00
Vitaly Babiy 1042568e5c
Documentation - Fix mMissing Menu Prefix in example (#10599) 2023-06-27 07:53:52 +10:00
Jake Howard 13a350ed26
Use `constant_time_compare` to verify image signatures 2023-06-26 14:27:12 +01:00
Thibaud Colas ff327d5318 Release notes for #10557 2023-06-26 14:03:08 +01:00
Thibaud Colas 4bd1f7b267 Add a way to hide the tooltip on click for chooser widgets 2023-06-26 13:55:09 +01:00
Thibaud Colas 466e43e571 Fix "More" dropdown for bulk actions 2023-06-26 13:55:09 +01:00
Thibaud Colas 65c37b34bc Fix text wrapping 2023-06-26 13:55:08 +01:00
Thibaud Colas 830c7c62d8 Re-implement unit tests depending on dropdown markup 2023-06-26 13:55:08 +01:00
Thibaud Colas 586358632e Fix color contrast for "More" bulk actions button text 2023-06-26 13:55:08 +01:00
Thibaud Colas 55fd422eb6 Remove now-unused c-dropdown / data-dropdwon implementation 2023-06-26 13:55:08 +01:00
Thibaud Colas 3b3d4ed981 Remove Tippy implementation migrated to Stimulus 2023-06-26 13:55:08 +01:00
Thibaud Colas 7516b55e83 Switch bulk actions’ "More" dropdown to new component 2023-06-26 13:55:08 +01:00
Thibaud Colas 749cd1cad8 Switch locale chooser to new dropdown component 2023-06-26 13:55:08 +01:00
Thibaud Colas ff822babb4 Refactor "More" listing dropdowns to new dropdown component 2023-06-26 13:55:08 +01:00
Thibaud Colas 830ae5d12a Refactor Switch locale button in side panel to dropdown component 2023-06-26 13:55:08 +01:00
Thibaud Colas af4aab7ad3 Refactor page Actions menu to use new dropdown component 2023-06-26 13:55:08 +01:00
Thibaud Colas 2b1f13a109 Add missing exports 2023-06-26 13:55:07 +01:00
Thibaud Colas 9798306f0e Update chooser styles to match designs 2023-06-26 13:55:07 +01:00
Thibaud Colas 1f15f52a6d Update chooser widgets to use new dropdown component 2023-06-26 13:55:07 +01:00
Thibaud Colas d288b2f81e Add new dropdown component based on Tippy.js 2023-06-26 13:55:07 +01:00
Thibaud Colas f985262959 Allow all stories within subfolders of shared templates to appear in the same section 2023-06-26 13:55:07 +01:00
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