Add HEIC to permitted coders and modules for imagemagick
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
asonix 2023-12-23 17:20:15 -06:00
parent c542a68e1d
commit 4847ac7297
4 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View file

@ -1738,7 +1738,7 @@ dependencies = [
[[package]]
name = "pict-rs"
version = "0.5.0-rc.5"
version = "0.5.0-rc.6"
dependencies = [
"actix-form-data",
"actix-web",

View file

@ -1,7 +1,7 @@
[package]
name = "pict-rs"
description = "A simple image hosting service"
version = "0.5.0-rc.5"
version = "0.5.0-rc.6"
authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0"
readme = "README.md"

View file

@ -10,12 +10,12 @@
<policy domain="resource" name="thread" value="2" />
<policy domain="path" rights="none" pattern="@*" />
<policy domain="coder" rights="none" pattern="*" />
<policy domain="coder" rights="read | write" pattern="{APNG,AVIF,GIF,JPEG,JSON,JXL,PNG,WEBP,MP4,WEBM,TMP,PAM}" />
<policy domain="coder" rights="read | write" pattern="{APNG,AVIF,GIF,HEIC,JPEG,JSON,JXL,PNG,WEBP,MP4,WEBM,TMP,PAM}" />
<policy domain="delegate" rights="none" pattern="*" />
<policy domain="delegate" rights="execute" pattern="ffmpeg" />
<policy domain="filter" rights="none" pattern="*" />
<policy domain="module" rights="none" pattern="*" />
<policy domain="module" rights="read | write" pattern="{APNG,AVIF,GIF,JPEG,JSON,JXL,PNG,WEBP,TMP,PAM,PNM,VIDEO}" />
<policy domain="module" rights="read | write" pattern="{APNG,AVIF,GIF,HEIC,JPEG,JSON,JXL,PNG,WEBP,TMP,PAM,PNM,VIDEO}" />
<!-- indirect reads not permitted -->
<policy domain="system" name="precision" value="6" />
</policymap>

View file

@ -11,7 +11,7 @@
rustPlatform.buildRustPackage {
pname = "pict-rs";
version = "0.5.0-rc.5";
version = "0.5.0-rc.6";
src = ./.;
cargoLock = {