Commit graph

73 commits

Author SHA1 Message Date
asonix e302df7e39 Add more poll timers, spawn process from background threads 2024-03-09 15:19:13 -06:00
asonix 277b47af46 Fix imagemagick ffmpeg delegate, strip metadata while converting videos 2024-02-25 11:40:03 -06:00
asonix 03bd3cbe2f Even more piping 2024-02-24 19:27:34 -06:00
asonix 13fc0df31a More piping 2024-02-24 19:07:48 -06:00
asonix 0fd19a5682 Start work on blurhash 2024-02-23 22:12:19 -06:00
asonix 4a7a51d147 Add more imagemagick security configuration
Remove default security policy, since it is overridden anyway
Update default value for max_area
Inherit animation frame count configuration for list-length
Add release document
2024-02-05 14:30:01 -06:00
asonix 50e31f96da It compiles again 2024-02-03 18:18:13 -06:00
asonix cf7c753e65 Pass a State value around rather than a bunch of arguments 2024-02-03 13:31:54 -06:00
asonix 5805eb0aed Enable configuring imagemagick security policy from pictrs 2024-01-31 21:32:01 -06:00
asonix c2e53766c2 Don't -ping when extracting file details (workaround for imagemagick json bug) 2023-12-23 12:48:32 -06:00
asonix 6fa79b9188 Do more cleanup inline 2023-12-23 11:58:20 -06:00
asonix c2b1b3db5d Apply cargo fix 2023-12-22 21:01:19 -06:00
asonix c544f167fb Remove unused code 2023-12-22 21:00:37 -06:00
asonix b938b09901 Apply cargo fix 2023-12-22 20:54:02 -06:00
asonix 5624671cbf Rework ProcessRead to require a closure for using the internal AsyncRead 2023-12-22 20:52:58 -06:00
asonix 15189d293b clippy 2023-11-09 18:26:57 -06:00
asonix f61dac8187 Attempt to clean stray magick files
This change sets a unique temp directory for each invocation of imagemagick and spawns a task to remove that directory after the command terminates
2023-11-09 18:20:59 -06:00
asonix 7b5a3020fa Don't rely on global state for tmp_dir 2023-10-07 11:32:36 -05:00
asonix fd965bb1a5 Allow processing still images into animation formats 2023-09-24 13:20:33 -05:00
asonix 8f62b0c325 clippy 2023-09-24 12:42:23 -05:00
asonix 6c921817e1 Enable thumbnailing animations, use dynamic dispatch for a number of async readers 2023-09-24 11:54:16 -05:00
asonix 8921f57a21 Remove Identifier trait, Replace with Arc<str> 2023-09-02 18:38:02 -05:00
asonix ba3a23ed43 Add error codes 2023-09-01 20:51:01 -05:00
asonix 0c4d632dda Consider timeouts a client error 2023-08-05 16:18:06 -05:00
asonix fee4ed1e3e Add process timeout 2023-08-05 12:41:06 -05:00
asonix eeac900d7e Add quality value to process method, move -coalesce earlier in pipelines 2023-07-18 16:18:01 -05:00
asonix 5e8ab7856d Extract Status errors into command-specific errors 2023-07-17 13:30:08 -05:00
asonix ec6c9aac1e Better discovery validation, proper invoking of imagemagick 2023-07-13 19:21:57 -05:00
asonix 27451971a6 Fix tests, add animated_webp test 2023-07-13 14:34:40 -05:00
asonix 33b83f97f2 It compiles
Need to reinstate media limits
2023-07-13 13:48:59 -05:00
asonix ad1837f9dd VERY BROKEN: start replacing parts of pict-rs 2023-07-12 22:12:21 -05:00
asonix 9004ecaadf Better classify process related errors 2023-07-10 15:29:41 -05:00
asonix 7dadbcf3ed Replace UnsupportedFormat error with more helpful errors 2023-07-09 15:07:49 -05:00
asonix 1694f49436 Use json for ffmpeg, imagemagick details parsing 2023-07-09 14:50:58 -05:00
asonix 6d2aef8cc0 Add jpegxl and avif support 2023-06-21 17:05:35 -05:00
asonix 554d852e68 Create unique errors for Repo and Store, separate from UploadError
Add .is_not_found() for Store errors, wire up Object and File storage to properly set NotFound
Allow skipping files that are not found during store migration
2023-06-20 15:59:08 -05:00
asonix 40f57be0c7 Allow uploading small gifs 2023-02-04 17:32:36 -06:00
asonix 7037ee5791 Support auto-orienting photos 2022-10-15 11:13:24 -05:00
asonix 718f09c43a Clean tracing, simplify validation, rename InputFormat -> VideoFormat 2022-10-01 21:17:18 -05:00
asonix d86d9a3228 Put proper file extension on videos 2022-09-30 20:00:14 -05:00
asonix 17dab63662 Clippy 2022-09-25 20:44:24 -05:00
asonix 80c83eb491 Add ffprobe for details inspection - vastly improve video detection speed 2022-09-25 20:39:09 -05:00
asonix 890478e794 Support audio in uploaded videos, allow webm uploads 2022-09-25 18:16:37 -05:00
asonix c57a48db8a Start introducing more video controls 2022-09-25 17:36:07 -05:00
asonix 50d118a2a7 Implement image pre-processing on upload 2022-09-25 15:17:33 -05:00
Aode (lion) c80d207a87 Improve tracing 2022-04-06 21:40:49 -05:00
Aode (lion) 6ed592c432 In Progress: process jobs
- Is this a good idea? it definitely will make interacting with pict-rs harder. Maybe it's best not to do this
2022-04-01 16:51:12 -05:00
Aode (Lion) 3792a8923a Finish redoing config probably 2022-03-27 23:27:07 -05:00
Aode (lion) 37e6b21b55 Fix Range, consolidate errors, test object storage 2022-03-26 20:45:12 -05:00
Aode (lion) 15b52ba6ec Get it compiling again 2022-03-26 16:49:23 -05:00