Commit Graph

22 Commits (9238a180fda0d4049e1330fc85a2e20e943806b7)

Author SHA1 Message Date
Romain 3590b15cfb chore: use node prefix for all builtin modules 7 months ago
Romain 8cb7a3596b chore: upgrade to latest version of StandardJS 1 year ago
Romain 008bb4c54f fix: support files and albums with special characters
Fixes #240
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 b7827941f4 feat(core): option to choose how album previews are selected
Fixes #223
4 years ago
Romain 60c3902edc feat(albums): Support custom sorting per nesting levels, fix #179 4 years ago
Romain 066155f0fb Uses more web-friendly and robust slugs for album filenames (no quotes, no colons…)
Fixes #164
5 years ago
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 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 9c78c1cd79 Rename album sorting function for clarity (they don't take a raw File, but a Media object) 7 years ago
Romain 7e73e6a10b Refactor album mapping code to be much simpler based on (media) => string 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)
7 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 b905d62ac3 Fix unit tests (album.finalise argument should be optional) 8 years ago
Romain 315e08e0e5 Fix #30 Fix #31 allow asc/desc order when sorting albums and media 8 years ago
Romain fd9bf181fd Extract model from website generation 8 years ago