0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

12136 Commits

Author SHA1 Message Date
Karl Hobley
4803133fee Changelogs/release notes/contributors for #7385 #7669 #7704 2021-12-02 13:47:52 +00:00
Justin Michalicek
27a5c77a46
Fix transform operations in Filter.run() when image has been re-oriented
* Fix transform operations in Filter.run() when image has been re-oriented

Add an optional `transform_width` and `transform_height` arguments to
`wagtail.images.models.Filter.get_transform().
If both are passed in, then use them otherwise image.width and
image.height for the ImageTransform

* * Changed dimension arguments on Filter.get_transform() to be a tuple of (width, height).
* Added test cases for wagtail.images.models.Rendition which use jpg
files with exif orientation specified to validate that the renditions
are created with the correct orientation. These tests and the images
themselves come from Willow's tests for the same functionality.

* Added rendition orientation tests for pixel positions to ensure renditions on images with exif orientation are still oriented correctly
2021-12-02 13:37:39 +00:00
Dmitrii Faiazov
b314f28f37
Add alias_of field into pages API 2021-12-02 13:36:55 +00:00
Nabil Khalil
c6b985770d
Allow private pages to be accessed over API 2021-12-02 13:36:12 +00:00
dependabot[bot]
ba4f7c87f9 Bump immer from 9.0.1 to 9.0.6
Bumps [immer](https://github.com/immerjs/immer) from 9.0.1 to 9.0.6.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v9.0.1...v9.0.6)

---
updated-dependencies:
- dependency-name: immer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 07:45:54 +10:00
dependabot[bot]
da7e1f0184 Bump color-string from 1.5.3 to 1.6.0
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/commits/1.6.0)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 07:45:42 +10:00
dependabot[bot]
194e972873 Bump postcss from 7.0.35 to 7.0.39
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.39.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.39)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 07:45:34 +10:00
Matt Westcott
980d2c435e collapse option on StreamField, StreamBlock, ListBlock
Fixes #7705
2021-12-01 07:36:54 +10:00
JS
40e6e1c803 Docs - Update API configuration example
Code correction - date format was incorrect.
2021-11-30 07:58:13 +10:00
Kevin Gutiérrez
131cd076b7 Change spin animation name 2021-11-18 07:05:53 +10:00
sakshi uppoor
e6f7c62360 Fix dashboard icons colour & opacity (Windows High Contrast)
- fixes #7325
2021-11-18 06:38:25 +10:00
Tom Usher
344dfcf02b Add more SketchFab oEmbed patterns
The /models pattern is what is documented in the Sketchfab oEmbed docs.
The /3d-models pattern is what you'd get by copying and pasting the URL from browsing the site.
https://sketchfab.com/developers/oembed
2021-11-18 06:32:16 +10:00
Matt Westcott
660b00b7a6 Release note for #7696 2021-11-17 16:22:20 +00:00
Matt Westcott
3efcecf536 Prevent site history report from globally altering custom_field_preprocess on ReportView 2021-11-17 16:22:20 +00:00
Tidiane Dia
846de02e56 Add Aging Pages report (#7696) 2021-11-17 16:22:20 +00:00
Thibaud Colas
cb70218166
Language tweaks 2021-11-16 09:59:36 +00:00
Matt Westcott
dcf6c300b9 Update latest.txt to reference 2.15.1 2021-11-11 16:29:34 +00:00
Matt Westcott
071b44ec38 Fill in release date for 2.15.1 2021-11-11 13:36:32 +00:00
Matt Westcott
1209c5e481 Fetch new translations from Transifex 2021-11-11 12:45:29 +00:00
Matt Westcott
dd2f8954d8 Fix double-quoting 2021-11-11 12:34:51 +00:00
Matt Westcott
966c2586fe Changelog note for #7703 2021-11-11 12:33:59 +00:00
Matt Westcott
12243e7e77 Ensure csrf token is available on dashboard panels
Fixes #7688
2021-11-11 08:29:30 +10:00
Matt Westcott
80905ea0f3 Release note for #7702 2021-11-10 21:08:20 +00:00
Matt Westcott
a54e242709 Fix bulk page publishing
Fixes #7690. We need to retrieve the specific page instance before `save_revision`, or we'll end up clearing the subclass's fields (resulting in a ValidationError if any were required, or a published version with blanked fields if not).
2021-11-10 21:07:01 +00:00
Matt Westcott
33445188e7 Release note for #7701 in 2.15.1 2021-11-10 16:06:29 +00:00
Matt Westcott
063ff924fa Fix stray bulk action checkboxes on non-explorer page listings
Fixes #7681. Rather than a hide_bulk_actions flag that non-explorer views have to add to get the old behaviour, use a show_bulk_actions flag that's enabled on the views that do want it.
2021-11-10 16:03:38 +00:00
Matt Westcott
bcaf129cef Release note for #7695 in 2.15.1 2021-11-10 12:05:16 +00:00
Serafeim Papastefanos
204831f5c0 Update setup.py to use django-filter latest version
The django-filter package has changed its versioning from a semver to a year based one. The latest version (21.1) is the same as the old one that wagtail supported (2.4): https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst 

So we could just bumb the requirement to `<=22` (I think it's fine to use that because the readme claims that breaking changes will be introduced to version+2 so breaking versions for v.21 will be introduced to v.23)
2021-11-10 12:03:05 +00:00
Matt Westcott
364398be7f Changelog note for #7694 in 2.15.1 2021-11-09 20:58:26 +00:00
Jake Howard
b4ec4ef7e8 Remove stray extra format placeholder
Presumably this was previously going to contain the exception. That's not necessary as the subsequent `raise` will make it visible.
2021-11-09 20:54:40 +00:00
Jake Howard
db408ca37d Use correct syntax for image debug logging
Fixes an issue introduced in  #7391. The arguments are meant to be *args, not a tuple.
2021-11-09 20:54:40 +00:00
Eric Sherman
d8e7fdf1ee
Adding anchor link to list of documented links in the editor manual (#7672) 2021-11-05 15:21:03 +00:00
Matt Westcott
8c654509cf Update latest.txt with 2.15 LTS 2021-11-04 12:07:54 +00:00
Matt Westcott
87dda77a2d Fill in release date for 2.15 2021-11-04 11:29:43 +00:00
Matt Westcott
e24fbc23a8 Fetch new translations from Transifex 2021-11-04 11:21:08 +00:00
Tibor Leupold
44ac29c1e5 Apply semver naming for minor release url
The current naming is conflicting with how the version number parts are
called accoring to semantic versioning. Wagtail does not strictly follow
semantic versioning, but it still seems reasonable to adopt the same
terminology as the rest of the world.

See related discussion in #7336 (in particular [this comment by @gasman](https://github.com/wagtail/wagtail/issues/7336#issuecomment-954223018))
2021-11-04 10:18:26 +00:00
Thibaud Colas
326ce53695 Resize Assistiv Labs logo to 50% to match other sponsors 2021-11-03 20:25:47 +00:00
Thibaud Colas
b48926b63f
Add Assistiv Labs sponsorship info to the README (#7677) 2021-11-03 19:44:35 +00:00
Matt Westcott
24b99a5ebc Fetch new translations from Transifex 2021-10-28 14:38:19 +01:00
Matt Westcott
9aaaee043d Start testing against Django stable/4.0.x 2021-10-28 14:11:14 +01:00
LB Johnston
274e4485f9 fix issue where nested inline panel fix broke inline panel ordering/delete 2021-10-28 13:26:42 +01:00
Matt Westcott
abf408d8f6 Formally deprecate old db search backends (#7651)
As per #7633
2021-10-28 10:53:32 +01:00
Matt Westcott
9fcadd9461 Make column-count hidden field include deleted columns in its count
Fixes #7654. Without this fix, the server-side logic ends up only considering column IDs up to the final number of columns in the table, so (for example) if you start with three columns, delete two and add one, it will only consider IDs up to 2 even though the last inserted column has been assigned an ID of 4.
2021-10-28 10:08:39 +01:00
Matt Westcott
23975e406b Test server-side logic for a deleted then inserted column 2021-10-28 10:08:39 +01:00
Scott Cranfill
1e7fbae192
TypedTableBlock: Use SVG for add button icons; use rem units for styling (#7647)
* TypedTableBlock: Use SVG for add button icons; use rem units for styling

* Fix add row button positioning in Safari
2021-10-27 07:05:23 -07:00
Matt Westcott
3e64deb1ac Label edit actions as 'Edited' instead of 'Draft saved' for non Page models
Fixes #7622
2021-10-26 07:53:12 +10:00
Matt Westcott
a2856fc52d Start changelog for 2.16 2021-10-25 11:23:35 +01:00
Matt Westcott
a51c26da43 Rotate deprecation warnings 2021-10-25 11:23:35 +01:00
Matt Westcott
397912a1ee Version bump to start work on 2.16 2021-10-25 11:23:35 +01:00
Matt Westcott
699e28ace0 wagtail.search.backends.db should use RemovedInWagtail217Warning 2021-10-22 18:03:59 +01:00