Commit graph

2918 commits

Author SHA1 Message Date
Karl Hobley
e220c77cc0 Added test to test reordering of editors picks 2014-06-18 14:20:42 +01:00
Karl Hobley
a05df1a534 Added posting tests to editors picks 2014-06-18 13:39:12 +01:00
Karl Hobley
620e58632f General improvements to editorspicks tests 2014-06-18 13:08:54 +01:00
Karl Hobley
ec46d09772 Improved editors picks pagination tests 2014-06-18 13:05:33 +01:00
Karl Hobley
929aa0f5e8 Added posting tests to wagtaildocs 2014-06-18 12:26:15 +01:00
Karl Hobley
bf84b7f64a Removed get method from wagtaildocs tests 2014-06-18 11:57:37 +01:00
Karl Hobley
1ca6de4d46 Improvements to wagtaildocs pagination tests 2014-06-18 11:54:12 +01:00
Dave Cranwell
4b7c10bb5c -amremoving test 2014-06-18 11:42:11 +01:00
Dave Cranwell
fc9f001e71 test 2014-06-18 11:39:32 +01:00
Karl Hobley
46fc45877c Replaced get_query_set methods with get_queryset 2014-06-18 11:27:34 +01:00
Dave Cranwell
ace28dd602 move preview css to scss file 2014-06-18 11:26:11 +01:00
Karl Hobley
c46ab6c209 Renamed wagtailcore.util to wagtailcore.utils 2014-06-18 11:24:38 +01:00
Dave Cranwell
01df448796 Merge branch 'master' into feature/minor-preview-improvement 2014-06-18 11:06:12 +01:00
Matt Westcott
eddb060c8d Bypass 'choose a page type' screen when there is only one available choice in subpage_types 2014-06-17 23:08:30 +01:00
Matt Westcott
6bfe82f5e5 Make can_add_subpage and can_publish_subpage permission checks return False for page models that disallow subpages; this ensures that 'add child page' links are not shown 2014-06-17 22:53:54 +01:00
Matt Westcott
a4b60715b9 Check that the content type passed to wagtailadmin.pages.create is valid according to subpage_types 2014-06-17 22:27:11 +01:00
Matt Westcott
a713895440 get_page_types no longer required in wagtailadmin.views.pages 2014-06-17 22:14:23 +01:00
Matt Westcott
8f9298f2b4 Changelog / contributors entry for #243 2014-06-17 22:03:11 +01:00
Matt Westcott
86aa13f066 Merge branch 'master' of github.com:torchbox/wagtail 2014-06-17 21:57:41 +01:00
Matt Westcott
9071a8e004 Tweak subpage_types logic so that subpage_types=None (or undefined) means 'no restriction on subpages', freeing up [] to mean 'no subpages allowed' 2014-06-17 21:48:48 +01:00
Matt Westcott
8d3ac405c4 Deprecate get_leaf_page_content_type_ids and get_navigable_page_content_type_ids, as they have incorrect semantics for page subclasses that don't define subpage_types. Replace them with a naive implementation that doesn't require metaclass hacks 2014-06-17 21:27:26 +01:00
Matt Westcott
a2254148e9 Remove subpage_types logic from is_navigable and get_navigation_menu_items. It's now clear that we will never mandate the use of subpage_types, so we can't use its presence or absence as an indicator of whether or not a page is appropriate to be included in navigation menus. 2014-06-17 20:40:55 +01:00
Karl Hobley
015f7c126d Removed assertURLEqual, replaced with Djangos built in assertRedirects 2014-06-17 17:49:52 +01:00
Dave Cranwell
68da7f0c2c corrected commit ref to kaedroho@5dc7a220f8799a7c6871b119724f7e07cb54f4fb 2014-06-17 17:39:48 +01:00
Karl Hobley
9917d777c5 Improvements to existing slug unit tests for create and edit views 2014-06-17 17:38:00 +01:00
Dave Cranwell
553e7062b6 added FieldRowPanel from @kaedroho 5dc7a220f8799a7c6871b119724f7e07cb54f4fb 2014-06-17 17:37:28 +01:00
Karl Hobley
13c341a4d4 Improvements to wagtailadmin explorer tests 2014-06-17 17:26:31 +01:00
Karl Hobley
b480c9e7eb Fixes to wagtailadmin page index view 2014-06-17 17:25:49 +01:00
Dave Cranwell
fb9a876e92 moved set_page_edit_hanlder to edit_handlders.py. Still not happy it's invoked the right way though 2014-06-17 17:20:22 +01:00
Dave Cranwell
b95d6a0fab removed partial work from other branch 2014-06-17 16:58:12 +01:00
Dave Cranwell
9efb6a38d7 styling for scenario where tabs run onto multiple lines 2014-06-17 16:37:22 +01:00
Matt Westcott
f2b5e30de4 Merge pull request #321 from kaedroho/issue-320
Set treebeard attributes in preview on create view. Fixes #320
2014-06-17 16:35:46 +01:00
Dave Cranwell
4788144c86 first bash at customisable tabs like in PR #210 2014-06-17 15:09:10 +01:00
Matt Westcott
5987f2843a remove redundant imports from wagtailcore/models.py 2014-06-17 14:56:44 +01:00
Matt Westcott
f56179f8ba Merge branch 'business-rules' of https://github.com/lojack/wagtail into lojack-business-rules
Conflicts:
	wagtail/tests/models.py
	wagtail/wagtailadmin/tests.py
2014-06-17 14:45:25 +01:00
Dave Cranwell
53cfd94484 Merge remote-tracking branch 'upstream/master' into feature/styleguide 2014-06-17 09:51:11 +01:00
Karl Hobley
7bb37d4efb Cleaned up wagtailembeds/tests.py imports 2014-06-17 09:49:57 +01:00
Dave Cranwell
0f6b6784dc fixing incorrect test import 2014-06-17 09:45:42 +01:00
Karl Hobley
f4245815ba Added sitemap generator 2014-06-17 09:37:35 +01:00
Dave Cranwell
b638cc01e9 Merge branch 'master' into feature/styleguide 2014-06-17 09:36:21 +01:00
Dave Cranwell
7184d6f6d2 font tweaks 2014-06-16 17:28:42 +01:00
Dave Cranwell
2bd1e0076b tweaks to font metrics 2014-06-16 17:10:26 +01:00
Dave Cranwell
506d977950 typo in comment 2014-06-16 15:32:32 +01:00
Karl Hobley
4136bb5053 Added tests for db6bb92 2014-06-16 15:15:38 +01:00
Karl Hobley
db6bb920fb Set treebeard attributes in preview on create view. Fixes #320 2014-06-16 14:57:33 +01:00
Dave Cranwell
7f72bdd917 Merge remote-tracking branch 'upstream/master' into feature/better-modals 2014-06-16 13:19:45 +01:00
Dave Cranwell
bd0a18dc13 tidied image chooser.js 2014-06-16 13:18:27 +01:00
Dave Cranwell
ba15fbead1 added better comments. tweaked when modal is shown 2014-06-16 13:06:02 +01:00
Dave Cranwell
b5dc5a9516 tweaks to make modals fade better 2014-06-16 12:59:43 +01:00
Karl Hobley
5bfa8d6b07 Merge pull request #291 from kaedroho/issue-25
Made login view redirect already logged in users to dashboard.
2014-06-16 12:10:17 +01:00