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
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
Karl Hobley
807aa1ebb1
Started work on manual image cropping
2014-09-08 10:59:23 +01:00
Karl Hobley
82d60e514e
Changelog and contributers files updates
2014-09-08 09:20:25 +01:00
Karl Hobley
77b52b0a13
Merge pull request #603 from thenewguy/nosouth
...
do not import south for dj17
2014-09-08 09:05:16 +01:00
gordon
9f96f676fd
do not import south for dj17
2014-09-06 18:03:22 -04:00
Matt Westcott
27bc0e5c9f
Merge branch 'master' into kaedroho-project-template
2014-09-05 16:26:13 +01:00
Karl Hobley
ecd8d22c04
Merge pull request #599 from gasman/fix/child_relations
...
Fix page copy and replace_text to pick up child relations that are defined on a superclass
2014-09-05 12:49:57 +01:00
Matt Westcott
ecd8657523
add dj1.7 migration for adding 'colour' to AdvertPlacement test model
2014-09-05 12:37:58 +01:00
Matt Westcott
663218c458
fix tests I broke by fiddling with the AdvertPlacement test model
2014-09-05 12:17:26 +01:00
Karl Hobley
47fca3fac6
Improved consisntancy of spacing in 0.6 release notes
2014-09-05 11:47:00 +01:00
Matt Westcott
e94f610241
changelog entry for child_relations bugfixes
2014-09-05 11:46:49 +01:00
Matt Westcott
626526fe8c
Fix replace_text to catch child relations that are defined on a superclass
2014-09-05 11:38:40 +01:00
Karl Hobley
35035d7339
Added note to 0.6 saying that all features deprecated in 0.4 have been removed
2014-09-05 11:33:19 +01:00
Karl Hobley
fb23878ccb
Changelog and release notes for #535
2014-09-05 11:29:20 +01:00
Karl Hobley
dbd0834624
Merge pull request #535 from gasman/feature/menu-api
...
Refactor admin menu API to allow menu items to have bundled JS
2014-09-05 11:28:43 +01:00
Matt Westcott
609b22f722
Fix Page.copy() to copy child objects that are defined on a superclass of the model
2014-09-05 11:25:04 +01:00
Matt Westcott
339aff8026
Test the register_admin_menu_item hook, including the use of classnames/attrs and is_shown
2014-09-05 10:26:14 +01:00
Matt Westcott
9319667a23
Merge branch 'master' of github.com:torchbox/wagtail
2014-09-04 21:33:08 +01:00
Matt Westcott
2e20faa094
upgrade modelcluster to 0.4 - fixes #545
2014-09-04 21:32:39 +01:00
Matt Westcott
db41badd8c
add tests for accessing advert_placements on a subclass of Page - these require modelcluster 0.4 to pass
2014-09-04 16:04:59 +01:00
Dave Cranwell
36d5d747aa
Detail about image renditions and abstractimage fields
2014-09-04 11:01:24 +01:00