Matt Westcott
27bd9eb5fd
Revert "Rewrite password change feedback message. Fix #4200 ( #4364 )"
...
This reverts commit 977dbae585
.
2018-10-10 20:52:00 +01:00
Matt Westcott
2fe866e484
Release note for #4801
2018-10-10 16:09:59 +01:00
Andy Chosak
5b0a7fc4b5
cleanup StreamValue.get_prep_value
2018-10-10 15:53:26 +01:00
Andy Chosak
1670a08a29
add another unit test for nested streamfields
2018-10-10 15:53:26 +01:00
Andy Chosak
045fda3595
add unit test for get_prep_value with is_lazy=True
2018-10-10 15:53:26 +01:00
Matt Westcott
dc0ae76eec
Reuse lazy StreamField values in get_prep_value. Fixes #2218
2018-10-10 15:53:26 +01:00
Thibaud Colas
6301eb4b75
Remove unused devDependency
2018-10-10 14:02:29 +01:00
Thibaud Colas
ad5a3bbdc2
Remove unused React component generator
2018-10-10 14:02:29 +01:00
Matt Westcott
bf870cecd3
Gracefully handle document links with missing ID attributes in rich text
...
Fixes #4791
Previously, our rich text conversion functions handled the case where a document link specified an ID which is not found in the database. However, they failed with a KeyError when the id attribute was missing completely; links of this second type would occur whenever a link of the first type was re-saved from the Draftail editor. The fix is two-fold:
1) Catch the "missing ID attribute" case - in this case, the resulting link will be missing both the href and id attributes
2) Update the handling of the "ID present but document not found" case so that the id attribute survives the round-trip to the editor and back. The final link as rendered on the front-end will still be an attribute-less <a> element, but the id will be retained in the database (and in the versions rendered within rich text editors) which may be useful for troubleshooting.
2018-10-10 12:54:52 +01:00
Thibaud Colas
7cd73c472f
Add release notes for #4800
2018-10-07 22:27:51 +03:00
Thibaud Colas
3186950de4
Only render tooltip link if there is a label for it
2018-10-07 22:27:51 +03:00
Matt Westcott
aecc8f1a3b
Prevent linking to root page in Draftail. Fixes #4605
2018-10-07 22:27:51 +03:00
Matt Westcott
2f96465150
Prevent Draftail from crashing on links to missing pages
2018-10-07 22:27:51 +03:00
Matt Westcott
6c7065ef99
Prevent Draftail from crashing on links to the root page
2018-10-07 22:27:51 +03:00
Mike Dingjan
19c04e8e6b
Add template include page_switches in admin/edit.html
...
I'm working on a feature in wagtailtrans which allows the user to
easialy switch between languages in the admin. Having this include will
allow me to extend the page switches which will also provide an easy
method of switching when editing a page.
2018-10-05 10:56:47 +01:00
Matt Westcott
44e5beb481
Release / deprecation notes for #4777
2018-09-28 22:41:01 +01:00
Matt Westcott
69642a5184
Test the ability to import wagtail.admin.edit_handlers in a models file that defines a custom user model. Ref #4515
2018-09-28 17:00:16 +01:00
Matt Westcott
b3a6b7f55f
Update imports of wagtail.admin.forms to use more specific sub-modules
2018-09-28 17:00:16 +01:00
Matt Westcott
dc4457d414
Deprecate definitions that previously existed in wagtail.admin.forms
...
Instead of unconditionally importing them from submodules using `from wagtail.admin.forms.foo import *` (which is susceptible to circular imports), we define a wrapper function for each one which imports the module on demand, along with producing a deprecation warning.
Fixes #4515
2018-09-28 16:44:27 +01:00
Matt Westcott
79e0361feb
move WagtailAdminPageForm to wagtail.admin.forms.pages
2018-09-28 16:44:27 +01:00
Matt Westcott
36d56136e2
Move modelform customisation logic to wagtail.admin.forms.models
2018-09-28 16:44:27 +01:00
Matt Westcott
5fabaeb8db
Move collection forms to wagtail.admin.forms.collections
2018-09-28 16:44:27 +01:00
Matt Westcott
94f092abb1
Move CopyForm and PageViewRestrictionForm to wagtail.admin.forms.pages
2018-09-28 16:44:27 +01:00
Matt Westcott
939a2e4ecf
Move BaseViewRestrictionForm to wagtail.admin.forms.view_restrictions
2018-09-28 16:44:26 +01:00
Matt Westcott
2cbc5dc88b
Move SearchForm to wagtail.admin.forms.search
2018-09-28 16:44:26 +01:00
Matt Westcott
6fb8b3482f
Move chooser forms into wagtail.admin.forms.chooser
2018-09-28 16:44:26 +01:00
Matt Westcott
7c74e630d1
Move auth forms into wagtail.admin.forms.auth
2018-09-28 16:44:26 +01:00
Matt Westcott
765c4fd74e
Move wagtail.admin.forms into a submodule
2018-09-28 16:44:25 +01:00
Janneke Janssen
4134288700
Add autocomplete off to custom datetime widgets
2018-09-28 16:23:48 +01:00
Matt Westcott
b2b42faf14
Fix note about update_index not being required for the db backend
2018-09-21 10:59:52 +01:00
Matt Westcott
6454e500ab
Fix module path (wagtailforms.models should be wagtail.contrib.forms.models)
2018-09-21 10:53:51 +01:00
Meteor0id
088d3ffc21
missing quotation, not that it matters
...
award of smallest contribution of the year goes to..
2018-09-13 13:00:57 +01:00
Ben Dickinson
4c72f767ea
Add HTTP_AUTHORIZATION to values copied to dummy preview requests
2018-09-12 16:37:55 +01:00
Michael Harrison
8ef0edb371
Add file download url to Imagesv2 API endpoint
2018-09-06 17:12:02 +01:00
Samir Shah
265d4baaf2
Add a title attribute to the image displayed in an ImageChooserBlock.
2018-09-06 16:13:38 +01:00
Dan Braghis
5ddba47cc3
Add Auto-Submitted: auto-generated header to admin utils send_mail
2018-09-06 15:58:24 +01:00
Michael Borisov
38b2defc7f
Check key value
...
It fixes issue when press 'б' in russian keyboard it's trigger ','
2018-09-05 15:07:45 +01:00
Matt Westcott
2947c584b0
Recommend the use of ManifestStaticFilesStorage. Fixes #3700
2018-09-04 12:56:11 +01:00
Matt Westcott
81bda3bb0c
Fill in release date for 2.2.2
...
Conflicts:
CHANGELOG.txt
2018-08-29 14:15:44 +01:00
Matthew Schinckel
e05dc99486
Prevent the use of a global variable.
2018-08-28 16:39:12 +01:00
Tomasz Knapik
7938e81ab4
Use Django defaults for not caching admin
2018-08-23 16:34:55 +01:00
Loic Teixeira
2b076b0a84
Release note for #4719 in 2.2.2
2018-08-23 11:16:57 +01:00
David
b34b547c6a
Re-establish datetimepicker localisation. Fix #4584
2018-08-22 12:01:30 +01:00
Matt Westcott
363450dd4d
Specify file-based sqlite db for circleci
2018-08-21 17:17:04 +01:00
Matt Westcott
1938159083
Specify file-based sqlite db in tox
2018-08-21 17:17:03 +01:00
Sævar Öfjörð Magnússon
6e60469142
Convert UUID primary key to string before serializing in json. Fixes #4616 .
2018-08-21 17:17:03 +01:00
Matt Westcott
48a1d51377
Release note for #4739 in 2.2.2
2018-08-21 15:14:13 +01:00
Matt Westcott
bf4ea3766a
Release note for #4739 in 2.3
2018-08-21 15:10:25 +01:00
Mikalai Radchuk
550e8f648c
Rewind file to the beginning after reading
...
Fixes #4738
2018-08-21 15:10:25 +01:00
Meteor0id
cb8fe063bb
depriciate url() for alias re_path()
2018-08-18 11:33:12 +02:00