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

12441 Commits

Author SHA1 Message Date
Matt Westcott
952e681fe6 Fix Sqlite FTS5 compatibility check
As per https://github.com/wagtail/wagtail/issues/7798#issuecomment-1021544265 - the direct query against the sqlite3 library will fail with sqlite3.OperationalError, not django.db.OperationalError.
2022-01-26 11:22:31 +00:00
LB Johnston
5258f2899b hooks - update unnecessary format_html to mark_safe 2022-01-26 11:19:27 +00:00
zzj
0461e8bb8a
Cleanup account management tests by using set comprehensions 2022-01-26 08:39:08 +00:00
Matt Westcott
92a323231f Add release notes for 2.11.9 2022-01-24 16:10:59 +00:00
Matt Westcott
6b22835dc5 Formalise support for Django 4.0 2022-01-24 11:46:12 +00:00
Matt Westcott
385a0aee67 Version bump to 2.16rc1 2022-01-21 14:18:55 +00:00
Matt Westcott
a3af1199a9 List NHS as sponsor 2022-01-21 14:17:58 +00:00
Matt Westcott
6a10bd1d80 Generate new strings for Transifex 2022-01-21 14:14:26 +00:00
Matt Westcott
07a88ffea0 Add plural to image/document confirm delete string
This stops it being flagged as a duplicate with the bulk delete template, and means both templates can share the string.
2022-01-21 14:13:13 +00:00
Matt Westcott
cd6bc70d9d Fetch new translations from Transifex 2022-01-21 13:54:59 +00:00
Matt Westcott
db4913af56 Release note for #7839 2022-01-21 13:10:54 +00:00
Dan Braghis
f47a4ae1d3 Improve locale_label_from_id caching 2022-01-21 13:09:34 +00:00
Dan Braghis
cc9fe1ac90 Add locale labels to admin home summary panels 2022-01-21 13:09:34 +00:00
Dan Braghis
800c17395f Add locale label to aging pages report 2022-01-21 13:09:34 +00:00
Dan Braghis
366ce0633b Add locale label to locked pages report 2022-01-21 13:09:34 +00:00
Dan Braghis
1aa1bbf14f Add locale label to workflow/workflow tasks reports 2022-01-21 13:54:58 +01:00
Dan Braghis
c545b3f760 Add template tag to get Locale label from id 2022-01-21 13:54:09 +01:00
Andy Babic
5fc75b312a Provide clarification on specific page usage for autocreate_redirects_on_slug_change() 2022-01-21 12:53:37 +00:00
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