Commit Graph

210 Commits (dee262524b81f78a7f93af897825f209cac48eea)

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 59b539e38e fix(core): gracefully handle missing Exif.Composite.ImageSize
Fixes #226
4 years ago
Romain c3ca18d97e fix(core): encode URLs to files to handle special characters
Fixes #229
4 years ago
Romain b7827941f4 feat(core): option to choose how album previews are selected
Fixes #223
4 years ago
Romain 0f42dc8f85 feat(core): option to specify the database path
Fixes #216
4 years ago
Matthieu Rakotojaona b9ffb2d630 Don't duplicate photos in the same album
A file can be in multiple albums, but the same file can't be in the same album multiple times. This can happen in multiple cases, for instance:

- If one of the mapping for the album contains "/"
- If a file is stored under "sub/file.jpg", one of the mapping is "%path" and the other is "sub"

Fixes #220
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
Romain 31b85fc0e1 chore(core): refactor SEO into testable module 4 years ago
Romain 6886c262db chore(core): extract HTML page creation to a testable module 4 years ago
Pierre CLEMENT b5b0005369 feat(cli): option to set small size 4 years ago
Romain 7e5ccbfbaa chore(deps): update major dependencies 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 064f36697b Generate SEO files (robots.txt and sitemap.xml) 4 years ago
Andy Castille 5ce7937f6f Generate SEO files (robots.txt and sitemap.xml) 4 years ago
Jarno Rantanen fb79e2426a
Allow reading movie caption from QuickTime Title, when available 5 years ago
Romain 1502e8be0d feat(themes): expose all program options to the theme templates
Fixes #174
5 years ago
Romain f088615caa feat(cli): now option to set the home album name
Part of #176
5 years ago
Romain 066155f0fb Uses more web-friendly and robust slugs for album filenames (no quotes, no colons…)
Fixes #164
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 77ba7f09ab [feat] Support HEIC images, including iOS single / burst / live photos 5 years ago
Romain a09ff03f2e [feat] new option to pass settings to a theme, from a JSON file
Fixes #168
5 years ago
Romain 9c581bbd0b feat(albums): optionally generate a ZIP file for each album
Fixes #125
5 years ago
Romain f10544a6a9 fix(model): remove unnecessary ./ for files in the root folder 5 years ago
Romain 5571e0e6bf Expose width and height in the file metadata
Fixes #149
5 years ago
Andrew McOlash 282713f273 Allow generating rectangular thumbnails (#146)
Add rectangular thumbnail
5 years ago
Romain c4719328af fix(database): add support for AVI and WMV videos
fixes #147
5 years ago
Romain 2e875e7448 test(theme): add tests for escaping of single and double quotes 5 years ago
Andrew McOlash 11da4850c8 Add in escaping of quotes for relative paths (#145)
* Add in escaping of quotes for relative paths

* Add double quote escaping

* Fix lint errors

* Always escape relative paths
5 years ago
Romain 220b2137ec feat(media): support suffix based generated paths instead of folder groups
Fixes #32, Fixes #111
5 years ago
Romain 96bb3ad902 feat(resize): new options to control preview images (resize, copy, symlink…)
Fixes #115
5 years ago
Romain 9bda0a4835 feat(database): new include/exclude arguments to filter the input folder 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
Nikolai Kim 6b7df75ea4 Use Slugify for Albun names 6 years ago
Romain 9425604dd7 chore(dependencies): upgrade Standard from v11 to v12 which introduces a style change 6 years ago
Romain 4030025bc9 feat(index): support m4v files, video format used when exporting from Apple Photos 6 years ago
hnizdil 7c0b87cbae
GA code fix in GA template 6 years ago
Andrew McOlash ac41a925b5 Fix CI test 6 years ago
Andrew McOlash cbbb067957 Change metadata to only have exif when needed, rename exif flag 6 years ago
Andrew McOlash b14a255bc5 Pass exif data to template optionally 6 years ago
Romain b15b10fbb9 fix(metadata): support the ContentCreateDate field for videos 6 years ago
Romain 37ea6c6ba3 fix(themes): resolve built-in theme paths instead of hardcoding node_modules path
The previous method only worked locally inside the repo, but not once the package is published to npm.
Once published, built-in themes are flattened instead of nested.
6 years ago
Romain 83831274ff refactor(themes): remove themes from core + use the new extracted modules 6 years ago
Romain bf60ae4677 refactor(components): bring ListrWorkQueue into this repo to simplify the build process
- This component was not published to the rpm registry anyway
- We depended on the repo’s master branch which can break things for everyone
- Its repo was not getting much attention which meant
  * no tests, no coverage report
  * no linting
  * no package linting (e.g. had 2 dependencies that weren’t actually used)

It will be simpler to manage this way
6 years ago
Romain 39591c70a1 feat(theme): support for themes published within a subfolder
If a theme has a build process, it will likely publish a subfolder (e.g. “dist”) to npm.
It can simply set “thumbsup.themeRoot” in its package.json so thumbsup looks in the right place.
6 years ago
Romain 79dd36f77b test(core): add unit tests for the relationship/action mapping, e.g. “photo:large” 6 years ago
Romain 7dd714c957 refactor(tests): dynamically generate test folders to check more edge cases 6 years ago
Romain 3fa8867757 test(all): add unit tests for theme + cleanup logic 6 years ago