Matt Westcott
1cc64b9478
need to register search signal handlers in urls.py
2014-09-11 13:46:36 +01:00
Matt Westcott
6dddd73c42
create virtualenv with system-site-packages enabled so that opencv is available
2014-09-11 13:32:01 +01:00
Matt Westcott
b9e9eb305d
use wagtail-base-v0.3 as the base box for the project template
2014-09-11 13:21:12 +01:00
Matt Westcott
8a087fb2b6
Merge pull request #621 from kaedroho/issue/613
...
Make sure images/documents are reindexed after saving tags. Fixes #613
2014-09-11 13:11:51 +01:00
Matt Westcott
c442ddefde
New installation docs
2014-09-11 11:14:16 +01:00
Karl Hobley
0a55e0814e
Make sure images/documents are reindexed after saving tags. Fixes #613
2014-09-11 10:20:33 +01:00
Matt Westcott
446fd81a46
Merge branch 'master' into kaedroho-project-template
2014-09-11 10:18:56 +01:00
Matt Westcott
82cd9242d4
fix documentation build warnings
2014-09-11 10:18:34 +01:00
Karl Hobley
5328a2d98a
Added failing tests for #613
2014-09-11 10:10:43 +01:00
Matt Westcott
bb23a49589
Add Celery documentation (and additional advice on Redis) to the Performance howto, since it isn't going to be a default part of the project template / VM
2014-09-10 19:24:18 +01:00
Matt Westcott
07455a8469
do not create a postgres database on vagrant provisioning, since the template assumes sqlite by default
2014-09-10 18:53:06 +01:00
Matt Westcott
c221a04afa
fix Vagrant config for new project structure
2014-09-10 17:38:19 +01:00
Matt Westcott
4d5570bea6
Disable parallel builds to avoid issue with Pillow 2.5 monkeypatching the build process
2014-09-10 17:37:57 +01:00
Karl Hobley
14173f3647
Changelog and release notes for #611
2014-09-10 13:57:17 +01:00
Karl Hobley
f23cec2cc7
Merge pull request #611 from kaedroho/feature/version-indicator
...
Added version indicator to admin dashboard
2014-09-10 13:55:11 +01:00
Dave Cranwell
74a57077db
styling and responsive solution for focal point chooser
2014-09-10 13:04:28 +01:00
Matt Westcott
24aefc417b
restructure project_template to be less opinionated and closer to what django itself does
2014-09-10 10:46:43 +01:00
Karl Hobley
510e932ad4
Minor code tweaks
2014-09-10 10:25:54 +01:00
Karl Hobley
5b54b1f177
Implemented manual image cropping in edit preview
2014-09-10 10:14:18 +01:00
Matt Westcott
7ee1a67413
remove celery from default setup, and suggest celery/redis in production.py instead
2014-09-10 10:10:24 +01:00
Matt Westcott
293864b260
SOUTH_MIGRATION_MODULES setting not needed with South 1.0
2014-09-10 10:09:30 +01:00
Karl Hobley
4daafb61a6
Removed focal point chooser modal and field
2014-09-10 09:04:48 +01:00
Tim Heap
b8b79cd151
resolve_model_string now raises LookupError
...
Django 1.7 raises a `LookupError` when looking for a model that does not
exist. This brings the code in to line with Django. The `LookupError`
from Django is allowed to propagate in 1.7, and a `LookupError` is now
raised instead of a `NameError` in 1.6.
All code using `resolve_model_string` has been changed to catch the new
errors.
2014-09-10 15:17:12 +10:00
Tim Heap
7921abe924
Fix errors raised with resolve_model_string
...
It now raises `ValueError` for a badly formatted string, and `NameError`
if it can not find the model. Error messages are not translated. Edit
handlers now use the function.
2014-09-10 15:17:12 +10:00
Tim Heap
999b052fe5
Fix indentation of docstings
2014-09-10 15:17:12 +10:00
Tim Heap
18909c834f
Replace all calls to clean_subpage_types with allowed_subpage_types
...
`clean_subpage_types` should not be part of the public API any more, and
`allowed_subpage_types` should replace it in all instances.
2014-09-10 15:17:12 +10:00
Tim Heap
96e9079890
Add Page.parent_page_types to the docs
2014-09-10 15:17:12 +10:00
Tim Heap
7b89f283db
Force Page._clean_sub/parent_page_types to be a list
2014-09-10 15:17:12 +10:00
Tim Heap
9aae3a1a23
Restrict child page types when creating them
...
The list of allowed child page types was restricted, but if you could
guess the URL to create a disallowed page type, nothing would stop you
creating it. Fixes a failing test case.
2014-09-10 15:17:12 +10:00
Tim Heap
4bcacfabf2
Add tests for new Page.parent_page_types setting
2014-09-10 15:17:12 +10:00
Tim Heap
42e175392e
Implement Page.parent_page_types
...
Similar to `Page.subpage_types`, but restricts which pages can have a
specific page type as a child.
Useful for Blog posts being restricted to Blog list pages, or similar
things.
2014-09-10 15:17:12 +10:00
Dave Cranwell
6d05fd79fe
Added get_verbose_name
2014-09-09 16:46:44 +01:00
Dave Cranwell
03745d01cb
added docstring to get_verbose_name, which is a particularly handy method for front enders
2014-09-09 16:47:35 +01:00
Dave Cranwell
6d5747b6da
moved version into title tag on logo
2014-09-09 15:22:30 +01:00
Matt Westcott
743717a46c
Add unit test to verify that URL methods on non-routable pages return None
2014-09-09 14:24:49 +01:00
Karl Hobley
97959b8f4d
Changed version to 0.5
2014-09-09 13:01:31 +01:00
Karl Hobley
74686ccbee
Added wagtail version indicator to the dashboard
2014-09-09 13:00:56 +01:00
Karl Hobley
bce455a5cc
Made setup.py look at wagtailcore.__version__
2014-09-09 12:57:01 +01:00
Karl Hobley
1d7ca5a685
Made docs look at wagtailcore.__version__
2014-09-09 12:56:26 +01:00
Karl Hobley
69f9f48488
Added __version__ to wagtailcore
2014-09-09 12:56:10 +01:00
Karl Hobley
f9e8039b6a
Removed an accidentally committed change (was used for testing)
2014-09-09 10:16:41 +01:00
Karl Hobley
b1299427d8
Added missing comment
2014-09-09 10:14:14 +01:00
Karl Hobley
046bd84f53
Don't process -c parameter on non fill filters
2014-09-09 10:11:53 +01:00
Karl Hobley
b02d8db666
Fixed stray print statement
2014-09-09 10:04:49 +01:00
Karl Hobley
e2fb040981
Implemented crop closeness
2014-09-09 09:52:52 +01:00
Karl Hobley
3264d92db3
Fixed merge issue
2014-09-09 09:12:50 +01:00
Karl Hobley
f24a9240d3
Tests for focal point chooser view
2014-09-08 14:47:41 +01:00
Karl Hobley
8f87a5ff81
Don't allow users without permission to edit the image to see its focal point chooser
2014-09-08 14:47:21 +01:00
Karl Hobley
afec066013
Imports cleanup
2014-09-08 14:36:37 +01:00
Karl Hobley
b4c7b3fbc2
Made 'done' link a button
2014-09-08 11:34:31 +01:00