Romain
21461628bd
feat(themes): enable new offical Flow theme
2019-03-31 23:08:35 +02:00
Romain
9c581bbd0b
feat(albums): optionally generate a ZIP file for each album
...
Fixes #125
2019-03-17 22:56:48 +01:00
Romain
220b2137ec
feat(media): support suffix based generated paths instead of folder groups
...
Fixes #32 , Fixes #111
2019-02-13 22:18:54 +01:00
Romain
f9c7bcbc7e
fix(lint): fix code linting
2019-02-07 23:54:10 +01:00
Romain
0bd4dc9fab
feat(cli): print warning when using deprecated options
2019-02-07 22:30:45 +01:00
Romain
96bb3ad902
feat(resize): new options to control preview images (resize, copy, symlink…)
...
Fixes #115
2019-02-07 22:08:38 +01:00
Romain
06dd54f7ef
docs(cli): update README with include/exclude options
2019-01-23 22:52:30 +01:00
Romain
9bda0a4835
feat(database): new include/exclude arguments to filter the input folder
2019-01-23 22:48:54 +01:00
Romain
7adf635c7f
docs(options): create miscellaneous options group
2019-01-08 21:45:43 +01:00
Romain
f30eddb6dd
feat(options): new flags to selectively include photos / videos / raw photos
...
fixes #128
2019-01-08 21:45:02 +01:00
Romain
2c2c518f4b
New options --video-format, --video-quality and --video-bitrate
2019-01-07 21:48:44 +01:00
Romain
9425604dd7
chore(dependencies): upgrade Standard from v11 to v12 which introduces a style change
2018-12-11 23:11:03 +01:00
Andrew McOlash
19416eae59
Fix location of the embed options
2018-10-17 22:55:46 -07:00
Andrew McOlash
cbbb067957
Change metadata to only have exif when needed, rename exif flag
2018-10-17 22:03:36 -07:00
Andrew McOlash
5ce0cd4ade
Missed a spot
2018-10-03 22:10:33 -07:00
Andrew McOlash
2331fbef95
Add preserve exif option
2018-10-03 22:07:35 -07:00
Romain
90cb3994eb
fix(log) Only show error summaries on stdout, and full errors in the log file
2018-07-04 23:41:57 +02:00
Romain
e9beb830a2
feat(core): skip files that can’t be processed + show a summary at the end
...
Thumbsup used to stop at the first problem processing a file.
This was a problem on large galleries where you’d need to run it again and again, fixing files as you went.
This change:
- skips problematic files and shows a summary at the end
- logs all warnings/errors to <thumbsup.log> when running the default output
Also refactor and cleanup of the logging logic.
2018-06-09 00:20:29 +02:00
Romain
253a0b5fff
fix(core): typo in the startup dependency check (gifsicle2)
2018-06-08 22:34:57 +02:00
Romain
0adef54dc8
feat(core): add support for static and animated GIFs
...
GraphicsMagick can’t process animated GIFs well unless all frames are coalesced, which creates very large files.
This means there is a new dependency on Gifsicle which is very good at working with animated GIFs.
- Thumbnails are still processed through GraphicsMagick (more options, e.g. centre-crop)
- Large previews of animated GIFs go through Gifsicle
The startup checks are updated to check for the Gifsicle binary.
Fixes #96 .
2018-06-08 00:49:03 +02:00
Romain
7edf3bbf15
refactor(cli): use package to render boxes in the console output
...
This avoids having to figure out the length of each line manually.
2018-06-08 00:20:29 +02:00
Romain
9612ca0048
feat(core): load an external theme from a given path using --theme-path
2018-06-03 09:18:10 +02:00
Romain
03a9c9a319
refactor: themes are now standalone folders, to prepare for external loading
...
Every theme is made of { Handlebars + Less + Partials + Helpers + Public }
2018-06-01 23:49:53 +02:00
Romain
36d935a787
feat(core): new option to add watermarks to the gallery
...
Watermarks only apply to large images, not thumbnails.
2018-05-15 20:28:57 +02:00
Romain
cd079a6ccc
docs(readme): update current CLI options
2018-05-14 22:10:56 +02:00
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 .
2018-05-14 22:05:33 +02:00
Romain
f7d7b827e5
feat(cli): --concurrency also controls the number of batch exiftool processes
2018-05-09 20:16:31 +02:00
Romain
a5740fb94e
feat(cli): Expose --photo-quality to control the quality of the converted images
2018-05-09 20:16:21 +02:00
Romain
a5a75b81ad
fix(cli): show an error on startup if one of the binary dependencies is missing
...
Closes #95
2018-05-07 23:36:11 +02:00
klemens
424d2c8b8b
spelling fixes
2018-04-26 11:08:45 +02:00
Brandon Lopez
205ec2f3cb
Add concurrency argument ( #92 )
...
Add concurrency option
2018-04-12 18:53:15 +10:00
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.
2017-12-23 21:33:43 +11:00
Romain
e5f6df3d28
refactor(cli): deprecated options logic now handled in <options> module
2017-12-23 21:33:43 +11:00
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}
2017-12-23 20:32:10 +11:00
Romain
23f19566d0
test(cli): add unit tests for options parsing, especially custom logic on top of yargs
2017-12-22 22:28:37 +11:00
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
2017-12-11 22:55:27 +11:00
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.
2017-12-10 23:59:36 +11:00
Romain
a2042f3128
Fix logging option for non-TTY + highlight URL in welcome / error messages
2017-12-08 21:28:04 +11:00
Romain
47a924883e
New --log option to print a full text log with different verbosity levels
2017-12-08 00:06:35 +11:00
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?
2017-12-08 00:04:16 +11:00
Romain
80f7a88c35
Fix #61 : new options to avoid copying original photos to the output folder
2017-06-03 21:25:41 +10:00
Romain
fb77791c80
Fix #33 : new --cleanup option to remove unused generated thumbnails/media
2017-03-09 22:40:41 +11:00
Romain
9dcebe6280
Group CLI options into 3 categories to make them more digestible
2017-03-08 22:18:05 +11:00
Romain
50f9a84eff
Remove deprecated --sort-folders option
2017-03-08 21:59:19 +11:00
Romain
59b9bdbbd2
Use <standard> for code style, which removed lots of unused variables/requires
2017-03-06 23:46:46 +11:00
Romain
e36464a76a
New --albums-output-folder option to write all albums to a subfolder (cleaner output)
...
The main changes are
- this introduces relative paths, since some HTML files have to go ".." to get to public/media
- it also introduces the difference between album.path (OS dependent) and album.url (forward slashes)
2017-02-07 23:37:52 +11:00
Romain
1c7469b13a
Fix extra bracket
2017-02-05 20:44:02 +11:00
Romain
596fe1babc
Fix CI build
2017-02-05 18:38:06 +11:00
Romain
7575da7474
New <footer> config setting to add a line of text (or HTML) at the bottom
2017-01-27 17:41:59 +11:00
Romain
23ce9b1e7d
Fix backwards support for "--sort-folders date"
2016-11-15 09:36:09 +11:00