0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

12816 Commits

Author SHA1 Message Date
Andy Babic
b88f57ed86 normalise_page_route -> normalise_page_route_path 2022-01-21 12:53:37 +00:00
Andy Babic
e046a0bdbc Add tests for redirects with a redirect_page_route_path value 2022-01-21 12:53:37 +00:00
Andy Babic
d92b191015 Release notes for #7827 2022-01-21 12:53:37 +00:00
Andy Babic
236af3607f Documentation for #7827 2022-01-21 12:53:37 +00:00
Andy Babic
2eed6b81a6 Add tests for signal handlers 2022-01-21 12:53:37 +00:00
Andy Babic
51164ef2a1 Implement signal handlers for redirect creation 2022-01-21 12:53:37 +00:00
Andy Babic
29a7f70161 Add Page._get_relevant_site_root_paths() for use in signal handlers 2022-01-21 12:53:37 +00:00
Andy Babic
ca3558e528 Add Page.get_route_paths() to support redirect creation for alternative routes 2022-01-21 12:53:37 +00:00
Andy Babic
f3a3f38a61 Add utilities to help with redirect creation 2022-01-21 12:53:37 +00:00
Andy Babic
31615c93ef Update Redirect with fields to facilitate filtering and add support for redirecting to a sub-path (when automatically creating redirects for alternate routes, it makes sense for visitors to be redirected to the same route) 2022-01-21 12:53:37 +00:00
Andy Babic
da70aaa7fd Implement 'page_slug_changed' signal 2022-01-21 12:53:37 +00:00
Tijani-Dia
2f90f9a58b
Add RevertToPageRevisionAction class and Admin API for reverting to a previous revision 2022-01-21 12:18:27 +00:00
Cynthia Kiser
82d9330d77 Added a section to deployment docs about configuring serving of user uploaded files (#7553) 2022-01-21 11:21:53 +00:00
Sævar Öfjörð Magnússon
c4d5d23544 Images in PR #7872 were unfortunately swapped 2022-01-21 11:20:06 +00:00
Jérôme Lebleu
e1ecca2f3c Display the select option's text instead of value in telepath (#7629) 2022-01-21 10:52:47 +00:00
Matt Westcott
bf9f1a5e00 page.locale.get_display_name should be parent.locale.get_display_name
As per b373cacd6a (r64281585)
2022-01-21 10:29:51 +00:00
Thibaud Colas
20a7d1ef3a Mention WAGTAIL_SLIM_SIDEBAR will go away in Wagtail 2.18 2022-01-21 10:24:02 +00:00
Thibaud Colas
de2e7eeb30 Switch to vanilla Django json_script 2022-01-21 10:24:02 +00:00
Thibaud Colas
86554020fd Add release notes for slim sidebar 2022-01-21 10:24:02 +00:00
Thibaud Colas
ab41c14595 Fix incorrect release removal reference 2022-01-21 10:24:02 +00:00
Thibaud Colas
2e6378aa19 Add WAGTAIL_SLIM_SIDEBAR = False setting to switch back to legacy sidebar 2022-01-21 10:24:02 +00:00
Thibaud Colas
18c4d7c813 Update Wagtail test cases to match slim sidebar capabilities and implementation details 2022-01-21 10:24:02 +00:00
Thibaud Colas
f2593e3022 Turn on slim sidebar by default, with optional opt-out via WAGTAIL_EXPERIMENTAL_FEATURES 2022-01-21 10:24:02 +00:00
Thibaud Colas
71be900e25 Update MenuItem API documentation 2022-01-21 10:24:02 +00:00
Thibaud Colas
42f140a8b9 Switch sidebar props to a JSON script tag for ease of testing 2022-01-21 10:24:02 +00:00
Tidiane Dia
25e5b5fccc Update test imports 2022-01-21 10:19:25 +00:00
Tidiane Dia
0815849c71 Lint 2022-01-21 10:19:25 +00:00
Tidiane Dia
ed910141e6 Remove update_locale field from API 2022-01-21 10:19:25 +00:00
Tidiane Dia
3ccacdf10e Remove update_locale check 2022-01-21 10:19:25 +00:00
Tidiane Dia
9b3fc33e60 Remove reset_translation_key from API parameters 2022-01-21 10:19:25 +00:00
Tidiane Dia
d03460a5cc rename parent_page_id API parameter to destination_page_id for consistency with other actions 2022-01-21 10:19:25 +00:00
Tidiane Dia
d05095b4c3 Prevent update_locale to be used for pages that aren't at the root of the tree 2022-01-21 10:19:25 +00:00
Tidiane Dia
0e4dc26376 Add create page alias admin API 2022-01-21 10:19:25 +00:00
Tidiane Dia
7d925a51c1 Make admin copy view use CreatePageAliasAction 2022-01-21 10:19:25 +00:00
Tidiane Dia
6cafb443cd Add check method 2022-01-21 10:19:25 +00:00
Tidiane Dia
ae76ebe92d Make CreatePageAliasAction class and implement execute method 2022-01-21 10:19:25 +00:00
Tidiane Dia
3d032c9589 Move Page.create_alias into an external function 2022-01-21 10:19:25 +00:00
Sævar Öfjörð Magnússon
bab1f44aed Adding documentation for grouped custom menu items (#7872) 2022-01-21 10:03:35 +00:00
LB (Ben Johnston)
83dd59aef6
documentation - third party tutorials (#7869) 2022-01-21 07:31:00 +00:00
Matt Westcott
7611f4023f Don't bother adding the table-headers classname
The only purpose it serves here is to add a grey bottom border, which is already provided by the <thead> element.
2022-01-21 01:27:12 +00:00
Matt Westcott
d7e6382d97 Use wagtail.admin.ui.tables framework for snippet chooser 2022-01-21 01:27:12 +00:00
Matt Westcott
8724dc9b10 Remove snippet-row-N ID from snippet chooser results
This is only used for bulk actions on the snippet index view, not the chooser.
2022-01-21 01:27:12 +00:00
Matt Westcott
55934fb18d Use wagtail.admin.ui.tables framework for document chooser 2022-01-21 01:27:12 +00:00
Matt Westcott
968a3497a3 Allow setting a classname on the link element in TitleColumn 2022-01-21 01:27:12 +00:00
Matt Westcott
13aa7ec861 Allow setting a classname on the table header row 2022-01-21 01:27:12 +00:00
Matt Westcott
77f8d160a7 Allow specifying column widths on tables 2022-01-21 01:27:12 +00:00
rgs258
e3f38f0605 Remove errant greater than 2022-01-20 23:42:33 +00:00
Naomi I. Morduch Toubman
9b1a05a55d
Change webmaster to website administrator in the admin (#6857)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-20 20:39:09 +00:00
Karl Hobley
533e85c8d1 Changelog / Release notes for #7862 and #7875 2022-01-20 14:07:47 +00:00
Vladimir Tananko
e07e1994de A Jinja2 version of wagtail_site tag 2022-01-20 14:05:13 +00:00