2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-14 00:13:59 +00:00
Commit graph

6 commits

Author SHA1 Message Date
0acdfffe08 Return details in upload method, clippy nits 2020-12-25 20:39:19 -06:00
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
b64e3615be Switch many migration logs to debug, flush changes to new db 2020-10-16 16:02:48 -05:00
577d358da1 Enhance migrations to be more resilient to panics 2020-10-16 15:28:45 -05:00
f4f1ae6939 Update migration string 2020-10-10 19:38:07 -05:00
6de19d17b6 Clean migration, don't use db tree 2020-09-14 16:42:31 -05:00