Commit Graph

86 Commits (3666748f04a69ab68521ef9f62ce289e51297890)

Author SHA1 Message Date
Romain 2330540ba5 chore(core): simplify keyword/people handling
In the future metadata mappings could be configurable.
We should then look at a generic system for all metadata
for example including captions.

Until then let's keep it simple and consistent with the other fields.
4 years ago
Geoffrey Lowney cebb0327fe
Options to specify EXIF tags where keywords and "people in image" are found (#224)
* Add dynamic keyword and people-in-photo handling.
Add new options include-keywords, exclude-keyword.
Add new options include-people, exclude-people.
4 years ago
Romain ad46c8db87 chores(deps): fix build after Boxen upgrade
Boxen has a new line-wrapping behavior that doesn't use
line breaks when the content is over 80 characters.

It's simpler to reformat the message.
4 years ago
Romain b7827941f4 feat(core): option to choose how album previews are selected
Fixes #223
4 years ago
Romain 3ced05ad1f feat(core): option to specify the log file 4 years ago
Romain 0f42dc8f85 feat(core): option to specify the database path
Fixes #216
4 years ago
Romain ef0ad4ee8e feat(core): support pagination with --album-page-size
Note: requires a compatible theme which renders pagination.
Fixes #209
4 years ago
Pierre CLEMENT b5b0005369 feat(cli): option to set small size 4 years ago
Romain 7e6a3efaa1 feat(core): warn if zip binary is not found 4 years ago
Romain c407873266 feat(core): new --video-stills flag controls when the frame is taken 4 years ago
Romain 60c3902edc feat(albums): Support custom sorting per nesting levels, fix #179 4 years ago
Andy Castille 5ce7937f6f Generate SEO files (robots.txt and sitemap.xml) 4 years ago
Romain 847f343f06 feat(core): new locale option to render dates in the right format 5 years ago
Romain 3671c1211c refactor(cli): simplify options parsing + include options in integration test 5 years ago
Romain f088615caa feat(cli): now option to set the home album name
Part of #176
5 years ago
Romain 4d8dfcb7b7 fix(cli): can explicitly set the log level to “default” for the Listr renderer
Fixes #154
5 years ago
Romain a09ff03f2e [feat] new option to pass settings to a theme, from a JSON file
Fixes #168
5 years ago
Romain 21461628bd feat(themes): enable new offical Flow theme 5 years ago
Romain 9c581bbd0b feat(albums): optionally generate a ZIP file for each album
Fixes #125
5 years ago
Romain 220b2137ec feat(media): support suffix based generated paths instead of folder groups
Fixes #32, Fixes #111
5 years ago
Romain f9c7bcbc7e fix(lint): fix code linting 5 years ago
Romain 0bd4dc9fab feat(cli): print warning when using deprecated options 5 years ago
Romain 96bb3ad902 feat(resize): new options to control preview images (resize, copy, symlink…)
Fixes #115
5 years ago
Romain 06dd54f7ef docs(cli): update README with include/exclude options 6 years ago
Romain 9bda0a4835 feat(database): new include/exclude arguments to filter the input folder 6 years ago
Romain 7adf635c7f docs(options): create miscellaneous options group 6 years ago
Romain f30eddb6dd feat(options): new flags to selectively include photos / videos / raw photos
fixes #128
6 years ago
Romain 2c2c518f4b New options --video-format, --video-quality and --video-bitrate 6 years ago
Romain 9425604dd7 chore(dependencies): upgrade Standard from v11 to v12 which introduces a style change 6 years ago
Andrew McOlash 19416eae59 Fix location of the embed options 6 years ago
Andrew McOlash cbbb067957 Change metadata to only have exif when needed, rename exif flag 6 years ago
Andrew McOlash 5ce0cd4ade Missed a spot 6 years ago
Andrew McOlash 2331fbef95 Add preserve exif option 6 years ago
Romain 90cb3994eb fix(log) Only show error summaries on stdout, and full errors in the log file 6 years ago
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.
6 years ago
Romain 253a0b5fff fix(core): typo in the startup dependency check (gifsicle2) 6 years ago
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.
6 years ago
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.
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 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 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 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 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