0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

5498 Commits

Author SHA1 Message Date
Matthew Downey
e18f877286 send individual notification emails per user 2015-12-11 11:02:48 +00:00
c16192
4433d4f3c0 pep8 fixes
Conflicts:
	wagtail/wagtailforms/models.py
	wagtail/wagtailimages/models.py
	wagtail/wagtailredirects/models.py
	wagtail/wagtailsnippets/edit_handlers.py
	wagtail/wagtailsnippets/tests.py
	wagtail/wagtailsnippets/views/snippets.py
	wagtail/wagtailsnippets/wagtail_hooks.py
	wagtail/wagtailusers/migrations/0001_initial.py
	wagtail/wagtailusers/migrations/0002_add_verbose_name_on_userprofile.py
	wagtail/wagtailusers/tests.py
	wagtail/wagtailusers/views/users.py
	wagtail/wagtailusers/wagtail_hooks.py
2015-12-09 14:21:48 +00:00
Matt Westcott
0ce27f2f3d Release note for #1816 2015-12-09 11:40:36 +00:00
Tim Heap
8ddd9ee537 Call django.setup() before making docs
Django 1.9 requires this line before importing any models. Autodoc
imported models to get their docstrings, causing errors in the build
process.

Fixes #2014.
2015-12-09 11:40:35 +00:00
Matt Westcott
abe4eb6f28 tests(Django 1.9): Add test for stripping whitespace from title / seo_title 2015-12-09 11:40:35 +00:00
Matt Westcott
65f97bba6f docs(django 1.9): Add upgrade consideration note for Jinja2 template tag location change 2015-12-09 11:40:35 +00:00
Matt Westcott
b5dc2696c4 feat(django1.9): Upgrade to django-taggit 0.17.5 (required for Django 1.9 compatibility) 2015-12-09 11:40:35 +00:00
Matt Westcott
fdfffd2d87 feat(django1.9): Declare Django 1.9 support in setup.py 2015-12-09 11:40:35 +00:00
Karl Hobley
b382f89b55 feat(django 1.9): Test on django-modelcluster 1.1 beta 1 2015-12-09 11:40:35 +00:00
Karl Hobley
960d7aa575 feat(django 1.9): Move jinja2 tags out of templatetags folders
Django 1.9 now automatically imports all models in templatetags. This causes ImportErrors to be raised for users who do not have jinja2 installed.
2015-12-09 11:40:35 +00:00
Karl Hobley
7f97b05f1a refactor(images): Reference model directly in ForeignKey definitions
This also works around a Django bug: https://code.djangoproject.com/ticket/25858
2015-12-09 11:40:35 +00:00
Karl Hobley
2b38263fba feat(django 1.9): Added Django 1.9 to tox/travis 2015-12-09 11:40:35 +00:00
Karl Hobley
91e9eebc41 feat(django 1.9): Added mark_safe to {% hook_output %}
Django 1.9 now escapes the output for simple tags. Since hook_output would only hook in code from a wagtail_hooks file, I think it's safe to assume it's safe
2015-12-09 11:40:34 +00:00
Karl Hobley
07ae9f679f tests(admin): Split editor hooks tests up 2015-12-09 11:40:34 +00:00
Karl Hobley
bf47412fca feat(django 1.9): Django 1.9 support for PageQuerySet.specific() 2015-12-09 11:40:34 +00:00
Karl Hobley
baed1d50be feat(django 1.9): Replaced validation for whitespace-only title fields
Django now strips whitespace automatically making Wagtail's whitespace check obsolete.

This commit removes our old checks and replicates Django's new behaviour for users of 1.8 and below.
2015-12-09 11:40:34 +00:00
Karl Hobley
b38579495c tests(contrib/settings): Use assertRedirects in tests
Required to make tests work on Django 1.9: https://docs.djangoproject.com/en/1.9/releases/1.9/#http-redirects-no-longer-forced-to-absolute-uris
2015-12-09 11:40:33 +00:00
Karl Hobley
4091883b14 tests(redirects): Use assertRedirects in tests
Required to make tests work on Django 1.9: https://docs.djangoproject.com/en/1.9/releases/1.9/#http-redirects-no-longer-forced-to-absolute-uris
2015-12-09 11:40:33 +00:00
Karl Hobley
ab6ac13f2c feat(django 1.9): ManyToOneRel.related renamed to .rel 2015-12-09 11:40:33 +00:00
Matt Westcott
2f4018c0ae Import translations from Transifex 2015-12-09 11:03:14 +00:00
Maris Serzans
32b4124767 Changed verbose names to start with lowercase when necessary 2015-12-08 17:33:19 +00:00
Maris Serzans
c92d12755c pep8 compliance 120 characters / line 2015-12-08 14:50:32 +00:00
Matt Westcott
16787e7150 fix pep8 spacing fix broken while merging beb2b927d7 2015-12-08 14:46:10 +00:00
Ben Emery
beb2b927d7 Allow for overriding image upload path 2015-12-07 19:18:17 +00:00
Karl Hobley
8d91e72407 Changelog/release note for #1934 2015-12-04 11:07:43 +00:00
Matt Westcott
78ba194f48 Call Page.unpublish() on each page when unpublishing queryset 2015-12-04 11:06:20 +00:00
Karl Hobley
e09a56f51c Changelog/release note/contributor for #1981 2015-12-04 11:02:08 +00:00
Matthew Downey
43f23a600e include return value from django_send_mail 2015-12-04 10:59:51 +00:00
Matthew Downey
7887360429 allow kwargs to be passed through to send_mail, and renamed arguments to match those of django's send_mail 2015-12-04 10:59:43 +00:00
Dave Cranwell
88341b782b removed unnecessary whitelist of sass files to compile. sass knows not to compile partials, which leaves all the _other_ files which it should compile 2015-12-04 10:54:38 +00:00
Dave Cranwell
fd05039c78 renamed all include files with the underscore prefix to identify them as 'partials' 2015-12-04 10:54:38 +00:00
Karl Hobley
78a5324435 Cleanup E128 errors 2015-12-04 10:00:15 +00:00
Karl Hobley
7175525d02 Cleanup E126 errors 2015-12-04 09:48:20 +00:00
Karl Hobley
6cd293f081 Cleanup E124 errors 2015-12-04 09:42:22 +00:00
Karl Hobley
1f81b934f6 Cleanup some E303 errors
There are others but I'd argue the extra spacing improves readability in some situations.
2015-12-04 09:38:43 +00:00
Karl Hobley
1957af9ea8 Cleanup E302 errors 2015-12-04 09:32:16 +00:00
Karl Hobley
113f8e59ff Cleanup E261 errors 2015-12-04 09:20:22 +00:00
Matt Westcott
8a22c977a2 Release note for #1970 2015-12-03 19:43:31 +00:00
Lukasz Kozlowski
7a681f94f7 Update tags widget in Image and Douments forms.
AdminTagWidget provides initTagField function
that fixes issue with multiple-word tags.
2015-12-03 19:39:30 +00:00
Lukasz Kozlowski
f0df1cb1fe Make initTagField accessible in every admin view. 2015-12-03 19:39:30 +00:00
Rich Brennan
11618f0c3d Update content_panels and promote_panels.
If I'm right, the Echoer content_panels and promote_panels can be removed as they're defined on Page?
2015-12-03 18:55:01 +00:00
Jan Korte
56cfe02bae snippet docs: loading the tags is necessary 2015-12-03 18:45:29 +00:00
Matt Westcott
ad7596a96d Limit animation to the .wagtail-logo class so that custom logos don't nod 2015-12-03 18:43:33 +00:00
Matt Westcott
9f3ae3c51d Release note for #1572 2015-12-03 13:19:44 +00:00
Tim Heap
0071d85aa0 Add Page methods can_move_to and can_create_at
These two tests are used when checking if a new page type can be created
under a page instance, or if an existing page type can move under a page
instance.
2015-12-03 12:56:52 +00:00
Matt Westcott
c1c77e4e70 Update can_move_to logic to respect allowed_subpage_types business rules 2015-12-03 12:56:51 +00:00
Matt Westcott
3e127ebe03 add new fixtures to test subpage_types business rules when moving pages 2015-12-03 12:56:51 +00:00
Dave Cranwell
72892644bb Merge pull request #1979 from tomdyson/nodding-bird
Make the bird nod on hover
2015-12-03 11:09:31 +00:00
Tom Dyson
8de12cdd41 Transition back, with a tiny bounce 2015-12-03 10:35:34 +00:00
Dave Cranwell
eb4c5a7ce2 nav-submenu required translate3d due to its fixed position in the presence of animation, apparently. Also animation vendor prefixing removed since autoprefixer handles this already 2015-12-02 17:39:26 +00:00