Commit graph

3159 commits

Author SHA1 Message Date
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
Matt Westcott
df78437dea proper tests for get_form_for_model 2015-01-21 13:45:32 +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
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
Karl Hobley
f9e682e032 Improvements to image operation error handling
Invalid operations should now raise InvalidFilterSpecError from their __init__ method if the passed arguments are invalid.

Created "construct" method which is called by __init__. If this method raises a ValueError, that error would be reraised as an InvalidFilterSpecError.

Argument count is validated before calling construct so we no longer need to catch all TypeErrors.
2015-01-15 13:02:19 +00:00
Karl Hobley
9fdf096574 Added run tests for image operations 2015-01-15 11:38:16 +00:00