Wykres commitów

5052 Commity (191ddf8a559a48e87f9972f4db5dba61378f6e25)

Autor SHA1 Wiadomość Data
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