0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

15991 Commits

Author SHA1 Message Date
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
Matt Westcott
5931a07b25 Update latest.txt for 4.1.7 release 2023-09-27 14:29:26 +01:00
Matt Westcott
b991700932 fix typo in 4.1.7 release notes header 2023-09-27 14:11:49 +01:00
Matt Westcott
983b0fcc23 Release note for #10951 in 4.1.7 2023-09-27 13:18:03 +01:00
LB Johnston
a50cc707a2 Deprecate escape_script & escapescript template tag
- Add deprecation warning for usage of escape_script
- Add release considerations
- JS deprecation comments on client/src/components/InlinePanel/index.js were added in changes introduced in #10893
2023-09-26 10:32:28 +01:00
TopDevPros
3ffe4cb3a5 Add subject & body to Email link chooser
Closes #5950
Rework of PR #6451
2023-09-26 16:09:24 +10:00
TopDevPros
3a5cc8e75c Search Promotions - Add support for external link/text
Closes #10725
Built on original PR #4560
2023-09-26 13:44:09 +10:00
LB Johnston
aa52f84ec4 Fix heading level in 5.1 release notes 2023-09-26 05:20:25 +10:00
Matt Westcott
1321c5c643 Update latest.txt with 5.1.2 release 2023-09-25 14:38:35 +01:00
Matt Westcott
34dd5270a3 Fill in release date for 5.1.2 2023-09-25 12:45:09 +01:00
Matt Westcott
9ff3647a37 Fill in release date for 5.0.3 2023-09-25 12:44:35 +01:00
Matt Westcott
6b72608698 Fetch new translations from Transifex 2023-09-25 12:44:25 +01:00
Matt Westcott
85a4a9ebf7 Release note for #10939 in 5.1.2 2023-09-22 18:34:32 +01:00
Matt Westcott
02a08ff2be Allow BaseSiteSetting instances retrieved via for_request to be pickled
Strip out the cached _request attribute which breaks pickling. Fixes #10879
2023-09-22 18:32:01 +01:00
Matt Westcott
e6e29b5518 Release note for #10935 2023-09-22 11:46:21 +01:00
Matt Westcott
240b65f309 Use more concise code for appending to classname 2023-09-22 11:44:24 +01:00
Matt Westcott
981ca512e5 Move 'sort menu order' URL logic to PageListingSortMenuOrderButton 2023-09-22 11:44:24 +01:00
Matt Westcott
f1ef9bd22c Move show-or-not tests into the button classes 2023-09-22 11:44:24 +01:00
Matt Westcott
7111e1ea85 Move the 'should I add a next parameter to the delete action' logic into PageListingDeleteButton 2023-09-22 11:44:24 +01:00
Matt Westcott
7e3cf66071 Allow settting attrs at the class level 2023-09-22 11:44:24 +01:00
Matt Westcott
6e7eaea08b Render all of self.attrs in the dropdown item rendering of a button, not just aria-label
This is needed to correctly pass the `rel="noreferrer"` attribute for the view-draft and view-live actions.
2023-09-22 11:44:24 +01:00
Matt Westcott
3dbff3b6a5 Allow specifying a url_name at the class level 2023-09-22 11:44:24 +01:00
Matt Westcott
2c66d58620 Support setting aria-label format at the class level 2023-09-22 11:44:24 +01:00
Matt Westcott
c05c2ccb6e Create button subclasses for page listing buttons 2023-09-22 11:44:24 +01:00
Matt Westcott
e195b01502 Allow setting label and icon_name at the class level rather than just the constructor 2023-09-22 11:44:24 +01:00
Matt Westcott
45beb8ce56 Use PageListingButton for all buttons registered for page listings
This will allow us to do some cleverer refactoring shortly.
2023-09-22 11:44:24 +01:00