Wykres commitów

14671 Commity (cbdc63c6b2265ac4b18d347496b4df4a1de5b64a)

Autor SHA1 Wiadomość Data
Matt Westcott cbdc63c6b2 Fix changelog for django-filter upgrade in 4.0
Fixes #11019
2023-10-09 12:06:26 +01:00
Sage Abdullah b6ba78de81
Fill in release date for 4.2.4 in docs 2023-05-25 14:51:06 +01:00
Sage Abdullah 36afebc876
Version bump to 4.2.4 2023-05-25 13:46:25 +01:00
Sage Abdullah 86c087bcb3
Fill in release date for 4.2.4 2023-05-25 13:45:58 +01:00
Sage Abdullah 164027c247
Fill in release date for 4.1.6 2023-05-25 13:45:39 +01:00
viragjain30 a1cc0969a9
Prevent lowercase conversions of IndexView column headers 2023-05-23 15:48:36 +01:00
Thibaud Colas 5e12ee4411 Release notes for #10282 2023-05-19 06:56:01 +01:00
LB Johnston 759c03abdf Fix collection field alignment in drop zone (multi-upload)
- Fixes #10280
2023-05-19 06:51:51 +01:00
Sage Abdullah 7880cf6f1d
Add changelog for #10448 2023-05-17 10:20:25 +01:00
Christer Jensen 527d8056df
Update documentation for `log_action` parameter on `RevisionMixin.save_revision`
Previous documentation seemed to incorrectly imply that
the default value for `log_action` was `True` when it is
in fact `False`. This can confuse readers not looking at
the method signature.
2023-05-17 10:15:37 +01:00
Sage Abdullah 8fbf7624a0
Release notes for #10421 2023-05-15 16:09:31 +01:00
Matt Westcott e0e10b7fd3
Ensure that copying page correctly picks up the latest revision
Fixes #10393
2023-05-15 16:07:34 +01:00
Matt Westcott 14244d18d4 add mock for updateSettings when testing TableBlock 2023-05-15 15:33:17 +01:00
Matt Westcott 5a1ef3b877 Release note for #10430 in 4.2.4 2023-05-15 14:10:45 +01:00
Sage Abdullah 68583c0ec2 Fix TableBlock resize target selector
Fixes #10427.

In d51ec00ce1, the target was changed from
'[data-field] > .handsontable' to '.handsontable', as the .handsontable
element is no longer a direct descendant of the [data-field] element.

However, this means that we're marking ALL elements with .handsontable
as resize targets, which is not ideal as pretty much all elements
generated by Handsontable have that class.

The original logic would presumably only select the outermost element
with the .handsontable class, which is equal to the element with the
foo-handsontable-container ID (we store this in the containerId
variable).

Frankly, removing this selector outright would also fix the issue. That
said, let's keep this selector in anyway, to match the logic in older
releases.
2023-05-15 14:08:25 +01:00
Sage Abdullah 14b4b19e40 Fix incorrect check of Handsontable size options
Regression in 933a730928 introduced in 4.2.

This causes the discrepancy seen between 4.1 vs 4.2 (and later). In 4.2,
this check was broken, which means the event handler never gets added.

The combination of the event handler and the incorrect selector (fixed
in the next commit) would resize all Handsontable elements, resulting in
the bug where the table cannot be interacted with.

The commit b9f8a6b6c0 fixed another cause
of the issue, which was calling `resizeWidth(getWidth())`. The
getWidth() function should only be used to set the Handsontable's
settings, while resizeWidth should be called with '100%' as done within
the event handler.

However, seeing that the event listener is not even attached in 4.2
onwards, dispatching the resize event might not be necessary and
Handsontable might already handle this correctly. That said, let's
avoid making other changes that could potentially cause issues.

With this commit, the bug should reappear in 4.2 and later releases,
making it consistent with 4.1. The bug will be fixed in the next commit.
2023-05-15 14:07:28 +01:00
Matt Westcott 1b75648e03 Release note for #10430 in 4.1.6 2023-05-15 12:56:43 +01:00
Matt Westcott 9edaadaef0 Version bump to 4.2.3 2023-05-02 14:06:57 +01:00
Matt Westcott b219949400 Release note for #10367 in 4.2.3 2023-05-02 14:06:42 +01:00
Matt Westcott ceed46c514 Release note for #10367 in 4.1.5 2023-05-02 14:05:50 +01:00
Sage Abdullah 5d474b18a5 Dispatch resize event to resize Handsontable on initialisation 2023-04-20 14:39:15 +01:00
Matt Westcott 43c1753cb5 Version bump to 4.2.2 2023-04-03 13:11:46 +02:00
Matt Westcott ca75fbc04a Fill in release date for 4.1.4 2023-04-03 13:11:46 +02:00
Matt Westcott 0ec321e4a3 Fill in release date for 4.2.2 2023-04-03 13:11:46 +02:00
Matt Westcott add3c78322 Release note for CVE-2023-28837 in 4.1.4 2023-04-03 13:11:46 +02:00
Matt Westcott 203e4abd39 Release note for CVE-2023-28837 in 4.2.2 2023-04-03 13:11:46 +02:00
Jake Howard 25bf34b288 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 13:11:46 +02:00
Jake Howard b337c971f0 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 13:11:46 +02:00
Matt Westcott 65a626f309 Release note for CVE-2023-28836 in 4.1.4 2023-04-03 13:11:46 +02:00
Matt Westcott b533ec1e1d Release note for CVE-2023-28836 in 4.2.2 2023-04-03 13:11:46 +02:00
Thibaud Colas ff806ab173 Change ModelAdmin InspectView to escape any HTML from document titles 2023-04-03 13:11:46 +02:00
Thibaud Colas f6eae49db5 Add new document field to Book model to test ModelAdmin features 2023-04-03 13:11:46 +02:00
Thibaud Colas 5be2b1ed55 Change ChooseParentView to use plain text breadcrumbs for page titles, avoiding stored XSS vector 2023-04-03 11:23:46 +02:00
Matt Westcott 18d583282f Release note for #10266 in 4.2.2 2023-04-01 01:23:08 +01:00
Matt Westcott ce1f39e70b Release note for #10266 in 4.1.4 2023-04-01 01:22:18 +01:00
LB Johnston 0878d1677b Ensure datetimepicker widget overlay shows over modals
- Update to the exact same z-index as the modal
- Fixes #3604
2023-04-01 01:22:09 +01:00
Matt Westcott 913162d1a1 Release note for #10284 in 4.2.2 2023-04-01 00:57:51 +01:00
Matt Westcott 5c0a5c1732 Release note for #10284 in 4.1.4 2023-04-01 00:57:05 +01:00
Jake Howard ed51907d72 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:56:58 +01:00
Matt Westcott 11549260c8 Release note for #10298 2023-03-30 16:11:56 +01:00
Matt Westcott ba8c8fe04f Fix namespace for MultipleChooserPanel reference docs
Fixes #10288
2023-03-30 14:32:18 +01:00
Thibaud Colas 7681b02b72 Release notes for #9666 2023-03-30 01:19:27 +01:00
Thibaud Colas f3dd9841bd Always display StreamField "Add" buttons 2023-03-30 01:18:26 +01:00
Thibaud Colas 14b38ff861 Always show StreamField and InlinePanel nesting guide lines 2023-03-30 01:18:23 +01:00
Thibaud Colas c83ba866b0 Always show StreamField and InlinePanel block actions 2023-03-30 01:18:20 +01:00
Babitha Kumari ba6d1fd9c7 Avoid showing scrollbars in the block picker unless necessary. Fix #10253 (#10268) 2023-03-28 17:21:52 +01:00
Thibaud Colas dd24a913f3
Fix server-side caching of the icons sprite 2023-03-24 15:34:39 +00:00
Sage Abdullah 1efc626727
Add missing extra CSS and JS defined by filters in snippets listing view
- Fixes #10254
2023-03-24 15:11:06 +00:00
zerolab bb0b92c951 Fix TableBlock initialisation #10223
- move Handsontable render after load & resize width after load
- stops firing a resize event
- adjusts targets to account for the changed markup
- fixes #9107

# Conflicts:
#	CHANGELOG.txt
#	docs/releases/5.0.md
2023-03-21 07:08:08 +10:00
Stefan Hammer 05013c06c1
Fix timezone handling of `TemplateResponse`s for users with a custom timezone
The PR #9628 missed the cases, where a TemplateResponse is used, which
defers the rendering to a point outside the override_tz() context
manager. This change re-uses the existing handling for the user's
preferred language.

Fixes #10243
2023-03-20 12:26:16 +00:00