67 Commits

Author SHA1 Message Date
a96fe1da9d Implement ServeAndSync. 2020-03-10 18:38:45 -07:00
89037b6b24 Prefetch images for next slide. 2020-03-08 11:56:07 -07:00
9e4fdf7644 Fix UI after refactor. 2020-02-26 21:23:32 -08:00
e3182d4cf2 Refactor image handling in preparation of multi-image slides. 2020-02-26 21:17:38 -08:00
9f9c3cc00c Version bump target so newer features can be used.
This allows usage of #private members.
2020-02-26 21:17:00 -08:00
0dc3c5edef Cleanup page metadata. 2020-02-26 14:19:40 -08:00
62ae230f70 Remove TODOs, and set favicon. 2020-02-26 13:51:30 -08:00
49695dd393 Preserve aspect ratio in debug thumbnails. 2020-02-26 09:21:07 -08:00
669a129f21 Convert main App to typescript. 2020-02-26 08:50:53 -08:00
ea8f15ab23 Teeny tiny refactor. 2020-02-25 17:39:50 -08:00
407358bc43 More robust timer for autoadvancing image. 2020-02-25 16:31:52 -08:00
01c7582ae3 Implement timeout to automatically advance slide. 2020-02-23 09:00:22 -08:00
7ec3a11037 Use non-filling resize on server side. Client does filling. 2020-02-23 08:46:20 -08:00
792471bf00 Shuffle slideshow, only show images in the same orientation as screen. 2020-02-23 08:45:06 -08:00
d0ce89b27c Comment out verbose logging. 2020-02-22 21:36:12 -08:00
1b292b30c9 Don't log on cache hit. 2020-02-22 21:32:17 -08:00
233d0c4883 Use Lanczos3 when generating thumbnails. 2020-02-22 17:49:35 -08:00
1c82313c98 Benchmark more jpeg decoders. Do downsizing decode with jpeg_decoder. 2020-02-22 17:19:57 -08:00
7f64a4d2f6 Implement less abstracted nearest filtering.
Add some tests that try to compare image's Nearest with my
implementation.  According the PSNR they're very different, but to a
human the look the same.
2020-02-22 09:38:47 -08:00
77d69221d1 Parameterized tests. Include pixels/s. 2020-02-21 13:50:26 -08:00
df28512450 Refactor for testing. 2020-02-20 20:19:27 -08:00
b552b922fa Finish implementation of option parameter resize. 2020-02-19 21:30:12 -08:00
ecca57f489 Basic slideshow with forward and backward navigation. 2020-02-19 21:20:15 -08:00
f2f5279266 Handle unset size parameters, print # gc'd entries on startup. 2020-02-19 21:19:40 -08:00
ab1a63da1e Ran: npx create-react-app react-slideshow 2020-02-17 17:54:22 -08:00
d74a8117d7 Refactor thumbnail generation. 2020-02-17 17:50:43 -08:00
43974b7406 Properly resize images, bump library generation to match. 2020-02-17 14:57:48 -08:00
b801954599 More efficient garbage collection of cache.
Iterates backwards from first entry of this generation, and forward from
last entry.
2020-02-17 14:54:39 -08:00
914e30365e Store thumbnails in rocksdb. 2020-02-17 14:50:09 -08:00
d07542b544 Do force resize in img tag, assume serve is sending the right size. 2020-02-17 14:49:35 -08:00
d4df74a799 Clean up lint. 2020-02-16 09:03:55 -08:00
12b5193b26 Add static serving from assets built into binary. 2020-02-15 23:09:01 -08:00
4bb2354fdf Implement album index and image resize. 2020-02-15 08:12:13 -08:00
8abeef8859 Add routing to albums. 2020-02-15 08:09:12 -08:00
e191b2a3ff First version of rust web server serving album.json 2020-02-15 07:54:37 -08:00
1c99396705 Move common code to lib module. More stub webservice. 2020-02-10 21:13:46 -08:00
5c0f409f03 Minor logging changes. 2020-02-10 21:03:04 -08:00
c4deab996b Move file creation code to library module. 2020-02-10 20:59:52 -08:00
48da92e278 Move flag requirements for credentials to subcommands that need it. 2020-02-09 22:05:48 -08:00
88234c156c Delegate stub webserver to mod web.
Add prometheus monitoring.
2020-02-09 21:56:41 -08:00
c71af2dc90 react: proxy unknown URLs to localhost:4000 2020-02-09 21:55:59 -08:00
43baeb71ad Address lint. 2020-02-09 21:46:58 -08:00
8aeee408b0 Remove symlink from git. 2020-02-09 21:46:45 -08:00
2dd5bb1d43 Stub websever, don't store to API given filename (sometimes they have /) 2020-02-09 21:46:05 -08:00
93af9725df Commit react app lock file. 2020-02-09 21:26:28 -08:00
249db6500e sync: download fullsize images. 2020-02-09 21:26:03 -08:00
991b5a1469 Get images from new /images/ path. 2020-02-09 21:25:40 -08:00
abfd04f340 Use local fullsize images when rendering album. 2020-02-09 21:18:20 -08:00
dbb282d73c Use git instead of local path for google-photoslibrary1. 2020-02-09 15:35:45 -08:00
df3d29ce7c Write out images in per-album json. 2020-02-09 12:34:53 -08:00