Commits

Author Commit Message Labels Comments Date
Joseph Tate
Better handling of PIL imports
Joseph Tate
Add a random bit at the end of the thumbnail so that the browser's broken cache doesn't mess up the experience
Joseph Tate
Fix crop region rounding errors
Joseph Tate
fix tests
Joseph Tate
Raise an exception if the crop region is 0 or negative for one or both directions
Joseph Tate
Better support for deleting the image
Joseph Tate
Remove pyc files
Joseph Tate
In the widget, handle missing files on disk
Joseph Tate
Use an exception instead of an assertion when the file is missing on disk, also, web_path will return None, but log if the file is missing
Joseph Tate
Rename Image's image attribute to image_broker to ease confusion. Remove FileReference and ImageReference classes, they got in the way of decent inheritance. Extents are now set at class creation time instead of as class constants. Add a method for generating the required database images table. Update and flesh out model module documentation string.
Joseph Tate
Remove spurious </div> tag
Joseph Tate
Add a few more PIL skips
Joseph Tate
Add a fallback for the case that cropping hasn't occurred, fix a few places where basedir wasn't accounted for
Joseph Tate
move tests into the package
Joseph Tate
The dirbase is part of the model, so needs to be passed into the FileReference(), also fix a bug on image replacement
Joseph Tate
Fix up the initial dimensions (in case of a migration or some other error)
Joseph Tate
First working version
Joseph Tate
Remove swp files
Joseph Tate
Add ignores
Joseph Tate
Fix the tests so that they run
Joseph Tate
Add the image classes
Joseph Tate
Fix to use 4 values instead of two and a scale. Also, use initial bounding box.
Joseph Tate
First version, still raw