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
Meteor0id
cb75effd11
url() is depriciated. Alias re_path()
...
Added important note about using url() on older versions of django, but switched the examples to re_path as to comply with Django docs for 2.0 and later.
2018-08-18 11:32:39 +02:00
Tomasz Knapik
361def81c2
Wrap deleting page into database transaction
...
Currently queries executed in the hooks don't run in the transaction
with the page deletion query and it's harder to write hook without
copying the whole view if you want to keep queries running in the hooks
integral with page deletion.
2018-08-16 17:18:02 +01:00
Janneke Janssen
9aa5a3ee76
Remove old-skool font-support since woff and woff2 would be sufficient for our browser support
2018-08-16 17:13:54 +01:00
Matt Westcott
df12cf9656
Ask issue openers to confirm that bugs are reproducible
2018-08-16 16:03:46 +01:00
Matt Westcott
0ad5ac058d
Simplify URL validator code on EmbedForm
2018-08-16 13:59:22 +01:00
Bertrand Bordage
42caa586b4
Validates EmbedBlock URLs against providers.
2018-08-16 12:28:40 +01:00
Martey Dodoo
1247565d3d
Add warning about unregistering image formats.
...
Add warning to documentation to warn that unregistering image formats
that are being used will create an error when viewing or editing pages.
See https://groups.google.com/forum/#!topic/wagtail/X8xTUs-2npA and
https://github.com/wagtail/wagtail/issues/1471#issuecomment-118436706 .
2018-08-16 10:52:51 +01:00
Matt Westcott
7ad79c9a4a
Release note for #4579
2018-08-14 17:20:57 +01:00
Matt Westcott
4cdf7c474e
Eliminate InlinePanel.related, as it just duplicates db_field
2018-08-14 17:10:17 +01:00
Aram Dulyan
c3b7a22d73
Fix support for related_query_name in InlinePanel relations
2018-08-14 16:47:11 +01:00
Matt Westcott
035353dc3d
fixup! test against Django master
2018-08-14 15:43:28 +01:00
Matt Westcott
e1f3927fea
Trim down Travis test matrix
2018-08-14 15:17:26 +01:00