Sage Abdullah
87f1310a40
Release notes for #10884
2023-10-03 16:06:16 +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
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
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
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
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
85a4a9ebf7
Release note for #10939 in 5.1.2
2023-09-22 18:34:32 +01:00
Matt Westcott
e6e29b5518
Release note for #10935
2023-09-22 11:46:21 +01:00
SebCorbin
0ab4bb8db5
Make admin login template display non_fields_errors
...
- Add tests
- Fixes #10912
2023-09-22 07:27:24 +10:00
Andreas Nüßlein
6eda5d5d12
fix typo
2023-09-21 16:45:57 +01:00
Sage Abdullah
faaab535b0
Release notes for #10900
2023-09-21 12:21:39 +01:00
Sage Abdullah
ce8f655b6f
Add upgrade considerations for ModelViewSet URL changes
2023-09-21 12:21:14 +01:00
LB Johnston
6bcc66c1e0
Docs - use subclass
not sub-class
...
- All other usage of this does not have the hyphen
2023-09-21 08:15:57 +10:00
Sage Abdullah
da636f6b61
Release notes for #10864
2023-09-20 14:01:15 +01:00
Neeraj P Yetheendran
cdd6f1800c
Allow subclasses of PagesAPIViewSet override default Page model
...
- Built on original PR #7372 and feedback on that solution
- Add unit tests and documentation
- Fix typo in API documentation for `CustomPagesAPIViewSet`
- Ensure that pk is used (not id) while filtering to prevent assumption that id is pk
2023-09-20 08:13:19 +10:00
Matt Westcott
6009903c55
Support passing extra context variables via the {% component %} tag
2023-09-20 07:46:39 +10:00
LB Johnston
dd95b8b0d2
Fix changelog / release notes entry for #10916
2023-09-20 07:24:58 +10:00
Matt Westcott
30a489a51c
Document support for OpenSearch
...
Fixes #7920
2023-09-20 07:17:58 +10:00
Matt Westcott
4938db9b7c
Release note for #10916 in 5.1.2
2023-09-19 10:29:23 +01:00
LB Johnston
b60828ac47
Hooks documentation - fix up admonition formatting
2023-09-19 12:18:51 +10:00
Matt Westcott
b5eff93fde
Release note for #10911 in 5.0.3
2023-09-18 16:03:10 +01:00
LB Johnston
27a8f85e1e
Add changelog for #10245 & #10893
2023-09-17 21:20:51 +10:00
SebCorbin
f82366e151
Fix PublishMenuItem label is not overridable through hook
...
Fixes #10663
2023-09-17 17:27:44 +10:00
Daniel Kirkham
72c55dee17
Fix typo and expression in 5.1 release notes
2023-09-17 16:28:40 +10:00
Sage Abdullah
bde19900b9
Release notes for #10880
2023-09-15 15:33:55 +01:00
WhatIsThisVJ
b681e74d30
Replace @total_ordering usage with comparison functions implementation #10526
2023-09-14 11:32:59 +01:00
LB Johnston
ba9f7c898f
Add changelog / upgrade considerations for #10869
...
Closes #10668
2023-09-14 09:09:59 +10:00
LB Johnston
e317ac482b
Revise the human_readable_date arg (rename position to placement)
...
- Add unit tests
- Move changelog entry to features, not maintenance
- See #10871 & 0a977cc54d
2023-09-14 07:30:28 +10:00
Andy Chosak
dbc130e565
Fix minor typos in the docs
...
"JavasScript" -> "JavaScript"
2023-09-14 06:36:46 +10:00
LB Johnston
a5966753d2
Changelog & release notes for #10857
...
- Including backport to 5.1.2
2023-09-14 06:32:29 +10:00
LB Johnston
19b4df2648
Add 5.1 release notes for changed attrs.html
template location
...
Fixes #10874
2023-09-14 06:04:01 +10:00
Sage Abdullah
3cd13c65ef
Release notes for #10865 and #10870
2023-09-13 17:53:15 +01:00
LB Johnston
51353c7c43
Do not use jest inside stubs.js to prevent Storybook from crashing
2023-09-13 15:04:04 +01:00
rohitsrma
451c21ea52
Page status sidebar - add support for actual published date date in tooltip
...
Fixes #10789
2023-09-13 08:20:45 +10:00
rohitsrma
0a977cc54d
human_readable_date - update template tag to support tooltip position
2023-09-13 08:20:45 +10:00
faishalmanzar
3a86efaf12
Add ability for InlinePanel to set focus on newly created items
...
Fixes #10764 - Inserting a new InlinePanel function improved
2023-09-13 07:54:57 +10:00
LB Johnston
0daf33b1b4
Add changelog for #10835
2023-09-13 07:40:04 +10:00
LB Johnston
b96d2d7faa
Adopt w-messages (CloneController) in unsaved changes warning
...
- Replace global util window.updateFooterSaveWarning with the w-messages usage
- Remove window.updateFooterSaveWarning usage in core.js & move 'delay before clearing' time delay to the Stimulus value
- Fix JSDoc usage in `enableDirtyFormCheck`
- Add aria-live="polite" so message updates can be advised to screen readers
- Add release considerations and for `window.updateFooterSaveWarning` removal
- Closes #10091
2023-09-13 07:40:04 +10:00
Hatim Makki Hoho
bf709279d5
Update focal_points.md ( #10878 )
...
corrected the load from {% load wagtailimages %} to {% load wagtailimages_tags %}
2023-09-11 20:13:19 +01:00
Matt Westcott
386e7c896e
Release note for #10866 in 5.1.2
2023-09-11 19:06:48 +01:00
Matt Westcott
e017225c0f
Add release note recommending the use of AutocompleteField
2023-09-11 17:11:26 +01:00
Gareth Palmer
a63689869e
Add support for merging cells in TableBlock.
...
Handsontable has support for merging table cells using the `mergeCells`
plugin but there was no support in Wagtail for storing which cells have
been merged or rendering them in the output template.
The client JavaScript will now save which cells have been merged and
the output template will merge or hide cells.
See https://handsontable.com/docs/6.2.0/Options.html#mergeCells
2023-09-08 08:30:49 +10:00
Sage Abdullah
28d55f8c24
Release notes for #10826 and #10827 in 5.1.2
2023-09-07 13:58:01 +01:00
Matt Westcott
d00c2fe12c
Release note for #10847 in 5.1.2
2023-09-07 12:22:54 +01:00
Matt Westcott
d322d60228
Release note for #10847 in 5.0.3
2023-09-07 12:22:53 +01:00
Matt Westcott
b6bd047598
Add documentation for non-model choosers using queryish ( #10863 )
2023-09-07 11:27:10 +01:00
Matt Westcott
0cea5a70d4
Release note for #10836 in 5.1.2
2023-09-06 17:56:57 +01:00
Matt Westcott
d112127178
Release note for #10836 in 5.0.3
2023-09-06 17:56:00 +01:00
Matt Westcott
6a30d5ebc1
Release note for #10859
2023-09-06 16:00:15 +01:00
Matt Westcott
8223162c93
Add documentation for linked_fields
2023-09-06 15:58:36 +01:00
Matt Westcott
7b64f08e74
Allow ChooserViewSet to be filtered by specified URL parameters
2023-09-06 15:58:36 +01:00
LB Johnston
8a52269da5
Update w-breadcrumb root class to w-breadcrumbs (plural)
...
- This way we align with the controller name
2023-09-05 20:05:56 +10:00
LB Johnston
857ea05c2e
Migrate breadcrumb JS to Stimulus RevealController
...
- Adds a new generic `RevealController` that handles the ability for content to be opened/closed while updating the relevant parts of the DOM such as aria-expanded on the toggle.
- Register this controller as a generic `w-reveal` and also the `w-breadcrumb` identifiers so that we can differentiate usage via different DOM attributes and events.
- Closes #10118
2023-09-05 20:05:56 +10:00
Matt Westcott
cbeb9a2512
Docs and release note for ChooserViewSet.get_object_list ( #10851 )
2023-09-04 18:45:39 +01:00
Matt Westcott
fced56b65c
Release note for #10849
2023-09-04 16:13:36 +01:00
Thibaud Colas
06a7bc6124
Fix outdated reference to BlogCategory in tutorial
2023-09-01 16:22:00 +01:00
LB Johnston
1dbf2ec2df
Add changelog for #10798
2023-08-31 18:43:15 +10:00
LB Johnston
a19bae886d
Format markdown files
2023-08-31 08:21:36 +10:00
Matt Westcott
151a386ff5
Add note to clarify that blocks are not interchangeable with model fields
...
Prompted by https://stackoverflow.com/questions/76973112/unknown-fields-specified-for-a-page-model-in-wagtail-at-content-panels/76973226?noredirect=1#comment135693718_76973226 and similar misconceptions people have made in the past.
2023-08-30 18:47:57 +01:00
Sage Abdullah
be9504cb42
Release notes for #10826
2023-08-30 16:50:21 +01:00
Christer Jensen
0edf22ccbc
Allow overriding export_headings
via ModelViewSet
2023-08-30 12:22:15 +01:00
Sage Abdullah
b61bd4463e
Release notes for #10807 , #10811 , #10818 , and #10822
2023-08-30 11:15:25 +01:00
Sage Abdullah
9a2d53d0cf
Move SnippetViewSet.list_per_page to ModelViewSet
2023-08-30 10:31:16 +01:00
Sage Abdullah
66216852b8
Move SnippetViewSet.list_export and export_filename to ModelViewSet
2023-08-30 10:30:17 +01:00
Sage Abdullah
ccbd6849f3
Move SnippetViewSet.search_fields and search_backend_name definition to ModelViewSet
2023-08-30 10:29:29 +01:00
Sage Abdullah
3ae937120e
Fix cross-reference links in Snippets-ModelAdmin migration docs
2023-08-30 10:26:39 +01:00
Sage Abdullah
1fa124fe82
Move SnippetViewSet.list_filter and filterset_class definition to ModelViewSet
2023-08-30 10:26:38 +01:00
LB Johnston
585a08fea0
Adopt w-bulk Stimulus controller for form submissions listing
2023-08-24 20:53:49 +10:00
Sage Abdullah
714beabb7f
Release notes for #10823
2023-08-24 11:02:47 +01:00
LB Johnston
6f9dda5cfc
Fix issue where collection deletion success message was not correct
...
- Fixes #10813
2023-08-24 18:33:23 +10:00
Matt Westcott
2be1da6621
Stop private pages from breaking display of snippets in moderation dashboard
...
Fixes #10819
2023-08-24 18:28:08 +10:00
LB Johnston
6dfa97b908
Add changelog for #7937
2023-08-24 07:14:06 +10:00
Sage Abdullah
564b52188d
Release notes for #10779 and #10796
2023-08-22 17:14:44 +01:00
Sage Abdullah
cd222898fd
Move SnippetViewSet.list_diplay definition to ModelViewSet
2023-08-22 16:34:51 +01:00
Sage Abdullah
849dd5124b
Rename groups IndexView.results_template_name to results.html
2023-08-22 16:25:26 +01:00
Sage Abdullah
91a539d797
Add docs and tests for custom template overrides in ModelViewSets
2023-08-22 15:56:42 +01:00
Shreshth Srivastava
7a647eb53b
Fix incorrect screenshot for authors on tutorial ( #10805 )
...
Fixes #10763
2023-08-21 19:28:57 +01:00
Antoni Martyniuk
eadf9a6d9c
feat: pickle support for StreamField ( #10654 )
...
Fixes #1988
2023-08-21 18:42:38 +01:00
Sage Abdullah
ad070af8fd
Change WagtailTestUtils.get_soup() to accept str/bytes instead of HttpResponse
2023-08-21 14:40:07 +01:00
Matt Westcott
cfa4b7ca69
Copy view restrictions when creating a page alias
...
Rebuild of #10145 following modifications to #6406 . Fixes #10111
2023-08-18 19:10:01 +01:00
Matt Westcott
ea659cb98b
Release note for #10758
2023-08-18 17:45:31 +01:00
Sandeep
a1e50c57f6
Copy privacy settings on page copy ( #6406 )
...
Fixes #6212
2023-08-18 15:58:55 +01:00
Shreshth Srivastava
ff16cb5a3e
Mention WAGTAILADMIN_BASE_URL in integrating_into_django.md ( #10758 )
...
Fixes #10741
Mentioned WAGTAILADMIN_BASE_URL and the warnings related to it in the 'Settings' section.
2023-08-18 13:00:42 +01:00
Sage Abdullah
d8a2826fb4
Release notes for #10767 and #10777
2023-08-16 11:42:11 +01:00
Sage Abdullah
65739c6925
Add ModelViewSet.add_to_reference_index to allow opting out of the ReferenceIndex
2023-08-16 11:42:11 +01:00
Sage Abdullah
c7b5c9a04d
Update viewsets documentation to cover ViewSetGroups and menu item registration
2023-08-15 11:53:44 +01:00
Matt Westcott
e0b0d03cf0
Release note for #10782
2023-08-15 01:33:16 +01:00
Matt Westcott
9ff0f10310
Mention model_name in docstrings
2023-08-15 01:31:16 +01:00
Matt Westcott
485545a983
Allow ViewSet subclasses to customise url_prefix and url_namespace logic
...
Alternative approach to #10766 , as per https://github.com/wagtail/wagtail/pull/10766#issuecomment-1675043897
2023-08-15 01:31:16 +01:00
Sage Abdullah
ea8f45be85
Fill in release date for 5.1.1
2023-08-14 15:03:51 +01:00
Florent Lebreton
e7bb3e9d22
Fix read_only panels for fields with translatable choice labels
2023-08-10 11:16:13 +01:00
Storm B. Heg
1c12d96457
Add WagtailTestUtils.get_soup()
method to get a BeautifulSoup
object
2023-08-10 10:10:01 +01:00
Sage Abdullah
f0cfa62bda
Release notes for #10768
2023-08-10 09:17:44 +01:00
Sage Abdullah
c56ec67a39
Introduce BooleanColumn for showing boolean values as tick/cross icons
2023-08-10 09:11:26 +01:00
Sage Abdullah
d639cbbf4c
Call out ModelAdmin migration guide in 5.1 upgrade considerations
2023-08-10 09:11:26 +01:00
Sage Abdullah
133da4c3a9
Add docs for migrating ModelAdminGroup to SnippetViewSetGroup
2023-08-10 09:11:25 +01:00
LB Johnston
8fbf5df3f2
Docs - fix small typo in HTML layout
2023-08-09 19:50:59 +10:00
LB Johnston
db42d56bea
Add changelog for #10742
2023-08-05 10:06:31 +10:00
Storm B. Heg
2c43ddbbd3
Add support for options/attrs in Telepath widgets & add required/aria-describedby
...
- This allows us to pass extra data for the widget to use in a backwards-compatible way.
- FieldBlock: render 'required' and 'aria-describedby' attributes when appropriate
- Ensure options passed to `render` override defaults
- FieldBlock: add test proving options are constructed and passed down
- Allow Telepath's widget rendering to take options
- Include extra accessibility-related attributes in html output
- Resolves missing required attribute on input elements for required fields
- Resolves missing aria-describedby attribute on input element when the field has help text.
- Partial work on #10300
2023-08-05 08:55:53 +10:00
Storm B. Heg
3be4e685c0
Remove unused WorkflowStatus view, urlpattern, and workflow-status.js
2023-08-03 15:16:08 +01:00
Sage Abdullah
801eccc930
Release notes for #10709
2023-08-02 15:45:14 +01:00
LB Johnston
fbde6118b7
Update npm scripts
...
- Add new stylelint fix script & generic 'fix' (all) script in npm scripts.
- Disable autofix on `stylelint-declaration-strict-value` as this requires a custom function to be created.
2023-08-02 21:03:27 +10:00
LB Johnston
956db6adcf
Add changelog for #10682
2023-08-02 21:01:56 +10:00
Sage Abdullah
6f089f7728
Fill in release date for 5.1
2023-08-01 14:30:34 +01:00
Sage Abdullah
d88ee0c595
Group 5.1 upgrade considerations by impact
2023-08-01 13:36:16 +01:00
Sage Abdullah
e8a36191d2
Group 5.2 upgrade considerations by impact
2023-08-01 13:36:16 +01:00
Thibaud Colas
23cf9762df
Update tutorial screenshots for Wagtail v5.1
2023-08-01 13:15:08 +01:00
Thibaud Colas
cc2a6bcc02
Move permissions consolidation and snippet enhancements to their own release notes sections
2023-08-01 13:15:08 +01:00
Sage Abdullah
84be5ba99b
Fix incorrect GroupPagePermission import in 5.1 release notes
2023-08-01 09:49:01 +01:00
Robert Rollins
9d6715e3dd
Corrected a typo in {% page_header_buttons %}
...
Fixes #10730
2023-08-01 07:43:41 +10:00
Andy Chosak
d6ab9db01f
Don't update the reference index while deleting it
...
The rebuild_reference_index management command starts by
deleting the entire ReferenceIndex table.
In Wagtail versions 4.1 and 4.2, all models are tracked in the
reference index. Unfortunately this also includes the
ReferenceIndex model itself. This is changed in 5.0 to only track certain Wagtail-related models [0].
This means that when rebuild_reference_index runs in versions
4.1 or 4.2, and deletes the ReferenceIndex table, it runs the code that checks whether ReferenceIndex instances have any
references.
If the index contains a large number of references (as could
happen if an upgrade to 4.1 built an index for a non-Wagtail
model), this process becomes extremely slow. There's no need
for the rebuild_reference_index command to update the index
when deleting it, so this can be significantly optimized by
disabling auto update here.
[0] https://docs.wagtail.org/en/stable/releases/5.0.html#referenceindex-no-longer-tracks-models-used-outside-of-wagtail
2023-07-31 15:28:50 +01:00
Sage Abdullah
3179ea06bb
Add migration to replace JSON null values with empty objects in log entries' data
2023-07-31 15:12:22 +01:00
Sage Abdullah
5df19920df
Guard against TypeError in 0088_fix_log_entry_json_timestamps migration
...
Old logs may have the data set to JSON `null` instead of an empty JSON
object `{}`.
See https://github.com/wagtail/wagtail/pull/8021#issuecomment-1658082683
and https://github.com/wagtail/wagtail/pull/9590#discussion_r1279096075
for more details.
2023-07-31 14:11:58 +01:00
Sage Abdullah
1f1d57f621
Fix search_promotions 0004_copy_queries migration for long-lived Wagtail instances
...
This migration would fail on Wagtail instances that have been around
since v0.5 (when we still used django-south), because the column order
of the wagtailsearch_querydailyhits table is different from the newly-created
wagtailsearchpromotions_querydailyhits.
If you hit this issue, you deserve a 🌟
2023-07-31 11:27:55 +01:00
Sage Abdullah
39a723f9d1
Release notes for #10174
2023-07-28 09:26:57 +01:00
Sage Abdullah
fad37fd232
Add docs for migrating from modeladmin to snippets
2023-07-26 16:04:35 +01:00
Sage Abdullah
89ce8824ec
Always set help text element ID for form fields with help text in field.html template
2023-07-24 10:36:39 +01:00
Sage Abdullah
c220662eed
Fix link in custom HTML attributes in Panels documentation
2023-07-21 06:36:11 +10:00
Jake Howard
69724e4e3a
Create preview-aware & page-enhanced cache template tags
...
This can be used in other places, but ensures caches are invalidated
whenever something about a page changes.
- Add a util to get wagtail-specific fragment cache keys
- Don't pollute context when injecting site variable
- Add documentation on wagtail fragment caching
- Define an intelligent cache key for pages
- Allow the components of the cache key to be easily modified
- Note that some manual changes may not create a new cache key
Co-authored-by: Andy Babic <andyjbabic@gmail.com>
Closes #5074
2023-07-20 08:24:09 +10:00
LB Johnston
412b71ac1c
Update Sphinx Wagtail Theme to v6.1.1
2023-07-20 07:50:33 +10:00
Dan Hayden
2ed1b33bb8
fix code block typo in streamfield_migrations.md
2023-07-20 07:48:09 +10:00
LB Johnston
b94f16e67c
Fix a few minor typos in the 5.1 release notes / changelog
2023-07-19 11:34:17 +01:00
Matt Westcott
112fa6b72d
Set an AutocompleteField on FullFeaturedSnippet so TestFilterSetClassSearch works correctly
2023-07-19 11:05:34 +01:00
Sage Abdullah
a71232df7b
Set up release notes for 5.2
2023-07-19 17:53:26 +10:00
Sage Abdullah
64f496a2e1
Remove old versionadded / versionchanged notes
2023-07-19 17:53:26 +10:00
Sage Abdullah
9f48a8af94
Fix incorrect versionchanged number for user_page_permissions deprecation
2023-07-19 17:53:26 +10:00
sgfost
61594a2616
Add docs for managing stored queries in searchpromotions
...
and update docs about the search -> searchpromotions migration.
2023-07-18 15:00:56 +01:00
LB Johnston
f3c3d31e23
Ensure userbar dialog can sit above other website content
...
- Fixes #10471
2023-07-18 13:53:06 +01:00
LB Johnston
ad6fd746b9
Documentation - Add recent third party tutorials
2023-07-18 21:48:59 +10:00
Storm B. Heg
fef8c4ac3c
Ensure StreamField panels validation errors are visible ( #10673 )
...
...by rendering panels as expanded, regardless of the collapse
setting specified by the Wagtail implementor.
Fixes #8990 partially.
2023-07-18 12:43:17 +01:00
LB Johnston
bebbcfb48d
Fix a few grammar / spelling typos in the 5.1 release notes
2023-07-18 21:38:52 +10:00
Sage Abdullah
191ddf8a55
Deprecate wagtail.contrib.modeladmin
2023-07-18 12:33:42 +01:00
Sage Abdullah
f8da5f1be1
Release notes for #10689
2023-07-18 10:42:14 +01:00
Matt Westcott
5fcb58f929
Deprecate Elasticsearch 5 and 6 search backends
2023-07-18 09:32:37 +01:00
LB Johnston
995809a318
Adopt data attribute usage of SwapController (w-swap) for all header searches
...
- Removes six inline scripts completely, no longer relying on window.headerSearch
- Update the fallback Stimulus Swap controller afterLoad to be a deprecated method
- Add upgrade considerations
- Fix regression from d554cbe310
where manually submitting page search results would load the partial, not full page response
- Closes #9950
2023-07-18 07:09:28 +10:00
Storm B. Heg
09aee38ca9
Reinstate field_as_li.html
...
Other packages and projects may still rely on the existence of this
template. We cannot simply remove it without a proper deprecation.
Add a note to remove the template in the next release.
2023-07-18 07:05:34 +10:00
LB Johnston
94ebf435f5
Fix changelog for #10397
...
- Remove maintenance entry from release notes as already in the callout at the top of the notes
- Add to changelog
2023-07-18 06:41:49 +10:00
LB Johnston
48307ca587
Add changelog for #9961
2023-07-18 06:39:10 +10:00
Tidiane Dia
a6c9409e03
Avoid N+1 queries in users index view
2023-07-17 17:23:12 +01:00
Matt Westcott
71d19a7827
Release note for snippet inspect view ( #10621 )
2023-07-17 17:22:15 +01:00
Sage Abdullah
0bebe532e8
Add docs and tests for snippets inspect view
2023-07-17 17:19:11 +01:00
Matt Westcott
16140d7e53
Release notes for #10618
2023-07-17 16:50:54 +01:00
Matt Westcott
a3e282491e
Release notes for Elasticsearch 8 support ( #10686 )
2023-07-17 16:24:39 +01:00
Matt Westcott
d05c0c1bc1
Update docs to cover Elasticsearch 8 support
2023-07-17 16:18:37 +01:00
LB Johnston
3d471edbcf
Clean whitespace formatting in docs
...
- Update formatting with prettier in the documentation
2023-07-17 22:24:54 +10:00
LB Johnston
0f97838381
Documentation - revise usage of e.g.
...
- Replace one usage of 'eg' with more suitable alternatives
- As per guidelines https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#latin-phrases-and-abbreviations
2023-07-17 15:13:30 +10:00
Albina Starykova
457e260622
Update styles for userbar and a11y checker in dark mode
2023-07-16 22:07:24 +10:00
Storm B. Heg
a4d29494ac
Refactor all field_as_li.html
includes
...
`field_as_li.html` merely wraps a <li> and includes `field.html`.
Remove `field_as_li.html` template
It is no longer used.
Historical mention in 1.0 release notes [^1] has
been left intact.
[^1]: docs/releases/1.0.rst
Relates to #9031
2023-07-16 21:38:38 +10:00
Albina Starykova
ecb2126cea
Update Wagtail logo to the latest version
...
- Partial progress on #10404
2023-07-16 17:20:26 +10:00
Stefan Hammer
8960e237ea
Add upgrade considerations for the changed audit log timestamps
...
See #9590
2023-07-16 16:44:44 +10:00
LB Johnston
74af3e3b45
Add changelog & upgrade considerations for Stimulus dialog/teleport usage
...
- Closes #10174
- See PR #10397
2023-07-15 23:03:57 +10:00
Daniel Kirkham
1873c49d5d
Revise release note for model ordering #10469
2023-07-15 10:37:16 +10:00
zerolab
1a4e5dde12
Add release notes for #10657
2023-07-14 16:17:53 +01:00
zerolab
96c3d719c2
Change the default WebP quality to 80
...
This is the value most used, and is the default in Willow too
Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01:00
zerolab
ce4afcd578
Update documentation for AVIF support
...
Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01:00
Sage Abdullah
92f37fe377
Release notes for #10596
2023-07-14 15:24:28 +01:00
Albina
e5da22586b
Update styles for block picker in dark mode ( #10644 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-07-14 14:42:12 +01:00
Matt Westcott
aca754aa36
Release note for dropping Python 3.7 support ( #10676 )
2023-07-14 13:09:55 +01:00
zerolab
ac10b36c7b
Run pyupgrade with --py38-plus
2023-07-14 13:06:41 +01:00
zerolab
adde8b66f6
Drop support for Python 3.7
2023-07-14 13:06:41 +01:00
Sage Abdullah
3d0282573d
Release notes for #10619
2023-07-14 10:20:45 +01:00
Sage Abdullah
12583d9c48
Allow purging revisions of only page/non-page models
2023-07-14 10:18:33 +01:00
Albina
a84fdd4919
Update styles for critical buttons in dark mode ( #10643 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-07-14 09:35:43 +01:00
Shohan Dutta Roy
3a10f925a3
feat(elasticsearch6): Add support for field boosting ( #10653 )
2023-07-13 15:02:37 +01:00
Thibaud Colas
602cc6f334
Remove unused snippets _header_with_history.html
2023-07-13 18:05:16 +10:00
Albina
0b2ea1edac
Update rich text Link/Document Tooltip styles ( #10639 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-07-13 08:19:59 +01:00
Thibaud Colas
80b696c0d6
Release notes for #10598
2023-07-13 07:51:26 +01:00
Thibaud Colas
d86d889c76
Move Stimulus adoption changelog entries to their own section
2023-07-13 00:52:48 +01:00
Thibaud Colas
596a1363f5
Switch release notes to use semantic headings
2023-07-13 00:45:29 +01:00
Thibaud Colas
eb56a0c8bb
Release notes for #10620
2023-07-13 00:43:17 +01:00
LB Johnston
2ad71493a9
Add TooltipController (w-tooltip) & remove bootstrap tooltips
...
Adds a new Stimulus controller for Tippy.js tooltips to replace only the Bootstrap tooltip usage & removes the bootstrap JS tooltip code.
- Dashboard - moderation listing panel
- Reports - Workflow listing status tooltip
- Shared Avatar - user name tooltip
- Workflow listing - steps item tooltip
Closes #8565
2023-07-13 00:43:17 +01:00
LB Johnston
58377402bf
Replace ModelAdmin history header human readable date
...
- Snippet header with history appears to be unused, updated anyway
- Update ModelAdmin header with history to use the human readable (more accessible) timesince date, which uses Tippy.js
- Relates to #8565
- Builds on #8697 & #8566
2023-07-13 00:43:17 +01:00
Stefan Hammer
7962118dc0
Add missing TZ conversions and date formatting
...
* Usages of strftime("%d %b %Y %H:%M") have been replaced by usages of
django's timezone handling and date formatting, so the output is
similar to other dates rendered through the templating.
* Dates stored in the action logs are now parsed and converted
accordingly for the frontend.
* Improved tests to check those conversions
* Fixes #9581
* Add handling for wagtail.schedule.cancel with go_live_at=None
* Migrate log timestamps to ISO 8601 in UTC
* adapted new code from #9628
* replaced usages of test utility rendered_timestamp() with new core utility
* Replaced usages of django.utils.timezone.utc
* re-added migration on top of newest migrations
2023-07-13 08:13:54 +10:00
zerolab
a096dd3ded
Fix headings levels for the 5.1 release notes
2023-07-12 20:00:49 +01:00
zerolab
6345c8c4c1
Release notes for #10612
2023-07-12 16:59:53 +01:00
Jake Howard
27a203f697
Always cache renditions
...
This should provide a big performance boost to those who don't set the cache, with minimal extra overhead.
2023-07-12 16:35:06 +01:00
Jake Howard
e463c80250
Prevent memory exhaustion when running wagtail_update_image_renditions with many renditions
...
This reduces the memory overhead of the command, allowing it to be run on sites with lots of images.
Whilst that may reduce performance, I've also added a `select_related` and massively simplified the
`purge_only` path to counter
2023-07-12 16:31:57 +01:00
Thibaud Colas
366e7f0153
Add support for --template argument to wagtail start
2023-07-12 13:18:31 +01:00
Antoni Martyniuk
47df43d722
Finish attrs
support for FieldPanel and other Panels
...
- Closes #10133
- Rework from original PR #10323
- Add documentation
2023-07-12 20:25:09 +10:00
Sage Abdullah
a5bea1ccaf
Release notes for #10626
2023-07-12 09:21:12 +01:00
Sage Abdullah
0550b03dad
Allow customising the spreadsheet file name via SnippetViewSet.export_filename
2023-07-12 09:18:11 +01:00
Sage Abdullah
428b7914e2
Add docs and tests for exporting snippets listing
2023-07-12 09:18:09 +01:00
Sébastien Corbin
853aad4305
Fix incorrect override of PagePermissionHelper.user_can_unpublish_obj() in ModelAdmin
2023-07-07 16:35:46 +01:00
LB Johnston
04d1e8162b
Migrate header search to a Stimulus controller (w-swap)
...
- Removes the jQuery slide animation so content will be instantly replaced
- Removes the autofocus behaviour on the search fields as this is not helpful for screen readers / keyboard control
- Includes support for `window.header` if provided alongside dynamic adding of data-* attributes if not included
- Base implementation for #9950
- Co-authored-by: sage <laymonage@gmail.com>
2023-07-06 20:10:31 +10:00
Yuekui
1ea8a0e360
Increase Pillow dependency range to include 10.x
...
- Drop support for Pillow versions below `9.1.0`
- Fixes #10631
2023-07-06 17:09:28 +10:00