0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

12538 Commits

Author SHA1 Message Date
Tidiane Dia
1543c1c68e Remove delete button from secondary menu 2022-01-12 15:07:16 +00:00
Tidiane Dia
6220c0845e Restore delete button in main actions menu 2022-01-12 15:07:16 +00:00
Tijani-Dia
ac568a1c17
Implement MovePageAction and admin API for moving pages 2022-01-12 10:38:31 +00:00
Tidiane Dia
bafb4352ce Redirect to correct collection listing view after editing member
Add tests

Use f-string for edit_url

Redirect to collection listing after deleting an item from it

Use current url to avoid losing information(e.g tags)

Update tests
2022-01-12 10:27:37 +00:00
Matt Westcott
d009f8b646
Remove deprecated chooser panel templates (#7765)
Fixes #6997 - these were deprecated in 1.0 https://docs.wagtail.io/en/stable/releases/1.0.html#chooser-panel-templates-are-obsolete and GitHub shows no instances of these being used in any public repos.
2022-01-11 09:00:26 +00:00
Matt Westcott
d938052e8c Release note for #7726 in 2.15.2 2022-01-10 19:41:41 +00:00
ACMCMC
f65007c9c4 Solved multiword MySQL search bug 2022-01-10 19:38:02 +00:00
ACMCMC
3c173e5718 Changed test_plain_text_multiple_words_and() to include three words 2022-01-10 19:38:02 +00:00
ACMCMC
792487def8 Solved missing invert attribute bug 2022-01-10 19:38:02 +00:00
Matt Westcott
ba8207a5d8 Reinstate fix from #7801, incorrectly reverted in #7803 2022-01-08 22:48:47 +00:00
Michael Karamuth
10f54bc11a feature: Login remember me functionality
- Improve wagtail/admin/views/account.py
- Co-authored-by: Jake Howard <RealOrangeOne@users.noreply.github.com>
2022-01-08 22:53:08 +10:00
LB Johnston
472d522288 Add changelog / release notes for #7746 2022-01-08 21:57:05 +10:00
Thibaud Colas
a6a71937b8 Change CircleCI npm caching to be more aggressive
Make sure static files build happens before linting
2022-01-08 21:54:46 +10:00
Thibaud Colas
7523d65d84 Fix caching setup for Python dependencies in CircleCI 2022-01-08 21:54:46 +10:00
thoang43
3651e5f21b Add draftail padding to fix cut off ol items
- fixes #7019
2022-01-08 21:44:11 +10:00
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