2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-27 04:51:24 +00:00
Commit graph

30 commits

Author SHA1 Message Date
7cafe5ce25 Enable specifying migrate-store concurrency 2023-10-03 15:54:19 -05:00
0aab38b40a Add timeout configuration for external validation 2023-09-18 19:50:17 -05:00
b81bbb9b2d Add external validation check 2023-09-06 18:53:52 -05:00
35c280a08d Add process timeout 2023-08-05 11:51:52 -05:00
691bca286c Make object storage timeouts configurable 2023-07-11 13:01:58 -05:00
686be1d93b Turn export_path into flag for sled 2023-07-08 19:56:26 -05:00
7768d4e58e Add database exports
This should help admins running pict-rs on traditional filesystems to
keep valid backups of pict-rs' sled repo
2023-07-08 17:36:01 -05:00
a1d48cbb42 Share client between object store and request extractor
Add config to limit connection pool size
2023-06-23 11:20:20 -05:00
a3ff072350 Remove unused cache duration parameter 2023-06-21 17:05:53 -05:00
6d2aef8cc0 Add jpegxl and avif support 2023-06-21 17:05:35 -05:00
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
1214b51ad7 Make use of FilesystemDefaults when constructing migrate commands 2023-06-19 15:04:36 -05:00
4cc810d372 Add control over gif frame count 2023-02-04 17:52:23 -06:00
40f57be0c7 Allow uploading small gifs 2023-02-04 17:32:36 -06:00
0aa3f574a5 Clippy 2023-01-29 11:57:59 -06:00
c767804430 Default to vp9 for uploaded video 2022-10-01 10:17:32 -05:00
8eb2293808 Enable selecting video and audio codecs for uploaded media 2022-09-30 19:38:11 -05:00
3ceaaa391c Update clap 2022-09-28 18:23:41 -05:00
80c83eb491 Add ffprobe for details inspection - vastly improve video detection speed 2022-09-25 20:39:09 -05:00
890478e794 Support audio in uploaded videos, allow webm uploads 2022-09-25 18:16:37 -05:00
c57a48db8a Start introducing more video controls 2022-09-25 17:36:07 -05:00
50d118a2a7 Implement image pre-processing on upload 2022-09-25 15:17:33 -05:00
ff1771e016 More migration work for rusty-s3 2022-09-24 14:18:49 -05:00
ab7fd9aaf7 Start work on using rusty-s3 instead of rust-s3 2022-09-24 13:39:27 -05:00
6cdae7b318 Add 'cache' endpoint for ingesting ephemeral media
By default, cached media should only stick around for 7 days, however
The timeout is reset every time media is accessed, so only obscure
cached media will be flushed from the cache. This '7 days' number is
configurable through the commandline run options as --media-cache-duration
and in the pict-rs.toml file as [media] cache_duration
2022-04-05 20:29:30 -05:00
602d1ea935 Begin implementing queue, put cleanups in it 2022-03-29 12:51:16 -05:00
eb5e39c634 Use color-eyre 2022-03-28 20:47:46 -05:00
1662f153ce Numerous changes:
- Improve error printing (display chain in addition to spantrace)
- Fix migration (read main identifier from identifier tree, not filename tree)
- Ensure uniqueness for processed images in ConcurrentProcessor (use source identifier in addition to thumbnail path, include extension in thumbnail path)
- Update default log levels (make pict-rs quieter)
- Add timeout for serving images from object storage (5 seconds)
2022-03-28 15:34:36 -05:00
3792a8923a Finish redoing config probably 2022-03-27 23:27:07 -05:00
ca28f68ef5 Start redoing config again 2022-03-27 19:10:06 -05:00