1
0
mirror of https://github.com/enpaul/kodak.git synced 2024-12-27 02:03:31 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
dfa924d912
Update to pillow 9.x
Update transient dependencies
2022-03-09 20:05:27 -05:00
1ace9ae881
Bump bugfix version 2022-03-09 19:55:54 -05:00
55661034a4
Fix jpeg image autorotation issue
See also https://github.com/python-pillow/Pillow/issues/4703
See also https://github.com/huggingface/transformers/pull/14062
2021-12-30 21:29:42 -05:00
0bf2aba0ba
Fix typing and linting errors
Fix typing error in checksum path factory
Fix immediate reraise in manip resource handler
Fix unsilenced warning in manip protocol function
2021-11-23 20:04:36 -05:00
ade6929dc3
Add dockerfile and build integration to makefile 2021-11-23 20:04:35 -05:00
fe0811d525
Fix source resource always working even when expose_source is false 2021-11-23 16:21:04 -05:00
7fff10f78c
Add gunicorn as optional deployment dependency 2021-11-23 14:56:13 -05:00
0ac073e733
Implement scaling manipulation support 2021-11-23 14:46:17 -05:00
ecf25b40a0
Add initial MVP for b&w and crop manips 2021-11-23 00:23:13 -05:00
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
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