Wykres commitów

12423 Commity (9cf5e491effe2ed987d99344e9a13baa0a77dcba)

Autor SHA1 Wiadomość Data
Andy Babic 9cf5e491ef Improve readability of urlparse path extraction 2022-01-21 12:53:37 +00:00
Andy Babic f9bee8fb02 Utilise Page._get_relevant_site_root_paths in autocreate_redirects_on_slug_change() 2022-01-21 12:53:37 +00:00
Andy Babic 90cd321ec9 Fix _page_urls_for_sites() to combine page_path and route_path values to create 'old_path' values for redirects 2022-01-21 12:53:37 +00:00
Andy Babic 5f28eb6e4d Also test that get_route_paths() overrides are respected 2022-01-21 12:53:37 +00:00
Andy Babic dc62aeed02 Add missing staticmethod decorator to normalise_page_route_path() 2022-01-21 12:53:37 +00:00
Andy Babic 5a28898c70 Update Redirect.link to avoid double-slashes in the return value 2022-01-21 12:53:37 +00:00
Andy Babic e69bccf273 Catch correct error from resolve_subpage() 2022-01-21 12:53:37 +00:00
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