Commit Graph

16 Commits (4d8dfcb7b7c18ed6ebfcbc20e77a3313228c8767)

Author SHA1 Message Date
Romain 9c581bbd0b feat(albums): optionally generate a ZIP file for each album
Fixes #125
5 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 73672ce4dd refactor(test): replace var with const in tests files when appropriate 6 years ago
Romain fb4c4fb89f test(all): add unit tests for Album and Problem 6 years ago
Romain 3e64d2ab38 Create a Metadata model attached to input files
- for easier unit testing
- to enable input filtering (e.g. only include photos with this keyword)
7 years ago
Romain 59b9bdbbd2 Use <standard> for code style, which removed lots of unused variables/requires 7 years ago
Romain e719bf15b1 Single source of truth for input/outputs + view model for display (#58) 7 years ago
Romain e36464a76a New --albums-output-folder option to write all albums to a subfolder (cleaner output)
The main changes are
- this introduces relative paths, since some HTML files have to go ".." to get to public/media
- it also introduces the difference between album.path (OS dependent) and album.url (forward slashes)
8 years ago
Romain 4209466c14 More unit tests for the Album model (tests split into 2 files for legibility) 8 years ago
Romain 6772e9c9d9 Fix final options for nested albums, not being passed recursively 8 years ago
Romain f235675f86 Don't concatenate the root album name to be 100% compatible with existing version for flat albums 8 years ago
Romain 0208babae1 Pick 10 previews per album, to make the mosaic theme work 8 years ago
Romain b10e7ca6c9 Unit tests for album constructor + sorting 8 years ago
Romain 93ffff1e90 Move album.previews() test one level up 8 years ago
Romain fd9bf181fd Extract model from website generation 8 years ago