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

29 Commits

Author SHA1 Message Date
Karl Hobley
c005e6fd29 Changelog / release note for #6341 2020-09-29 13:54:02 +01:00
Saptak S
61e8173625 Use get_admin_display_title in PageChooserPanel 2020-09-28 17:21:12 +01:00
François Poulain
0c6815910b Stronger check on blocks names (#6295)
Ref: https://github.com/wagtail/wagtail-react-streamfield/issues/54
2020-09-28 14:31:39 +01:00
Matt Westcott
c1da0fe56d Inline PDF serving doesn't only apply on the edit view 2020-09-28 13:56:11 +01:00
Matt Westcott
2590fab0b6 Release note for #6410 2020-09-28 13:53:49 +01:00
Matt Westcott
8edf16e5ff Serve PDFs inline in the browser
Fixes #1158
Add config options WAGTAILDOCS_CONTENT_TYPES and WAGTAILDOCS_INLINE_CONTENT_TYPES to determine the Content-Type and Content-Disposition headers returned for documents when using the Django serve view, and default to application/pdf being served inline.
2020-09-28 07:22:58 +10:00
Scott Cranfill
70bb9d934b
Support SVG icons in ModelAdmin menu items (#6402)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-09-25 15:58:52 +01:00
Coen van der Kamp
0338cc37f7
Add icon sprite caching via local storage (#6243)
Improve Wagtail admin page load performance by caching SVG icons sprite in localstorage

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-09-24 20:12:32 +01:00
Matt Westcott
3300e3b851 Consistently show user's full name (where available) in reports (#6400)
Add user_display_name template filter to simplify user display code

This replaces the `{{ some_rambling_expression_evaluating_to_a_user.get_full_name|default:some_rambling_expression_evaluating_to_a_user.get_username }}` pattern used all over the place.

Display user's full name (where available) in LogEntry listings

Don't use full name if it consists of whitespace (which happens on our test user models)

release note
2020-09-24 16:16:19 +01:00
Martin Mena
3d7f2d0905 Add missing condition for StreamBlockComparison 2020-09-23 11:26:14 -04:00
Matt Westcott
f2f4503f4f Un-revert #6220
This reverts commit 3467e57de9.
2020-09-16 16:01:02 +01:00
Matt Westcott
3467e57de9 Revert #6220 due to failures when LANGUAGE_CODE = 'en-us'
This reverts commits db92a94506 to faa0665116 inclusive.
2020-09-16 14:26:30 +01:00
Matt Westcott
faa0665116 Upgrade consideration note for get_site_root_paths 2020-09-15 10:47:25 +01:00
Andy Babic
5e6a674686 Minor release notes amends 2020-09-04 11:04:38 +01:00
Andy Babic
1c67aa6a48 Release notes for Tests for #6141 2020-09-03 20:42:39 +01:00
Andy Babic
0d8301e28f Release notes for #6190 2020-09-03 20:11:22 +01:00
Andy Babic
10d68fdd09 Release notes for #6362 2020-09-02 20:42:56 +01:00
Vince Salvino
7ec4b516fa Specify required python versions (#6366) 2020-09-02 17:52:00 +01:00
Matt Westcott
461abec5b5 Release note for #6370 2020-09-02 10:36:27 +01:00
Matt Westcott
4f42e61a2c Fix incorrect reference to MIDDLEWARES 2020-08-27 16:07:22 +01:00
Robbie Mackay
437e3b9258 Replace unidecode with anyascii in wagtail.core.utils.string_to_ascii
- Add anyascii to replace unidecode
- Update wagtail.core.utils.string_to_ascii to use anyascii.
- Anyascii has a similar but not exactly the same encoding - see updates to tests.

Refs https://github.com/wagtail/wagtail/issues/3311
2020-08-07 17:48:58 +01:00
Matt Westcott
bb3243b9a9 Use https oembed endpoints where available
Fixes #6288
Many of the oembed endpoints currently listed with an http:// URL now redirect to https://. Changing these to https:// saves a redundant redirect and avoids failures where the http URL has been blocked (see #6288). Also simplified the patterns for matching http or https - the group in `http(?:s)?` is redundant and should just be `https?`.
2020-08-07 17:36:05 +01:00
Karl Hobley
de6d14a667 Release notes for #6267 and #6268 2020-08-07 15:51:09 +01:00
Karl Hobley
cb4f98b5f1 Release note for #6290 2020-08-04 16:03:15 +01:00
Kalob Taulien
d2e196b0c5
Add wagtail --version 2020-08-03 07:21:48 -06:00
Jesse Menn
b934194622
Make page-level actions accessible to keyboard users in page listing tables (#6280)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-08-01 21:52:28 +01:00
Karl Hobley
f3f932d2e5
Add before_{create,edit,delete}_snippet hooks 2020-07-30 08:08:40 +01:00
Matt Westcott
48dee654b4 Move SiteMiddleware to wagtail.contrib.legacy 2020-07-28 12:53:22 +01:00
Matt Westcott
7451500054 Add release note sections for 2.11 2020-07-28 12:53:22 +01:00