Commit graph

12 commits

Author SHA1 Message Date
Renée Kooi
4d24611898
Add tests 2018-03-22 15:14:47 +01:00
Renée Kooi
76dc0dc3c8
Regenerate thumbnails after restore.
The `generatePreview()` method that GoldenRetriever used to create new
thumbnails after restoring files no longer exists. This patch makes the
ThumbnailGenerator go through all files after a restore, and tries to
generate a thumbnail for all blob URLs (http:// URLs from remote sources
don't need to be regenerated).
2018-03-22 15:09:08 +01:00
Renée Kooi
5884904fbc
Use CommonJS in test files 2018-03-19 10:48:36 +01:00
Phi Tran
beefc33410 Refactor resizing small thumbnail images (1 step) 2018-02-19 17:05:43 -05:00
Phi Tran
20d0e9a10b Remove mocking downScaleInSteps 2018-02-19 16:33:15 -05:00
Phi Tran
af3024ad72 Upsize image if smaller than thumbnail size, fix infinite loop 2018-02-17 00:10:47 -05:00
Artur Paikin
3601441a22 skip resize step test 2018-02-09 17:25:00 -05:00
Artur Paikin
3da1f8577a Remove comments, add protect, add links to posts 2018-02-09 16:40:11 -05:00
Artur Paikin
2645e2926f Fix Safari image previews by using a slightly different step scaling
¯\_(ツ)_/¯
2018-02-01 01:09:00 -05:00
Artur Paikin
a56f66f740 ThumbnailGenerator: default to 200 is ok, since Dashboard overrides that 2018-01-21 11:50:01 -05:00
Artur Paikin
f1d51299fb ThumbnailGenerator: bind addToQueue 2018-01-21 11:37:51 -05:00
Rich Willars
b6e8ebd7b2 Added thumbnail generation plugin 2017-12-21 08:50:04 +00:00