2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-15 18:12:46 +00:00
Commit Graph

210 Commits

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.
2021-01-12 23:37:08 +01:00
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.
2021-01-12 23:05:21 +01:00
Romain
59b539e38e fix(core): gracefully handle missing Exif.Composite.ImageSize
Fixes #226
2021-01-10 23:05:13 +01:00
Romain
c3ca18d97e fix(core): encode URLs to files to handle special characters
Fixes #229
2021-01-10 22:54:22 +01:00
Romain
b7827941f4 feat(core): option to choose how album previews are selected
Fixes #223
2020-12-30 16:51:09 +01:00
Romain
0f42dc8f85 feat(core): option to specify the database path
Fixes #216
2020-12-30 13:25:07 +01:00
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
2020-12-22 00:37:09 +01:00
Romain
ef0ad4ee8e feat(core): support pagination with --album-page-size
Note: requires a compatible theme which renders pagination.
Fixes #209
2020-11-02 23:46:11 +01:00
Romain
31b85fc0e1 chore(core): refactor SEO into testable module 2020-11-01 23:51:13 +01:00
Romain
6886c262db chore(core): extract HTML page creation to a testable module 2020-11-01 23:51:13 +01:00
Pierre CLEMENT
b5b0005369 feat(cli): option to set small size 2020-10-22 13:35:07 +02:00
Romain
7e5ccbfbaa chore(deps): update major dependencies 2020-07-16 00:37:03 +02:00
Romain
c407873266 feat(core): new --video-stills flag controls when the frame is taken 2020-05-24 21:56:31 +02:00
Romain
60c3902edc feat(albums): Support custom sorting per nesting levels, fix #179 2020-05-11 00:36:46 +02:00
Andy Castille
064f36697b Generate SEO files (robots.txt and sitemap.xml) 2020-05-04 17:46:26 -05:00
Andy Castille
5ce7937f6f Generate SEO files (robots.txt and sitemap.xml) 2020-05-02 17:32:20 -05:00
Jarno Rantanen
fb79e2426a
Allow reading movie caption from QuickTime Title, when available 2019-09-01 10:06:23 +03:00
Romain
1502e8be0d feat(themes): expose all program options to the theme templates
Fixes #174
2019-07-07 21:23:28 +02:00
Romain
f088615caa feat(cli): now option to set the home album name
Part of #176
2019-07-07 19:38:32 +02:00
Romain
066155f0fb Uses more web-friendly and robust slugs for album filenames (no quotes, no colons…)
Fixes #164
2019-06-13 22:50:41 +02:00
Romain
4d8dfcb7b7 fix(cli): can explicitly set the log level to “default” for the Listr renderer
Fixes #154
2019-06-13 22:36:31 +02:00
Romain
77ba7f09ab [feat] Support HEIC images, including iOS single / burst / live photos 2019-06-10 23:59:12 +02:00
Romain
a09ff03f2e [feat] new option to pass settings to a theme, from a JSON file
Fixes #168
2019-06-05 22:45:02 +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
f10544a6a9 fix(model): remove unnecessary ./ for files in the root folder 2019-03-17 22:25:17 +01:00
Romain
5571e0e6bf Expose width and height in the file metadata
Fixes #149
2019-03-16 21:34:18 +01:00
Andrew McOlash
282713f273 Allow generating rectangular thumbnails (#146)
Add rectangular thumbnail
2019-02-25 19:06:03 +01:00
Romain
c4719328af fix(database): add support for AVI and WMV videos
fixes #147
2019-02-21 20:56:23 +01:00
Romain
2e875e7448 test(theme): add tests for escaping of single and double quotes 2019-02-15 21:04:57 +01:00
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
2019-02-15 07:07:19 +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
96bb3ad902 feat(resize): new options to control preview images (resize, copy, symlink…)
Fixes #115
2019-02-07 22:08:38 +01:00
Romain
9bda0a4835 feat(database): new include/exclude arguments to filter the input folder 2019-01-23 22:48:54 +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
Nikolai Kim
6b7df75ea4 Use Slugify for Albun names 2019-01-06 23:52:21 +03:00
Romain
9425604dd7 chore(dependencies): upgrade Standard from v11 to v12 which introduces a style change 2018-12-11 23:11:03 +01:00
Romain
4030025bc9 feat(index): support m4v files, video format used when exporting from Apple Photos 2018-12-11 22:29:21 +01:00
hnizdil
7c0b87cbae
GA code fix in GA template 2018-10-24 22:30:30 +02:00
Andrew McOlash
ac41a925b5 Fix CI test 2018-10-17 22:19:58 -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
b14a255bc5 Pass exif data to template optionally 2018-10-14 19:30:13 -07:00
Romain
b15b10fbb9 fix(metadata): support the ContentCreateDate field for videos 2018-09-02 16:55:16 +02:00
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.
2018-07-23 22:33:40 +02:00
Romain
83831274ff refactor(themes): remove themes from core + use the new extracted modules 2018-07-14 00:56:12 +02:00
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
2018-07-13 21:29:52 +02:00
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.
2018-06-30 14:18:13 +02:00
Romain
79dd36f77b test(core): add unit tests for the relationship/action mapping, e.g. “photo:large” 2018-06-18 00:31:33 +02:00
Romain
7dd714c957 refactor(tests): dynamically generate test folders to check more edge cases 2018-06-16 18:26:17 +02:00
Romain
3fa8867757 test(all): add unit tests for theme + cleanup logic 2018-06-13 23:30:14 +02:00