Commit Graph

140 Commits (master)

Author SHA1 Message Date
Romain 1aef90ce19 fix: make stats displayed during indexing more explicit
Before this, the "total" value represented files on disk
which was confusing in partial and incremental modes
4 months ago
Romain b7b33db7b0 test: add unit test when exiftool output cannot be parsed 4 months ago
Romain 4ffba3b276 fix: relative() helper with --link-prefix
The previous implementation did not work when the link prefix
went back deeper than the current folder allows
e.g. ../../.. when running from /app

Which is expected to work regardless because the link prefix
is assumed to exist relative to the final deployment

Fixes #351
5 months ago
Romain 6871f6edd2 test: add more tests for relative() helper 5 months ago
Romain 6535caab7d chore: replace fs-extra by fs when possible 5 months ago
Romain f65afab9eb test: add failing test for files starting with a hash sign (#342) 5 months ago
Romain 3590b15cfb chore: use node prefix for all builtin modules 5 months ago
Romain 6203e16b28 test: additional assertions for the cleanup behaviour 5 months ago
Romain 812a063b3f fix: cleanup step shows what would be deleted in dry-run 5 months ago
Romain fc6d0d7bc3 fix: remove warning about deprecated usage-stats because of default value 6 months ago
Romain 19fe270946 chore: update to latest StandardJS 6 months ago
Romain 8a43cebc72 feat: support multiple scan modes for partial gallery generation 1 year ago
Romain c77654d0fe feat: enforce bitrate option with HW acceleration 1 year ago
Romain 2618a967f8 test: fix broken tests for hw acceleration 1 year ago
Romain 34b957fb7e fix: supports nested folders for --include (fixes #332) 1 year ago
Romain 8cb7a3596b chore: upgrade to latest version of StandardJS 1 year ago
Romain e19885031e fix: always read Picasa content from cache 2 years ago
Darrell Mozingo 915f951c8d Use name from picasa for albums if available 2 years ago
Darrell Mozingo 54256dd2a4 Test picasa file building for null handling
Album was already tested, and the test name insinuated file here :)
2 years ago
Romain 7d8f49eec8 chore(deps): upgrade ini package 2 years ago
Romain a5f97ef5c8 fix: restore Picasa support after regression bug
Fixes #204
3 years ago
Romain 0dd4fc7e4c test: add more end-to-end integration tests 3 years ago
Romain df1c6a7073 fix: link prefix supports absolute path, file:// and http://
Fixes #185
3 years ago
Romain f3571718ce fix: index filenames with utf-8 characters on Windows
Fixes #184
3 years ago
Romain 293cbf8469 test: make all tests run on Linux + Windows 3 years ago
Romain 008bb4c54f fix: support files and albums with special characters
Fixes #240
3 years ago
Romain fd1a0069a5 chore: move all testable code to <src> 3 years ago
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
3 years ago
Romain 61dc0c588d chore: cleanup Mocha test output 3 years ago
Romain 3238cd9232 chore: fix deprecation warning on ReadableMock 3 years ago
Romain 3666748f04 chore: switch code coverage from Istanbul to Nyc
Istanbul is no longer maintained
3 years ago
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.
3 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.
3 years ago
Romain 59b539e38e fix(core): gracefully handle missing Exif.Composite.ImageSize
Fixes #226
3 years ago
Romain c3ca18d97e fix(core): encode URLs to files to handle special characters
Fixes #229
3 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.
3 years ago
Romain b7827941f4 feat(core): option to choose how album previews are selected
Fixes #223
3 years ago
Romain 3ced05ad1f feat(core): option to specify the log file 3 years ago
Romain 0f42dc8f85 feat(core): option to specify the database path
Fixes #216
3 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
3 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 946a1d3a6d chore(test): automatically cleanup temp files generated during tests 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
Romain d0fc6b590b test(cli) boolean options are case sensitive 4 years ago
Romain 3671c1211c refactor(cli): simplify options parsing + include options in integration test 5 years ago