Commit graph

13 commits

Author SHA1 Message Date
Aode (Lion) eb5e39c634 Use color-eyre 2022-03-28 20:47:46 -05:00
Aode (lion) 323016f994 Build out migration path
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-25 18:47:50 -05:00
Aode (lion) 750ce4782e Rework configuration
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-24 22:06:29 -05:00
Aode (Lion) da159c69cb Try setting a lower default cache capacity
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-03-21 21:15:43 -05:00
Aode (lion) f9f4fc63d6 Optionally support s3-compatible storage (untested) 2021-10-27 23:06:03 -05:00
Aode (Lion) 195f614a4b Restructure attempt 1 2021-10-18 20:29:06 -05:00
Aode (lion) a0f7148924 Cargo fmt 2021-09-06 12:09:25 -05:00
asonix 0acdfffe08 Return details in upload method, clippy nits 2020-12-25 20:39:19 -06:00
asonix 0bf7e0f688 Add initial details implementation
Details is an object generated for each image, containing
it's created_at date to properly set response headers. It
also can be expanding in the future to include an image's
dimensions, which we can expose via an API endpoint.

In addition to this, Details allows us the ability to
re-generate processed images. For now, all images which
do not yet have an associated Details will be
re-generated upon access. Details is set for each
thumbnail on generation, so this will only happen once
for each image.
2020-12-09 23:05:07 -06:00
asonix b64e3615be Switch many migration logs to debug, flush changes to new db 2020-10-16 16:02:48 -05:00
asonix 577d358da1 Enhance migrations to be more resilient to panics 2020-10-16 15:28:45 -05:00
asonix f4f1ae6939 Update migration string 2020-10-10 19:38:07 -05:00
asonix 6de19d17b6 Clean migration, don't use db tree 2020-09-14 16:42:31 -05:00