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

215 Commits

Author SHA1 Message Date
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
Romain
277fe126f7 Video model also includes 'large' URL so it's a superset of photos.
Without this, template code like {{previews.0.urls.large}} only works for photos.
2017-01-26 22:49:51 +11:00
Romain
c98227fde4 2.0.0-alpha.1 2017-01-26 16:00:27 +11:00
Romain
043d2fbb05 CSS fixes: fixed height and smoother header rendering 2017-01-26 15:55:36 +11:00
Romain
22e0c88608 Mosaic theme: bigger font + make header clickable 2016-11-17 22:07:36 +11:00
Romain
f235675f86 Don't concatenate the root album name to be 100% compatible with existing version for flat albums 2016-11-17 22:07:04 +11:00
Romain
0208babae1 Pick 10 previews per album, to make the mosaic theme work 2016-11-17 12:34:58 +11:00
Romain
9fdef73f6e Cards theme: single album preview to be more different from "classic" 2016-11-16 21:41:23 +11:00
Romain
7eba1d4695 Remove old hamburger menu button from Cards theme 2016-11-15 22:12:55 +11:00
Romain
b10e7ca6c9 Unit tests for album constructor + sorting 2016-11-15 13:28:37 +11:00
Romain
e4e920e053 Don't float thumbs in "classic" mode, inline-block works just as well 2016-11-15 09:40:20 +11:00
Romain
e414ad7a74 Fix thumbnail size in HTML before rendering to avoid page jumps 2016-11-15 09:39:57 +11:00
Romain
23ce9b1e7d Fix backwards support for "--sort-folders date" 2016-11-15 09:36:09 +11:00
Romain
21e4a3fae2 Add "npm test" to quickly run unit tests without the full build 2016-11-15 09:35:24 +11:00