Karl Hobley
98a3cf4abf
Allow SQLite database location to be changed with DATABASE_NAME
2015-07-02 12:24:00 +01:00
Karl Hobley
a0b55ae641
Merge pull request #1460 from kaedroho/test-doc-tweak
...
Give the test document a filename
2015-07-02 12:09:36 +01:00
Karl Hobley
db1aeda4af
Give the test document a filename
2015-07-02 11:00:25 +01:00
Karl Hobley
b2f862d1d4
Added comment for wagtailimages get_upload_to
2015-07-01 16:57:23 +01:00
Karl Hobley
5018aa1994
Set file size on upload
2015-07-01 16:17:21 +01:00
Karl Hobley
4c85c39a78
Give error if image file doesn't exist
2015-07-01 16:04:24 +01:00
Karl Hobley
297240ce45
Use get_file_size() in image edit view
2015-07-01 16:04:24 +01:00
Karl Hobley
a997a13058
Migration for tests app
2015-07-01 16:04:24 +01:00
Karl Hobley
d04798daac
Add file_size field to Image
2015-07-01 16:04:24 +01:00
Karl Hobley
60e2d81052
Use search backend module imports in the docs
2015-07-01 14:36:50 +01:00
Karl Hobley
9695c86ac6
Simplified a couple of search backend paths
2015-07-01 14:33:15 +01:00
Matt Westcott
90cec15b3b
Support serialising StreamValue in wagtailapi - fixes #1454
2015-06-30 16:01:51 +01:00
Matt Westcott
b5d6490b7c
Add new translators to CONTRIBUTORS.rst
2015-06-30 11:26:02 +01:00
Matt Westcott
2fa9fea296
Fetch translations from transifex
2015-06-30 11:25:54 +01:00
Matt Westcott
eb9dde8395
Remove "Documentation currently incomplete and in draft status" note from editor manual
...
It's no more 'unfinished' than anything else in Wagtail...
2015-06-30 10:41:39 +01:00
Matt Westcott
f82f0ddab4
release note for #1251
2015-06-29 16:59:31 +01:00
Tim Heap
7d7eece0d1
Add `.specific()` page queryset method
2015-06-29 15:53:18 +01:00
Karl Hobley
bbd4d6d3d1
Merge pull request #1441 from gasman/cleanup/page-list-2
...
Clean up page listing templates - part 2
2015-06-29 09:24:50 +01:00
Karl Hobley
5e78be240e
Build documentation with Django 1.8 fixes #1451
2015-06-29 09:11:21 +01:00
Matt Westcott
88eb22d160
Merge branch 'kaedroho-search-config-tweak'
2015-06-26 16:38:03 +01:00
Matt Westcott
16c8540771
release note for #1255
2015-06-26 16:37:48 +01:00
Matt Westcott
9bbbe53223
update docs for #1255
2015-06-26 16:34:00 +01:00
Matt Westcott
66e6c58b5b
Merge branch 'search-config-tweak' of https://github.com/kaedroho/wagtail into kaedroho-search-config-tweak
...
Conflicts:
docs/search/backends.rst
wagtail/wagtailsearch/tests/test_backends.py
2015-06-26 16:33:21 +01:00
Dave Cranwell
9b326631a9
removed cursor:pointer where it was misleading
2015-06-26 14:25:48 +01:00
Matt Westcott
ad05d74230
Avoid iterating over the page listing when we aren't filtering by type
2015-06-26 12:44:11 +01:00
Matt Westcott
6d416e5bcd
Implement pagination on the page chooser
2015-06-26 12:44:11 +01:00
Matt Westcott
54add57ab8
Move page listing pagination links into a common include
2015-06-26 12:20:42 +01:00
Chris Rogers
f28d37675e
Merge pull request #1440 from chrxr/master
...
Updating editors manual docs for Wagtail 1.0.
2015-06-26 12:12:31 +01:00
Chris Rogers
bfa6eb4f20
Merge remote-tracking branch 'upstream/master'
2015-06-26 12:01:00 +01:00
Matt Westcott
f3a702a194
Remove the redundant is_searching flag from page search.
...
is_searching is true iff a non-empty query_string has been supplied. Since passing a non-empty query_string is the only way to actually get any search results, all {% if is_searching %} blocks within the search results can safely be eliminated.
2015-06-25 20:00:54 +01:00
Matt Westcott
36c475d524
Fix tests for the new split browse/search views.
...
Tests for URLs that pass both a page ID and a query string have been removed, because that never happens in reality (and isn't possible at all in the new URL scheme).
2015-06-25 19:50:29 +01:00
Matt Westcott
5dc2308a98
Move "page type restricted" warning out of the page-results container
...
This means we don't have to duplicate it in the search results output.
2015-06-25 17:25:29 +01:00
Matt Westcott
d7843f34e3
Split search and browse into separate views
2015-06-25 17:16:30 +01:00
Matt Westcott
ae4d899cbf
Move _search_behaviour.js back into browse.js
...
Having it as a separate include doesn't accomplish anything other than obfuscate where the 'modal' variable is coming from, and encourage code duplication
2015-06-25 15:47:26 +01:00
Matt Westcott
4b285a1c8b
Remove redundant moving/choosing flags
2015-06-25 13:08:50 +01:00
Matt Westcott
02d6b08249
Remove redundant allow_navigation flag on _list_move.html (it's always true)
2015-06-25 13:04:48 +01:00
Matt Westcott
c51f17cd89
Remove redundant show_parent=True parameter to usage_results.html and search_results.html
...
They both ultimately call _list_explore.html with show_parent=1 in all cases
2015-06-25 12:49:02 +01:00
Matt Westcott
8d55d0581f
Move explore-specific elements of the page listing into _list_explore.html
2015-06-25 12:20:16 +01:00
Matt Westcott
dc16e6c42b
choose/move listings never have orderable=True
2015-06-25 12:20:16 +01:00
Matt Westcott
548c63d604
Move remaining move/choose conditionals from _list.html into _list_move / _list_choose
2015-06-25 12:20:16 +01:00
Matt Westcott
8f395cc456
Use a common include for the page status tag.
...
Behaviour of the tag has also been simplified and made consistent, so that:
* live pages have a tag with 'primary' styling that links to the live page (with target="_blank");
* non-live pages (including scheduled / expired) have greyed-out styling and no link.
2015-06-25 12:20:16 +01:00
Matt Westcott
2caf88a45c
capfirst is redundant in status-tag
...
(it's uppercased in CSS, and the other occurrences of status-tag don't do it)
2015-06-25 12:20:16 +01:00
Matt Westcott
cd3552ef06
'can-disabled' is clearly a typo (see 09097f651e
)
2015-06-25 12:20:16 +01:00
Matt Westcott
3734f1250e
move custom classnames into list_choose/list_move
2015-06-25 12:20:16 +01:00
Matt Westcott
2e7b6d584a
Convert move/choose/explore switches in the table header into template block overrides
2015-06-25 12:20:16 +01:00
Matt Westcott
57a3fa5fe9
Use template inheritance to decouple the choose and move 'modes' of the page listing
...
(child templates don't do anything yet, but this provides a hook to hang block overrides off)
2015-06-25 12:20:15 +01:00
Matt Westcott
f7a8224cd4
move list.html to listing/_list.html to better communicate that it's an include rather than a full page
2015-06-25 12:20:15 +01:00
Matt Westcott
cc276dfe53
release note for #1212
2015-06-25 12:19:22 +01:00
Matt Westcott
fcac6fadad
Merge pull request #1212 from MechanisM/patch-2
...
Move the styleguide away from the main menu into Settings
2015-06-25 12:07:10 +01:00
Chris Rogers
315589ef91
Merge remote-tracking branch 'upstream/master'
2015-06-25 12:01:32 +01:00