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 |
|
Dave Cranwell
|
98a99b0fe7
|
ongoing layout tweaks
|
2015-02-06 09:58:36 +00:00 |
|
Karl Hobley
|
43641192c2
|
Fixed a couple of references to django.forms.util
|
2015-02-06 09:57:42 +00:00 |
|
Matt Westcott
|
24fa2d5d0c
|
PageChooserBlock WIP: refactor FieldBlock so that the field object can be constructed lazily
|
2015-02-06 09:47:50 +00:00 |
|
Dave Cranwell
|
c0f74d5a5f
|
accidentally discovered a nifty transition effect
|
2015-02-05 17:44:50 +00:00 |
|
Dave Cranwell
|
0938e8c281
|
tweaks to how stream menus show/hide
|
2015-02-05 17:10:27 +00:00 |
|
Dave Cranwell
|
6babbe37f2
|
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
|
2015-02-05 16:49:51 +00:00 |
|
Dave Cranwell
|
35e9bfc2ce
|
ongoing stream menu work
|
2015-02-05 16:49:49 +00:00 |
|
Matt Westcott
|
91dd196a24
|
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
|
2015-02-05 16:34:00 +00:00 |
|
Matt Westcott
|
e223cac658
|
call expand_db_html in the native rendering of RichTextBlock
|
2015-02-05 16:33:52 +00:00 |
|
Karl Hobley
|
0cff753544
|
Blocks tests tweaks
|
2015-02-05 16:26:39 +00:00 |
|
Matt Westcott
|
f3a66d34af
|
implement RichTextBlock, and ensure that script tags embedded in html_declarations bodies are properly escaped
|
2015-02-05 16:23:31 +00:00 |
|
Karl Hobley
|
863cffeb36
|
Tests for StreamBlock
|
2015-02-05 16:04:29 +00:00 |
|
Dave Cranwell
|
144a130e44
|
stream menu should use label for the button it creates
|
2015-02-05 15:53:53 +00:00 |
|
Dave Cranwell
|
151a8da6d9
|
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
|
2015-02-05 15:42:54 +00:00 |
|
Dave Cranwell
|
f04c407ffb
|
add suitable icons to wagtail's own icon set and allowing user to define icon for each streamfield block
|
2015-02-05 15:42:52 +00:00 |
|
Karl Hobley
|
161aa50a9e
|
Test tweaks
|
2015-02-05 15:33:42 +00:00 |
|
Matt Westcott
|
959feec13a
|
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
|
2015-02-05 15:02:42 +00:00 |
|
Matt Westcott
|
2ad0366fa0
|
make the base Block.render template-aware, so that any subclass can define a 'template' property to override the default rendering (which is now provided by block.render_basic())
|
2015-02-05 15:00:56 +00:00 |
|
Karl Hobley
|
c115addf1a
|
Added tests for ListBlock
|
2015-02-05 13:09:50 +00:00 |
|
Matt Westcott
|
3f82c1bc0b
|
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
|
2015-02-05 12:31:34 +00:00 |
|
Matt Westcott
|
ac1bee89c9
|
Have StreamChild.__str__ return the child's native rendering so that it's usable on templates. (StreamChild isn't just syntactic sugar after all, then...)
|
2015-02-05 12:31:24 +00:00 |
|
Karl Hobley
|
bafd5dca3c
|
Tests for StructBlock
|
2015-02-05 12:30:15 +00:00 |
|
Matt Westcott
|
6f1740b08b
|
add some syntactic sugar so that we can refer to child.block_type when looping over a StreamValue
|
2015-02-05 12:23:26 +00:00 |
|
Matt Westcott
|
26d6022752
|
Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
|
2015-02-05 12:08:40 +00:00 |
|
Matt Westcott
|
94a248055b
|
Refactor StreamValue so that it behaves as a sequence of BoundBlocks rather than a sequence of values
|
2015-02-05 12:08:33 +00:00 |
|
Karl Hobley
|
36ed0ec99d
|
Added tests for FieldBlock
|
2015-02-05 11:48:37 +00:00 |
|
Dave Cranwell
|
67b0ffd09c
|
beginning styling of stream menus
|
2015-02-05 11:40:37 +00:00 |
|
Matt Westcott
|
2a485e499e
|
define the default value of a StreamBlock to be an empty StreamValue, not a list
|
2015-02-05 11:22:17 +00:00 |
|
Matt Westcott
|
89e5f74521
|
StreamField.to_python needs to return an empty StreamValue for None, not an empty list
|
2015-02-05 11:12:21 +00:00 |
|
Matt Westcott
|
53e1ee44e5
|
ditch HeadingBlock in favour of a CharBlock that doesn't know its own native rendering
|
2015-02-05 10:46:59 +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 |
|
Karl Hobley
|
0564bd6880
|
Add fields into vary even if they dont have a value
|
2015-02-04 20:58:10 +00:00 |
|
Karl Hobley
|
09f053ce1e
|
Make vary_key a blank string if there are no vary fields
This addresses an issue which causes all renditions in a project to be regenerated after an upgrade to Wagtail 0.9.
|
2015-02-04 20:49:45 +00:00 |
|
Karl Hobley
|
3b37a52a25
|
Replaced get_vary with vary_fields
|
2015-02-04 20:44:41 +00:00 |
|
Karl Hobley
|
577183ba89
|
Added some tests for vary key generation
|
2015-02-04 20:19:17 +00:00 |
|
Matt Westcott
|
0afb1a3b50
|
make StreamField behave correctly for migrations
|
2015-02-04 19:03:15 +00:00 |
|
Dave Cranwell
|
e7a19de235
|
updated styleguide to demonstrate generic image/doc/page picker ui
|
2015-02-04 17:09:19 +00:00 |
|
Matt Westcott
|
7f3c0f5af0
|
Pick up the StreamBlock definition from the model field, so that we don't need to pass it to the StreamFieldPanel constructor
|
2015-02-04 16:56:35 +00:00 |
|
Matt Westcott
|
00f50781d1
|
Merge branch 'master' into feature/streamfield-frontend
Conflicts:
wagtail/wagtailadmin/edit_handlers.py
|
2015-02-04 16:47:14 +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 |
|