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
Tom Talbot
d023614d7f
Alter wagtailadmin.utils.used_by()
...
wagtailadmin.utils.used_by() no longer assumes that model
relationships to pages are named 'page'. Instead it assumes that all
ParentalKey relationships are relationships to pages.
2014-07-11 11:14:43 +01:00
Tom Talbot
6ab88c9b58
Change assertRegexMatches to assertRegex
2014-07-10 17:15:56 +01:00
Tom Talbot
844e1a66ef
Remove stray print statement
2014-07-10 16:30:00 +01:00
Tom Talbot
44429b96d2
Merge branch 'master' into 146-display-calculated-usage
2014-07-10 16:12:50 +01:00
Tom Talbot
4824286d31
Add unit tests for usage feature
2014-07-10 16:09:42 +01:00
Matt Westcott
a9b247b781
more explicit instructions for migrating away from deprecated things
2014-07-10 15:47:14 +01:00
Matt Westcott
de4381aaac
Merge branch 'stable/0.4.x'
2014-07-10 13:40:42 +01:00
Matt Westcott
91d449de1b
add changelog entry for private pages
2014-07-10 13:39:33 +01:00
Matt Westcott
f939af74dc
Fix more doc syntax errors
2014-07-10 13:33:20 +01:00
Matt Westcott
4f8cfa6346
version / date bump to 0.4 in changelog, setup.py and docs
2014-07-10 12:57:56 +01:00
Dave Cranwell
5faa0652a2
Update frontenddevelopers.rst
2014-07-10 11:51:06 +01:00
Dave Cranwell
f73c5416ba
Update frontenddevelopers.rst
2014-07-10 11:49:41 +01:00
Dave Cranwell
0987946786
Update frontenddevelopers.rst
2014-07-10 11:48:57 +01:00
Dave Cranwell
bd1c72c0aa
References to image.src corrected - it's image.url
2014-07-10 11:47:40 +01:00
Tom Talbot
ae0d26e71b
'Usage' page now displays a table of pages. Add new 'USAGE_COUNT' setting.
2014-07-10 11:23:18 +01:00
Matt Westcott
2cc8629ab4
Merge branch 'kaedroho-searchchanges/bits-and-pieces-2'
2014-07-09 23:29:43 +01:00
Matt Westcott
9b8ee979d2
fix tests for lt, gte, lte filters to expect a multi_match response
2014-07-09 23:29:37 +01:00
Matt Westcott
3d161f1aa7
Merge branch 'searchchanges/bits-and-pieces-2' of https://github.com/kaedroho/wagtail into kaedroho-searchchanges/bits-and-pieces-2
...
Conflicts:
wagtail/wagtailcore/models.py
wagtail/wagtailcore/query.py
2014-07-09 23:28:55 +01:00
Karl Hobley
b067fad1f9
Renamed 'Wagtailsearch backends' to 'Backends'
2014-07-09 17:47:33 +01:00
Karl Hobley
1cc3456f58
Removed 'wagtailsearch' from titles of a couple of documents
2014-07-09 17:46:34 +01:00
Karl Hobley
8e07528274
Renamed 'wagtailsearch' section of the docs to 'search'
2014-07-09 17:44:26 +01:00
Karl Hobley
5eaa605314
Fixed search example in docs
2014-07-09 17:33:58 +01:00
Karl Hobley
bc2556db28
Updated tests for 5766224
2014-07-09 17:16:20 +01:00
Robert Clark
5766224808
sitemap should return the full url
2014-07-09 17:13:48 +01:00
Matt Westcott
7207ab02af
Merge branch 'master' of github.com:torchbox/wagtail
2014-07-09 16:28:30 +01:00
Matt Westcott
721c9c96c6
Merge branch 'kaedroho-searchchanges/tests'
2014-07-09 16:28:19 +01:00
Matt Westcott
677d0333f4
suppress DeprecationWarnings thrown in tests by classes with old-style indexed_fields definitions
2014-07-09 16:26:54 +01:00
Karl Hobley
3a8bc7f3ed
Use tuples in search_fields configuration
...
Not a requirement, just a best practise
2014-07-09 16:09:07 +01:00
Karl Hobley
072f5c04e0
Docs fixes
2014-07-09 16:07:53 +01:00
Tom Dyson
b9c4ecd7b3
Merge pull request #455 from kaedroho/wagtailsearch-docs
...
Wagtailsearch docs
2014-07-09 15:55:24 +01:00
Karl Hobley
dbab06a88c
Fixed typo
2014-07-09 15:47:00 +01:00
Karl Hobley
33e9477032
Doc tweak
2014-07-09 15:46:36 +01:00
Karl Hobley
fa97565b2a
Fix spelling mistake
2014-07-09 15:45:41 +01:00
Karl Hobley
4748684390
Added basic useage docs for python developers
2014-07-09 15:44:27 +01:00
Karl Hobley
cb556c9ede
Splitup search configuration docs
2014-07-09 15:42:44 +01:00
Tom Talbot
f4fd3ab88f
Add document usage count tests
2014-07-09 15:37:22 +01:00
Karl Hobley
70261780f6
Added search fields configuration docs
2014-07-09 15:29:32 +01:00
Matt Westcott
d4c4c08d7c
add tests for lt, gte, lte lookups in TestElasticSearchQuery
2014-07-09 15:18:22 +01:00
Matt Westcott
f5107f7d44
Merge branch 'searchchanges/tests' of https://github.com/kaedroho/wagtail into kaedroho-searchchanges/tests
2014-07-09 15:13:52 +01:00
Karl Hobley
599eebf022
Splitup wagtailsearch docs
2014-07-09 14:30:39 +01:00
Karl Hobley
8aaff51b05
Minor tweak to 0.4 release notes
2014-07-09 09:52:40 +01:00
Karl Hobley
1d9f792415
Added search changes to changelog and 0.4 release notes
2014-07-09 09:50:58 +01:00
Karl Hobley
354895bad2
Updated setup.py requirements
2014-07-09 09:28:05 +01:00
Matt Westcott
747aeb9f78
Merge branch 'kaedroho-searchchanges/searchonqueryset'
2014-07-08 20:26:17 +01:00
Matt Westcott
95c7654216
Page.search should invoke backend.search with cls as a plain arg, not a 'model' kwarg
2014-07-08 20:25:54 +01:00
Tom Talbot
0ebdce52ee
Merge branch 'master' into 146-display-calculated-usage
2014-07-08 18:17:22 +01:00
Matt Westcott
cbe76666e1
Merge branch 'searchchanges/searchonqueryset' of https://github.com/kaedroho/wagtail into kaedroho-searchchanges/searchonqueryset
2014-07-08 16:30:53 +01:00
Matt Westcott
5731155e4d
Merge pull request #352 from kaedroho/searchchanges/partials
...
Search Changes 10 - Index partials together into '_partials'
2014-07-08 15:24:58 +01:00