1
0
mirror of https://github.com/enpaul/kodak.git synced 2025-09-18 13:18:38 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
ed46f8ab17 Update toxfile to fix coverage calculation and improve formatting 2021-11-23 00:23:10 -05:00
2de41125e7 Add pillow dependency
Update transients
2021-11-23 00:23:09 -05:00
afd1fa7971 Update readme with new project direction 2021-11-23 00:23:09 -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
69171ebb93 Fix incorrect usage of Digest instead of Content-Digest header 2021-11-13 22:05:09 -05:00
c804560574 Update werkzeug to 2.x 2021-11-13 00:56:07 -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
462dc572be Add default content dirs to gitignore to avoid accidental uploads 2021-11-12 23:35:39 -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
dac9fd0b18 Add tests for configuration module 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
99d2ca4816 Update resources and flask plumbing to remove previuos scope creep 2021-10-28 23:07:13 -04:00
b61ef4624b Update configuration with new design requirements 2021-10-28 23:06:37 -04:00
0be8cb96b7 Rename alias parameter to manip 2021-10-28 21:10:29 -04:00
fc658d07dd Remove unused docs infrastructure 2021-10-28 19:52:01 -04:00
25ef2c279e Remove duplicate config from pylintrc 2021-10-28 19:48:37 -04:00
0d19fb01a8 Fix digest format example 2021-10-28 19:35:56 -04:00
978fac15a1 Update license formatting 2021-10-28 19:03:39 -04:00
888225bdf7 Rename project to fresnel-lens 2021-10-28 19:03:09 -04:00
f9c38a5bcc Update openapi to simplify structure
Abandon all but the simplest of auth schemas
Remove dynamic image generation
Add support for cache control
Add support for 501, 405, and 422 status codes
2021-10-28 18:33:41 -04:00
7b49146123 Add digest header to api spec 2021-05-08 23:01:16 -04:00
ab8b53d2cf Add API endpoint to docs for image config aliases
Remove post/delete options from main image endpoint docs
2021-05-08 19:46:05 -04:00
2efd5c1cbe Add openapi spec validation and build integartion 2021-05-07 22:39:16 -04:00
4f760fa1e5 Add dev makefile target 2021-05-07 22:12:13 -04:00
867180584b Update tox-poetry-installer to 0.8 2021-05-07 22:02:43 -04:00
2608be7c6f Refactor openapi spec to meet new requirements and scopes 2021-05-06 01:36:43 -04:00
d92b53a60c Rename project to imagemuck 2021-05-05 13:48:02 -04:00
6a7662ae0f Rename project to dehance 2021-05-02 18:13:24 -04:00
3b05fb2053 Add simple dev server entrypoint 2020-12-21 22:35:13 -05:00
822f40122e Add custom exceptions module 2020-12-21 22:35:13 -05:00
d6ae786877 Implement trivial functionality for image handling resource 2020-12-21 22:35:13 -05:00
7daecb8e26 Add initial server infrastructure 2020-12-21 22:35:13 -05:00
548a5c8b1d Bump feature version
Fix mixmatched meta
2020-12-21 22:35:12 -05:00
f6b19273f8 Add initial config and constants modules 2020-12-21 22:34:33 -05:00
e265dda12d Add initial database schema and infrastructure components 2020-12-21 22:34:33 -05:00
474d846f47 Add peewee ORM dependency 2020-12-21 22:34:32 -05:00
3e08b62010 Add shared base resource object and update main resources to use it 2020-12-21 22:33:40 -05:00
be1f02c414 Update openapi spec to include size rejection error for upload
Update upload method from put to post
2020-12-21 22:33:40 -05:00
c2e6ee097c Add openapi symlink for packaging the spec file with the dists 2020-12-21 22:33:40 -05:00
c0429ee523 Add required dependencies for server resource endpoints 2020-12-21 22:33:39 -05:00
feae618ed5 Add initial resource skeleton to match openapi spec 2020-12-21 22:31:43 -05:00
efd328ad5f Update makefile with better option expansion and new publish target 2020-12-21 22:06:02 -05:00