Matt Westcott
fc308c9ced
Add setting to disable Unicode slug support #2937
...
* Ship our own copies of urlify.js and xregexp.min.js
This avoids issues with missing files when using Django 1.8 or omitting django.contrib.admin from INSTALLED_APPS (#2927 ), and guards against any breaking changes to these files in future Django releases.
* Add a WAGTAIL_ALLOW_UNICODE_SLUGS setting
2016-08-25 19:03:37 +03:00
Nick Smith
ae3fba183a
Upgrade BeautifulSoup→4.5.1; restore html5lib import
2016-08-25 12:42:57 +01:00
Janneke Janssen
603962146b
Added documentation for editors to configure redirects
2016-08-25 11:18:55 +01:00
Elwin Buisman
fd8f4b22fb
Bumped supported Django version to 1.10
...
Bumped supported Django version to 1.10 according to requirements in setup.py
2016-08-25 10:09:08 +01:00
Matt Westcott
9111483dec
Force ChoiceBlock.get_searchable_content to text - fixes #2928
2016-08-24 18:48:10 +01:00
Matt Westcott
7bc819640d
Restore PageManager behaviour by setting it on an abstract superclass of Page
...
Django's standard behaviour is to preserve managers that are set on abstract
superclasses, so this allows us to eliminate the metaclass hackery.
Fixes #2933
2016-08-23 20:12:22 +01:00
Karl Hobley
bfff095f8a
Fixed minor formatting error in 1.6.1 release notes
2016-08-23 12:58:11 +01:00
Karl Hobley
7288644932
Changelog/release note for #2895
2016-08-23 12:56:27 +01:00
Karl Hobley
9bc6502459
Moved test into wagtailadmin
2016-08-23 12:47:41 +01:00
Mikalai Radchuk
07b7dd2940
Page create view now checks PageModel.can_create_at method
...
Fixes #2892
2016-08-23 12:47:34 +01:00
Karl Hobley
230f6eab5d
Changelog/release note for #2922
2016-08-23 11:56:02 +01:00
Karl Hobley
628952f5f1
Support new-style middleware in page previews
2016-08-23 10:00:01 +01:00
Karl Hobley
a5927d3177
Use new MIDDLEWARE setting in project template
2016-08-23 10:00:01 +01:00
Karl Hobley
07afc30445
Use new MIDDLEWARE setting in tests
2016-08-23 10:00:01 +01:00
Karl Hobley
7a18b538e6
Django 1.10 compatibility for sites/redirects middleware
2016-08-23 10:00:01 +01:00
David Burke
db54a9f0c4
Update IntegerBlock docs to show correct kwargs ( #2930 )
...
It should be max and min value - not length. See [here](07c3ba84fb/wagtail/wagtailcore/blocks/field_block.py (L306)
).
So this would work
`blocks.IntegerBlock(max_value=10, min_value=0)`
but this wouldn't do anything
`blocks.IntegerBlock(max_length=10, min_length=0)`
2016-08-20 02:38:00 +01:00
Matt Westcott
989cfb550f
Fix markdown formatting
2016-08-18 20:44:05 +01:00
Mikalai Radchuk
f804174666
Marks names of default formats for translations
2016-08-18 20:43:17 +01:00
Matt Westcott
4bfa0081fc
Fill in date for 1.6 release
2016-08-18 14:44:27 +01:00
Matt Westcott
7c9dc029c7
Release note for #2877
2016-08-18 12:05:33 +01:00
Tim Heap
75e58efab8
Move version from wagtail.wagtailcore to wagtail
...
This is where developers expect it to be, similar to Django and other
projects. The version info still exists at the old `wagtail.wagtailcore`
location, for backwards compatibility.
Fixes #2557
2016-08-18 12:05:33 +01:00
Tim Heap
948cc5190d
Use new VERSION tuple to build docs version
2016-08-18 12:05:33 +01:00
Tim Heap
384d95d2b5
Add a VERSION tuple, and some version helpers from Django
2016-08-18 12:05:33 +01:00
Matt Westcott
87f9031665
Update translator credits
2016-08-18 11:57:36 +01:00
Loic Teixeira
38dc4c0abf
Replace mutable default argument ( #2915 )
2016-08-16 09:23:43 +01:00
Matt Westcott
197d85ce9f
Disable client-side validation on Django 1.10 for multipart forms
...
Client-side validation fails on forms with prefilled file upload fields -
see https://code.djangoproject.com/ticket/27037 . This is fixed in Django 1.10.1,
so as a workaround we disable client-side validation (using the 'novalidate'
attribute) for forms with enctype="multipart/form-data" on Django 1.10 only.
Fixes #2897
2016-08-15 18:36:11 +01:00
Matt Westcott
e39fb5646c
Release note for #2534
2016-08-11 12:04:10 +01:00
Benjamin Bach
bee221b8c9
Make wagtailadmin depend on wagtailcore 0026, fixes #2529
2016-08-11 11:50:01 +01:00
Benjamin Bach
1718926c99
Make migrations in project_template home app reversible
2016-08-11 11:50:01 +01:00
Matt Westcott
7686290007
Rotate deprecation warnings to new versions
2016-08-09 20:11:31 +01:00
Matt Westcott
20df607918
Remove deprecated wagtail.wagtailimages.utils module
2016-08-09 20:11:31 +01:00
Matt Westcott
545c1601da
Remove legacy content_type handling from AdminPageChooser
2016-08-09 20:11:31 +01:00
Matt Westcott
498ced15fb
Remove PageChooserPanel.target_content_type
2016-08-09 20:11:31 +01:00
Matt Westcott
69d86ac3f7
Remove ThisShouldBeAList / SearchFieldsShouldBeAList deprecation helpers
2016-08-09 20:11:31 +01:00
Matt Westcott
5dd35da2cf
Remove legacy support for appending tuples to search_fields
2016-08-09 20:11:31 +01:00
Matt Westcott
bde04c1b8d
I can count, honest
2016-08-09 16:58:41 +01:00
Matt Westcott
9080636903
Version-bump to start work on 1.7
2016-08-09 16:22:14 +01:00
Matt Westcott
bc7739e104
Add usage examples for EmailBlock, IntegerBlock, DecimalBlock
...
Thanks to @OktayAltay for the original pull request.
2016-08-08 20:15:45 +01:00
Mikalai Radchuk
fcea4ee30d
Update "Upgrade considerations" for 1.6 ( #2896 )
...
`AbstractFormField.to_address` also requires migration.
We need to mention it in "Upgrade considerations" for Wagtail 1.6
[skip ci]
2016-08-08 14:56:36 +01:00
anatoly techtonik
b3ab3c4e02
Add another tutorial ( #2894 )
2016-08-05 11:20:55 +03:00
Tom Dyson
5ce99e85c4
credit Caltech ( #2885 )
2016-08-02 17:10:43 +01:00
Matt Westcott
7eed879c6f
Revert "Mark Django 1.10 support as provisional"
...
This reverts commit 0384a18f37
.
2016-08-02 16:11:38 +01:00
Matt Westcott
0384a18f37
Mark Django 1.10 support as provisional
2016-08-01 15:02:01 +01:00
Matt Westcott
36564ac0fa
Version bump for 1.6rc1
2016-08-01 14:37:01 +01:00
Matt Westcott
8dd1b55260
Generate new translation strings ( #2884 )
2016-08-01 14:32:43 +01:00
Matt Westcott
5e27a94ca1
Pull new translations from Transifex (2016-08-01) ( #2883 )
...
* Pull new translations from transifex
* Update translator credits
2016-08-01 14:23:11 +01:00
Matt Westcott
ca02019404
Release note for #2838
2016-08-01 13:07:25 +01:00
Jesse Legg
ed9758d378
Fixes bad SQL syntax for _update_descendant_url_paths on Microsoft SQL Server ( #2838 )
2016-08-01 13:05:32 +01:00
Matt Westcott
43269fd763
Release note for #2869
2016-08-01 13:00:36 +01:00
Matt Westcott
8f5439599a
Simplify the Q(depth=menu_root_depth)
clause
...
As per 0b4966b8c0 (r72447103)
, it's only ever required for the root level.
2016-08-01 12:31:27 +01:00