2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-03 15:40:14 +00:00
Commit Graph

228 Commits

Author SHA1 Message Date
Romain
1df4ee48f3 Fix #63: run ffmpeg using <spawn> and don't buffer stdout/stderr 2017-04-03 17:33:27 +10:00
Romain
3531f1e533 Try to infer dates from the filename if there is no "date" metadata 2017-04-01 00:07:04 +11:00
Romain
8b66a16134 2.0.0 2017-03-20 20:51:21 +11:00
Romain
a7ad8dc9fc Fix reading the original creation date of QuickTime and H264 movies 2017-03-19 00:12:21 +11:00
Romain
b35870a9e5 Fix require-lint to ignore video.js (not referenced) 2017-03-19 00:01:50 +11:00
Romain
6cdc99525c Fix video poster aspect ratio: simply use the built-in VideoJS poster 2017-03-16 00:13:01 +11:00
Romain
9a24acc6df Fix copying of --original-photos 2017-03-15 23:56:37 +11:00
Romain
91e55daf9b Upgrade VideoJS to 5.17 2017-03-11 10:05:27 +11:00
Romain
9c78c1cd79 Rename album sorting function for clarity (they don't take a raw File, but a Media object) 2017-03-09 23:22:12 +11:00
Romain
fb77791c80 Fix #33: new --cleanup option to remove unused generated thumbnails/media 2017-03-09 22:40:41 +11:00
Romain
9dcebe6280 Group CLI options into 3 categories to make them more digestible 2017-03-08 22:18:05 +11:00
Romain
ee1186c1f4 Move theme/custom CSS to be loaded last to help with #57
Now, you can add lightgallery / videojs styles with "--css"
and they apply on top the the defaults (instead of being overridden)
2017-03-08 22:00:57 +11:00
Romain
50f9a84eff Remove deprecated --sort-folders option 2017-03-08 21:59:19 +11:00
Romain
23ddee4945 Rename repository to "thumbsup" as the language is irrelevant to consumers 2017-03-08 21:47:06 +11:00
Romain
39ee2adf05 Read XMP ratings 2017-03-08 21:41:37 +11:00
Romain
449ee0b180 Read the caption from all standard EXIF/IPTC/XMP tags (issue #24) 2017-03-08 21:40:09 +11:00
Romain
4ccb10baba Fix image "alt" tags and video poster URL (mosaic theme) 2017-03-08 20:12:41 +11:00
Romain
7e73e6a10b Refactor album mapping code to be much simpler based on (media) => string 2017-03-08 20:12:05 +11:00
Romain
07ec7702cd Fix #f7451db when counting available CPUs (missing array length) 2017-03-07 22:13:46 +11:00
Romain
5d82cabd1c Run full CI build locally as part of "npm test" to avoid surprises 2017-03-07 17:44:17 +11:00
Romain
f7451db36e Run as many photo/video tasks as CPUs 2017-03-07 17:42:42 +11:00
Romain
59b9bdbbd2 Use <standard> for code style, which removed lots of unused variables/requires 2017-03-06 23:46:46 +11:00
Romain
e71e5d4207 Replace custom "make" DSL with the output task list (#60) 2017-03-06 23:27:44 +11:00
Romain
e719bf15b1 Single source of truth for input/outputs + view model for display (#58) 2017-03-06 22:16:36 +11:00
Romain
631aee6a4d 2.0.0-alpha.4 2017-03-01 22:01:35 +11:00
Romain
8cddac629e README instructions to install thumbsup globally (easier quick setup) 2017-03-01 21:57:55 +11:00
Romain
794c76c232 Copy missing VideoJS fonts (still using version 4.12.15, current is 5.16.0) 2017-02-28 23:35:45 +11:00
Romain
0c125e90df Thumbnails are back to matching the source extension for now, for compat with V1
Before changing it back, need to list the rules for extension changes. For example:

- should GIF thumbnail should be JPG, to avoid animations on the album page?
- what about transparent GIFs, will they look weird in JPG?
- maybe GIFs should stay as GIFs, but kept to a single frame only for thumbnails
- same thing for pngs, which might be better kept as PNG for transparency
- all other non-browser-friendy formats should become JPG

These rules will be a lot easier to implement when the new input data structure is in place
2017-02-28 23:35:40 +11:00
Romain
1690ab76d7 Fix video overlay icon for the Cards theme (relative path missing) 2017-02-28 23:01:22 +11:00
Romain
d3781b8fcf Fix parsing of MIME Type into Media type (image/video)
This fixes download links, and being able to right-click on a video and save-as
2017-02-28 21:40:51 +11:00
Romain
3a01c678eb Support for IPTC captions 2017-02-28 20:35:09 +11:00
Romain
4e8277b279 Improve progress bar to include ETA , e.g. "3min left" 2017-02-28 18:08:05 +11:00
Romain
cc280a2180 Set the DEBUG env var to print verbose logs (including GraphicsMagick commands etc) 2017-02-28 18:07:25 +11:00
Romain
8dccb88f25 Use [exiftool-json-db] to maintain the JSON database of media files 2017-02-28 00:13:45 +11:00
Romain
dcb06c5242 2.0.0-alpha.3 2017-02-18 16:41:31 +11:00
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)
2017-02-07 23:37:52 +11:00
Romain
b25048ebca Border around the README gallery screenshot 2017-02-06 21:53:30 +11:00
Romain
2c7413f0e6 Update README screenshot with gallery from unsplash.com 2017-02-06 21:48:22 +11:00
Romain
e930af7f49 Add GIF support, fixes #22.
One major change here is that thumbnails will always be generated as ".jpg".
This is potentially a breaking change, in the sense that all "png" or "jpeg" thumbnails
would be to re-calculated and re-uploaded.
2017-02-06 21:37:36 +11:00
Romain
38a6969eac Fix lightgallery version to fix #53.
There seems to be a breaking change between 1.2.14 and 1.3.5
where light gallery doesn't bundle-in the plugins.
Instead they're available for download as separate npm modules.

Will need to fix that if we want to upgrade to the latest version of lightgallery.
2017-02-06 17:33:44 +11:00
Romain
1c7469b13a Fix extra bracket 2017-02-05 20:44:02 +11:00
Romain
19f408016c Add Travis CI badge to README 2017-02-05 19:55:43 +11:00
Romain
4209466c14 More unit tests for the Album model (tests split into 2 files for legibility) 2017-02-05 18:38:44 +11:00
Romain
596fe1babc Fix CI build 2017-02-05 18:38:06 +11:00
Romain
6772e9c9d9 Fix final options for nested albums, not being passed recursively 2017-02-05 15:39:52 +11:00
Romain
1817aec7e4 Update package.json with new repository details 2017-02-05 11:04:10 +11:00
Romain
9eec5c3a0a 2.0.0-alpha.2 2017-02-05 11:00:45 +11:00
Romain
7575da7474 New <footer> config setting to add a line of text (or HTML) at the bottom 2017-01-27 17:41:59 +11:00
Romain
dc7a7b5848 Must pass options when finalising album hierarchy. Fixes album sorting. 2017-01-27 17:40:34 +11:00
Romain
f7bfe954a9 Extra margin at the bottom of pages for legibility 2017-01-26 22:50:05 +11:00