Wykres commitów

18728 Commity (c4965816ff603afcd42d79cbefa9eb8d124cd6db)

Autor SHA1 Wiadomość Data
Abdelrahman Hamada c4965816ff
Merge 5c1a28ef33 into e024e2c19f 2025-04-22 20:12:00 +00:00
Sage Abdullah e024e2c19f
Release note for #13051 2025-04-22 17:49:21 +01:00
zerolab ad5278700b
Make Locale UsageColumn value translatable 2025-04-22 17:44:58 +01:00
zerolab 2665112914
Hide "add locale" when all defined locales were added 2025-04-22 17:44:58 +01:00
Sage Abdullah 773e38138e
Release note for #12917 2025-04-22 16:41:46 +01:00
zerolab 3f3f3502fa
Remove locale prefetch_related in generic IndexView
We do not need it, as we only need the locale ID and the label is
retrieved from the cache
2025-04-22 16:37:55 +01:00
Sage Abdullah c502b2f702
Use w-text-16 for LocaleColumn by default 2025-04-22 16:37:48 +01:00
Sage Abdullah 1a3913d6ee
Use w-status--label style for LocaleColumn 2025-04-22 16:37:47 +01:00
Sage Abdullah 13a5488e38
Turn list_display into a cached_property of the IndexView 2025-04-22 16:37:47 +01:00
Sage Abdullah d643be80f8
Move automatic handling of LiveStatusTagColumn to IndexViewOptionalFeaturesMixin
This allows us to avoid inspecting the index view class's list_display
in the viewsets, which in turn allows us to use cached property on the
view.
2025-04-22 16:37:47 +01:00
zerolab 1bb0af7773
Add tests 2025-04-22 16:37:47 +01:00
zerolab f6fef0cf69
Add the locale column to the generic IndexView
if
1. `WAGTAIL_I18N_ENABLED = True`
2. the model is a subclass of `TranslatableMixin`
2025-04-22 16:37:47 +01:00
zerolab cbeb97ad3b
Add a LocaleColumn 2025-04-22 16:37:46 +01:00
Sage Abdullah a2323d5662 Bump minimum Willow version to v1.10.0
Contains fix for AVIF support
2025-04-22 16:36:26 +01:00
Sage Abdullah 415f34abe8 Fix incorrect BaseSearchResults usage in TestBaseSearchResults
We're supposed to pass an instance of BaseSearchQueryCompiler, not the
class.
2025-04-22 16:36:26 +01:00
smark-1 1b9991cd46
Document page.move() in page reference (#12761)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-04-22 14:36:17 +01:00
Thibaud Colas 8640b469b5 Release notes for #13042 2025-04-22 12:40:40 +01:00
Thibaud Colas 840e09415f Fix typo 2025-04-22 12:40:40 +01:00
Thibaud Colas b977eacc97 Move aria-current to a element 2025-04-22 12:40:40 +01:00
Thibaud Colas 5d0141f868 Use predefined color for current pagination link highlight 2025-04-22 12:40:40 +01:00
Sage Abdullah 11e43bd4a1 Tweak new pagination styles 2025-04-22 12:40:40 +01:00
Sage Abdullah 0ed483bcaf Add aria-current to pagination for current page number 2025-04-22 12:40:40 +01:00
Sage Abdullah 05fa6e7b1b Add verbose name handling to WagtailPaginator 2025-04-22 12:40:40 +01:00
Sage Abdullah 2299debd6e Simplify get_elided_page_range call in BaseListingView 2025-04-22 12:40:40 +01:00
Sage Abdullah ed06fce1a8 Use BEM-style --current modifier for pagination__page-number 2025-04-22 12:40:40 +01:00
Sage Abdullah dc3a82bdc3 Move .pagination styles to CSS 2025-04-22 12:40:40 +01:00
Sage Abdullah 8a5560a88a Simplify translation strings in pagination_nav.html 2025-04-22 12:40:40 +01:00
Sage Abdullah 9a2164d6a0 Remove WAGTAILADMIN_PAGINATOR_CLASS setting 2025-04-22 12:40:40 +01:00
Jordan Teichmann 0d7ae67769 New pagination UX with page numbers on listings and choosers (issue 12004) 2025-04-22 12:40:40 +01:00
Sage Abdullah 2f1b375963
Release note for #12924 2025-04-17 14:45:58 +01:00
Sage Abdullah 16c0d04bb7
Do not show upgrade notification if the installed version is the latest 2025-04-17 14:41:51 +01:00
Sage Abdullah f08b56788f
Release note for #13031 2025-04-17 14:36:08 +01:00
Andy Chosak c20d7cbad5
Better breadcrumbs for snippets with custom menu
If a snippets class has a custom menu and isn't shown in the "Snippets"
menu, don't show "Snippets" in its list view breadcrumbs.
2025-04-17 14:31:32 +01:00
Andy Chosak b376a7b65d
Don't duplicate snippets in "Snippets" menu
This change alters the behavior of the sidebar "Snippets" menu such that
the snippet index view doesn't include snippet models that have been
configured with their own menu item.

Currently, the "Snippets" menu doesn't appear if all snippet models have
their own menu items; however, if some models do and some don't, the
snippets index view lists all of them, causing some duplication in the
UI which could be confusing for editors.

This commit changes this behavior so that "Snippets" is only used to
edit those snippet models that aren't editable elsewhere.

A new setting (WAGTAILSNIPPETS_MENU_SHOW_ALL) has been added to always
show the snippets menu and all snippets models. This setting will allow
for continuation of the current behavior for those users that desire it.

Closes issue 11340.
2025-04-17 14:31:31 +01:00
Sage Abdullah 0506449cbb
Add deprecation notice for listings without breadcrumbs 2025-04-16 12:02:42 +01:00
Sage Abdullah 7183b92ce3
Remove remaining _show_breadcrumbs flag
Should've been removed in 130a9ebd93
2025-04-16 11:52:23 +01:00
Sage Abdullah f9eb457b15
Remove wagtailadmin/shared/ajax_pagination_nav.html 2025-04-15 15:20:16 +01:00
Sage Abdullah 490ad5b521
Improve _editor_js.html deprecation message
The template will be removed in a future release regardless if the user
has overridden the template or not.

When overriding templates, you use a path relative from a "templates"
directory. The "wagtail/admin/templates" directory is an implementation
detail that users do not need to know, and might be confusing to mention.
2025-04-15 13:00:34 +01:00
Sage Abdullah aff18f634f
Remove 6.2 versionchanged note in frontend cache docs 2025-04-15 09:37:37 +01:00
Matt Westcott 9f9aecfd61
Document removal of deprecated features in 7.0 2025-04-15 09:33:59 +01:00
Matt Westcott 9c24705b88
Release note / documentation for validate on publish 2025-04-15 09:15:06 +01:00
Matt Westcott 917e74661b Release note for Django 5.2 support in 6.3.4 2025-04-11 21:08:21 +01:00
Sage Abdullah 714e5c0f62 Change 'Publish' button label to 'Schedule to publish' if go-live schedule is set (#12424) 2025-04-11 18:41:30 +01:00
Stefan Hammer d18ea820bf Don't select the root page as the default destination for MoveBulkAction (#10600)
The test covers a crash (#10473), which has also been fixed by #10362.
2025-04-10 20:25:04 +01:00
Chiemezuo e28cb2930e refactor move_choose_destination to CBV (#12748) 2025-04-10 17:48:50 +01:00
Sage Abdullah 32e1366534 Use Task.get_template_for_action() in workflow modal views (#12926) 2025-04-10 17:39:02 +01:00
Sage Abdullah e86fdb1899 Add UserApprovalTask from docs to testapp models 2025-04-10 16:55:17 +01:00
Matt Westcott 01a47c3e37 Move release process docs to releases section 2025-04-10 12:56:11 +01:00
Matt Westcott 24179dc418 Mark 7.0 as a LTS release
The schedule is being moved so that LTS releases now happen in May, to align with Django.
2025-04-10 12:56:11 +01:00
Matt Westcott 5e0b0b56b6 customisations -> customizations 2025-04-10 12:56:11 +01:00