Karl Hobley
9d9bfc1f08
Merge pull request #969 from kaedroho/warnings-fixes
...
Some warnings fixes
2015-02-06 17:06:10 +00:00
Karl Hobley
50e4cdf8b8
Replaced SortedDict with OrderedDict
2015-02-06 10:44:25 +00:00
Karl Hobley
d0b0d57ca5
Ignore PendingDeprecationWarnings
2015-02-06 10:44:25 +00:00
Karl Hobley
9cf1a81034
Fixed another reference to django.db.get_models
2015-02-06 10:28:07 +00:00
Karl Hobley
354a5aaa80
Removed reference to django.db.get_models
...
in resolve_model_string
2015-02-06 10:25:42 +00:00
Karl Hobley
cf0e17d94c
Added tests for resolve_model_string
...
To make sure I don't change its behaviour in the next commit
2015-02-06 10:22:38 +00:00
Dave Cranwell
a5edb0ce0f
tweak to zindex of autocomplete widget
2015-02-06 10:03:49 +00:00
Karl Hobley
43641192c2
Fixed a couple of references to django.forms.util
2015-02-06 09:57:42 +00:00
Dave Cranwell
182aa6922a
added suitable message when no snippets of a particular type exist
2015-02-05 09:34:07 +00:00
Karl Hobley
382004e13b
Merge branch 'feature/drop-inlinepanel-basemodel-param'
2015-02-04 21:08:28 +00:00
Karl Hobley
54210e9fe4
Fixed test
...
Dictionary was being mutated while iterating over its values.
2015-02-04 21:07:11 +00:00
Dave Cranwell
e7a19de235
updated styleguide to demonstrate generic image/doc/page picker ui
2015-02-04 17:09:19 +00:00
Dave Cranwell
e5e79d2e2b
fixing ugly text flush against menu edge
2015-02-04 16:42:03 +00:00
Dave Cranwell
589319d466
removed pointless difference in buttons izes
2015-02-04 16:37:13 +00:00
Karl Hobley
88812b4cae
Release notes for #957 and #960
2015-02-04 16:17:16 +00:00
Karl Hobley
ed6e13f171
Changelogs for #957 and #960
2015-02-04 16:15:58 +00:00
Matt Westcott
6b256ed89f
fix deprecation warnings to give a correct error line, and ignore warnings thrown by test_invalid_inlinepanel_declaration
2015-02-04 16:13:38 +00:00
Matt Westcott
547c29faf5
Deprecate the base_model parameter on InlinePanel - fixes #405
2015-02-04 16:13:38 +00:00
Karl Hobley
ed9a8d1169
Merge pull request #960 from gasman/feature/model-aware-edithandlers
...
Refactor edit handler classes so that they can have a persistent reference to their corresponding model
2015-02-04 16:12:43 +00:00
Tom Talbot
f9da1c5ed8
Added Sebastian Spiegel to contributors
2015-02-04 16:00:59 +00:00
Tom Talbot
67369f4e6c
Release notes for #825
2015-02-04 16:00:38 +00:00
Tom Talbot
27048acda7
Changelog for #825
2015-02-04 16:00:13 +00:00
Tom Talbot
c38e3e1b6e
Merge pull request #825 from Tivix/fix-multiword-tags-save
...
Fix saving a single tag with multiple words in it, fixes #824
2015-02-04 15:48:37 +00:00
Karl Hobley
e9b0f8d928
Merge pull request #957 from gasman/fix/stray-form-fields-2
...
Stop missing panels from displaying as stray unlabelled fields - fixes #338 and #922
2015-02-04 09:38:55 +00:00
Matt Westcott
d82069543f
Merge pull request #959 from zerolab/docs-wagtail-planet
...
Add third-party tutorials page to docs
2015-02-03 23:22:38 +00:00
Matt Westcott
121c01c7f7
Refactor edit handler classes so that they can have a persistent reference to their corresponding model.
...
Previously, TabbedInterface, ObjectList, FieldPanel et al were factory functions that yield a class that has no knowledge of their corresponding models. These are now classes in their own right, meaning that when we place them in a content_panels definition, we end up with a list of 'panel definition' objects rather than a list of EditHandler classes. These panel definition objects can be 'traded in' for a proper EditHandler class by calling bind_to_model(model) - this means that our EditHandler classes are now aware of the model they are attached to.
Since bind_to_model(model) returns a fresh class each time it is called, the panel definition objects can be shared between models with no issues - so we can still make use of common definitions like wagtaildemo's LinkFields.panels.
2015-02-03 23:00:08 +00:00
Dan Braghis
0aaee7bb47
Add docs page for third-party tutorials
2015-02-03 22:29:28 +00:00
Matt Westcott
401c50ca5d
Merge pull request #955 from gasman/fix/modelcluster-0.5
...
upgrade django-modelcluster to 0.5
2015-02-03 16:53:05 +00:00
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