Wykres commitów

16316 Commity (v5.2.4)

Autor SHA1 Wiadomość Data
LB Johnston 76a0c4968a Adopt `classname` instead of `classnames` in all MenuItem/Sidebar usage
- Adds a deprecation path, including documentation to further remove unpredictable naming of adding `classname` in Python APIs
- Intentionally keeps `classNames` in Telepath adaptor inner usage as this convention is not set, however, the server side value passed in will use `classname`
- See https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#use-classname-in-python-html-template-tag-variables
- See #9769 & #9770
2023-10-04 08:05:52 +11:00
Sage Abdullah d4108d8f52
Add Sandro Rodrigues to contributors 2023-10-03 17:18:35 +01:00
Sage Abdullah a0335d2919
Release notes for #10983 in 5.1.3 2023-10-03 17:10:11 +01:00
Sandro d67545e2d6
Fixed SnippetBulkAction not respecting models definition
Amends c1a4528b8a to use Django's
classproperty util instead of a get_models() method that replaces the
models definition that may be overridden in custom bulk actions.
2023-10-03 16:29:41 +01:00
Sage Abdullah 87f1310a40
Release notes for #10884 2023-10-03 16:06:16 +01:00
Sage Abdullah 84a483589d
Make the last item in the breadcrumbs a link to itself 2023-10-03 15:46:40 +01:00
Sage Abdullah 3b7aa245a8
Add breadcrumbs to the snippets model index view 2023-10-03 15:03:06 +01:00
Sage Abdullah fb5d22ae1d
Add missing capfirst() in generic usage view breadcrumbs item 2023-10-03 15:03:05 +01:00
Sage Abdullah 8fa39eaff0
Add tests for rendering breadcrumbs on snippets views 2023-10-03 15:03:05 +01:00
Sage Abdullah 8dc376ce26
Add tests for rendering breadcrumbs on workflows and tasks views 2023-10-03 15:03:05 +01:00
Sage Abdullah 5bc3fbf615
Add tests for rendering breadcrumbs on locales views 2023-10-03 15:03:05 +01:00
Sage Abdullah e090d747fd
Add tests for rendering breadcrumbs on sites views 2023-10-03 15:03:05 +01:00
Sage Abdullah 4bf2a93260
Add tests for rendering breadcrumbs on collections views 2023-10-03 15:03:05 +01:00
Sage Abdullah 76ad1bf4c1
Add tests for rendering breadcrumbs on user and group views 2023-10-03 15:03:04 +01:00
Sage Abdullah 5349252bbd
Extract AdminTemplateTestUtils.assertBreadcrumbsItemsRendered from ModelViewSet breadcrumbs tests 2023-10-03 15:02:58 +01:00
Sage Abdullah b487ea67ea
Fix failing tests due to str(response.content) when parsing HTML 2023-10-03 15:01:52 +01:00
Sage Abdullah 815bf01cff
Use base Task verbose name for task index breadcrumb item 2023-10-03 15:01:52 +01:00
Sage Abdullah 8322dd0136
Extend generic confirm_delete template for workflows and tasks confirm_disable template 2023-10-03 15:01:52 +01:00
Sage Abdullah 21b7383a41
Extend generic base template for workflows and tasks create and edit templates 2023-10-03 15:01:51 +01:00
Sage Abdullah fc33e4a3d7
Override specific blocks in workflows and tasks index templates to reuse the slim header 2023-10-03 15:01:51 +01:00
Sage Abdullah b291c9b6c0
Extend generic form template for users create template 2023-10-03 15:01:51 +01:00
Sage Abdullah 466d2b6557
Extend generic confirm_delete template for users confirm_delete template 2023-10-03 15:01:51 +01:00
Sage Abdullah f90f900e73
Extend generic form template for users edit template 2023-10-03 15:01:51 +01:00
Sage Abdullah f7b597be91
Reuse header definition from the generic index view for users index view 2023-10-03 15:01:51 +01:00
Sage Abdullah c2b8a717ca
Extend generic confirm_delete template for collections delete_not_empty template 2023-10-03 15:01:50 +01:00
Sage Abdullah 0ac0402602
Extend generic confirm_delete template for locale confirm_delete template 2023-10-03 15:01:50 +01:00
Sage Abdullah 5cf38dd654
Extend generic confirm_delete template for groups confirm_delete template 2023-10-03 15:01:50 +01:00
Sage Abdullah 52721613b7
Extend generic base template for groups edit template
This allows us to reuse the breadcrumbs.
2023-10-03 15:01:50 +01:00
Sage Abdullah 0709c31933
Extend generic base template for groups create template
This allows us to reuse the header parts, including breadcrumbs.
2023-10-03 15:01:49 +01:00
Sage Abdullah 7e7fc56d6c
Add missing model attribute in collections create view to allow breadcrumbs to appear 2023-10-03 15:01:49 +01:00
Sage Abdullah 7c22b4aaaa
Add upgrade considerations for side panels refactoring 2023-10-03 10:51:46 +01:00
TopDevPros a8bc03dd8a Implement date_since in get_most_popular() inside search_promotions.models
- Note: This is currently unused but could be used in the future
- Fixes #10897
2023-10-02 10:31:37 +11:00
LB Johnston 45ffd5877e Add changelog for #10840 2023-10-02 10:03:39 +11:00
Jake Howard 775c72c231 Remove cache from `ImageNode.get_filter`
This operations is incredibly efficient, and not often called.
2023-10-02 10:03:39 +11:00
Jake Howard 20e35ddc06 Use `maxsize=None` for more LRU-caches
Not only is the implementation faster and simpler, but in cases where the functions take arguments, there's a slight chance of having fewer cache misses.
2023-10-02 10:03:39 +11:00
Jake Howard 578ae520f3 Ensure locale names are cleared entirely when needed
`lru_cache.cache_clear` only clears the cache in the current thread.
2023-10-02 10:03:39 +11:00
dhruvpal05 598aae78c5 Fix oEmbed Spotify URL
- Update URL to latest documentation & remove trailing slash
- https://developer.spotify.com/documentation/embeds/tutorials/using-the-oembed-api
- https://developer.spotify.com/documentation/embeds/reference/oembed
- Fixes #10942
2023-10-02 09:29:50 +11:00
Charlie Sue 86ed0ab9f7 Docs - Add note about including the feature in text editor settings 2023-10-02 09:12:33 +11:00
FatGuyy 09c125189d Fix NameEmailSettingsPanel when WAGTAIL_EMAIL_MANAGEMENT_ENABLED = False
Ensure the panel title reflects the content inside (with or without email)
Fixes #10937
2023-10-02 09:08:20 +11:00
LB Johnston a986ba741a Add changelog for #10971
Closes #10970
2023-10-02 08:49:44 +11:00
Sage Abdullah ec17f274a0 Remove unused legacy userbar views 2023-10-02 08:49:44 +11:00
Sage Abdullah 5c0a65e062 Change page-specific userbar tests to not rely on legacy userbar view
Change it to use the Page.serve() method directly, and check that the
expected content is in the rendered template response.
2023-10-02 08:49:44 +11:00
rohitsrma 71fa04fec3 Ensure label in SetActiveStateBulkAction can be translated
Fixes #10963
2023-10-02 08:30:10 +11:00
Sandra Ashipala 8b52670d10 Docs - Fix typo for migration command in the section under Tag posts
Fixes #10974
2023-10-02 08:29:54 +11:00
Matt Westcott a1bd357092 Fix port number in tutorial 2023-09-29 16:41:14 +10:00
Nick Moreton f58c896d5a
Add PythonAnywhere deployment tutorial to third party tutorials (#10958) 2023-09-28 09:52:04 +01:00
Matt Westcott dc9f1b190b Release note for #10955 in 4.1.8 2023-09-27 18:54:23 +01:00
Sage Abdullah 5cf0b26343 Add test settings shims for DEFAULT_FILE_STORAGE and STATICFILES_STORAGE 2023-09-27 16:59:01 +01:00
Sage Abdullah 341d68c0b1 Use provisional django-taggit branch to test against Django main
Use own fork instead of their branch to ease updates later, in case
additional fixes are needed.
2023-09-27 16:59:01 +01:00
Sage Abdullah ab7ba231ee Use django.core.files.storage.storages in favour of get_storage_class() 2023-09-27 16:59:01 +01:00