Wykres commitów

18735 Commity (6a8c2bcd98c5ed1160b87c742f33bf2f74305e07)

Autor SHA1 Wiadomość Data
Ihor Marhitych 6a8c2bcd98 userbar render function should not call context processor(s) (#12411)
Fixes #12410
2025-04-24 00:25:35 +01:00
megatrron 47848f24ed Fix padding in homepage panels table header
Fixes #13006
2025-04-24 08:05:59 +10:00
SebCorbin c91bff5d21
Fix default preferred language should be an admin permitted language 2025-04-23 12:29:24 +01:00
Sage Abdullah 47c20b2490
Release note for #13043 2025-04-23 09:13:56 +01:00
zerolab 3ff8eeb79b
Tidy up LocaleMixin.i18n_enabled 2025-04-23 08:29:52 +01:00
zerolab bd0dae1d42
Add the locale column to the generic chooser 2025-04-23 08:29:51 +01:00
zerolab cee29236d8
Add an empty choice for the Locale filter for choosers
it is optional after all
2025-04-23 08:29:51 +01:00
zerolab c772c02e71
Pass the locale param to all choosers if `WAGTAIL_CONFIG.ACTIVE_CONTENT_LOCALE` is set 2025-04-23 01:39:16 +01:00
zerolab fe36444e3c
Allow customising InspectView field display value via methods on the view 2025-04-23 01:22:23 +01:00
dependabot[bot] 8dd4873df5 Bump http-proxy-middleware from 2.0.7 to 2.0.9
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.7 to 2.0.9.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.9)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-version: 2.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 07:24:04 +10:00
dependabot[bot] 92728d7e87 Bump @babel/runtime from 7.26.0 to 7.27.0
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.0/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-version: 7.27.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 07:23:06 +10: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