Wykres commitów

12124 Commity (cd3bec04336022a7b7a853a35a1f4e1e81d709f3)

Autor SHA1 Wiadomość Data
Matt Westcott cd3bec0433 Ensure confirmation page respects custom get_admin_display_title methods 2022-01-05 14:02:26 +00:00
Matt Westcott 0fb7417bca Use get_admin_display_title on bulk action confirmation pages
This ensures that we show the draft version of the title (particularly important for the publish action)
2022-01-05 14:02:19 +00:00
Matt Westcott 7e5c498d35 Publish latest revision when bulk publishing
Fixes #7690
2022-01-05 14:02:12 +00:00
Matt Westcott 27f91b87d2 Release note for #7762 in 2.15.2 2021-12-08 17:08:07 +00:00
Matt Westcott dadddee46c Remove spurious action button on 'create workflow task' view (#7762)
* Remove spurious action button on 'create workflow task' view

Fixes #7758. 1fe36d2597 fixed the generic base template to stop the `action_url` from leaking into the header, but create_task.html bypasses the base template so needs the fix applying separately.

* Remove spurious action button on 'edit workflow task' view

* Remove spurious action button on 'edit workflow' view
2021-12-08 17:06:24 +00:00
Matt Westcott 432b5b2e30 Release note for #7704 in 2.15.2 2021-12-08 16:28:08 +00:00
Matt Westcott e27240834a Version bump to 2.15.2 2021-12-08 16:25:51 +00:00
Justin Michalicek 118ec0c80b 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-08 16:25:20 +00:00
Matt Westcott 3a05b9f55f get the date right... 2021-11-11 13:36:59 +00:00
Matt Westcott 8c0a9be8b0 Version bump to 2.15.1 2021-11-11 13:35:50 +00:00
Matt Westcott cdc3a8fd35 Fill in release date for 2.15.1 2021-11-11 13:34:43 +00:00
Matt Westcott 931eb3dcfc Fetch new translations from Transifex 2021-11-11 12:45:09 +00:00
Matt Westcott 9c708f51a0 Changelog note for #7703 2021-11-11 12:35:22 +00:00
Matt Westcott 764eb14a38 Ensure csrf token is available on dashboard panels
Fixes #7688
2021-11-11 08:30:04 +10:00
Matt Westcott 75aef224c2 Release note for #7702 2021-11-10 21:08:01 +00:00
Matt Westcott 066bed8dd3 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:22 +00:00
Matt Westcott 6118600532 Release note for #7701 in 2.15.1 2021-11-10 16:06:20 +00:00
Matt Westcott 12a3aa49a7 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:04:06 +00:00
Matt Westcott 131b429f31 Release note for #7695 in 2.15.1 2021-11-10 12:05:03 +00:00
Serafeim Papastefanos 5eb6cb00e4 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:51 +00:00
Matt Westcott 6933a9212d Changelog note for #7694 in 2.15.1 2021-11-09 20:57:39 +00:00
Jake Howard 09fb97104a 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:55:07 +00:00
Matt Westcott a7beb3ac01 Update latest.txt with 2.15 LTS 2021-11-04 12:08:22 +00:00
Matt Westcott a8e1a90e74 Fill in release date for 2.15 2021-11-04 11:25:49 +00:00
Matt Westcott edf3572b18 Version bump to 2.15 final 2021-11-04 11:24:30 +00:00
Matt Westcott 2668f5e394 Fetch new translations from Transifex 2021-11-04 11:21:26 +00:00
Tibor Leupold 890ae5b202 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:19:14 +00:00
Matt Westcott b23318475c Fetch new translations from Transifex 2021-10-28 14:38:39 +01:00
Matt Westcott 09d63da47b Version bump to 2.15rc2 2021-10-28 14:11:03 +01:00
Matt Westcott 4095446fe9 Start testing against Django stable/4.0.x 2021-10-28 14:10:29 +01:00
LB Johnston 2ff4a62a1b fix issue where nested inline panel fix broke inline panel ordering/delete 2021-10-28 13:27:06 +01:00
Matt Westcott 3546609a7d Formally deprecate old db search backends (#7651)
As per #7633
2021-10-28 10:53:41 +01:00
Scott Cranfill 76419482fd 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-28 10:26:24 +01:00
Matt Westcott e55ca05520 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:22:49 +01:00
Matt Westcott 1680cd25b2 Test server-side logic for a deleted then inserted column 2021-10-28 10:22:42 +01:00
Matt Westcott 86fbf3f0ce Label edit actions as 'Edited' instead of 'Draft saved' for non Page models
Fixes #7622
2021-10-26 07:54:50 +10:00
Matt Westcott b464b25e98 wagtail.search.backends.db should use RemovedInWagtail217Warning 2021-10-22 18:04:12 +01:00
Coen van der Kamp 35d1552070 Fix TableBlock -> TypedTableBlock in code samples 2021-10-18 12:42:33 +01:00
Coen van der Kamp 018063ffd5 Fix reference 2021-10-18 12:38:38 +01:00
Coen van der Kamp 6a5229ba9b Fix Python code blocks, indent lines with multiple of 4 spaces 2021-10-18 12:37:46 +01:00
LB Johnston cd06795c70 Revert "Upgrade modernizr" back to v2.6.2
This partially reverts commit 50f55507d8.
Fixes #7625
2021-10-18 12:29:58 +01:00
Thibaud Colas 71a38cba0a Add dedicated release notes section for Windows high contrast mode support (#7618) 2021-10-15 17:52:03 +01:00
Matt Westcott be01517b84 Version bump to 2.15rc1 2021-10-15 17:47:20 +01:00
Matt Westcott e827ec0246 Generate new source strings for translation 2021-10-15 17:43:55 +01:00
Matt Westcott 538780dd50 Fetch new translations from Transifex 2021-10-15 17:39:26 +01:00
Jacob Topp-Mugglestone 2f8de89a5c Feature/bulk actions move chooser fixes (#7617)
* [feat] Documents, images and users bulk actions now work with custom models as well

* [fix] Bulk move disables invalid parent pages in the page chooser modal

* [refactor] Make the code DRY

Co-authored-by: Shohan <shohanduttaroy99@gmail.com>
2021-10-15 16:51:18 +01:00
Jacob Topp-Mugglestone 412c26201a Add changelog and release notes for bulk actions (#7615)
* Add changelog and release notes for bulk actions
2021-10-15 16:51:18 +01:00
Shohan 0d8ad857bf Customize select all in listing feature (#7606)
* [feat] Add feature to customize behavior of select all objects in listing

* [feat] Select all in listing now works with search terms

* [refactor] Make the code DRY
2021-10-15 16:51:18 +01:00
Shohan 4624d2d540 Fix typos and remove unwanted code from bulk actions (#7613)
* [refactor] Fix typos and documentation

* [refactor] Remove unused attribute object_key

* [refactor] Remove filters from page explorer

* [refactor] Remove unused code of page filters
2021-10-15 16:51:18 +01:00
jacobtoppm 51f71709c6 Remove check preventing a user from bulk assigning themself a role 2021-10-15 16:51:18 +01:00