Commit graph

4528 commits

Author SHA1 Message Date
Matt Westcott
7087d4aeb2 proper tests for extract_panel_definitions_from_model_class 2015-01-21 20:40:03 +00:00
Eric Drechsel
a4a3ef8147 #901 allow absolute path references in External link chooser tab 2015-01-21 10:49:25 -08:00
Matt Westcott
df78437dea proper tests for get_form_for_model 2015-01-21 13:45:32 +00:00
Matt Westcott
cec8bd32f1 add bound_blocks accessor to StructValue (so that code for rendering a StructValue can access the native renderers of the individual items, if they want) 2015-01-20 11:44:35 +00:00
Matt Westcott
81be94a34f less cargo-cult-y comments about the unicode directives, now that I actually understand what's going on 2015-01-20 11:33:47 +00:00
Matt Westcott
884708cb38 make StructValue preserve key order from the StructBlock definition 2015-01-20 11:15:33 +00:00
Matt Westcott
c99bada915 rename RenderableStructBlock to StructValue for consistency with StreamValue, and to indicate that it's the core value type handled by StreamBlock, not just a special case for rendering 2015-01-20 10:59:09 +00:00
Matt Westcott
f6d504032b define HeadingBlock to demonstrate the principle of providing renderings for non-smart values 2015-01-20 00:32:24 +00:00
Matt Westcott
5698a0368a reshuffle rendering to go through the block's 'render' method (where subclasses can override it, and non-smart values can be given renderings too) 2015-01-19 23:04:50 +00:00
Karl Hobley
ab0cefcddf Drop support for Elasticsearch 0.9.x 2015-01-19 22:35:22 +00:00
Karl Hobley
c0443d9a4a Removed LOGIN_URL settings from tests 2015-01-19 15:26:01 +00:00
Karl Hobley
32f2dddaa3 Set default login redirect to dashboard
No longer need to specify LOGIN_REDIRECT_URL
2015-01-19 14:35:44 +00:00
Karl Hobley
5d3dc6fcbe No longer need to specify LOGIN_URL 2015-01-19 14:05:13 +00:00
Karl Hobley
2dd132114d Minor coding style fix 2015-01-19 14:02:53 +00:00
Karl Hobley
b24a3a7ab4 Namespace password reset views 2015-01-19 13:56:08 +00:00
Karl Hobley
f887d948dc Rearranged admin urlconfig
Permission check is now only applied to urls that need it
2015-01-19 13:39:22 +00:00
Karl Hobley
5cdb37e9dd Removed hacky url config (reverts #291)
I've hated this bit of code since I had to write it. It makes creating frontend login views more difficult than it should be so it's time for it to go.
2015-01-19 13:39:22 +00:00
Karl Hobley
27da6b2ddd Wrap all admin urls to add access_admin permission 2015-01-19 13:39:22 +00:00
Matt Westcott
23ae84426f Update non-Vagrant instructions to include 'createsuperuser', now that there's no syncdb step to do that 2015-01-19 13:11:31 +00:00
Karl Hobley
58ec974653 Removed access_admin permission check 2015-01-19 12:35:32 +00:00
Karl Hobley
aed68f6894 Removed duplicate filters test
This often causes travis to fail for no reason. The thing it's testing is unlikely to break in the future so it's causing more trouble that it's worth.
2015-01-18 15:01:31 +00:00
Karl Hobley
5658eabe02 Merge pull request #881 from coredumperror/snippet_sort_fix
Fix for snippet sorting of models with capitalized verbose_name.
2015-01-18 14:53:51 +00:00
Karl Hobley
5a3bed1f6d Added @georgewhewell to contributors 2015-01-18 14:47:18 +00:00
Karl Hobley
e0fe9af555 Changelog/release note for #898 2015-01-18 14:46:36 +00:00
georgewhewell
c4dc9f3883 Support storage backends that return raw ContentFile without name 2015-01-18 14:37:04 +00:00
Karl Hobley
0a1c8f57e7 Update CHANGELOG.txt 2015-01-18 14:25:54 +00:00
Karl Hobley
b8e757c692 Changelog/release note for #878 2015-01-18 14:22:15 +00:00
Karl Hobley
ac24f7c4c5 Minor coding style fix 2015-01-18 14:17:37 +00:00
Karl Hobley
5728639dd4 Merge pull request #878 from davecranwell/fixing-preview
Fixing preview
2015-01-18 14:16:02 +00:00
Karl Hobley
62a1f7a466 Merge pull request #782 from kaedroho/delete-old-images-code
Delete old images code
2015-01-17 15:10:04 +00:00
Karl Hobley
c9e3cb52a5 Deleted old images code 2015-01-17 14:52:38 +00:00
Karl Hobley
6667db8aeb Image previews use new filters code 2015-01-17 14:50:14 +00:00
Karl Hobley
6e7bef74ec Merge pull request #910 from johnfraney/patch-1
Update form_builder.rst
2015-01-17 12:41:48 +00:00
Karl Hobley
7e78d28040 Merge pull request #781 from kaedroho/make-renditions-use-willow-and-new-filters
Start using Willow and new image operations
2015-01-17 12:31:28 +00:00
Karl Hobley
083cd8e61c Merge pull request #780 from kaedroho/image-filters-refactor
Added new image operations
2015-01-17 12:28:28 +00:00
John Franey
79e6951d95 Update form_builder.rst
These old tag libraries have been replaced by ```wagtailcore_tags``` according to (http://wagtail.readthedocs.org/en/latest/core_components/pages/writing_templates.html?highlight=pageurl#internal-links-tag)[here] and (http://wagtail.readthedocs.org/en/latest/core_components/pages/writing_templates.html?highlight=rich_text#rich-text-filter)[here].
2015-01-17 00:42:58 -05:00
Matt Westcott
3aaebe3b6d give StreamValue a native HTML rendering 2015-01-16 21:35:06 +00:00
Matt Westcott
160f38bbbb Merge branch 'feature/streamfield' into feature/streamfield-frontend 2015-01-16 14:56:03 +00:00
Matt Westcott
b734f009e2 Merge branch 'feature/streamfield' of github.com:torchbox/wagtail into feature/streamfield
Conflicts:
	wagtail/wagtailadmin/templates/wagtailadmin/edit_handlers/inline_panel_child.html
2015-01-16 14:55:37 +00:00
Matt Westcott
d536fc8315 Merge branch 'master' of github.com:torchbox/wagtail into feature/streamfield
Conflicts:
	wagtail/wagtailadmin/templates/wagtailadmin/shared/field.html
2015-01-16 14:51:09 +00:00
Matt Westcott
440e9a850b Refactor StreamField and the rest of the blocks API to explicitly distinguish between the renderable values that we work with, and their json-serialisable form 2015-01-16 14:01:17 +00:00
Dave Cranwell
a6bab4e649 preliminary styling of streamblock fields 2015-01-15 15:00:21 +00:00
Karl Hobley
fd247e69cd Changelog/release notes for #854 2015-01-15 13:59:54 +00:00
Karl Hobley
c9d4e42b63 Added @jerel to contributors 2015-01-15 13:57:43 +00:00
Karl Hobley
cc0d982bbb Added test for #854 2015-01-15 13:56:37 +00:00
Jerel Unruh
347158cb41 Fixed a bug that prevented sitemap url generation override in a Page subclass
If a developer wants to turn off urls for a specific page as documented in http://docs.wagtail.io/en/latest/contrib_components/sitemap_generation.html#customising they should be able to add:

    def get_sitemap_urls(self):
        return []

but get_urls() calls only the parent class rather than the specific child class. This bug is also mentioned in issue #833
2015-01-15 13:47:14 +00:00
Karl Hobley
41b9d6f466 Use Willow for focal point detection 2015-01-15 13:38:07 +00:00
Karl Hobley
91de79ddc3 Updated generate_url view filter spec validation 2015-01-15 13:37:59 +00:00
Karl Hobley
e505c08677 Frontend serve now uses new filters and Willow 2015-01-15 13:35:04 +00:00
Karl Hobley
5cdb7b794b get_rendition now uses new filters and Willow 2015-01-15 13:32:39 +00:00