2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-17 15:25:50 +00:00
Commit Graph

124 Commits

Author SHA1 Message Date
Romain
e19885031e fix: always read Picasa content from cache 2022-09-14 22:08:31 +00:00
Darrell Mozingo
915f951c8d Use name from picasa for albums if available 2022-09-14 23:48:35 +02:00
Darrell Mozingo
54256dd2a4 Test picasa file building for null handling
Album was already tested, and the test name insinuated file here :)
2022-09-14 23:48:35 +02:00
Romain
7d8f49eec8 chore(deps): upgrade ini package 2022-09-05 22:17:07 +00:00
Romain
a5f97ef5c8 fix: restore Picasa support after regression bug
Fixes #204
2021-03-08 23:37:08 +01:00
Romain
0dd4fc7e4c test: add more end-to-end integration tests 2021-03-08 23:10:18 +01:00
Romain
df1c6a7073 fix: link prefix supports absolute path, file:// and http://
Fixes #185
2021-03-05 00:28:48 +01:00
Romain
f3571718ce fix: index filenames with utf-8 characters on Windows
Fixes #184
2021-03-04 23:03:10 +01:00
Romain
293cbf8469 test: make all tests run on Linux + Windows 2021-03-03 23:19:36 +01:00
Romain
008bb4c54f fix: support files and albums with special characters
Fixes #240
2021-02-23 23:52:26 +01:00
Romain
fd1a0069a5 chore: move all testable code to <src> 2021-02-18 22:27:35 +01:00
Christian Paul
d5ebd160e5
Support albums and images with # or ? (#235)
* Use encodeURIComponent for file URLs
* Use encodeURIComponent on album basename for the url
* Add unit tests for encoding # and ? characters
2021-02-18 00:35:21 +01:00
Romain
61dc0c588d chore: cleanup Mocha test output 2021-01-20 00:02:50 +01:00
Romain
3238cd9232 chore: fix deprecation warning on ReadableMock 2021-01-19 23:46:52 +01:00
Romain
3666748f04 chore: switch code coverage from Istanbul to Nyc
Istanbul is no longer maintained
2021-01-19 23:43:35 +01:00
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
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.
2020-12-30 23:55:46 +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
3ced05ad1f feat(core): option to specify the log file 2020-12-30 13:29: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
946a1d3a6d chore(test): automatically cleanup temp files generated during tests 2020-06-01 22:30:57 +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
Romain
d0fc6b590b test(cli) boolean options are case sensitive 2020-05-09 18:24:59 +02:00
Romain
3671c1211c refactor(cli): simplify options parsing + include options in integration test 2019-07-07 22:09:20 +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
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
Romain
2e875e7448 test(theme): add tests for escaping of single and double quotes 2019-02-15 21:04:57 +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
ec6fbf9b0a test(database): more unit tests for file globbing patterns 2019-01-08 21:53:20 +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
b15b10fbb9 fix(metadata): support the ContentCreateDate field for videos 2018-09-02 16:55:16 +02:00