Commit graph

3099 commits

Author SHA1 Message Date
Matt Westcott
1e343dfd97 Merge pull request #938 from kaedroho/travis-changes
Travis changes
2015-01-28 09:59:37 +00:00
Karl Hobley
878addd737 Removed Python 3.2 from travis/tox 2015-01-28 09:43:50 +00:00
Karl Hobley
2d9e39d084 Added Django 1.8 to tox/travis 2015-01-28 09:42:10 +00:00
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
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
2dd132114d Minor coding style fix 2015-01-19 14:02:53 +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
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
Karl Hobley
20e69a1ec8 Apply #797 to new image operations 2015-01-15 11:37:51 +00:00
Karl Hobley
65d83174e0 Added some tests for filter spec parsing 2015-01-15 11:37:41 +00:00
Karl Hobley
19309b02e7 Added get_vary and get_vary_key to Filter
This allows a filter operation to specify which strings of data it used
inside the image to perform its calculations. This can be used to
determine whether an image has changed in such a way that requires new
renditions to be made.
2015-01-15 11:36:35 +00:00