1
0
mirror of https://github.com/enpaul/kodak.git synced 2024-11-23 15:07:13 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
5cbd0b019c
Move index tooling to top level module namespace 2021-11-23 00:23:12 -05:00
5613f8287c
Fix handling of relative paths in image source field 2021-11-23 00:23:12 -05:00
bbb7dec2b3
Fix link name generation logic to support nested directories 2021-11-23 00:23:11 -05:00
dc81600d0c
Generalize hashing function to checksum container
Fix sylink creation/removal on image record model
2021-11-23 00:23:10 -05:00
a87ca3bc80
Update manip endpoint to fix path problem
One of the goals is to make the generated content directory directly hostable
via a web browser for performance. This means that the application needs to be
able to generate a file tree identical to the URL structure so that clients can
fetch a single URL and either use the cached image or trigger a manipulation
depending on whether it already exists.

With a url structure of /key and /key/manip for the source and manips respectively,
it becomes impossible to create a file tree matching it since 'key' must be both
the source file and a directory containing the manipulated images.

This updates it to use 'original' as a special manip name so the URL structure of
/key/original and /key/manip can match the directory structure
2021-11-23 00:23:08 -05:00
d5267e51d9
Implement trivial functionality for image source endpoint 2021-11-13 00:56:07 -05:00
25b61a612c
Add trivial CLI for maintenance tasks 2021-11-13 00:56:06 -05:00
caa05e6e32
Add index generation tooling for detecting source images 2021-11-12 23:35:39 -05:00
56e683a94a
Update default content directory 2021-11-12 23:35:32 -05:00
19739d17f4
Fix typing errors
Fix missing dependencies in static tox envs
2021-10-30 11:51:41 -04:00
158db1209b
Update database schema for new image/alias structure 2021-10-30 10:59:41 -04:00
1b7856c590
Fix enum typing on config helper funcs 2021-10-29 22:14:39 -04:00
f46168e29d
Lint and document API resources
Add unimplemented authentication decorator
2021-10-29 19:45:32 -04:00
37303ccc50
Lint and document config and constants modules 2021-10-29 19:45:32 -04:00
dff79571ba
Reimplement manip configuration settings
Add support for future color changes
Once and for all settle how crop/scaling will work
Add proper exceptions
2021-10-29 18:56:52 -04:00
67abbd5374
Rename project to kodak 2021-10-28 23:17:00 -04:00