Vu Pham
0055be331b
Modify responsive size for buttons on mobile
...
- fixes #6618
2022-01-08 21:30:14 +10:00
LB Johnston
d964675ee8
add check for correct search_fields on pages
...
- fixes #4940
2022-01-08 21:25:35 +10:00
LB Johnston
4b91d6b7ee
Add changelog for #7778 (2.15.2)
...
- relates to fix for #7768
2022-01-08 21:18:25 +10:00
LB (Ben Johnston)
707ea54f4f
Update blocks.rst
...
Docs does not currently include the `rows` kwarg that is available on `TextBlock`.
See Question on slack https://wagtailcms.slack.com/archives/C81FGJR2S/p1635825388225100
2022-01-08 20:54:20 +10:00
Tidiane Dia
0386fb5e4e
Refine UnpublishPageAction class
...
Add include_descendants logic to UnpublishPageAction class
Remove log_action parameter from Admin API
Remove set_expired parameter from Admin API
Rename include_descendants parameter to recursive for consistency with other actions
2022-01-08 12:32:52 +10:00
Tidiane Dia
ee8d335874
Add page unpubish admin API
2022-01-08 12:32:52 +10:00
Tidiane Dia
3186983569
Use UnpublishPageAction in unpublish page view
2022-01-08 12:32:52 +10:00
Tidiane Dia
0dd2bed8d3
Convert unpublish_page into a function and implement execute method
...
Move Page.unpublish into an external function
2022-01-08 12:32:52 +10:00
Tidiane Dia
3f9779606f
Remove changed, log_action and previous_revision from publish action Admin API
2022-01-08 11:48:09 +10:00
Tidiane Dia
c6a0852515
Add page publish admin API
2022-01-08 11:48:09 +10:00
Tidiane Dia
a06169722c
Add check method to PublishPageRevisionAction
2022-01-08 11:48:09 +10:00
Tidiane Dia
a7d111e9a3
Make edit page view use PublishPageRevisionAction
2022-01-08 11:48:09 +10:00
Tidiane Dia
c48fc250bc
Convert publish_page_revision into a function and add execute method
...
Move PageRevision.publish into an external function
2022-01-08 11:48:09 +10:00
Matt Westcott
de84ca654e
reorder changelog
2022-01-07 16:37:37 +00:00
Matt Westcott
dd0b398d9c
Release note for #7783
2022-01-07 16:37:21 +00:00
Tidiane Dia
2a3304fab7
Update breadcrumb dropdown button style
2022-01-07 16:23:17 +00:00
Tidiane Dia
802ce2fc50
Add line in editor guide about secondary actions menu and update screenshot
2022-01-07 16:23:17 +00:00
Tidiane Dia
8aef153d19
Add aria-label to dropdown link
2022-01-07 16:23:17 +00:00
Tidiane Dia
bb04093f91
Add icon-only dropdown class and style it
2022-01-07 16:23:17 +00:00
Tidiane Dia
14bfbcc5b8
Set dropdown font-size directly in dropdown_item class
2022-01-07 16:23:17 +00:00
Tidiane Dia
76021a1716
Remove delete action from main actions menu
2022-01-07 16:23:17 +00:00
Tidiane Dia
11e1ff03df
Add register_page_header_buttons hook documentation
2022-01-07 16:23:17 +00:00
Tidiane Dia
f4e7147432
Remove is_parent parameter
2022-01-07 16:23:17 +00:00
Tidiane Dia
54dbaddaa7
Add test for register_page_header_buttons hook
2022-01-07 16:23:16 +00:00
Tidiane Dia
c1acfa77b3
Update breadcrumb tests
2022-01-07 16:23:16 +00:00
Tidiane Dia
dcd1b116b2
Display header buttons in page edit breadcrumb
2022-01-07 16:23:16 +00:00
Tidiane Dia
a0c72b4b20
Add page header buttons hook
2022-01-07 16:23:16 +00:00
Tidiane Dia
0a3dd7e1f7
Improve workflow modal formatting ( #7786 )
2022-01-07 16:20:22 +00:00
Matt Westcott
3a9a2815c0
Release note for #7741
2022-01-07 16:11:45 +00:00
Matt Westcott
07f1c777e7
Document the bound_blocks property of ListValue
2022-01-07 16:11:45 +00:00
Matt Westcott
ddb1f4c3ec
Gracefully handle plain lists being passed in place of ListValue where possible
2022-01-07 16:11:45 +00:00
Matt Westcott
4b535e46bc
Update ListBlock.clean to preserve block IDs
2022-01-07 16:11:45 +00:00
Matt Westcott
4c73ce70b8
Update ListBlock.value_from_datadict to pick up block IDs
2022-01-07 16:11:45 +00:00
Matt Westcott
4faa209986
Use _item_is_in_block_format helper for bulk_to_python
...
This is slightly more robust than try/catch, as it reduces the risk of false matches on old-style data that looks like new style (e.g. a ListBlock of StructBlocks with 'id' or 'value' fields)
2022-01-07 16:11:45 +00:00
Matt Westcott
155ce96392
Update ListBlock.to_python to recognise new database format
2022-01-07 16:11:45 +00:00
Tidiane Dia
eab81413b2
Update bulk_to_python
2022-01-07 16:11:45 +00:00
Tidiane Dia
23a2ecf7fa
Update get_prep_value
2022-01-07 16:11:45 +00:00
Matt Westcott
13319c9716
linting
2022-01-07 16:11:45 +00:00
Matt Westcott
63d6557ece
Pass IDs of ListBlock children to the frontend code
2022-01-07 16:11:45 +00:00
Matt Westcott
5e31289f34
Make a bound_blocks property (with assigned IDs) available on ListValue
2022-01-07 16:11:45 +00:00
Matt Westcott
4a848bfb4e
Implement a ListValue type for ListBlocks
2022-01-07 16:11:45 +00:00
Matt Westcott
93229cfc14
Release note / fixed test for #7801
2022-01-05 15:35:19 +00:00
Michael Karamuth
fd29f0b9bb
Fix: extra_fields now returns BoundField ( #7801 )
2022-01-05 15:34:15 +00:00
Matt Westcott
946a9a8071
Release note for #7821
2022-01-05 14:04:14 +00:00
Matt Westcott
cd01bf6087
Ensure confirmation page respects custom get_admin_display_title methods
2022-01-05 13:59:09 +00:00
Matt Westcott
6cd87242c5
Use get_admin_display_title on bulk action confirmation pages
...
This ensures that we show the draft version of the title (particularly important for the publish action)
2022-01-05 13:59:09 +00:00
Matt Westcott
bd1fbb09ea
Publish latest revision when bulk publishing
...
Fixes #7690
2022-01-05 13:59:09 +00:00
Dan Braghis
731cc540b0
Refresh page on create before passing to hooks
2022-01-05 09:30:06 +00:00
Tijani-Dia
ee8a9a5eeb
Implement ConvertAliasPageAction and admin API for converting an alias page
2022-01-04 16:26:56 +00:00
Tijani-Dia
ab943f1637
Implement DeletePageAction and admin API for deleting pages
2022-01-04 15:44:19 +00:00