Commit graph

2553 commits

Author SHA1 Message Date
Karl Hobley
d1d8b7811a Added requirements file for docs 2014-07-15 12:39:42 +01:00
Karl Hobley
f8a24ae255 Tweaks to multilingual tutorial 2014-07-15 10:49:12 +01:00
Karl Hobley
a4c847c35d Typo fixes 2014-07-15 10:43:40 +01:00
Karl Hobley
dccb47178b Added tutorial for creating multilingual sites 2014-07-15 10:38:50 +01:00
Matt Westcott
d0c265f9b7 Merge pull request #470 from takeflight/feature/admin-hook-decorator
Return the function again from the hook decorator
2014-07-15 09:17:33 +01:00
Neal Todd
da996c6f06 Typo fix (led to incorrect file beig created). 2014-07-15 09:10:29 +01:00
Tim Heap
edd8ac2d77 Return the function again from the hook decorator
The decorator variant of hook registration did not return anything,
meaning that the decorated function would end up being `None`. This was
not noticed, as the functions are rarely called manually, as opposed to
being invoked via the hook.
2014-07-15 16:09:11 +10:00
Matt Westcott
d8fad0c207 Merge branch 'takeflight-feature/admin-hook-decorator' 2014-07-14 18:31:39 +01:00
Matt Westcott
493d45693f update wagtail_hooks across all wagtail subapps to use decorator syntax 2014-07-14 18:31:26 +01:00
Matt Westcott
f91cc8d7d5 update docs to use decorator syntax for hooks 2014-07-14 18:25:14 +01:00
Matt Westcott
27260ab8ad Merge branch 'feature/admin-hook-decorator' of https://github.com/takeflight/wagtail into takeflight-feature/admin-hook-decorator 2014-07-14 17:57:53 +01:00
Karl Hobley
a855749f5e Started RoutablePage docs 2014-07-14 15:09:22 +01:00
Karl Hobley
911ba9ec06 Fixed broken test
Caused by adding view into RouteResult
2014-07-14 14:08:09 +01:00
Karl Hobley
023579dc6b Added RoutablePage 2014-07-14 13:37:27 +01:00
Matt Westcott
68c5e1dff8 Merge branch 'stable/0.4.x'
Conflicts:
	docs/releases/index.rst
2014-07-14 13:14:53 +01:00
Matt Westcott
0d5f0172eb add release notes / changelog entry for 0.4.1 2014-07-14 13:12:04 +01:00
Karl Hobley
bbbc83c56e Allow RouteResult to return a view 2014-07-14 12:47:24 +01:00
Karl Hobley
cc446f0e97 FORCE_NEW is not used in Elasticsearch-py 2014-07-14 12:27:33 +01:00
Karl Hobley
930833324d Fixed backwards compatibility with Elasticsearch URLs setting 2014-07-14 12:27:25 +01:00
Tom Talbot
2fde7c6310 Fix Python 3 test failure 2014-07-14 11:44:01 +01:00
Tom Dyson
494a26b731 consistent editors / editor's / Editor's 2014-07-14 11:31:27 +01:00
Matt Westcott
51c6f251e2 Made contents a bit smaller 2014-07-14 11:30:54 +01:00
Dave Cranwell
be0080a8af Update private_pages.rst 2014-07-14 11:30:00 +01:00
Tom Dyson
6f1a78bedf python -> Python 2014-07-14 11:29:20 +01:00
Dave Cranwell
812daf0662 Added contents 2014-07-14 11:27:04 +01:00
Tom Dyson
6b3693f355 Typos in 0.4 release notes 2014-07-14 11:26:39 +01:00
Tom Talbot
f4b5145368 Merge branch 'master' into 146-display-calculated-usage 2014-07-14 11:25:32 +01:00
Tom Talbot
1aefd60bd6 Fix unit test failures 2014-07-14 11:23:36 +01:00
Tom Talbot
edf10d4c6f Improve 'used by/usage count' implementation
- used_by() generates a database query instead of looping over a list of
  objects.
- usage_count() removed. Call count() on the queryset returned by
  used_by()
- Changed USAGE_COUNT to WAGTAIL_USAGE_COUNT_ENABLED. Added an inclusion
  tag for it.
2014-07-14 10:30:53 +01:00
Karl Hobley
8ab347632a Fixed test which broke under html5lib
The test used HTML which wasn't valid HTML5. html5lib corrects these errors whereas lxml didn't so the result of the test is different.
2014-07-11 16:44:45 +01:00
Karl Hobley
ac6292d614 Replaced lxml with html5lib 2014-07-11 16:40:36 +01:00
Karl Hobley
8903d1e741 Elasticsearch: Cast __in lookup values to list
This makes sure lazily-evaluated lists (like querysets) are evaluated so they can be converted to JSON
2014-07-11 16:17:03 +01:00
Karl Hobley
67aa7f9406 Merge pull request #464 from kaedroho/makemessages
Rerun makemessages
2014-07-11 14:43:58 +01:00
Karl Hobley
5f83b4a423 Improvements to PageQuerySet docs 2014-07-11 14:25:14 +01:00
Karl Hobley
9958b67acc Merge pull request #391 from kaedroho/autodoc
Enable autodoc sphinx extension. Document PageQuerySet
2014-07-11 12:55:08 +01:00
Karl Hobley
1be09f2e1a Improvements to Page documentation 2014-07-11 12:50:35 +01:00
Karl Hobley
c05211d684 Improvements to PageQuerySet docs 2014-07-11 12:39:56 +01:00
Karl Hobley
4bfd0e5a20 Merge branch 'master' into autodoc
Conflicts:
	runtests.py
2014-07-11 12:23:25 +01:00
Karl Hobley
1ddf5651ba Run makemessages on wagtailstyleguide 2014-07-11 11:57:36 +01:00
Karl Hobley
a90bd0b0f1 Rerun makemessages on wagtailsnippets 2014-07-11 11:55:25 +01:00
Karl Hobley
e1754ebfa1 Rerun makemessages on wagtailsearch 2014-07-11 11:54:35 +01:00
Karl Hobley
acfcbe9aa3 Rerun makemessages on wagtailimages 2014-07-11 11:54:01 +01:00
Karl Hobley
6c3d1275cb Rerun makemessages on wagtailusers 2014-07-11 11:53:13 +01:00
Nick Smith
10037fd4cf Templates folder structure tidy 2014-07-11 11:51:08 +01:00
Karl Hobley
8302cf2866 Rerun makemessages on wagtailredirects 2014-07-11 11:47:50 +01:00
Nick Smith
2543478dc3 Implement group delete functionality 2014-07-11 11:46:51 +01:00
Nick Smith
10a2984cde More granular group view permissions checks 2014-07-11 11:46:18 +01:00
Karl Hobley
3ceb816f45 Run makemessages on wagtailforms 2014-07-11 11:46:12 +01:00
Karl Hobley
88ea61ee38 Rerun makemessages on wagtailembeds 2014-07-11 11:45:35 +01:00
Karl Hobley
ba662ae9b1 Rerun makemessages on wagtaildocs 2014-07-11 11:43:25 +01:00