Commit Graph

80 Commits (f2acf079032696b9cd289b2363ed1ebe147de6f6)

Author SHA1 Message Date
Romain 2427ace270 fix(tests): add missing glob dependency required by integration tests
The build was passing because it’s transitively added by another dependency.
6 years ago
Romain e219fcb676 chore(dependencies): update to latest versions 6 years ago
Romain c29a16ed83 2.4.2 6 years ago
Romain 59e9f61014 2.4.1 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 00dac76983 test(exiftool): add tests for batch exiftool streaming 6 years ago
Romain cc7abdf0ac 2.4.0 6 years ago
Romain 3fa8867757 test(all): add unit tests for theme + cleanup logic 6 years ago
Romain 72a23807f1 chore(build): require all source files in the tests so the coverage report shows untested files 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 55b059d077 chore(dependencies): update package-lock.json for Node version 8 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
Romain 2c2d9ce43f 2.2.1 7 years ago
Romain 2f8a15c058 fix(resize): upgrade `downsize` to fix Infinity% when reporting video progress 7 years ago
Romain 78ae865b75 2.2.0 7 years ago
Romain 7a9c5f4b08 fix(dependencies): upgrade chalk to latest major version v1 -> v2 7 years ago
Romain 0686ce3b37 fix(dependencies): upgrade dependencies to latest 7 years ago
Romain d0bbf94b1c fix(index): don’t crash when trying to parse exiftool output for a badly encoded file 7 years ago
Romain 06ecd2edad Add usage reporting with Google Analytics + greeting/error messages
This will help understand usage patterns to know what to focus on, e.g.
- are many people using thumbsup on Windows?
- are there many galleries with > 10,000 photos?
7 years ago
Romain 067238c8e4 2.2.0-alpha.3 7 years ago
Romain 0b8eb5bbd9 2.2.0-alpha.2 7 years ago
Romain d19a230a6c Cleanup unused code 7 years ago
Romain e9e5f32970 Add test coverage + clean up build scripts 7 years ago
Romain 2a0a8d6631 Upgrade mock-fs to support Node 8 (includes dynamic require workaround) 7 years ago