85 Commits

Author SHA1 Message Date
58064a6309 Use cacher for downloading fullsize images. 2020-06-20 22:25:29 -07:00
3402d7bcf4 Clean lint. 2020-06-20 20:08:37 -07:00
009dd1ff19 Remove deprecated file. 2020-06-20 20:05:35 -07:00
639a1c7b3a Set default handler to high rank to prevent collision. 2020-06-20 17:08:26 -07:00
76594dc0c1 Rocket based webserver now has parity with warp version. 2020-06-20 14:36:00 -07:00
80ef93f20f Start of rewrite from warp->rocket. 2020-06-20 12:50:22 -07:00
a19874fe47 Attempt to create a cacher but I can't make it work with warp. 2020-06-19 20:37:51 -07:00
4fc0bc9d01 react-slideshow: cleaner looking front page. 2020-06-17 18:11:58 -07:00
7e2cf1b956 Move image helpers to xinu.tv/imageutils 2020-04-01 18:21:22 -07:00
b61e65bd83 Pair-up portraits when in landscape mode. 2020-03-14 22:02:35 -07:00
0799708109 Fix build. 2020-03-14 20:29:15 -07:00
24240c5f68 Use day of month instead of day of week when seeding shuffle. 2020-03-14 16:30:44 -07:00
f683acf0ae Build react-slideshow when building photosync into a docker image. 2020-03-14 15:08:36 -07:00
f14dbff066 Prettier /embedz, now with sizes. 2020-03-14 15:07:58 -07:00
ba304c85c3 Remove unused logos. 2020-03-14 14:29:05 -07:00
bd3aac5bc0 Add /embedz handler to see what files are in binary. 2020-03-14 14:26:12 -07:00
737b290cc0 Docker build for slideshow app. 2020-03-14 13:37:02 -07:00
2ee2a98c7d Set production slide time to 1 minute (matches Google hub). 2020-03-14 13:36:25 -07:00
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