2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-23 03:41:23 +00:00
Commit graph

45 commits

Author SHA1 Message Date
d8c4a22ba9 Start describing metrics 2024-02-04 14:26:18 -06:00
c176e4c686 clippy 2024-02-03 18:30:52 -06:00
7eba45f37e cargo fix & cargo fmt 2024-02-03 18:19:14 -06:00
50e31f96da It compiles again 2024-02-03 18:18:13 -06:00
cf7c753e65 Pass a State value around rather than a bunch of arguments 2024-02-03 13:31:54 -06:00
5805eb0aed Enable configuring imagemagick security policy from pictrs 2024-01-31 21:32:01 -06:00
dc90e00324 Update metrics to 0.22 (plus mechanical changes) 2023-12-26 18:06:38 -06:00
6fa79b9188 Do more cleanup inline 2023-12-23 11:58:20 -06:00
b938b09901 Apply cargo fix 2023-12-22 20:54:02 -06:00
5624671cbf Rework ProcessRead to require a closure for using the internal AsyncRead 2023-12-22 20:52:58 -06:00
4369283534 More tracing cleaning 2023-12-22 13:30:17 -06:00
b94ba5fcfc Inline process background future, clean tracing a bit 2023-12-22 13:12:19 -06:00
961de20a00 Add timeout and metrics to media processing 2023-12-10 19:11:36 -06:00
210af5d7d9 Add danger_dummy_mode 2023-11-11 14:22:12 -06:00
7b5a3020fa Don't rely on global state for tmp_dir 2023-10-07 11:32:36 -05:00
d28c1ac628 Upgrade Concurrency: Update docs, configs, limit maxiumum details operations 2023-10-03 17:04:40 -05:00
0926739d3c Remove once_cell 2023-09-24 15:32:00 -05:00
fd965bb1a5 Allow processing still images into animation formats 2023-09-24 13:20:33 -05:00
9ffdd0432f Infer video thumbnail format from image format 2023-09-24 12:37:43 -05:00
6c921817e1 Enable thumbnailing animations, use dynamic dispatch for a number of async readers 2023-09-24 11:54:16 -05:00
8921f57a21 Remove Identifier trait, Replace with Arc<str> 2023-09-02 18:38:02 -05:00
1559d57f0a Don't overwrite existing variants 2023-08-16 15:12:16 -05:00
521cdd5b9d Enforce format on new details 2023-08-16 12:36:18 -05:00
1ee77b19d8 Make Repo object safe. Create migration 2023-08-15 19:19:03 -05:00
da876fd553 Make it compile 2023-08-14 14:25:19 -05:00
fee4ed1e3e Add process timeout 2023-08-05 12:41:06 -05:00
77cdeab57e Improve metrics, add job metrics 2023-07-22 21:11:28 -05:00
fe1f7c869f Enable cleanup of variants
Still TODO: doing a first pass to mark variants as accessed on launch
2023-07-22 19:41:50 -05:00
ce0df080f4 Add prometheus metrics 2023-07-22 16:47:59 -05:00
3ca994ee31 Replace global config with passed-around config
This will enable spinning up pict-rs multiple times in the same process with different configurations
2023-07-22 12:31:01 -05:00
ac48003f45 Extract ProcessMap out of static 2023-07-22 11:16:19 -05:00
eeac900d7e Add quality value to process method, move -coalesce earlier in pipelines 2023-07-18 16:18:01 -05:00
786f583d98 Add public_url to Store for optional redirects to public object store urls
Add details generation to file migration to set the content-type for uploads
2023-07-14 14:53:37 -05:00
ec6c9aac1e Better discovery validation, proper invoking of imagemagick 2023-07-13 19:21:57 -05:00
33b83f97f2 It compiles
Need to reinstate media limits
2023-07-13 13:48:59 -05:00
ad1837f9dd VERY BROKEN: start replacing parts of pict-rs 2023-07-12 22:12:21 -05:00
9e7376d411 Remove is_missing error, make Identifier and DeleteToken return Option on fetch 2023-07-07 13:17:26 -05:00
669b3fb86f Fix webp metadata stripping, more tracing cleanup 2022-10-01 22:47:52 -05:00
718f09c43a Clean tracing, simplify validation, rename InputFormat -> VideoFormat 2022-10-01 21:17:18 -05:00
85c5ce955d Clippy 2022-09-30 20:02:46 -05:00
8eb2293808 Enable selecting video and audio codecs for uploaded media 2022-09-30 19:38:11 -05:00
25209e29c0 Make it compile 2022-09-24 17:18:53 -05:00
e493e90dd4 Defensive tracing 2022-04-07 12:56:40 -05:00
c80d207a87 Improve tracing 2022-04-06 21:40:49 -05:00
132e395e5c Multiple items:
- Reduce duplicate work in generate job
- Use hash instead of identifier for unique processing
- Move motion ident generation behind concurrent processor lock
2022-04-02 17:40:08 -05:00