Commit Graph

563 Commits (master)
 

Author SHA1 Message Date
Romain 24790c075c chore(cleanup): remove old code and console.log() 6 years ago
Romain 468a55d434 fix(themes): Fix reference to caption / animation metadata in thumbnail.hbs
Fixes 102
6 years ago
Romain 9612ca0048 feat(core): load an external theme from a given path using --theme-path 6 years ago
Romain 03a9c9a319 refactor: themes are now standalone folders, to prepare for external loading
Every theme is made of { Handlebars + Less + Partials + Helpers + Public }
6 years ago
Romain 36d935a787 feat(core): new option to add watermarks to the gallery
Watermarks only apply to large images, not thumbnails.
6 years ago
Romain b761353691
docs(readme): reference --log in the troubleshooting section 6 years ago
Romain 1ce19d4024
docs(readme): add Docker build badge + reorganise 6 years ago
Romain 55b059d077 chore(dependencies): update package-lock.json for Node version 8 6 years ago
Romain 9cef1dd532 2.3.1 6 years ago
Romain 11e81d5756 chore(build): use Travis CI to auto-publish npm package on tagged commits 6 years ago
Romain cd079a6ccc docs(readme): update current CLI options 6 years ago
Romain 3c946621ec feat(core): new --gm-args flag to pass additional options to GraphicsMagick
Example: thumbsup --gm-args ‘modulate 120’ --gm-args ‘equalize’
Closes #89.
6 years ago
Romain dd282f92d4 chore(dependencies): update all dependencies to the latest version 6 years ago
Romain b54cfd3cad 2.3.0 6 years ago
Romain 2f37c82026 docs(readme): add social sharing buttons 6 years ago
Romain f7d7b827e5 feat(cli): --concurrency also controls the number of batch exiftool processes 6 years ago
Romain a5740fb94e feat(cli): Expose --photo-quality to control the quality of the converted images 6 years ago
Romain 8f76013539 fix(dependencies) Upgrade downsize for the width/height mixup
The end behaviour stays the same since `--large-size`
always referred to the image height in the docs.
6 years ago
Romain a5a75b81ad fix(cli): show an error on startup if one of the binary dependencies is missing
Closes #95
6 years ago
klemens 424d2c8b8b spelling fixes 6 years ago
Brandon Lopez 205ec2f3cb Add concurrency argument (#92)
Add concurrency option
6 years ago
Romain 03c3b38e82 fix(model): ignore the EXIF date if it’s not valid e.g. 0000:00:00
Closes #94
6 years ago
Felix Yan 0ff1699c5c Correct a typo in step-index.js 6 years ago
Romain cd3d699b34 feat(cli): new --dry-run option to skip resizing the files / creating the website
The index is still updated, and the media folder is still scanned to log how many tasks are required.
This is useful to know what thumbsup is about to do, without actually running the expensive tasks.
7 years ago
Romain e5f6df3d28 refactor(cli): deprecated options logic now handled in <options> module 7 years ago
Romain 286dc8d15f feat(albums): --albums-from can be a list of patterns with special keywords
- %path expands to the path of the photo/video
- %keywords expands to the IPTC keywords of the photo
- {format} expands to the photo's EXIF date, e.g. {YYYY MM}
7 years ago
Romain 23f19566d0 test(cli): add unit tests for options parsing, especially custom logic on top of yargs 7 years ago
Romain 2c2d9ce43f 2.2.1 7 years ago
Romain 2f8a15c058 fix(resize): upgrade `downsize` to fix Infinity% when reporting video progress 7 years ago
Romain fce8d8d8af refactor(model): album mappers can also return '/' to mean the root album 7 years ago
Romain 78ae865b75 2.2.0 7 years ago
Romain 7a9c5f4b08 fix(dependencies): upgrade chalk to latest major version v1 -> v2 7 years ago
Romain 74c981fb4c feat(analytics): rename --no-usage-report to --no-usage-stats to be more explicit
This is not a breaking change since the version hadn’t been published since introduced
7 years ago
Romain 21b0e121d5 fix(log): use debug.enable() instead of setting process.env.DEBUG to set the log level dynamically
The `debug` package reads DEBUG on first require to configure itself.
So far `log.js` is the first file to require it so it works, but if `yargs` started using `debug`
then setting `process.env.DEBUG` would do nothing here.

Instead we can use `debug.enable()` method to set the filter dynamically.
7 years ago
Romain a5486687e7 feat(log): print more debug logs about how the number of files and tasks 7 years ago
Romain 81ee517062 feat(index): ignore files in a root #recycle folder (Synology recycle bin) 7 years ago
Romain 0686ce3b37 fix(dependencies): upgrade dependencies to latest 7 years ago
Romain 91528ad076 test(index): cleanup thumbsup.db between test runs, otherwise the test does nothing 7 years ago
Romain d0bbf94b1c fix(index): don’t crash when trying to parse exiftool output for a badly encoded file 7 years ago
Romain a2042f3128 Fix logging option for non-TTY + highlight URL in welcome / error messages 7 years ago
Romain 47a924883e New --log option to print a full text log with different verbosity levels 7 years ago
Romain 06ecd2edad Add usage reporting with Google Analytics + greeting/error messages
This will help understand usage patterns to know what to focus on, e.g.
- are many people using thumbsup on Windows?
- are there many galleries with > 10,000 photos?
7 years ago
Romain 3152361e65 Fix #83: handle IPTC keywords returned as string or array 7 years ago
Romain f66208e052 New options for the {{date}} helper: custom date format + how long ago 7 years ago
Romain 067238c8e4 2.2.0-alpha.3 7 years ago
Romain 515ce3e8c1 Fix bug in #compare and #times Handlebars templates introduced in 3e0982e
When declared with () => instead of function (), the context is missing from child blocks.
7 years ago
Romain 0b8eb5bbd9 2.2.0-alpha.2 7 years ago
Romain 8882b8a2e8 ignore dev-only files from npm 7 years ago
Romain d7d01adc82 Fix #78: ignore invalid photos / videos
The current code doesn't create an output structure for them, so we don't create thumbnails.
This is good since the thumbnail generation would likely fail.

However we still try to render thumbnails in the themes.
The themes could be smart enough to skip invalid files, but it's easier to ignore them from the start.
7 years ago
Romain d19a230a6c Cleanup unused code 7 years ago