mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-12-12 08:08:48 +00:00
feat: NextCloud: add the enableImagemagick option
This commit is contained in:
parent
c10e57b19c
commit
5a92ad0621
|
@ -10,6 +10,7 @@ from selfprivacy_api.services.service import Service, ServiceStatus
|
|||
from selfprivacy_api.services.nextcloud.icon import NEXTCLOUD_ICON
|
||||
from selfprivacy_api.services.config_item import (
|
||||
StringServiceConfigItem,
|
||||
BoolServiceConfigItem,
|
||||
ServiceConfigItem,
|
||||
)
|
||||
from selfprivacy_api.utils.regex_strings import SUBDOMAIN_REGEX
|
||||
|
@ -26,6 +27,11 @@ class Nextcloud(Service):
|
|||
regex=SUBDOMAIN_REGEX,
|
||||
widget="subdomain",
|
||||
),
|
||||
"enableImagemagick": BoolServiceConfigItem(
|
||||
id="enableImagemagick",
|
||||
default_value=True,
|
||||
description="Enable ImageMagick",
|
||||
),
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue