Wykres commitów

1591 Commity (stable/2.11.x)

Autor SHA1 Wiadomość Data
Rizwan Mansuri 8529a4017a Increase dependencies version range to cover security vulneribility 2022-01-24 15:29:00 +00:00
Matt Westcott 863e6fc926 Release note for CVE-2021-32681 in Wagtail 2.11.8 2021-06-17 11:20:06 +01:00
Matt Westcott d2d4e6efba Release note for CVE-2021-29434 in 2.11.7 2021-04-19 10:04:23 +01:00
Matt Westcott 4ddfb48096 Fill in release date for 2.11.6 2021-03-05 13:25:59 +00:00
Matt Westcott 2d66f4979c Release note for #6818 in 2.11.6 2021-03-05 12:30:53 +00:00
Matt Westcott f374ebda1d Release note for #6872 in 2.11.6 2021-03-05 11:40:03 +00:00
Matt Westcott 6e20cecb77 Release note for #6871 in 2.11.6 2021-03-04 13:59:07 +00:00
Matt Westcott 92bd56197e Release note for #6854 in 2.11.6 2021-03-04 13:30:28 +00:00
Matt Westcott 8b71a13f0a Release note for #6822 in 2.11.5 2021-02-18 09:15:19 +00:00
Matt Westcott 381245c81c Fill in release date for 2.11.4 2021-02-16 12:36:03 +00:00
Matt Westcott 7803ebcd63 Release note for #6757 in 2.11.4 2021-02-16 12:29:04 +00:00
Matt Westcott 3f940737ce Release notes for #6713 and #6756 in 2.11.4 2021-02-03 10:48:57 +00:00
Matt Westcott 69f3f5c0d2 Fill in release date for 2.11.3 2020-12-10 17:58:32 +00:00
Matt Westcott 7c2ae57a2d Prevent error on publish check in create_log_entries_from_revisions (#6628)
Fixes #6498
2020-12-10 17:35:47 +00:00
Matt Westcott 7fd9a49e9c Fix combining locale/translation_of API filters with search (#6627)
Fixes #6626
2020-12-10 16:27:01 +00:00
Matt Westcott d249e60152 Release note for #6572 2020-12-09 16:27:46 +00:00
Matt Westcott 27758937a6 Additional release notes for #6559 2020-12-08 16:03:06 +00:00
Matt Westcott 0d5839cce0 Fill in release date for 2.11.2 2020-11-17 15:21:00 +00:00
Cynthia Kiser 2fdb2e8aef Add custom oEmbed finders for Facebook and Instagram (#6550)
Move code from https://www.codista.com/en/blog/wagtail-instagram-new-oembed-api/ into core

Add custom oembed finder for Facebook

Apply suggestions from @originell's code review

Co-authored-by: Luis Nell <luis.nell@codista.com>

FIXUP More places to change the exception name (and a linter fix)

Extend Instagram/Facebook tests to check HTTP request

Add documentation for omitscript parameter
2020-11-17 15:06:53 +00:00
Matt Westcott 28146e0015 Allow deleting the default locale (#6553)
Fixes #6533
2020-11-17 11:28:31 +00:00
Matt Westcott 734199b06a Release note for #6544 2020-11-16 17:16:19 +00:00
Jérôme Lebleu 6c967dfb8e Fix header icon name in settings' edit view (#6554) 2020-11-16 15:03:14 +00:00
Matt Westcott 786b91440c Handle get_supported_language_variant returning a language variant not in LANGUAGES (#6547)
* Handle get_supported_language_variant returning a language variant not in LANGUAGES

Fixes #6539

* Handle LANGUAGE_CODE that isn't in LANGUAGES

* Release note for #6547
2020-11-16 11:51:57 +00:00
Matt Westcott 19cf596af9 Gracefully handle missing Locale records on Locale.get_active and .localized (#6549)
Fixes #6540
There are various code paths where Page.localized and similar can be called even when WAGTAIL_I18N_ENABLED is False, and since it's entirely likely that hand-rolled i18n mechanisms and ad-hoc configuration changes (e.g changing LANGUAGE_CODE) will break the Locale model's assumptions about how things are meant to work, we need to provide sensible fallback behaviour for when the current active locale, or the default locale as per LANGUAGE_CODE, does not have a corresponding Locale record:

* Locale.get_active() will fall back on the default LANGUAGE_CODE locale, or raise Locale.DoesNotExist if that one does not exist either;
* TranslatableMixin.localized (along with Page.localized and Page.localized_draft) will handle a missing Locale record by falling back on the default LANGUAGE_CODE locale, or failing that, returning self.
2020-11-16 10:31:42 +00:00
Karl Hobley a944e2d3ae Fetch the depth field of page translations on the edit view
This field is used in the `.can_edit()` permission check
2020-11-13 17:13:00 +00:00
Matt Westcott 0e7e15c410 Fill in release date for 2.11.1 2020-11-06 17:29:59 +00:00
Matt Westcott 34572e3129 Prevent errors on get_url_parts when a non-content-language locale is active (#6521)
Fixes #6510 and #6511

Catch the LookupError from get_supported_content_language_variant so that if the active language is not one that is recognised as a content language, the URL prefix will be left unchanged from the page's reported locale.

Additionally, skip the `translation.override` when WAGTAIL_I18N_ENABLED is false; this accounts for the fact that existing sites may have used alternative / custom i18n implementations involving i18n_patterns, and on these sites we can't rely on the page's locale field to be meaningful. That way, we restore the pre-2.11 behaviour: if the existing i18n code was using some kind of wrapper around the get_url_parts call, then that will work again; and if not, the URL will reflect the current active locale, which is no worse than before.
2020-11-06 17:04:58 +00:00
Matt Westcott 268663dea5 Avoid circular import between wagtail.admin.auth and custom user models (#6522)
Fixes #6518

If the models.py containing a custom user model directly or indirectly imports wagtail.admin.auth, this causes a circular dependency because wagtail.admin.auth attempts to import django.contrib.auth.views, which in turn depends on the custom user model. Fix this by moving the django.contrib.auth.views import inside reject_request.
2020-11-06 09:36:06 +00:00
Sævar Öfjörð Magnússon 3ec0d405ed Additional safeguard to check if a cached site is from an older version of Wagtail (#6515) 2020-11-04 12:26:02 +00:00
Matt Westcott 627e2f92dd Add release notes section for 2.11.1 2020-11-04 10:27:55 +00:00
Matt Westcott 30102b24ff Fill in release date for 2.11 2020-11-02 15:04:52 +00:00
Karl Hobley 6234023f39
Changelog / relase note for internationalisation (#6492)
* Changelog / relase note for internationalisation

* Apply suggestions from code review

Co-authored-by: Matt Westcott <matthew@torchbox.com>
2020-10-23 14:26:44 +01:00
LB Johnston f6dce3d6df Update changelog entries for @samgans 2020-10-22 19:46:07 +10:00
Karl Hobley f0ce1f4775 Replace pushPage/popPage with more flexible gotoPage method
- page explorer
2020-10-22 19:45:34 +10:00
Anton Zhyltsou 41eccc72bc Consistently redirect to admin home on permission denied
* Catch PermissionDenied exceptions in require_admin_access decorator
* Fixed permissions errors for the documents views
* Added permissions tests for the images views
* Fixed some tests for limited permissions
* fixes #6352
2020-10-22 00:10:24 +10:00
Coen van der Kamp fd5e6b657f Switch breadcrumb icons to SVG 2020-10-21 23:57:09 +10:00
Matt Westcott accdbd2174 Mark 2.11 as an LTS release 2020-10-21 12:14:04 +01:00
meghanabhange 3a2f2a6ea3 form_classname meta in FieldBlock (#6470) 2020-10-20 19:17:54 +01:00
Sævar Öfjörð Magnússon b7643f869d Fix spacing around the privacy indicator panel. (#6454) 2020-10-20 13:07:03 +01:00
Andy Babic cbf65ba645 Release notes for #6386 2020-10-19 21:37:28 +01:00
Matt Westcott 8e47b27ffc Fixed -> Fix 2020-10-19 21:31:32 +01:00
Jim Jazwiecki 024717fe0f add support for natural keys to group collection permissions for use in fixtures (#6211) 2020-10-19 21:31:10 +01:00
Matt Westcott 27432e6c3f Release note for #5976 2020-10-18 15:31:56 +01:00
Karl Hobley 44d40292e8 Add release note for page aliases (#6468) 2020-10-16 11:01:10 +01:00
Karl Hobley 10137b0162 Changelog / release notes for #6440 and #6441 + some spelling fixes 2020-10-16 10:45:29 +01:00
Karl Hobley 7f7f9b4de1 Make snippets action menu hookable 2020-10-14 14:41:22 +01:00
Matt Westcott 7be5363dac
Avoid retranslating month / weekday names that Django already provides (#6301)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-10-09 14:16:40 +01:00
Karl Hobley 77610d1e64 Changelog / Release notes for #6434 and #6442 2020-10-06 16:02:48 +01:00
Matt Westcott dd42d91663 Release note / additional fix for #6339 2020-10-05 14:25:33 +01:00
jacobtoppm c5a7584553 Add changelog and contributor for #6423 2020-10-05 12:36:54 +01:00