Commit graph

747 commits

Author SHA1 Message Date
Matthew Tretter
28ffd444d6 Relax Pillow testing requirement 2013-04-02 23:01:44 -04:00
Matthew Tretter
fbf052ce5f Fix test: update DummyAsyncCacheFileBackend API 2013-04-02 23:00:54 -04:00
Matthew Tretter
2b10e85813 Clarify "force" kwarg 2013-04-02 22:55:44 -04:00
Matthew Tretter
3ca8c53698 Also defer existance check 2013-04-02 22:37:52 -04:00
Matthew Tretter
728368abf6 Add async cachefile backend 2013-04-02 22:29:53 -04:00
Matthew Tretter
86cd23e906 Remove actions module 2013-03-15 01:06:28 -04:00
Matthew Tretter
3d6a9de9aa Add existence check timeout 2013-03-15 01:05:53 -04:00
Matthew Tretter
b061e135c2 Add tests for cachefile truthiness 2013-03-15 00:49:44 -04:00
Matthew Tretter
1e129c5b70 Convert to boolean 2013-03-15 00:49:24 -04:00
Matthew Tretter
70ff6dc788 Store state when force-generated 2013-03-15 00:30:58 -04:00
Matthew Tretter
c48c720f8a Add __nonzero__ method that will work for async 2013-03-15 00:27:23 -04:00
Matthew Tretter
fc87c0497c Add abstract cachefile backend for illustration 2013-03-15 00:20:15 -04:00
Matthew Tretter
54dda25adb Generation goes through backend; use states
We might as well account for asynchronous generation in our
CachedFileBackend.
2013-03-15 00:19:19 -04:00
Matthew Tretter
ac92b77709 Fix loopy existence check
Sometimes two wrongs do make a right I guess. But better to have two
rights.
2013-03-14 23:04:30 -04:00
Matthew Tretter
f181d30008 Rename file_exists to exists 2013-03-14 22:58:28 -04:00
Matthew Tretter
044a3625f9 Correct error message 2013-03-14 22:55:40 -04:00
Matthew Tretter
aae6aeb142 Add truthy/falsy file assertion utils 2013-03-14 22:24:33 -04:00
Matthew Tretter
d62d8a824e Rename test_specs 2013-03-14 22:17:37 -04:00
Matthew Tretter
14be033b7f Add SECRET_KEY for tests 2013-03-13 23:41:28 -04:00
Matthew Tretter
c64eee40b3 Bump version to 3.0a5 2013-02-25 22:43:37 -05:00
Matthew Tretter
92a3c2688c Error when attempting to generate image w/o source 2013-02-25 22:42:47 -05:00
Matthew Tretter
61aa1c32e7 Bump version to 3.0a4 2013-02-25 22:22:27 -05:00
Matthew Tretter
b33869a9f8 Sourceless specs are falsy
Passes test added in 190153d. Related to #187
2013-02-25 22:18:33 -05:00
Matthew Tretter
190153d068 Add test to ensure sourceless specs are falsy
Currently failing; related to #187
2013-02-25 22:15:57 -05:00
Matthew Tretter
74ae51f164 Add venv and .env to gitignore 2013-02-25 21:56:51 -05:00
Matthew Tretter
dff0182310 Remove another old util 2013-02-12 21:40:15 -05:00
Matthew Tretter
f5a078b68f Remove old util 2013-02-12 21:40:15 -05:00
Matthew Tretter
e456e0fd99 Remove util tests
These are part of PILKit
2013-02-12 21:40:15 -05:00
Matthew Tretter
896e289884 Add @seanbell to AUTHORS 2013-02-12 20:46:35 -05:00
Matthew Tretter
5c944c5efb Bump version to 3.0a3 2013-02-10 16:05:21 -05:00
Matthew Tretter
b180bbef09 Merge branch 'abstract-model-fixes' into develop 2013-02-10 16:04:53 -05:00
Matthew Tretter
b53b7c3cae Clarify ImageFieldSourceGroup docstrings 2013-02-10 16:01:50 -05:00
Matthew Tretter
90ae9e8339 Fix get_nonabstract_descendants
Previously, function was only returning the first non-abstract
descendant. (It should also return concrete descendants of concrete
descendants, which it now does.)

Also, converted to generator.
2013-02-10 15:58:22 -05:00
Matthew Tretter
7bf3e4e7a3 Add test for @seanbell's utility
Currently failing
2013-02-10 15:54:40 -05:00
Matthew Tretter
de550b71df Add test for abstract model signals 2013-02-10 15:42:39 -05:00
Matthew Tretter
df41459e65 Fix signals for abstract models
Includes a fix for undispatched signals, as well as signals being
handled twice.

A regression of #126
Related: #185
2013-02-10 15:42:10 -05:00
Sean Bell
af6ebcb469 Fixing iteration over objects for abstract models 2013-02-09 03:02:18 -05:00
Matthew Tretter
969275bbc9 Rename GeneratedImageFile to ImageCacheFile 2013-02-08 18:15:00 -05:00
Matthew Tretter
9f3550a4f4 Merge branch 'pilkit' into develop 2013-02-08 18:08:42 -05:00
Matthew Tretter
98552d7f75 Relax PILKit version requirement 2013-02-08 18:08:29 -05:00
Matthew Tretter
ec5d4ed324 Remove processor tests; these are in PILKit 2013-02-07 23:15:08 -05:00
Matthew Tretter
36313194ac Remove PILKit functionality
This commit removes the functionality now in the PILKit project, and
adds PILKit as a dependency. Import hooks have been used to expose the
processors under "imagekit.processors".
2013-02-07 23:10:05 -05:00
Matthew Tretter
d0ba353be3 Typo fix! 2013-02-07 16:11:02 -05:00
Bryan Veloso
aa2dcb8e34 Merge pull request #183 from jdriscoll/ik-next
IK Next
2013-02-06 19:28:24 -08:00
Matthew Tretter
8fabbae86c Extract version from pkgmeta 2013-02-06 22:21:20 -05:00
Matthew Tretter
561856abd7 Don't use assert_not_in
It's not available in Python 2.6
2013-02-06 22:04:13 -05:00
Matthew Tretter
51dcf283fd Fix default cache backend for Django < 1.3 2013-02-06 21:59:26 -05:00
Matthew Tretter
80a1f0b4ee Merge branch 'ik3-testing-fixes' into ik-next 2013-02-06 21:11:08 -05:00
Matthew Tretter
4ac6565bec Use Pillow for testing 2013-02-06 21:01:51 -05:00
Matthew Tretter
7759394df7 Remove Pillow (PIL is specified in setup.py) 2013-02-06 20:46:14 -05:00