Matt Westcott
d5f3d2d12b
implement required=False on ChooserBlocks
2015-02-13 12:01:47 +00:00
Matt Westcott
d641dcb737
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
2015-02-13 10:45:29 +00:00
Matt Westcott
733378483f
fix classname output on FieldBlock
2015-02-13 10:45:17 +00:00
Dave Cranwell
8d6b9c2ed2
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
2015-02-13 10:38:54 +00:00
Dave Cranwell
52bda6bedf
new icons added to icon set
2015-02-13 10:38:40 +00:00
Matt Westcott
0d2200222d
silently skip unrecognised block types in StreamBlock values
2015-02-13 10:27:18 +00:00
Matt Westcott
89a54efa66
Fix tests to not pass a field arg to FieldBlock
2015-02-12 20:47:40 +00:00
Matt Westcott
e1d39aa19f
remove obsolete TextInputBlock
2015-02-12 17:35:32 +00:00
Matt Westcott
6912d5398c
support required, help_text, max_length, min_length params on CharBlock
2015-02-12 17:32:33 +00:00
Matt Westcott
1bfac754c4
Drop 'field' param from FieldBlock - always use subclassing instead
2015-02-12 17:23:16 +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
Matt Westcott
386a1a138c
fix test_render_form_labels
2015-02-12 16:40:58 +00:00
Matt Westcott
8fd3d78e57
Capitalize name nicely when using it as a fallback label.
...
This stops Multiple_words_with_underscores from creeping into the output, and eliminates the need for CSS text-transforms that Capitalize Every Word Like This.
2015-02-12 16:20:47 +00:00
Matt Westcott
9271e8f2a4
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
...
Conflicts:
wagtail/wagtailadmin/templates/wagtailadmin/block_forms/field.html
2015-02-12 15:52:39 +00:00
Matt Westcott
23ef2e810b
implement render_with_errors on BlockWidget
2015-02-12 15:51:20 +00:00
Dave Cranwell
dfa18ba131
addressing hallo toolbar appearing in wrong place
2015-02-12 15:39:06 +00:00
Dave Cranwell
a8f4c3296d
labels for streamfield fields don't seem to get capitalized like normal django field labels
2015-02-12 15:24:43 +00:00
Matt Westcott
cdcd0fa8c6
refactor render_form to take an ErrorList rather than a single 'error' param
2015-02-12 15:24:11 +00:00
Dave Cranwell
383bf1e384
tweaks to how specific types of field are rendered
2015-02-12 15:19:00 +00: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
Matt Westcott
31966eab4f
Add template filters to support widgets that implement render_with_errors
2015-02-12 14:07:02 +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
Matt Westcott
b912655298
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
2015-02-12 12:31:49 +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
Matt Westcott
246068faa6
Hook up clean() method to BlockField
...
(actual error reporting is a bit rubbish at the moment though)
2015-02-11 17:43:59 +00:00
Dave Cranwell
ac25b027cf
ongoing fighting with list elements
2015-02-11 17:01:40 +00:00
Matt Westcott
be67d70112
Introduce a BlockField form field type for use with the StreamField model field.
...
This uses BlockWidget by default, so we no longer need widget_overrides in the StreamFieldPanel edit handler.
2015-02-11 16:31:03 +00:00
Dave Cranwell
bba8b2cb36
tweak to position of delete button
2015-02-11 16:19:34 +00:00
Matt Westcott
f7e6fcc7b5
move wagtailadmin.widgets.StreamWidget to wagtailadmin.blocks.BlockWidget
...
This keeps all block-API related code in one module, and reflects the fact that BlockWidget is not inherently tied to StreamBlock in particular.
2015-02-11 16:04:14 +00:00
Dave Cranwell
cfd9509b71
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
2015-02-11 14:10:48 +00:00
Dave Cranwell
659ac2c523
tweak to menu toggle
2015-02-11 14:10:46 +00:00
Matt Westcott
194535120a
New ListBlocks should consist of one empty item by default
2015-02-11 13:38:23 +00:00
Matt Westcott
4603701a59
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
2015-02-11 13:30:37 +00:00
Matt Westcott
bfefcf3bb1
treat empty string as an empty value on StreamField too
2015-02-11 13:30:26 +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
Dave Cranwell
f06e2450ce
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
2015-02-11 12:52:31 +00:00
Dave Cranwell
450653355b
tweaks to aid keyboard nav
2015-02-11 12:52:29 +00:00
Matt Westcott
85902d111d
implement SnippetChooserBlock
2015-02-11 12:39:44 +00:00
Matt Westcott
dfb2a999f4
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
2015-02-11 12:20:38 +00:00
Matt Westcott
76b0964c94
add DocumentChooserBlock
2015-02-11 12:20:32 +00:00
Dave Cranwell
b6436f71b8
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
2015-02-11 11:57:52 +00:00
Dave Cranwell
7a5c77702f
improved way of specifying text styles for individual blocks or fields within blocks
2015-02-11 11:57:50 +00:00
Matt Westcott
628b7947dc
implement ImageChooserBlock
2015-02-11 11:56:43 +00:00