Commit graph

612 commits

Author SHA1 Message Date
asonix a3bce4c2d3 clippy
All checks were successful
/ clippy (pull_request) Successful in 1m23s
/ tests (pull_request) Successful in 1m52s
/ check (aarch64-unknown-linux-musl) (pull_request) Successful in 1m56s
/ check (armv7-unknown-linux-musleabihf) (pull_request) Successful in 1m57s
/ check (x86_64-unknown-linux-musl) (pull_request) Successful in 1m52s
2024-04-01 17:06:36 -05:00
asonix 960f6487b7 Queue generation jobs 2024-03-31 20:26:15 -05:00
asonix cd6fb84cc4 Add timeout, metrics back to processor 2024-03-31 16:34:50 -05:00
asonix 056b96d0ad Rename thumbnail_args to variant_args 2024-03-31 16:23:34 -05:00
asonix 74885f2932 Share notification map between sled, postgres 2024-03-31 16:00:23 -05:00
asonix d9d5ac5388 Make postgres work 2024-03-30 14:11:12 -05:00
asonix 612e4017d5 Postgres compiles 2024-03-30 12:10:31 -05:00
asonix b43a435e64 Broken!!!!! 2024-03-30 09:36:31 -05:00
asonix 6e9239fa36 Move variant methods into variant repo trait 2024-03-28 12:04:40 -05:00
asonix fe5a5723be Merge branch 'main' into asonix/per-upload-limits-and-operations
All checks were successful
/ tests (pull_request) Successful in 1m51s
/ check (aarch64-unknown-linux-musl) (pull_request) Successful in 1m56s
/ clippy (pull_request) Successful in 1m28s
/ check (armv7-unknown-linux-musleabihf) (pull_request) Successful in 1m58s
/ check (x86_64-unknown-linux-musl) (pull_request) Successful in 1m52s
2024-03-27 19:20:50 -05:00
asonix 55bc4b64c1 Add per-upload validations and per-upload preprocess steps 2024-03-27 19:00:54 -05:00
asonix 84a882392a Start threading upload configuration into ingest 2024-03-27 16:57:22 -05:00
asonix 793d3c0c70 Cleanup temporary directory on launch by default
All checks were successful
/ check (aarch64-unknown-linux-musl) (push) Successful in 1m55s
/ tests (push) Successful in 1m51s
/ clippy (push) Successful in 1m30s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 1m56s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m51s
2024-03-23 18:42:12 -05:00
asonix 9178e3ef9f Don't spawn_local without tokio-unstable 2024-03-11 13:20:26 -05:00
asonix d8d1ce1634 Don't mention tokio_uring
All checks were successful
/ tests (push) Successful in 2m51s
/ check (aarch64-unknown-linux-musl) (push) Successful in 2m44s
/ check (x86_64-unknown-linux-musl) (push) Successful in 2m5s
/ clippy (push) Successful in 2m56s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 2m38s
2024-03-10 23:02:03 -05:00
asonix 6f95c72070 Add new feature for testing with errors, test & fix job retries
All checks were successful
/ tests (push) Successful in 2m38s
/ clippy (push) Successful in 2m9s
/ check (aarch64-unknown-linux-musl) (push) Successful in 2m50s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 2m57s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m59s
2024-03-10 22:02:27 -05:00
asonix 286279cdf5 Control warn level for long polls via cargo feature
All checks were successful
/ clippy (push) Successful in 2m5s
/ tests (push) Successful in 2m56s
/ check (aarch64-unknown-linux-musl) (push) Successful in 2m39s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 2m57s
/ check (x86_64-unknown-linux-musl) (push) Successful in 2m47s
2024-03-10 20:07:59 -05:00
asonix dff588aafd Switch from deadpool to bb8 2024-03-10 15:59:08 -05:00
asonix 4976fcb2eb Remove unneeded code
All checks were successful
/ tests (push) Successful in 1m50s
/ clippy (push) Successful in 1m22s
/ check (aarch64-unknown-linux-musl) (push) Successful in 1m54s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 1m55s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m49s
2024-03-09 22:53:46 -06:00
asonix aa4582a3f8 Remove unused store method
All checks were successful
/ clippy (push) Successful in 2m7s
/ tests (push) Successful in 2m25s
/ check (aarch64-unknown-linux-musl) (push) Successful in 2m53s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 2m59s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m56s
2024-03-09 15:38:39 -06:00
asonix e302df7e39 Add more poll timers, spawn process from background threads 2024-03-09 15:19:13 -06:00
asonix 9fe586b9dd Implement retries for jobs, start warning on long polls
All checks were successful
/ clippy (push) Successful in 1m22s
/ tests (push) Successful in 1m49s
/ check (aarch64-unknown-linux-musl) (push) Successful in 1m54s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 1m54s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m49s
2024-03-09 12:15:23 -06:00
asonix 40bb58d603 clippy
All checks were successful
/ check (aarch64-unknown-linux-musl) (push) Successful in 2m59s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m52s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 3m2s
/ clippy (push) Successful in 2m10s
/ tests (push) Successful in 2m19s
/ build (map[artifact:linux-arm64v8 platform:linux/arm64 target:aarch64-unknown-linux-musl]) (push) Successful in 3m48s
/ publish-docker (push) Successful in 15s
/ publish-crate (push) Successful in 1m51s
/ build (map[artifact:linux-amd64 platform:linux/amd64 target:x86_64-unknown-linux-musl]) (push) Successful in 3m45s
/ build (map[artifact:linux-arm32v7 platform:linux/arm/v7 target:armv7-unknown-linux-musleabihf]) (push) Successful in 3m53s
/ publish-forgejo (push) Successful in 17s
2024-03-03 11:13:51 -06:00
asonix 4897c90ed7 Add blurhash cleanup for sled 2024-03-03 11:11:43 -06:00
asonix 3ecefcb64e Save blurhashes in repo, improve some error responses, simplify extracting aliases
Some checks failed
/ tests (push) Successful in 1m47s
/ clippy (push) Failing after 59s
/ check (aarch64-unknown-linux-musl) (push) Successful in 1m55s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 1m54s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m50s
2024-03-02 13:27:58 -06:00
asonix 348f4ce0a3 Use same UUID for directory and filename
All checks were successful
/ clippy (push) Successful in 1m23s
/ tests (push) Successful in 1m47s
/ check (aarch64-unknown-linux-musl) (push) Successful in 1m53s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 1m53s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m50s
2024-03-02 12:20:50 -06:00
asonix 25ef3861f1 Remove more unneeded 'static
All checks were successful
/ clippy (push) Successful in 1m23s
/ tests (push) Successful in 1m55s
/ check (aarch64-unknown-linux-musl) (push) Successful in 1m56s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 1m56s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m51s
2024-02-27 20:46:04 -06:00
asonix 6ee7c5c4a0 Remove unneeded 'static
Some checks failed
/ clippy (push) Successful in 2m3s
/ tests (push) Successful in 2m26s
/ check (x86_64-unknown-linux-musl) (push) Waiting to run
/ check (armv7-unknown-linux-musleabihf) (push) Has been cancelled
/ check (aarch64-unknown-linux-musl) (push) Has been cancelled
2024-02-27 20:41:39 -06:00
asonix 04dcc9a0c8 Include file extension in identifiers 2024-02-27 20:41:25 -06:00
asonix d13f7fe969 Include a few random bytes in the directory structure
All checks were successful
/ tests (push) Successful in 2m25s
/ clippy (push) Successful in 2m5s
/ check (aarch64-unknown-linux-musl) (push) Successful in 2m52s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 2m55s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m55s
2024-02-27 20:18:35 -06:00
asonix 16890eaa45 Just keep timestamp component of v7 for directory
All checks were successful
/ clippy (push) Successful in 1m30s
/ tests (push) Successful in 1m48s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 1m54s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m50s
/ check (aarch64-unknown-linux-musl) (push) Successful in 1m54s
2024-02-26 15:58:06 -06:00
asonix c17a8722c6 Simplify object and file path generation 2024-02-26 15:43:30 -06:00
asonix 7c6112e631 ffprobe: read from file, simplify input-file access
All checks were successful
/ clippy (push) Successful in 2m8s
/ tests (push) Successful in 2m16s
/ check (aarch64-unknown-linux-musl) (push) Successful in 2m59s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 2m59s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m51s
2024-02-25 13:05:47 -06:00
asonix 277b47af46 Fix imagemagick ffmpeg delegate, strip metadata while converting videos
All checks were successful
/ clippy (push) Successful in 1m21s
/ tests (push) Successful in 1m47s
/ check (aarch64-unknown-linux-musl) (push) Successful in 1m53s
/ check (x86_64-unknown-linux-musl) (push) Successful in 1m49s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 1m53s
2024-02-25 11:40:03 -06:00
asonix b139190663 clippy
All checks were successful
/ clippy (pull_request) Successful in 2m10s
/ tests (pull_request) Successful in 2m21s
/ check (aarch64-unknown-linux-musl) (pull_request) Successful in 2m58s
/ check (armv7-unknown-linux-musleabihf) (pull_request) Successful in 3m2s
/ check (x86_64-unknown-linux-musl) (pull_request) Successful in 2m24s
2024-02-24 19:36:29 -06:00
asonix 03bd3cbe2f Even more piping
Some checks failed
/ tests (pull_request) Successful in 3m3s
/ clippy (pull_request) Failing after 1m47s
/ check (aarch64-unknown-linux-musl) (pull_request) Successful in 2m47s
/ check (armv7-unknown-linux-musleabihf) (pull_request) Successful in 2m55s
/ check (x86_64-unknown-linux-musl) (pull_request) Successful in 2m9s
2024-02-24 19:27:34 -06:00
asonix 13fc0df31a More piping 2024-02-24 19:07:48 -06:00
asonix 2074334131 Switch more commands to be driven via STDIN 2024-02-24 14:02:41 -06:00
asonix eabd7ea228 Delete unused functions 2024-02-24 13:21:35 -06:00
asonix ad51e6cd9f Avoid writing blurhashed images to tmp 2024-02-24 13:16:25 -06:00
asonix 0fd19a5682 Start work on blurhash 2024-02-23 22:12:19 -06:00
asonix 6a6c61058a Split save_stream for object storage to early-drop stack-pinned stream
All checks were successful
/ tests (pull_request) Successful in 2m18s
/ clippy (pull_request) Successful in 2m10s
/ check (aarch64-unknown-linux-musl) (pull_request) Successful in 2m59s
/ check (armv7-unknown-linux-musleabihf) (pull_request) Successful in 3m0s
/ check (x86_64-unknown-linux-musl) (pull_request) Successful in 1m51s
2024-02-22 18:55:12 -06:00
asonix d73e683d48 Remove unused From
Some checks failed
/ tests (pull_request) Successful in 2m57s
/ clippy (pull_request) Failing after 1m28s
/ check (aarch64-unknown-linux-musl) (pull_request) Successful in 2m40s
/ check (armv7-unknown-linux-musleabihf) (pull_request) Successful in 3m5s
/ check (x86_64-unknown-linux-musl) (pull_request) Successful in 3m1s
2024-02-22 18:23:39 -06:00
asonix 16bf18bda4 Remove some Unpin and 'static bounds 2024-02-22 18:05:04 -06:00
asonix 227e9cc3a7 BytesReader: use built-in state tracking 2024-02-22 17:49:16 -06:00
asonix 59b03d548d Fix is_empty 2024-02-22 17:09:03 -06:00
asonix f3e455a1c3 Increase buffer size for AsyncRead -> Stream conversion 2024-02-22 16:25:03 -06:00
asonix 00a08a8bc9 Improve AyncRead impl 2024-02-22 16:21:31 -06:00
asonix de356c1f12 Remove MessageBody impl 2024-02-22 16:15:32 -06:00
asonix 3a7d5b7bfb Re-use try_from_stream where possible 2024-02-22 16:10:34 -06:00