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

12184 Commits

Author SHA1 Message Date
Matt Westcott
5e31289f34 Make a bound_blocks property (with assigned IDs) available on ListValue 2022-01-07 16:11:45 +00:00
Matt Westcott
4a848bfb4e Implement a ListValue type for ListBlocks 2022-01-07 16:11:45 +00:00
Matt Westcott
93229cfc14 Release note / fixed test for #7801 2022-01-05 15:35:19 +00:00
Michael Karamuth
fd29f0b9bb Fix: extra_fields now returns BoundField (#7801) 2022-01-05 15:34:15 +00:00
Matt Westcott
946a9a8071 Release note for #7821 2022-01-05 14:04:14 +00:00
Matt Westcott
cd01bf6087 Ensure confirmation page respects custom get_admin_display_title methods 2022-01-05 13:59:09 +00:00
Matt Westcott
6cd87242c5 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 13:59:09 +00:00
Matt Westcott
bd1fbb09ea Publish latest revision when bulk publishing
Fixes #7690
2022-01-05 13:59:09 +00:00
Dan Braghis
731cc540b0 Refresh page on create before passing to hooks 2022-01-05 09:30:06 +00:00
Tijani-Dia
ee8a9a5eeb
Implement ConvertAliasPageAction and admin API for converting an alias page 2022-01-04 16:26:56 +00:00
Tijani-Dia
ab943f1637
Implement DeletePageAction and admin API for deleting pages 2022-01-04 15:44:19 +00:00
Dan Braghis
614ec3fc2a Remove woff fonts 2021-12-20 18:17:04 +00:00
Dan Braghis
670ad8cfa2 Release notes for #7721 2021-12-20 18:10:08 +00:00
Tibor Leupold
783f0d4a16 Update the mentioning of default_app_config in the docs 2021-12-20 18:09:32 +00:00
Tibor Leupold
1dbc31fbd8 Set default_app_config only for Django < 3.2 2021-12-20 18:00:55 +00:00
Vu Pham
b529753c6c
Fix misspelled checkbox_aria_label in template (#7778) 2021-12-20 17:56:53 +00:00
Michael
f93c22b713
Fix: Remove 'gs' characters (#7800)
Co-authored-by: Michael Karamuth <michael@arsero.com>
2021-12-19 16:16:58 +00:00
Karl Hobley
247030df14
Revert "Implement page_url_path_changed signal (RFC 34) (1 of 3)" (#7797)
* Revert "Release notes for #7761"

This reverts commit b062c22331.

* Revert "Fix incorrect logging of move VS reorder"

This reverts commit 0086c7ba7a.

* Revert "Update docs"

This reverts commit e602990e39.

* Revert "Add tests"

This reverts commit b10e545b14.

* Revert "Prevent the 'old_record' query being unnecessary triggered by page.move()"

This reverts commit 4fed675d7a.

* Revert "Implement the page_url_path_changed signal"

This reverts commit 2f86eda372.
2021-12-18 16:54:44 +00:00
Karl Hobley
6f2c576da0
Revert "Add ever_live() and never_live() filters to PageQuerySet (RFC 34) (2 of 3)" (#7796)
* Revert "Release notes for #7776"

This reverts commit a7e58e9c67.

* Revert "Tests for #7776"

This reverts commit 1f5734ce3f.

* Revert "Add PageQuerySet.ever_live() and PageQueryset.never_live() filters"

This reverts commit d8c2e33505.
2021-12-18 16:54:26 +00:00
Karl Hobley
7999cbf2c4
Revert "Add signal handler for automatic redirect creation (RFC 34) (3 of 3)" (#7795)
* Revert "Release notes for #7774"

This reverts commit e9eadb65c7.

* Revert "Docs for #7774"

This reverts commit d00a4c8a65.

* Revert "Automatically create redirects for when pages are moved or have their slug updated"

This reverts commit 31a7b11932.
2021-12-18 16:54:04 +00:00
LB (Ben Johnston)
b6d0f9cdc6
update stylelint & config-stylelint-wagtail (#7464)
Co-authored-by: LB Johnston <lb.johnston@virginaustralia.com>
2021-12-16 21:10:18 +00:00
Andy Babic
e9eadb65c7 Release notes for #7774 2021-12-16 16:06:11 +00:00
Andy Babic
d00a4c8a65 Docs for #7774 2021-12-16 16:06:11 +00:00
Andy Babic
31a7b11932 Automatically create redirects for when pages are moved or have their slug updated 2021-12-16 16:06:11 +00:00
Andy Babic
a7e58e9c67 Release notes for #7776 2021-12-16 14:10:16 +00:00
Andy Babic
1f5734ce3f Tests for #7776 2021-12-16 14:10:16 +00:00
Andy Babic
d8c2e33505 Add PageQuerySet.ever_live() and PageQueryset.never_live() filters 2021-12-16 14:10:16 +00:00
Andy Babic
b062c22331 Release notes for #7761 2021-12-16 13:35:11 +00:00
Andy Babic
0086c7ba7a Fix incorrect logging of move VS reorder 2021-12-16 13:35:11 +00:00
Andy Babic
e602990e39 Update docs 2021-12-16 13:35:11 +00:00
Andy Babic
b10e545b14 Add tests 2021-12-16 13:35:11 +00:00
Andy Babic
4fed675d7a Prevent the 'old_record' query being unnecessary triggered by page.move() 2021-12-16 13:35:11 +00:00
Andy Babic
2f86eda372 Implement the page_url_path_changed signal 2021-12-16 13:35:11 +00:00
Matt Westcott
361c3d5d54 Remove release note for #7704 in 2.16, as it's in 2.15.2 2021-12-09 16:40:06 +00:00
Matt Westcott
fedb76cf53 Changelog note for #7717 2021-12-09 16:38:52 +00:00
Matt Westcott
ed4d58ebd8 Remove appveyor.yml (the referenced Python / Django versions have long gone out of support) 2021-12-09 16:36:29 +00:00
Matt Westcott
cf0ee13b49 Remove Python 3.6 support 2021-12-09 16:36:29 +00:00
Matt Westcott
6931663c7f Replace revisions_index view with a redirect to page history 2021-12-09 14:20:03 +00:00
Matt Westcott
ae56813f2a Remove references to revisions_index view in tests and confirm_unschedule view 2021-12-09 14:20:03 +00:00
Matt Westcott
c37786679a Release note for #7762 in 2.15.2 2021-12-08 17:08:21 +00:00
Matt Westcott
c7b1e7bcc6
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:07 +00:00
Matt Westcott
80ecec334a Release note for #7704 in 2.15.2 2021-12-08 16:29:28 +00:00
LB (Ben Johnston)
c9aa26e887
Documentation - remove all jQuery usage (#7658) 2021-12-07 15:37:33 +00:00
LB Johnston
75bf48d9f7 fix contributor name for #7748 & #7745 2021-12-07 07:20:11 +10:00
Tomasz Knapik
2c169a8d38 Add Azure CDN and Front Door backends 2021-12-03 08:05:12 +10:00
FahimFBA
1cbd3c2616 Fix redundancy in the documentation template
- fixes #7743
2021-12-03 06:38:32 +10:00
FahimFBA
66237d09e7 Add links to README.md file for Who's using it section 2021-12-03 06:34:31 +10:00
Karl Hobley
195b1a178a
Implement CopyPageAction and admin API for copying pages
* Moved Page.copy implementation into an external function

* Convert copy_page function into a class

* Implement PageCopyAction.execute()

* Implement CopyPageAction.check()

To allow checking the action ahead-of-time

* Make page copy view use PageCopyAction

* Add page copy Admin API
2021-12-02 13:50:28 +00:00
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