49 Commits

Author SHA1 Message Date
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
cced612139 Ran cargo update. 2020-02-09 10:51:14 -08:00
3ad5c4f706 Merge branch 'master' of https://git.z.xinu.tv/wathiede/photosync 2020-02-09 10:49:16 -08:00
50c40c56db Made main buildable again. 2020-02-09 09:03:47 -08:00
bdf23a6e48 Render album or index based on the presence of a hash in the URL. 2020-02-09 09:00:13 -08:00
b08e9616bf Write out per album.json 2020-02-09 08:59:59 -08:00
32b47d44ec Merge branch 'master' of ggriffiniii/photosync into master 2020-02-09 16:59:13 +00:00
7a6394c7f8 Add search iterator 2020-02-08 15:19:25 -08:00
2a2bb0c2a3 Ignore symlink'd dir that regenerates on sync. 2020-02-07 19:54:29 -08:00
7b68317ef1 Basic webapp for debugging sync. 2020-02-06 19:06:19 -08:00
b0a10364b0 Base sync support.
Refactored list_albums to be useful in sync and list-albums.
2020-02-06 18:27:37 -08:00
3952f9e1fb Exhaustive match. Accidentally submitted code that doesn't compile.
complie
2020-02-05 16:53:38 -08:00
7fb8a08118 Different approach for matching title filters 2020-02-05 16:50:15 -08:00
e3f96f34c9 Use larger batches for faster search. 2020-02-05 10:05:55 -08:00
9691e7b456 Add search-media-items verb to list all photos in an album. 2020-02-05 09:54:18 -08:00
076a947b08 structopt-ify, move list ablum to subcommand add filtering by regex. 2020-02-04 22:56:15 -08:00
013a45f553 Print album ids and titles. 2020-02-03 22:37:41 -08:00
10d8ec406f Very basic PoC talking to google API. 2020-02-03 22:33:09 -08:00