Wykres commitów

15138 Commity (607f0a821c8c9febc6d5294a2431d2c3103f2a35)

Autor SHA1 Wiadomość Data
Jake Howard cfa11bbe00 Don't load temporary uploaded files into memory
These can be quite large. Instead pass them straight to Willow to have it read just as much as it needs to
2023-04-03 12:41:18 +02:00
Jake Howard 3c0c64642b Don't load images / documents into memory when calculating their hash
This can be done in chunks, which prevents crashes when uploading large files.
2023-04-03 12:41:18 +02:00
Matt Westcott eefc3381d3 Release note for CVE-2023-28836 in 4.1.4 2023-04-03 12:41:18 +02:00
Matt Westcott bc84bf9815 Release note for CVE-2023-28836 in 4.2.2 2023-04-03 12:41:18 +02:00
Thibaud Colas 158acef606 Change ModelAdmin InspectView to escape any HTML from document titles 2023-04-03 12:41:18 +02:00
Thibaud Colas f033c9c490 Add new document field to Book model to test ModelAdmin features 2023-04-03 12:41:18 +02:00
Thibaud Colas 714147964a Change ChooseParentView to use plain text breadcrumbs for page titles, avoiding stored XSS vector 2023-04-03 11:13:03 +02:00
Matt Westcott a3498b260f Release note for #10256 2023-04-03 10:24:30 +02:00
Sage Abdullah bcbaafd116 Add docs and tests for snippets listing filters via list_filter 2023-04-03 10:24:30 +02:00
Sage Abdullah b33eff76a1 Fix is_filtering detection in generic IndexView for filters with lookups
get_fields() only returns the model fields, but filters can also be
model fields + lookups, e.g. `text__contains`
2023-04-03 10:24:30 +02:00
Sage Abdullah 82cac4ae2e Move custom snippets listing view tests to test_viewset and merge FilterableSnippet with FullFeaturedSnippet 2023-04-03 10:24:30 +02:00
Sage Abdullah c1a4528b8a Prevent a circular import when registering snippets bulk actions 2023-04-03 10:19:17 +02:00
Sage Abdullah 6e3d75f0ab Allow IndexView.list_filter to be set via SnippetViewSet.list_filter 2023-04-03 10:19:17 +02:00
Sage Abdullah 78c890eaeb Automatically generate a default filterset_class via IndexView.list_filter 2023-04-03 10:19:17 +02:00
Matt Westcott def7e44a38 Release note for #10266 in 4.2.2 2023-04-01 01:23:31 +01:00
Matt Westcott d82ae50ca9 Release note for #10266 in 4.1.4 2023-04-01 01:23:31 +01:00
LB Johnston 1532eedf20 Ensure datetimepicker widget overlay shows over modals
- Update to the exact same z-index as the modal
- Fixes #3604
2023-04-01 01:00:22 +01:00
Matt Westcott 4498956f05 Release note for #10284 in 4.2.2 2023-04-01 00:58:17 +01:00
Matt Westcott 2cd4730e63 Release note for #10284 in 4.1.4 2023-04-01 00:58:10 +01:00
Jake Howard ab92331f99 Render large image files to disk
This will make little difference to the render process, but saves them to disk once the generation is complete to help clean up memory faster.
2023-04-01 00:52:43 +01:00
Thibaud Colas f82ff1e22c
Move help text above all form fields (#10302)
* Move all help text above fields
* Adjust vertical spacing of form fields and panels
* Move the page title’s help text below the field
* Release notes
2023-03-31 17:05:20 +01:00
Matt Westcott 84fdbf3783 Make /admin/jsi18n/ view accessible to unauthenticated users
Fixes #10293
2023-03-31 14:55:12 +01:00
LB Johnston 7a6d2bc689 5.0 release notes clean up
- Remove unnecessary `docs:` prefix on documentation item
- Fix w-slug attribute example (should end with -value)
- Remove heading levels for old/new syntax in progress button details
- Use a consistent approach to Stimulus adoption entries (focus on data attributes used, not Stimulus migration)
2023-03-31 07:07:20 +10:00
Matt Westcott e6282572c3 Release note for #10298 2023-03-30 16:12:15 +01:00
Matt Westcott 9e4226dd61 Release note for #10297 2023-03-30 14:54:41 +01:00
Matt Westcott 859a4d1e8d Remove fallback code for old Wagtail versions from wagtail_factories 2023-03-30 14:54:24 +01:00
Matt Westcott 8fbf010b16 Include wagtail-factories inside wagtail.test.utils 2023-03-30 13:43:18 +01:00
Matt Westcott fd88ec3eb7 Release note for #9842 2023-03-30 10:45:09 +01:00
Joshua Munn c3383f20a4 Use functools.lru_cache instead of cache on ImageNode.get_filter 2023-03-30 10:19:43 +01:00
Matt Westcott 926ae2418f Bump Willow to 1.5 for SVG support 2023-03-30 10:19:43 +01:00
Joshua Munn 2424df3d68 Remove WAGTAILIMAGES_ALLOW_SVG setting for WAGTAILIMAGES_EXTENSIONS
PR #9860 introduced the WAGTAILIMAGES_EXTENSIONS setting, which
conflicts with the use of
WAGTAILIMAGES_ALLOW_SVG. WAGTAILIMAGES_EXTENSIONS can be used to
opt-in for SVG use instead.
2023-03-30 10:19:43 +01:00
Joshua Munn 657afde30a Add more detail to SVG security notes, update settings reference 2023-03-30 10:19:43 +01:00
Joshua Munn ef12245351 Add more SVG tests 2023-03-30 10:19:43 +01:00
Joshua Munn 196ed4162d Add SVG docs 2023-03-30 10:19:43 +01:00
Joshua Munn b30bfa993f Add preserve_svg option to api ImageRenditionField 2023-03-30 10:19:43 +01:00
Joshua Munn 34691bdd3a Add preserve-svg option to image template tag 2023-03-30 10:19:43 +01:00
Joshua Munn 0634ad2e9c Allow processing of SVGs with floating point dimensions 2023-03-30 10:19:43 +01:00
Joshua Munn d519ad9b66 Allow upload of SVG images 2023-03-30 10:19:43 +01:00
Thibaud Colas da7e68ea08 Release notes for #9666 2023-03-30 00:14:03 +01:00
Thibaud Colas e1861978eb Always display StreamField "Add" buttons 2023-03-30 00:14:03 +01:00
Thibaud Colas 6b32591c85 Always show StreamField and InlinePanel nesting guide lines 2023-03-30 00:14:03 +01:00
Thibaud Colas 9855382a62 Always show StreamField and InlinePanel block actions 2023-03-30 00:14:03 +01:00
Thibaud Colas b504403ebf Release notes for #10277 2023-03-29 13:20:23 +01:00
Thibaud Colas 5ba84b7897 Convert "add child page" icon to SVG 2023-03-29 13:20:23 +01:00
Thibaud Colas ef3d93819e Convert user creation form to SVG icons 2023-03-29 13:20:23 +01:00
Thibaud Colas 978d62122c Convert form submissions listings to use the same ordering icons as other listings 2023-03-29 13:20:23 +01:00
Thibaud Colas 4c7b263010 Fix typo in header.html docs 2023-03-29 13:20:23 +01:00
Thibaud Colas e8ead77b7a Remove dead styles from legacy dropdown 2023-03-29 13:20:23 +01:00
Thibaud Colas 620f4ee11f Convert add multiple thumbnail icon to SVG 2023-03-29 13:20:23 +01:00
Thibaud Colas de0f876744 Convert "after" ordering icons to SVG 2023-03-29 13:20:23 +01:00