Cameron Cordes
2343351a4d
Add file watcher to re-generate thumbnails
...
Previously files added while the server is running would not have
thumbnails until after the server was restarted. Now we watch the
BASE_PATH for added/renamed files in order to re-gen the thumbnail.
2020-09-13 21:36:34 -04:00
Cameron Cordes
426c695b47
File upload working
2020-09-13 21:34:08 -04:00
Cameron Cordes
fe23586059
Update to Actix 3.0
2020-09-11 16:12:41 -04:00
Cameron Cordes
7d369aab5c
Generate thumbnails before API starts up
...
Clients can now request a thumbnail by specifying a size on the image
request.
2020-07-15 12:06:50 -04:00
Cameron Cordes
536300e0a1
Serving files is working
...
Right now we're not doing any streaming and this isn't ideal. I'll need
to figure it out at some point.
2020-07-08 21:38:21 -04:00
Cameron Cordes
e3bb607d95
Fix token parsing and require Auth for list files
2020-07-07 22:37:20 -04:00
Cameron Cordes
2aa1b61429
Move database into the main app
...
I was having issues including the lib as a crate, its fine just being a
module for now.
2020-07-07 21:48:29 -04:00
Cameron Cordes
36f7351627
Initial API setup
...
Right now we are just listing files in a given subdirectory with not
authentication.
2020-07-07 19:53:12 -04:00