Karl Hobley
40c1227edc
Use Lock objects in page action menus
...
Removes about 20 queries
2022-08-11 13:17:58 +01:00
Karl Hobley
315d9a938a
Refactor how lock banner messages are constructed
2022-08-11 13:17:37 +01:00
Karl Hobley
9dcf09d27f
Implement a .get_lock() method on LockableMixin
2022-08-11 13:17:37 +01:00
Karl Hobley
1cec004d97
Extract page locking fields into a mixin
2022-08-11 13:17:37 +01:00
Sage Abdullah
fcbb494747
Show Status column in snippet chooser view if DraftStateMixin is applied
2022-08-11 10:03:32 +01:00
Sage Abdullah
0960e5f596
Allow StatusTagColumn to dynamically add the primary class
2022-08-11 10:03:32 +01:00
LB Johnston
fd9a4a8745
add documentation for overriding the password reset form content
...
- relates to work done via #8925
- relates to request for override capacity in #2309
2022-08-10 20:32:35 +01:00
Matt Westcott
5de877967d
Reword static files docs to fix formatting error
2022-08-10 20:01:17 +01:00
Matt Westcott
61ed6caa57
Add upgrade consideration note for change to BaseSetting
2022-08-10 19:56:57 +01:00
Matt Westcott
29d564c238
Release note for #6411
2022-08-10 19:42:00 +01:00
Andy Babic
fab0f7bb68
Add test for InvokeViaAttributeShortcut
2022-08-10 18:52:46 +01:00
Andy Babic
ca115e6509
Make InvokeViaAttributeShortcut pickleable
2022-08-10 18:52:46 +01:00
Andy Babic
9922d80e30
Ignore self.page_url when pickling a site settings object
2022-08-10 18:52:46 +01:00
Andy Babic
9e717ced1d
Add failing test
2022-08-10 18:52:46 +01:00
LB Johnston
4151b8ae21
add changelog for #8964
2022-08-10 15:15:20 +10:00
Thibaud Colas
2c17d5021a
Update to latest Draftail, draftjs-filters
2022-08-10 15:15:20 +10:00
Thibaud Colas
cee3e6d28b
Add target styles for block toolbar
2022-08-10 15:15:20 +10:00
Thibaud Colas
5014c2ea1c
Move rich text comments from block toolbar to inline
2022-08-10 15:15:20 +10:00
Thibaud Colas
dca2294293
Fully move rich text split from meta toolbar to block toolbar
2022-08-10 15:15:20 +10:00
Thibaud Colas
53dded86c8
Update base Draftail/TextField form styles to match designs
2022-08-10 15:15:20 +10:00
LB Johnston
41db4c62c4
add changelog for #8934
2022-08-10 15:08:57 +10:00
Thibaud Colas
b253a3850f
Use field_row template tag for search term picker field
2022-08-10 15:08:57 +10:00
Thibaud Colas
c620e58c86
Fix keyboard focus not showing the chooser‘s actions
2022-08-10 15:08:57 +10:00
Thibaud Colas
21b5ad5ce9
Update chooser styles across all types
2022-08-10 15:08:57 +10:00
LB Johnston
8068d6f233
add changelog for #8820
2022-08-10 14:53:41 +10:00
Matt Westcott
f9fe6d0ca8
Documentation for generating chooser blocks via ChooserViewSet
2022-08-10 14:53:41 +10:00
Matt Westcott
252f9dcc1f
Use ChooserViewSet to generate DocumentChooserBlock
2022-08-10 14:53:41 +10:00
Matt Westcott
161dd69c8a
Implement generating a StreamField ChooserBlock from ChooserViewSet
2022-08-10 14:53:41 +10:00
Matt Westcott
316493873f
Allow specifying target_model on ChooserBlock subclasses as a string
2022-08-10 14:53:41 +10:00
Matt Westcott
b10acebd31
Replace ChooserBlock get_form_state methods with a base implementation that delegates to the widget
2022-08-10 14:53:41 +10:00
Matt Westcott
90e91e0e4a
Consistently use edit_url in the state representation of choosers
...
Previously we were using edit_link in dicts handled by JS, and edit_url in dicts handled by Python, meaning that ChooserBlock.get_form_state had to rewrite it
2022-08-10 14:53:41 +10:00
Matt Westcott
0077183682
Add a base class for Telepath adapters for chooser widgets
2022-08-10 14:53:41 +10:00
Matt Westcott
d4c146ad01
Add a base class for chooser factories
2022-08-10 14:53:41 +10:00
Sage Abdullah
ac4220d88e
Add tests for snippets list view ordering
2022-08-09 13:01:50 +01:00
Sage Abdullah
615c1e0744
Ensure ordering null values in Updated column is consistent across databases
2022-08-09 13:01:50 +01:00
Sage Abdullah
2d576c72b9
Use gettext_lazy for translatable Snippet view class attributes
2022-08-09 13:01:50 +01:00
Sage Abdullah
5bcaadd448
Allow sorting by Updated and Status columns in generic IndexView
2022-08-09 13:01:50 +01:00
Sage Abdullah
569fef968f
Allow sorting columns in snippet model index view
2022-08-09 13:01:50 +01:00
Sage Abdullah
f322e9d868
Improve Snippets listing styles
2022-08-09 13:01:50 +01:00
Sage Abdullah
9476f677fc
Enforce bulk action checkbox column to be 50px
2022-08-09 13:01:50 +01:00
Sage Abdullah
4f83cbb1b6
Use generic IndexView and tables framework for snippets model index view
2022-08-09 13:01:50 +01:00
Sage Abdullah
89fb9df3b7
Bring back snippet listing buttons
2022-08-09 13:01:50 +01:00
Sage Abdullah
80d15637d8
Use tables component in snippets listing view
2022-08-09 13:01:50 +01:00
Sage Abdullah
fd8d57a0ea
Sort objects in descending order by updated_at and pk
2022-08-09 13:01:50 +01:00
Sage Abdullah
0cae35496c
Resolve updated_at value from the database-level
2022-08-09 13:01:50 +01:00
Sage Abdullah
ed87aa053e
Add default title, updated at, and status columns to generic IndexView
2022-08-09 13:01:50 +01:00
Sage Abdullah
25e753e64d
Add BulkActionsCheckboxColumn component
2022-08-09 13:01:50 +01:00
Sage Abdullah
613f71837b
Add StatusTagColumn component
2022-08-09 13:01:50 +01:00
Akash-Kumar-Sen
46bb760319
Ensure page explorer header item aligns with toggle on sm device
...
- fixes #8939
2022-08-09 21:29:20 +10:00
Akash Kumar Sen
71dfb4090b
fix overlapping of report filters/table & form submissions
...
- as of 3.0 - report filters would overflow the viewport in Wagtail
- fix layout issue with form submission lists introduced with filtering changes
- remove invalid css grid-column-start (unused)
- adopt theme variables for all main spacing instead of hard-coded em/rem/px values
- fixes #8929
2022-08-08 22:05:01 +10:00