mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Add support to validate attachment uploads by an external program
This commit is contained in:
parent
91b1713bf7
commit
b5d311c00c
9 changed files with 90 additions and 27 deletions
|
|
@ -125,6 +125,12 @@ echo -e "\t$ snap set $SNAP_NAME card-opened-webhook-enabled='true'"
|
|||
echo -e "Disable, default:"
|
||||
echo -e "\t$ snap unset $SNAP_NAME card-opened-webhook-enabled"
|
||||
echo -e "\n"
|
||||
echo -e "Attachments upload validation by an external program. {file} is replaced by the uploaded file. Example: /usr/local/bin/avscan {file}"
|
||||
echo -e "Enable:"
|
||||
echo -e "\t$ snap set $SNAP_NAME attachments-upload-external-program='/usr/local/bin/avscan {file}'"
|
||||
echo -e "Disable, default:"
|
||||
echo -e "\t$ snap unset $SNAP_NAME attachments-upload-external-program"
|
||||
echo -e "\n"
|
||||
echo -e "Attachments upload mime types. Example: image/*,text/*"
|
||||
echo -e "Enable:"
|
||||
echo -e "\t$ snap set $SNAP_NAME attachments-upload-mime-types='image/*,text/*'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue