Karl Hobley
5d6aa0c6ca
Started restructuring getting started docs
2015-02-16 10:27:17 +00:00
Karl Hobley
9072274a01
Improved front page
2015-02-16 10:26:34 +00:00
John Franey
d9b78580a8
Update form_builder.rst
...
Update import statement to include all classes used in the example
2015-02-12 12:22:44 -05:00
Dan Braghis
8fe8c5bc13
Add changelog/release notes for #978
2015-02-12 14:46:31 +00:00
Dan Braghis
c50f6ed53b
Merge pull request #978 from kaedroho/vagrant-port-8000
...
Change project template Vagrantfile to listen on port 8000
2015-02-12 14:42:33 +00:00
Karl Hobley
d239de72d5
Send instance in correct kwarg in document_served
...
Was previously using "sender" which should be set to the document class
2015-02-12 13:58:30 +00:00
Karl Hobley
6fef8f441d
Changelog and release notes for #990
2015-02-12 13:53:40 +00:00
Karl Hobley
02cbd32a45
Merge pull request #991 from kaedroho/docs-serve-view-tests
...
Docs serve view tests
2015-02-12 13:50:16 +00:00
Karl Hobley
76ef1eb41a
Fixed spelling mistake
2015-02-12 12:45:38 +00:00
Karl Hobley
29caba921e
Added tests for docs serve view
2015-02-12 12:32:22 +00:00
Dan Braghis
918f286eea
Use StreamingHttpResponse to server documents
2015-02-12 11:39:31 +00:00
Dan Braghis
f36836bc48
Change FileWrapper import location
2015-02-12 11:39:17 +00:00
Karl Hobley
56e398fd64
Changed a unittest.skipto unittest.expectedFailure
2015-02-11 12:57:56 +00:00
Karl Hobley
85aee81808
Fixed system checks import
2015-02-11 12:56:17 +00:00
Karl Hobley
51b384ece2
Add migration for tests app
2015-02-10 16:59:29 +00:00
Matt Westcott
75c07af32a
Additional 0.9 deprecation notes
2015-02-10 15:06:38 +00:00
Karl Hobley
121d0bdc69
Use builtin wagtail image model in tests
...
Incase we test with a custom image model in the future
2015-02-10 14:35:40 +00:00
Karl Hobley
8bb392ae58
Use old behaviour when admin_form_fields not set
...
With deprecation warning
2015-02-10 14:31:07 +00:00
Karl Hobley
6581a78082
Fixed admin_form_fields tests
2015-02-10 14:06:18 +00:00
Matt Westcott
17ccb29371
Merge branch 'feature/chooser-refactor'
2015-02-10 10:44:21 +00:00
Karl Hobley
ef8de6180a
Added admin_form_fields to Image model
...
In Django 1.7, creating forms from a model without specifying a list of fields is deprecated.
This commit makes the get_image_form function look for a field called admin_form_fields on the Image model and use that for building the form.
2015-02-10 10:33:09 +00:00
Karl Hobley
0dd1613287
Project template Vagrantfile now listens on port 8000
2015-02-10 10:02:39 +00:00
Matt Westcott
9a3893798e
py3 fix
2015-02-09 21:25:31 +00:00
Matt Westcott
e3dc4a5936
cast an empty string value of AdminChooser to None, as needed by required=True validation
2015-02-09 19:56:51 +00:00
Matt Westcott
13e1811c54
mark chooser_panel.html as deprecated
2015-02-09 19:34:18 +00:00
Matt Westcott
63dafbe4b7
Move the snippet chooser HTML markup from snippet_chooser_panel.html entirely within the AdminSnippetChooser widget's render() method
2015-02-09 19:18:58 +00:00
Matt Westcott
435e4571b3
Move the image chooser HTML markup from image_chooser_panel.html entirely within the AdminImageChooser widget's render() method
2015-02-09 19:08:12 +00:00
Matt Westcott
41577759a1
Move the document chooser HTML markup from document_chooser_panel.html entirely within the AdminDocumentChooser widget's render() method
2015-02-09 18:59:51 +00:00
Matt Westcott
fe797437e7
Remove now-redundant references to page_chooser_panel.html
2015-02-09 18:47:11 +00:00
Matt Westcott
6e2faa0b66
Move the page chooser HTML markup from page_chooser_panel.html entirely within the AdminPageChooser widget's render() method
2015-02-09 18:26:35 +00:00
Karl Hobley
7f39cc4eab
Updated versioning code
2015-02-09 13:25:11 +00:00
Karl Hobley
01534c99c0
Merge pull request #974 from kaedroho/issue-968
...
Fixed precision of "fill" operation resizing. Fixes #968
2015-02-09 12:46:12 +00:00
Karl Hobley
98ca98191d
Merge pull request #965 from kaedroho/image-vary-stuff
...
Image vary_key related changes
2015-02-09 12:46:03 +00:00
Karl Hobley
d4ab7e833f
Changelog, release notes and contributor entry for #620
2015-02-09 12:39:12 +00:00
Karl Hobley
46e006dbd2
Merge branch 'tucarga-fix-richtext'
2015-02-09 12:36:29 +00:00
Karl Hobley
89bb3787e3
Improvements to #620
...
As per https://github.com/torchbox/wagtail/pull/620#issuecomment-59203932
Also improved the tests a little bit
2015-02-09 12:35:19 +00:00
Karl Hobley
ca4cc125f2
Added drone config
2015-02-09 12:11:52 +00:00
Alejandro Varas
357a5c7449
Fixed TypeError raised by richtext
template tag
2015-02-09 11:01:41 +00:00
Karl Hobley
cee7b891a7
Merge pull request #971 from benjaoming/patch-1
...
Remove unused import Image
2015-02-08 14:12:51 +00:00
Karl Hobley
b2b790e387
Improved precision of "fill" operation resizing
...
Fixes #968
2015-02-08 13:57:07 +00:00
Karl Hobley
a8f53c4b03
Added a failing test for #968
2015-02-08 13:40:35 +00:00
benjaoming
f4b1a3938a
Remove unused import Image
...
Don't see this used anywhere...!?
2015-02-06 21:28:34 -08:00
Matt Westcott
8f655cd74d
make WidgetWithScript explicitly fail in the absence of an ID attribute
2015-02-06 17:07:30 +00:00
Karl Hobley
9d9bfc1f08
Merge pull request #969 from kaedroho/warnings-fixes
...
Some warnings fixes
2015-02-06 17:06:10 +00:00
Matt Westcott
f56d927be0
provide a render_html method on WidgetWithScript so that subclasses can override the HTML part of the rendering too
2015-02-06 16:40:51 +00:00
Matt Westcott
55c585d03e
Update *_chooser_panel.html templates so that they don't have to be passed an is_chosen flag
2015-02-06 16:09:28 +00:00
Matt Westcott
932f532b80
Set choose_one_text, choose_another_text and clear_choice_text as overrideable properties on AdminChooser so that we don't have to do template inheritance gymnastics to pass them around
2015-02-06 14:43:54 +00:00
Matt Westcott
e8246f6c4b
introduce a common AdminChooser superclass for all our Admin*Choosers
2015-02-06 12:54:09 +00:00
Matt Westcott
e3216fad45
now the only call to render_as_field with any parameters whatsoever is where BasePageChooserPanel.render_as_field calls super - so only BaseChooserPanel.render_as_field needs to retain those parameters, and only extra_context
2015-02-06 12:21:41 +00:00
Matt Westcott
61bd2511a8
Don't bother to pass show_help_text to templates, because no templates ever use it. This means that the show_help_text parameter to render_as_field now has no effect, so we can safely remove it from the one call that uses it
2015-02-06 12:15:34 +00:00