Wykres commitów

5915 Commity (ef4aa3b54e35fd24ddf6e834031e89948fc8ac5c)

Autor SHA1 Wiadomość Data
Ben Kerle c0033e63b5 Hook classes for search area options
Borrowed from menu hooks
2015-12-14 21:21:43 +00:00
cornelius 40478e395a Namespace the admin search urls 2015-12-14 09:23:59 +00:00
Matt Westcott 84d7666e5c Unpin html5lib version 2015-12-11 13:27:57 +00:00
Karl Hobley b4bbb7bcb1 Specify app_name in url includes that have namespace 2015-12-11 12:51:57 +00:00
Karl Hobley d37d54e62e Rename _get_val_from_obj to value_from_object
value_from_object has been in Django for a long time. _get_val_from_obj is deprecated
2015-12-11 12:51:57 +00:00
Matt Westcott 8a17aeb5a8 Use the block rendering as the string representation of BoundBlock, not just StreamChild.
There's no reason not to (the default `<wagtail.wagtailcore.blocks.base.BoundBlock object at 0xb5b1348c>` representation is pretty useless), and doing it this way makes the explanation of BoundBlock much easier - we don't have to explain the render() method or single out children of StreamBlock as a special case that doesn't need it.
2015-12-11 12:48:52 +00:00
Matt Westcott 9e124cb9b6 Remove use of value.bound_blocks from basic StructBlock template example.
This hasn't been necessary since #1360 was merged, and the new 'BoundBlocks and values' section covers it much better.
2015-12-11 12:48:37 +00:00
Matt Westcott 0e34282646 Add section about BoundBlocks and values 2015-12-11 12:48:37 +00:00
Matt Westcott 2c765a7462 Release note for #1491 2015-12-11 12:46:01 +00:00
Karl Hobley 5982ed3905 Tests for select_on_queryset 2015-12-11 12:29:27 +00:00
Karl Hobley 37da3a559d Docstring for select_on_queryset 2015-12-11 12:29:27 +00:00
Karl Hobley 308521833b Automatically prefetch/select related on reverse relations while indexing
Django 1.8 only as it's too tricky to implement for Django 1.7. Django 1.7 users will still be able to index reverse relations, just indexing speed may be much slower.
2015-12-11 12:29:27 +00:00
Karl Hobley 7b46e233f4 Added Django 1.7 support 2015-12-11 12:29:27 +00:00
Karl Hobley eed5c60d72 Docs for index.RelatedFields 2015-12-11 12:29:27 +00:00
Karl Hobley 3bce07f26f Test ForeignKey with RelatedFields 2015-12-11 12:29:27 +00:00
Karl Hobley 2b7eb9c3c4 Use select/prefetch related when indexing RelatedFields 2015-12-11 12:29:26 +00:00
Karl Hobley ca83c43e3c Added support for indexing relations in wagtailsearch 2015-12-11 12:29:26 +00:00
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