Wesley van Lee
a700e1352c
Preserve non breaking white spaces in rich text processing. Fix #4996 ( #5142 )
...
Prevent the initial loading of the rich-text field to replace non-breaking white spaces with normal spaces
2019-03-14 17:31:10 +01:00
Damian
ef7bd7989e
add form media to user add/edit forms ( #5146 )
2019-03-14 14:42:26 +01:00
Casper Timmers
389f3262de
Merge branch 'master' into copy-page-slug-available
2019-03-14 09:57:59 +01:00
Casper
086c900548
Add release notes for #3281
2019-03-14 09:45:05 +01:00
Esperk
9f2e4033ea
Abort unfinished ajax before firing new ajax call. Fix #4594 ( #5137 )
...
To prevent showing old results always cancel unfinished query requests before firing a new one
2019-03-13 15:44:12 +01:00
Arthur Holzner
6f6f9b8e46
Added fallback to pageurl ( #4603 )
2019-03-13 12:17:13 +01:00
Thijs Kramer
fdbd7ca2d3
only append model type to button when there is one target model ( #5094 )
2019-03-13 11:35:40 +01:00
Andy Babic
77a8e3b7c0
Do not allow copies of pages that exceed their models' max_count
...
Update PagePermissionTester.can_move_to() to call on the page class's 'can_create_at()' method, and respond accordingly
Add a SingletonPageViaMaxCount to the test.json fixture for use in page permission tests
Add some tests for PagePermissionTester.can_copy_to()
Create a SingletonPageViaMaxCount in setUp() instead of adding to the fixture
2019-03-13 07:57:25 +10:00
LB Johnston
fc21729a24
add docs with instructions on how to generate urls for modeladmin
2019-03-13 07:41:34 +10:00
Mani
87bbc31d88
Add a setting to apply limit on number of tags that can be added to any tagged model.
2019-03-10 20:48:33 +10:00
Matt Westcott
3fe442ff4d
Add Learn Wagtail to third-party tutorials
2019-03-10 15:57:52 +10:00
Tiago Requeijo
4f5b117250
Fix for emails missing the HTML messages.
2019-03-10 15:38:19 +10:00
kevinhowbrook
1248279114
Specify a larger length as the default of 200 isn't always enough ( #5114 )
2019-03-07 11:18:40 +00:00
Thomas Kremmel
4e8f197a9d
allow panels & edit_handler to be defined on ModelAdmin ( #4900 )
2019-03-06 12:26:20 +00:00
Matt Westcott
53cea8bc04
Release note for #4653
2019-03-06 11:24:44 +00:00
Asanka Lihiniyagoda
74218a7e43
Set data-focal-point-* values to be '' instead of 'None' when they are empty.
2019-03-03 10:06:16 +10:00
Matt Westcott
8b7efc0b16
Output current language code in HTML header ( #5091 )
...
Fixes #5051
2019-03-01 11:37:44 +00:00
Matt Westcott
61e1e4c2f9
Add 'wagtail_update_index' as an alias for the 'update_index' command ( #5009 )
...
Fixes #2447
2019-03-01 11:01:41 +00:00
LB Johnston
fa2a0c2d02
add ability for page.copy to copy ParentalManyToMany field relations
2019-03-01 07:11:28 +10:00
Sergey Fedoseev
233bb17789
Add missing collection column in wagtaildocs/documents/list.html ( #5110 )
2019-02-27 19:28:40 +00:00
Gassan Gousseinov
d37ce9f699
routablepageurl returns urls only for default site on multisite installation ( #5102 )
2019-02-27 19:21:26 +00:00
tomedelliott
f5654981c8
Add limit image upload size by number of pixels ( #5097 )
...
* Add test for Image pixel size
* add pixel size check and update test to match
using djangos get_image_dimensions this maybe a internal function
but the commit adding it is over 9 years old
* Update docs and CHANGELOG
* fix typos
2019-02-23 14:13:00 +00:00
Matt Westcott
4a5036839b
Respect CSS precedence rules in HTMLRuleset ( #4926 )
...
Fixes #4527
2019-02-13 14:50:20 +00:00
Thibaud Colas
96ec1e0e4e
Preserve links when copy-pasting rich text content from Wagtail to other tools ( #5054 )
2019-02-07 00:01:03 +02:00
Brady
e77338f1a3
Highlight broken links to pages and documents in rich text. Fix #4802 ( #4813 )
2019-02-02 17:04:01 +00:00
Karl Hobley
6e2b8c28d0
Diffing streamfieds
2019-01-30 09:52:03 -05:00
Karl Hobley
50e72dc58b
Allow disabling search auto-update on a per-model basis ( #4946 )
2019-01-29 17:06:41 +00:00
Asanka Lihiniyagoda
8c4b3fe669
'Parent' link in page chooser search should not navigate away ( #5011 )
2019-01-29 16:36:34 +00:00
Bertrand Bordage
3e86eb3a9d
Changelog for #4994 .
2019-01-26 16:36:49 +01:00
frmdstryr
5fcaa64d81
Avoid a pop from an empty list in HTMLToContentStateHandler ( #5004 )
2019-01-24 12:09:33 +00:00
Sergey Fedoseev
057690815b
Made HTTP_HOST of page dummy request include port. ( #4954 )
2019-01-17 12:34:04 +00:00
Matt Westcott
dc2f487391
Release / deprecation note for #4749
2019-01-11 15:22:37 +00:00
Mukesh
fa5deb6b44
More informative error for invalid values passed to |richtext
( #4971 )
...
Fixes #4958
2019-01-10 12:35:12 +00:00
Matt Westcott
9b24ca989f
Fill in release date for 2.4
2018-12-19 15:13:28 +00:00
Matt Westcott
4997d1e922
Revert release note for #4916
2018-12-19 12:27:28 +00:00
Matt Westcott
a11f7ee015
Exclude the error messages from the count of inline panel elements ( #4957 )
...
Ref #4304 ; explicitly identify and count inline-panel-child elements as per https://github.com/wagtail/wagtail/pull/4304#discussion_r169149310
2018-12-17 17:15:40 +00:00
Sergey Fedoseev
5f7b7230a2
Fix SERVER_PORT for Page.dummy_request() when page is attached to Site with 443 port. ( #4950 )
2018-12-11 12:39:20 +00:00
Matt Westcott
26de8edf79
Add release note stubs for 2.5
2018-12-07 11:59:55 +00:00
Karl Hobley
4abfbf89a0
Hide "delete snippets" button when no snippets selected
2018-11-30 16:57:47 +00:00
Dan Braghis
12ac86217a
Fix #4785 Wagtail Sitemaps does not allow for Django Sitemap instances
2018-11-30 16:35:52 +00:00
Matt Westcott
44c905bf69
Release note for #4884
2018-11-30 12:11:14 +00:00
Matt Westcott
23c02ecfa1
Release note for #4924
2018-11-30 11:27:35 +00:00
Thibaud Colas
a3dc9ed477
Bump draftjs_exporter version to fix entities export bug
...
This bumps the `draftjs_exporter` dependency requirement of Wagtail to [v2.1.5](https://github.com/springload/draftjs_exporter/blob/master/CHANGELOG.md#v215 ), which fixes an export bug when entities (say, links) are adjacent in the content.
See https://github.com/springload/draftjs_exporter/issues/106 .
2018-11-29 17:37:48 +00:00
Matt Westcott
ef3efdd185
Release note for #4917
2018-11-27 15:52:23 +00:00
Matt Westcott
76c7ef7262
Release note for #4916
2018-11-27 15:47:29 +00:00
Karl Hobley
cc25168917
Changelog/release notes for #4845 and #4781
2018-11-22 11:26:26 +00:00
Karl Hobley
87da49bbb1
Changelogs/release notes for #4894 , #4827 , and #4907
2018-11-21 23:08:36 +00:00
Matt Westcott
0ae5fe73c5
Documentation fixes don't go in the changelog (there are too many of them...)
2018-11-16 17:14:36 +00:00
Andy Chosak
17fc5cc913
add slovak character map for js slug generation
...
Porting of Django PR #9325 , which fixes Django ticket #28768 . These
changes were made in Django 2.1.
This adds support for certain Slovak characters when auto-generating
slugs for new pages. This logic is only triggered if
settings.WAGTAIL_ALLOW_UNICODE_SLUGS is set to False; see
http://docs.wagtail.io/en/v2.1.1/advanced_topics/settings.html#unicode-page-slugs
To test, create a new page and enter a title like "Vŕba". The
page's slug field will be automatically set to "vrba". In the
previous behavior, this would instead be automatically set to "vba".
https://github.com/django/django/pull/9325
https://code.djangoproject.com/ticket/28768
2018-11-16 17:13:37 +00:00
Alex Gleason
08ea980410
Fix missing comma in Draftail docs code
2018-11-14 17:11:49 -05:00