Karl Hobley
cf38b2457d
Put quotes around some inline code
2020-10-03 14:43:03 +01:00
Karl Hobley
181b523faf
Add more names and jargon to spelling wordlist
2020-10-03 14:43:03 +01:00
Karl Hobley
72ef7a73e8
ElasticSearch => Elasticsearch
2020-10-03 14:43:03 +01:00
Karl Hobley
39d931d77d
Javascript => JavaScript
2020-10-03 14:43:03 +01:00
Karl Hobley
6e5f89adf2
General spelling fixes
2020-10-03 14:43:03 +01:00
Karl Hobley
00c5445b28
Update pyenchant
2020-10-03 14:43:03 +01:00
Karl Hobley
9195131738
Lint docs with doc8
2020-10-03 14:43:03 +01:00
Matt Westcott
21f66a0d64
Add missing bind_to(instance) to ModelAdmin edit view
...
Fixes #6413 . Following the refactor in 80cc70b7ce
this was not being called - this is necessary to propagate the instance down nested edit handlers.
2020-10-02 19:42:59 +01:00
Karl Hobley
8251b4a6c7
Changelog / Release note / Contributor for #6420
2020-10-01 18:53:35 +01:00
samgans
7022d0e37a
Fixed an issue with copying unsaved Pages ( #6420 )
2020-10-01 17:14:12 +01:00
Karl Hobley
e508cbc9c9
Allow ignoring a page when finding an available slug
...
This is useful for when using this function to update a pages slug
2020-10-01 17:13:08 +01:00
Cynthia Kiser
b817e869bf
Open preview in new window ( #6395 )
...
Make this preview button match the other Preview/Draft/Live buttons in admin UI
2020-10-01 13:23:32 +01:00
Ameet Virdee
48a8af71e5
Add documentation for placeholder text in Field Panels
2020-10-01 08:06:43 +02:00
Matt Westcott
bb4ad60c29
Pass page chooser URL to widget via data attribute instead of chooserUrls
2020-09-30 22:05:45 +01:00
Matt Westcott
523148521b
Pass document chooser URL to widget via data attribute instead of chooserUrls
2020-09-30 22:05:45 +01:00
Matt Westcott
90e2899b71
Pass image chooser URL to widget via data attribute instead of chooserUrls
2020-09-30 22:05:45 +01:00
Matt Westcott
70242efa2c
Pass task chooser URL via data attribute instead of chooserUrls
2020-09-30 22:05:45 +01:00
Matt Westcott
499193d05c
Pass snippet chooser URL via data attribute instead of chooserUrls
2020-09-30 22:05:45 +01:00
Matt Westcott
dc110b5432
Remove note about MSSQL being known to work
...
As per https://github.com/wagtail/wagtail/issues/6393
2020-09-30 16:29:08 +01:00
Matt Westcott
008b6c12c4
Update BaseLogEntry docs to reference user_display_name. Fixes #6418
2020-09-30 15:43:27 +01:00
Karl Hobley
2d9f81f3bb
Add a comment to describe why _filtered_by_child_of exists
2020-09-30 08:23:27 +01:00
thenewguy
a88866c3c6
Force string url before passing to urlparse ( #6341 )
2020-09-30 08:10:50 +01:00
Karl Hobley
2dfa3840a7
Copy related objects by ID instead of retrieving instances
2020-09-29 16:56:04 +01:00
Karl Hobley
4163be0d17
Retrieve page children with specific queryset
2020-09-29 16:56:04 +01:00
Karl Hobley
d2ef2939b1
Pre-calculate new MP_Node attributes when copying recursively
...
When copying recursively, we know that there are no existing pages
sitting underneath the pages we create, so we can bypass the checks that
Treebeard does when calculating a new path.
2020-09-29 16:56:04 +01:00
Karl Hobley
283fad5da4
Don't keep cleaning newly copied pages
2020-09-29 16:56:04 +01:00
Karl Hobley
a83d947d09
Check is_new before updating descendant paths or checking if site root
...
A page can't have descendants or be a site root if it's only just been
created.
2020-09-29 16:56:04 +01:00
Karl Hobley
8605717b62
Revert "Force string url before passing to urlparse ( #6341 )"
...
This reverts commit 8a4b04209e
.
This reverts commit c005e6fd29
.
2020-09-29 16:52:29 +01:00
Karl Hobley
c005e6fd29
Changelog / release note for #6341
2020-09-29 13:54:02 +01:00
thenewguy
8a4b04209e
Force string url before passing to urlparse ( #6341 )
2020-09-29 13:51:08 +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
aa235a40fd
Take out stopword removal, as per 62f1655a64
...
Fixes #4899
2020-09-28 13:46:33 +01:00
Matt Westcott
72593ffd86
Replace urlify with Django's version from b2bd08bb7a
...
This fixes the İstanbul issue - https://github.com/django/django/pull/12237
2020-09-28 13:46:33 +01:00
Karl Hobley
dd6139e0c2
Implement meta.translations
field in Admin API
2020-09-28 10:56:36 +01:00
Karl Hobley
3a5dc044a6
Implement meta.locale
field in API
2020-09-28 10:56:36 +01:00
Karl Hobley
908876bcd2
Implement translation_of
filter in API
2020-09-28 10:56:36 +01:00
Karl Hobley
cd44515c33
Implement locale
filter in API
2020-09-28 10:56:36 +01:00
Karl Hobley
eee9fbdaa9
Include pages from all locales in API
...
Need some extra logic here as other locales are stored in separate trees
2020-09-28 10:56:36 +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
Matt Westcott
890974320f
Fill in release date for 2.10.2
2020-09-25 11:05:22 +01:00
Matt Westcott
510e52923a
Skip content comparison in create_log_entries where revision cannot be restored ( #6407 )
...
Fixes #6368
2020-09-25 10:14:36 +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
Glenn Paquette
3ab18aa901
Issue #6388 --> Changed <input type=button> to <button type=button> ( #6401 )
...
* Issue #6388 --> Changed <input type=button> to <button type=button>
* Issue #6388 --> Changed <input type=button> to <button type=button> [edited] fixed closing button tags </button>
* Issue #6388 --> Changed <input type=button> to <button type=button> [edited] corrected missing closing button tag on line 519
* Issue #6388 --> Changed <input type=button> to <button type=button> [edited] removed value='' attribute on <button> tags
* Issue #6388 --> Changed <input type=button> to <button type=button> [edited] fixed typo on line 700 - input/button tags mixed up
* Issue #6388 --> Changed <input type=button> to <button type=button> [edited] fixed typo on line 782 -- missing closing tag on <img>
2020-09-23 20:40:45 -04:00
Martin Mena
3d7f2d0905
Add missing condition for StreamBlockComparison
2020-09-23 11:26:14 -04:00
Dan Braghis
55d82d6167
Limit page-editor input changes to non-submit inputs ( #6397 )
2020-09-23 11:50:19 +01:00