Commit graph

877 commits

Author SHA1 Message Date
Matthew Tretter
548fb65618 Allow callables for AdminThumbnail image_field arg
This allows images from related models to be displayed. Closes #138.
2012-07-19 20:08:03 -04:00
Bryan Veloso
70ab4a0cc0 Whoops! Messed that up. 2012-07-19 15:31:08 -07:00
Bryan Veloso
c24746ea1a Code blocks. 2012-07-19 15:29:53 -07:00
Matthew Tretter
becee54c03 Fix pickling of ImageSpecFieldFile
Code now passes the test added in 118f6e4. Hopefully this will
address #97.
2012-07-18 22:25:26 -04:00
Matthew Tretter
118f6e4206 Create failing test to illustrate #97 2012-07-18 17:21:47 -04:00
Matthew Tretter
5e1757c1ee Remove unused stuff 2012-07-18 17:21:21 -04:00
Bryan Veloso
5ae961733c Derp, forgot to change the tox command. 2012-05-29 13:15:09 -07:00
Bryan Veloso
028fb29d8d Merge pull request #132 from cyberdelia/community-docs
Add IRC channel to docs and README.
2012-05-29 13:13:54 -07:00
Timothée Peignier
f2f6766b86 add irc channel to docs and README 2012-05-29 22:05:37 +02:00
Bryan Veloso
6009bd418a Adding a travis-ci configuration file. 2012-05-29 12:58:28 -07:00
Bryan Veloso
35343eaa9d Adding basepython to the tox directives. 2012-05-29 12:57:06 -07:00
Bryan Veloso
82c7d5e475 Adding Django 1.4 to tox. 2012-05-29 12:55:51 -07:00
Matthew Tretter
c1b4c9bf71 Use cStringIO if available 2012-05-12 15:45:08 -04:00
German M. Bravo
89f2aa7a7d Reflections on images using RGBA 2012-05-12 15:39:36 -04:00
German M. Bravo
784afcc95d Simplified path join for the cache 2012-05-12 15:39:12 -04:00
Bryan Veloso
322c96eec2 Merge branch 'release/2.0.1' into develop
* release/2.0.1:
  Bumping the version number.
  Changelog update.
2012-04-28 11:32:22 -07:00
Bryan Veloso
5e4dc79f1f Merge branch 'release/2.0.1'
* release/2.0.1:
  Bumping the version number.
  Changelog update.
  Do not leak file descriptor
  Changelog link.
  Adding @jezdez to AUTHORS.
2012-04-28 11:31:34 -07:00
Bryan Veloso
78a9018337 Bumping the version number. 2012-04-28 11:31:25 -07:00
Bryan Veloso
f438f63bf8 Changelog update. 2012-04-28 11:30:09 -07:00
Matthew Tretter
ceadfb9712 Merge pull request #128 from dekkers/fix-file-descriptor-leak
Do not leak file descriptor
2012-04-28 07:24:30 -07:00
Jeroen Dekkers
69b590257d Do not leak file descriptor 2012-04-28 16:13:50 +02:00
Bryan Veloso
ea5277e7fc Changelog link. 2012-04-24 22:52:06 -07:00
Bryan Veloso
a071549ed0 Adding @jezdez to AUTHORS. 2012-04-24 14:26:57 -07:00
Bryan Veloso
74e5d1f2ba Merge branch 'release/2.0' into develop
* release/2.0:
  Introduction to image cache backends
  Some changelog corrections
  Spelling error.
  Intial pass of the 2.0 release notes.
  Bumping an version number.
2012-04-24 14:04:13 -07:00
Bryan Veloso
e68906ef56 Merge branch 'release/2.0'
* release/2.0: (127 commits)
  IKContentFile accepts format hint
  Additional mimetype utils
  Don't get extension of empty filename
  Tell people to import fields from the models module
  Refactored AutoConvert into prepare_image
  Docstring for save_image
  Kill PIL's chattiness; fixes #91
  PIL bug workaround
  Use StringIO instead of temp file
  Extract reusable save_image function
  Rename SpecFile and move it to utils
  Extract suggest_extension util from generator
  Woah, globals
  Add SpecFile.__unicode__
  Introduction to image cache backends
  Some changelog corrections
  Spelling error.
  Intial pass of the 2.0 release notes.
  Bumping an version number.
  delete file before re-generating it to avoid ill named file
  ...
2012-04-24 14:01:59 -07:00
Bryan Veloso
209afac9e3 Merge branch 'develop' into release/2.0
* develop:
  IKContentFile accepts format hint
  Additional mimetype utils
  Don't get extension of empty filename
  Tell people to import fields from the models module
  Refactored AutoConvert into prepare_image
  Docstring for save_image
  Kill PIL's chattiness; fixes #91
  PIL bug workaround
  Use StringIO instead of temp file
  Extract reusable save_image function
  Rename SpecFile and move it to utils
  Extract suggest_extension util from generator
  Woah, globals
  Add SpecFile.__unicode__
2012-04-24 13:59:28 -07:00
Matthew Tretter
89eb05668e IKContentFile accepts format hint 2012-04-20 23:30:30 -04:00
Matthew Tretter
b466ff3723 Additional mimetype utils 2012-04-20 23:27:35 -04:00
Matthew Tretter
7b34716d9e Don't get extension of empty filename 2012-04-20 23:26:58 -04:00
Matthew Tretter
af7c12cb68 Tell people to import fields from the models module 2012-04-20 21:43:59 -04:00
Matthew Tretter
667e265c94 Refactored AutoConvert into prepare_image
Because of its need to return kwargs for ``Image.save()``, it never
really fit the mold of a processor.
2012-04-20 21:37:43 -04:00
Matthew Tretter
222c9ba22a Docstring for save_image 2012-04-20 21:23:06 -04:00
Matthew Tretter
b6f629d644 Kill PIL's chattiness; fixes #91 2012-04-20 01:55:00 -04:00
Matthew Tretter
5fdf9d6a91 PIL bug workaround 2012-04-20 00:46:35 -04:00
Matthew Tretter
6f8a22c5bf Use StringIO instead of temp file 2012-04-20 00:46:33 -04:00
Matthew Tretter
e0c9708e63 Extract reusable save_image function 2012-04-20 00:46:08 -04:00
Matthew Tretter
7d5937ebe6 Rename SpecFile and move it to utils 2012-04-19 21:33:56 -04:00
Matthew Tretter
8044b97a33 Extract suggest_extension util from generator 2012-04-19 21:33:52 -04:00
Matthew Tretter
6e4a8d1b58 Woah, globals 2012-04-09 21:27:09 -04:00
Bryan Veloso
3fe63daef3 Merge pull request #123 from claymation/develop
Add SpecFile.__unicode__
2012-03-27 17:22:36 -07:00
Clay McClure
db4df4f82c Add SpecFile.__unicode__
SpecFile is based after django.core.files.base.ContentFile, which lacks a __unicode__
method. This leads to an AttributeError when SpecFile.__repr__ is called. This is
easily resolved by giving SpecFile a proper __unicode__ method.
2012-03-27 17:17:54 -04:00
Matthew Tretter
479270e498 Introduction to image cache backends 2012-03-24 19:03:24 -04:00
Matthew Tretter
8aafc3681a Some changelog corrections 2012-03-24 18:40:00 -04:00
Bryan Veloso
e7fe6d1d98 Spelling error. 2012-03-23 16:47:46 -07:00
Bryan Veloso
2d02e02b8c Intial pass of the 2.0 release notes. 2012-03-23 16:42:14 -07:00
Bryan Veloso
70f80ba7fa Bumping an version number. 2012-03-23 14:32:52 -07:00
Bryan Veloso
1c8987e353 Merge pull request #121 from cyberdelia/celery-improvements
Delete file before re-generating it
2012-03-23 13:04:22 -07:00
Timothée Peignier
39b2feda5a delete file before re-generating it to avoid ill named file 2012-03-23 12:13:53 +01:00
Timothée Peignier
bc7852be21 fix typo in celery backend 2012-03-20 20:06:41 +01:00
Bryan Veloso
c46a403baa Using Django's method of versioning. Also updating the docs' version. 2012-03-20 02:44:53 -07:00