Commit graph

4092 commits

Author SHA1 Message Date
Karl Hobley
12d9f55601 Merge pull request #936 from edrex/doc_indexing_related_model_fields
add an example of indexing related model fields
2015-01-28 09:24:44 +00:00
Eric Drechsel
934bba30de turn DeferringManager into QuerySet 2015-01-27 15:16:03 -08:00
Eric Drechsel
02457685b3 consistent ellipses 2015-01-27 14:44:20 -08:00
Eric Drechsel
8374ec4df7 fix whitespace 2015-01-27 14:42:06 -08:00
Eric Drechsel
1aa0285bf4 copy paste typo 2015-01-27 14:41:13 -08:00
Eric Drechsel
bece8ca86e add an example of indexing related model fields 2015-01-27 14:38:24 -08:00
Frank Wiles
b83835fc7f Admin Template Branding Blocks
We commonly need to override the admin and home/dashboard branding
    for our users. While this can be done relatively easily by copying
    the wagtailadmin/home.html and wagtailadmin/login.html templates
    it would be a bit easier with smaller blocks.

    - Adds 'admin_branding_home' block to home.html
    - Adds 'block admin_branding_login' block to login.html
2015-01-27 11:36:45 -06:00
Karl Hobley
0f7104ce40 Merge pull request #933 from gasman/feature/edithandler-tests
Better tests for edit_handlers
2015-01-27 10:28:57 +00:00
Karl Hobley
7bbca48223 Merge pull request #915 from kaedroho/drop-elasticsearch-09-support
Drop support for Elasticsearch 0.90.x
2015-01-24 17:19:19 +00:00
Matt Westcott
1c4c2c5d1f test FieldPanel with real models 2015-01-23 16:56:23 +00:00
Matt Westcott
695a46334c test ObjectList with real objects 2015-01-23 15:45:50 +00:00
Matt Westcott
1b911973dc for completeness, test the current non-ideal behaviour of render_form_content (which inserts form fields not represented in the panel definition as 'stray' inputs) 2015-01-23 15:26:30 +00:00
Matt Westcott
f1adbfb9e4 test TabbedInterface with real objects 2015-01-23 15:00:40 +00:00
Matt Westcott
4a0170f3b6 remove set_page_edit_handler - dead code, never used 2015-01-21 20:51:02 +00:00
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