Wykres commitów

2706 Commity (c8823d62b726f4ecf3b912c6850fa2e5fc90c947)

Autor SHA1 Wiadomość Data
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 eb56a0c8bb Release notes for #10620 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 6345c8c4c1
Release notes for #10612 2023-07-12 16:59:53 +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
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: sag᠎e <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
LB Johnston 91a3c6d2c2 Add changelog for #10632 2023-07-06 16:53:46 +10:00
Thibaud Colas f4ea0156a2 Implement new Draftail customisation APIs
- Fixes #5580
- Remove TSLA/TWTR/BTC references and replace with clean energy FSLR / NEE stocks
2023-07-06 13:14:54 +10:00
LB Johnston 4f012d75ec Add changelog & contributors for #10638
- Original work done via #10413
2023-07-06 12:39:41 +10:00
LB Johnston 8251072e6d Replace usage of innerHTML with textContent
- Stimulus CountController content is programatically generated but best to avoid writing HTML accidentally
- ChooserModel field required label should avoid risk of translations with HTML
- Image focal point chooser's label does not need to support HTML
- FieldBlock us using h util but this can be avoided by built in browser escaping when innerText is used
- focal-point-chooser gets value from its set up but we should avoid innerHTML if we can
2023-07-06 12:26:43 +10:00
SebCorbin d52484f524 Auto-select single block in StreamField
- Closes #3998
2023-07-04 17:38:45 +10:00
Damilola Oladele c37847a6fb
Switch the tutorial snippets example to be more understandable #10609 (#10624)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

Also includes:

- Further tone updates based on Vale
- Address other feedback to earlier parts of the tutorial
2023-07-03 16:54:49 +01:00
Th0masCat c7039ed9d3 Link Chooser - tel: links should prevent spaces
- Added regex operation to strip out spaces
- See spec - tel: hrefs should not have spaces https://www.rfc-editor.org/rfc/rfc3966#section-3
- Fixes #10558
2023-07-03 20:28:44 +10:00
LB Johnston 6491ae49ce Docs - Align on client-side & fix Draftail typos
- Prep for #10197
- Fix a few cases where Draftail was spelt incorrectly
- Align with `client-side` not `clientside` as this is used most commonly
- fix javascript code snippet
2023-07-03 19:18:44 +10:00
Jake Howard ef27a27c1a Docs - Add more details to the performance page & update getting started link
- Link getting started section to elasticsearch backend, not performance page as this is more relevant.
- Mention frontend caching on performance page
- Mention prefetching image renditions on performance page
2023-07-03 08:33:23 +10:00
Sébastien Corbin 707e719d29 Cast settings' verbose_name to string
- Fix for using gettext_lazy for verbose_name on a generic setting model, you get a TypeError: __str__ returned non-string (type __proxy__)
2023-07-01 16:47:21 +10:00
Jake Howard c2875179b3 Documentation - Clean up and update deployment page
This cleans out some very old, potentially out of scope content, and makes way for the page being much easier to contribute to and extend in future.
Move deploy tutorials to 3rd-party tutorials page
2023-07-01 16:35:57 +10:00
D.M. Oladele c5099a4dbe Revamp more of the getting started tutorial 2023-06-30 14:49:15 +01:00
Sandil Ranasinghe f2886cc647
Fix empty blocks created in migration operations 2023-06-30 11:24:55 +01:00
Sage Abdullah 9033282834
Optimise queries in collection permission policies using cache on the user object 2023-06-30 11:20:12 +01:00
zerolab d457879481
Release notes for #9550 2023-06-29 16:38:26 +01:00
LB Johnston 3145234b07 Add changelog for #10616 2023-06-29 18:05:45 +10:00
Sébastien Corbin 5dcf8e4a27
Fix description when locked by system 2023-06-28 10:16:24 +01:00
Matt Westcott d4eb3a2fb4 Release note for #10569 2023-06-27 19:00:41 +01:00
Sage Abdullah 71666a7019 Apply suggestions from code review 2023-06-27 18:59:25 +01:00
Sage Abdullah 2eaaf0b1bd
Release notes for #10102 2023-06-27 09:25:50 +01:00
Sage Abdullah 0ba6cb726c Fix taggit/tagit autocomplete text colour in dark mode
- Relates to #10418
2023-06-27 08:01:57 +10:00
Jake Howard 13a350ed26
Use `constant_time_compare` to verify image signatures 2023-06-26 14:27:12 +01:00
Thibaud Colas ff327d5318 Release notes for #10557 2023-06-26 14:03:08 +01:00
Sage Abdullah b8a7ad04a6
Release notes for #10592 2023-06-26 11:15:40 +01:00
D.M. Oladele 6d4265cbfa Move the tutorial’s snippets section before tags 2023-06-23 15:37:58 +01:00
D.M. Oladele 71b98f3161 Revamp the start of the getting started section, with separate quick install page 2023-06-23 11:12:14 +01:00
LB Johnston f6d119a6dd Add changelog for #10502
- Fixes #9360
2023-06-22 08:11:54 +10:00
Daniel Kirkham 17230d183a Add ordering for group editor object permissions
- Ensure the sorting will preserve Django's Permission model ordering as per ordering = ["content_type__app_label", "content_type__model", "codename"]
- `ordering = ["content_type__app_label", "content_type__model", "codename"]`
- Closes #10468
2023-06-22 08:11:04 +10:00
Jake Howard f5187d1938 Don't redundantly try and find a site
We don't actually use the site. In all cases, it's sensible to fall back to passing the request instead, as this should improve cache ratios
2023-06-22 06:55:13 +10:00
Fabien Le Frapper 13672a1e7c Add YouTube Live url to oEmbed all_providers 2023-06-22 06:50:29 +10:00
Matt Westcott 545d1fc9ea Fill in release date for 5.0.2 2023-06-21 13:56:11 +01:00
Matt Westcott 401afe7a81 Release note for #10575 in 5.0.2 2023-06-20 13:26:28 +01:00
Matt Westcott 4dd99007f6 Release note / upgrade consideration for TitlefieldPanel #10568 2023-06-20 13:03:03 +01:00
Sage Abdullah e6e392dc96
Release notes for #10562 2023-06-19 15:29:30 +01:00
Sage Abdullah 4422e65d25
Release notes for #10470 2023-06-16 11:44:44 +01:00
Thibaud Colas 4848722731 Add new expanded indicator with bottom border for side panel buttons. Fix #9174 2023-06-15 15:53:53 +01:00
Matt Westcott 840498fc1b Release note for #10563 in 5.0.2 2023-06-15 12:22:55 +01:00