forked from norman/has_image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
72 lines (56 loc) · 2.97 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
2008-10-22 Gerrit Keiser and Tricycle Developments
* Added option to not delete images on destroy
* Made thumbnail name separator configurable
* Added height/width methods to storage
* Allowed regenerating only one thumbnail size
* Made has_image column configurable
* Added some compatibility with attachment_fu
* General refactorings and overall code improvement
2008-10-22 Norman Clarke <[email protected]>
* Documentation improvements and minor code cleanups.
2008-10-09 Dima Sabanin <[email protected]>
* Fixed display of images with special symbols in the name,
like '2777-nipple-+-apple-napple.jpg'. + is reserved by HTTP.
Now escaping filenames before giving them back in #public_path()
2008-09-10 Norman Clarke <[email protected]>
* Fixed images not being converted to target format.
2008-08-29 Norman Clarke <[email protected]>
* Fixed bad call to has_image_file
2008-08-28 Norman Clarke <[email protected]>
* Added ability to regenerate a model's thumbnails.
* Changed a few methods in storage to accept the model rather than the id.
This makes storage more hackable as regards generating paths and file names.
* Added "has_image_id" method to model instance methods to facilitate
grouping the images under a directory structure based on a related model's
ids.
* Made the generated file name simply by the image object's id - this
is better adherance to the principle of least surprise.
2008-08-25 Norman Clarke <[email protected]>
* Fixed bad call to resize_to in view helper.
2008-08-19 Norman Clarke <[email protected]>
* Made storage work more correctly with tempfiles.
2008-08-18 Norman Clarke <[email protected]>
* Fixed ability to set the path for storing image files.
2008-08-1 Adrian Mugnolo <[email protected]>
* Improved partitioned path handling to avoid collisions when the id is
very high, which can happen if you use db:fixtures:load.
2008-08-1 Norman Clarke <[email protected]>
* Fixed a bug where overwriting a previous image triggered callbacks more
than once, causing errors.
2008-07-29 Norman Clarke <[email protected]>
* Downcased generated file names to avoid potential issues on
case-insensitive filesystems.
* Added "absolute path" method to model instances.
* Made image deletion nullify the "has_image_file" field.
* Added "has_image?" method to model instances.
* Fixed ENONENT error with record update when there are no images yet.
* Reverted thumbnail sorting feature - it's fast but makes terrible quality
thumbnails. It's just not worth it.
2008-07-28 Norman Clarke <[email protected]>
* Added sorted thumbnail processing. This improves thumbnail generation
speed by about 25% for 4.5 meg jpegs with 5 thumbnails.
* Fixed broken resize for non-fixed-width thumbnails.
* Added check for bad geometry strings.
* Added dependencies and Rubyforge project to gemspec, updated docs.
2008-07-25 Norman Clarke <[email protected]>
* First public release.