Commit graph

8303 commits

Author SHA1 Message Date
Matt Westcott
6faf4f3722 Pass InlinePanel's widget overrides as part of the required_formsets spec, so there's no need for a separate widget_overrides method 2015-02-03 13:29:17 +00:00
Matt Westcott
25a514ae5c add test for widget overriding within an InlinePanel 2015-02-03 13:12:22 +00:00
Matt Westcott
cc237c1750 Update EditHandler.required_formsets to return a dict (as supported by django-modelcluster 0.5), so that InlinePanel can specify the exact fields to use 2015-02-03 12:58:39 +00:00
Matt Westcott
18c77b83a6 reinstate render_missing_fields - it turns out we need it in order to render the id / DELETE / ORDER etc hidden fields on inline panels 2015-02-03 12:58:39 +00:00
Matt Westcott
8ae1ccdff6 update comment on render_form_content, since the concept of 'unaccounted-for fields' no longer applies 2015-02-03 12:58:39 +00:00
Matt Westcott
f821eafa26 negate the test for #338 / #922, to confirm that this is fixed 2015-02-03 12:58:39 +00:00
Matt Westcott
30f2049727 add content_panels definition to TaggedPage, so that TestIssue197 is not relying on the 'tags' field being output as a stray non-panel field (which it isn't any more) 2015-02-03 12:58:39 +00:00
Matt Westcott
ba19fd395d Update edit_handlers tests to reflect the change from rendered_fields to required_fields 2015-02-03 12:58:39 +00:00
Matt Westcott
8d903e9936 Replace rendered_fields method of EditHandler with a class method required_fields, and use that to tell get_form_for_model what fields the form should include. This means we can eliminate render_missing_fields, since the form no longer includes extraneous fields 2015-02-03 12:55:23 +00:00
Chris Rogers
7d792151c2 Merge pull request #946 from gasman/fix/ignore-middleware-responses
Ignore middleware responses when building dummy request
2015-02-03 12:21:09 +00:00
Matt Westcott
55cac3b907 upgrade django-modelcluster to 0.5 2015-02-03 11:11:42 +00:00
Karl Hobley
6a8c26d0ad Release note for #942 2015-02-03 10:48:44 +00:00
Karl Hobley
46bb9de808 Added @frankwiles to contributors 2015-02-03 10:48:15 +00:00
Karl Hobley
fcd0e19bc5 Changelog for #942 2015-02-03 10:47:29 +00:00
Karl Hobley
d1353265f6 Merge pull request #942 from revsys/blank_title_validation
Ensure title and seo_title are not whitespace
2015-02-03 10:45:54 +00:00
Dan Braghis
800c5ba265 Add release notes for #913 2015-02-02 21:35:32 +00:00
Dan Braghis
1a9ba7c64b Merge pull request #913 from kaedroho/admin-cache-settings
Globally set cache headers for the admin interface
2015-02-02 21:31:39 +00:00
Karl Hobley
1049b3ff2d Also set max-age=0 on all admin views 2015-02-02 17:42:24 +00:00
Karl Hobley
dbefb725d1 Merge pull request #949 from gasman/fix/edithandler-tests-2
Better tests for edit handlers, part 2
2015-02-02 17:15:19 +00:00
Karl Hobley
4efed6b041 Update CHANGELOG.txt 2015-02-02 11:45:56 +00:00
Matt Westcott
6252bd8dc9 python3 fix 2015-01-30 19:59:25 +00:00
Matt Westcott
b2dfc84b61 test that InlinePanel renders the necessary hidden fields 2015-01-30 19:35:37 +00:00
Matt Westcott
9adb66f052 move InlinePanel.render_js_init tests into main render tests; add a test for #338; remove all remaining mock stuff from test_edit_handlers 2015-01-30 17:14:29 +00:00
Matt Westcott
331250e5c6 use real models for render tests on InlinePanel 2015-01-30 16:59:59 +00:00
Matt Westcott
2480a97b24 more relevant tests for PageChooserPanel 2015-01-30 15:48:47 +00:00
Matt Westcott
ce3a0e26dc better-behaved initialisation of PageChooserPanel (the second parameter is the page type to filter on, not the current model) 2015-01-30 13:39:39 +00:00
Matt Westcott
3f6fb92b62 Ignore middleware responses when building dummy request, so that middlewares that enforce HTTPS / basic auth etc don't block the preview mechanism 2015-01-29 15:24:06 +00:00
Matt Westcott
995b1e1411 Merge pull request #945 from kaedroho/treebeard-3
Update to treebeard 3.0. Fixes #930
2015-01-29 13:43:44 +00:00
Matt Westcott
e8ff31112f Merge branch 'revsys-admin_branding' 2015-01-29 13:41:22 +00:00
Matt Westcott
ba9dde0ef8 Documentation for branding_login and branding_welcome 2015-01-29 13:41:04 +00:00
Matt Westcott
25ee9c72b7 rename admin_branding_home -> branding_welcome and admin_branding_login to branding_login, for consistency with dbc7cf45ef 2015-01-29 13:37:56 +00:00
Matt Westcott
b4ba12aed9 Merge branch 'admin_branding' of https://github.com/revsys/wagtail into revsys-admin_branding
Conflicts:
	wagtail/wagtailadmin/templates/wagtailadmin/login.html
2015-01-29 13:28:20 +00:00
Matt Westcott
e5f7ab5924 Merge branch 'gilsondev-master' 2015-01-29 13:23:22 +00:00
Matt Westcott
dbc7cf45ef Documentation for replacing branding using django-overextends (+ rename admin_logo to branding_logo with the plan of being consistent with #934) 2015-01-29 13:22:57 +00:00
Karl Hobley
d63eeed4a0 Update to treebeard 3.0. Fixes #930 2015-01-29 13:19:41 +00:00
Karl Hobley
617aced004 Added global wagtailadmin cache settings 2015-01-29 10:45:57 +00:00
Karl Hobley
a437c1471f Update settings.rst
No longer need to specify ``LOGIN_URL`` or ``LOGIN_REDIRECT_URL``
2015-01-29 10:43:34 +00:00
Karl Hobley
61de136f75 Update settings.rst
No longer need to specify ``LOGIN_URL`` or ``LOGIN_REDIRECT_URL``
2015-01-29 10:42:46 +00:00
Karl Hobley
9dafaa86c5 Update CHANGELOG.txt 2015-01-29 10:41:12 +00:00
Karl Hobley
a0fcc74398 Update 0.9.rst 2015-01-29 10:40:47 +00:00
Karl Hobley
365821c2d9 Update CHANGELOG.txt 2015-01-29 10:37:31 +00:00
Matt Westcott
81327ec4e8 Merge branch 'kaedroho-search-query-normalisation-fix' 2015-01-28 20:20:46 +00:00
Matt Westcott
211ddb0376 release note for #939 2015-01-28 20:13:46 +00:00
Matt Westcott
b94daa7ef1 Merge branch 'search-query-normalisation-fix' of https://github.com/kaedroho/wagtail into kaedroho-search-query-normalisation-fix 2015-01-28 20:11:52 +00:00
Frank Wiles
da7b96cca6 opps forgot files 2015-01-28 10:26:23 -06:00
Frank Wiles
9f12c109be Ensure title and seo_title are not whitespace
- Add form clean methods and validation on title and seo_title
    - Fixes #413
2015-01-28 10:22:52 -06:00
Matt Westcott
01b67760c0 Merge branch 'master' of https://github.com/gilsondev/wagtail into gilsondev-master 2015-01-28 15:57:45 +00:00
Dan Braghis
c542494048 Changelog/release notes for the admin url fixes 2015-01-28 15:09:05 +00:00
Dan Braghis
ef242616ea Merge pull request #912 from kaedroho/admin-url-fixes
Fix admin URL permissions
2015-01-28 14:55:52 +00:00
Dan Braghis
70ea948eaa Remove stray . from changelog/release notes 2015-01-28 11:57:26 +00:00