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
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
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
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
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
Romain
bd7119c25b
Fix invalid default config setting (--sort-albums-by)
2016-11-14 09:46:20 +11:00
Romain
6d245f3ed5
Fix typos in CLI help and README
2016-11-12 08:03:30 +11:00
Romain
6565acb259
Update README.md
2016-11-12 07:35:13 +11:00
Romain
315e08e0e5
Fix #30 Fix #31 allow asc/desc order when sorting albums and media
2016-11-03 16:02:25 +11:00
Romain
5117c19eed
Cleanup CLI and validate multiple-choice arguments
2016-11-03 13:17:31 +11:00
Romain
b64843a8a1
Re-implement "classic" theme = same as thumbsup v1
2016-10-26 21:56:20 +11:00
Romain
90b2e17df3
Update executable with all new options
2016-10-26 08:31:13 +11:00
Romain Prieto
9c0071c00d
Work in progress: support multiple themes
2016-10-15 23:22:22 +11:00
Romain Prieto
c2f290bbd6
thumbsup v2: rewrite the website around 'albums'
2016-10-13 18:49:15 +11:00
Navneet Karnani
c8c5947c9b
Add support for custom start file
2016-09-18 23:59:17 +05:30
Romain Prieto
ef294ad513
Fix #18 : don't upload original media by default, add new command line options
2014-11-29 18:30:57 +11:00
Romain Prieto
92c6d6b9d3
Fix #12 , add support for --google-analytics config (uses latest GA tracking code)
2014-10-05 22:48:49 +11:00
rprieto
f1f09adc14
Sort folders by date or by name
2014-06-10 22:15:20 +10:00
rprieto
3c8ecce018
Use <yargs> to parse command line args, and support JSON config
2014-06-10 21:28:47 +10:00
rprieto
eaa8bd2831
support for custom title and CSS
2014-04-22 00:13:47 +10:00
rprieto
70c77fd36b
Fix binary
2014-04-21 21:48:33 +10:00
rprieto
d595cec06c
Fix bin arguments
2014-04-20 00:19:33 +10:00
rprieto
ddcf0c48aa
Working "bin" script, and fix path for use from other modules
2014-04-19 08:33:06 +10:00