mirror of
https://github.com/YunoHost-Apps/plainpad_ynh.git
synced 2024-09-03 20:05:53 +02:00
70 lines
3.5 KiB
TOML
70 lines
3.5 KiB
TOML
packaging_format = 2
|
||
|
||
id = "plainpad"
|
||
name = "Plainpad"
|
||
description.en = "Note taking application"
|
||
description.fr = "Prise de notes auto-hébergée"
|
||
|
||
version = "1.0.0~ynh2"
|
||
|
||
maintainers = ["eric_G"]
|
||
|
||
[upstream]
|
||
license = "AGPL-3.0-only"
|
||
website = "https://alextselegidis.com/get/plainpad"
|
||
demo = "https://alextselegidis.com/try/plainpad/#/login"
|
||
admindoc = "https://alextselegidis.com/get/plainpad/self-hosted"
|
||
code = "https://github.com/alextselegidis/plainpad"
|
||
cpe = "???" # FIXME: optional but recommended if relevant, this is meant to contain the Common Platform Enumeration, which is sort of a standard id for applications defined by the NIST. In particular, Yunohost may use this is in the future to easily track CVE (=security reports) related to apps. The CPE may be obtained by searching here: https://nvd.nist.gov/products/cpe/search. For example, for Nextcloud, the CPE is 'cpe:2.3:a:nextcloud:nextcloud' (no need to include the version number)
|
||
fund = "???" # FIXME: optional but recommended (or remove if irrelevant / not applicable). This is meant to be an URL where people can financially support this app, especially when its development is based on volunteers and/or financed by its community. YunoHost may later advertise it in the webadmin.
|
||
|
||
[integration]
|
||
yunohost = ">= 11.1.15"
|
||
architectures = "all" # FIXME: can be replaced by a list of supported archs using the dpkg --print-architecture nomenclature (amd64/i386/armhf/arm64), for example: ["amd64", "i386"]
|
||
multi_instance = true
|
||
ldap = "?" # FIXME: replace with true, false, or "not_relevant". Not to confuse with the "sso" key : the "ldap" key corresponds to wether or not a user *can* login on the app using its YunoHost credentials.
|
||
sso = "?" # FIXME: replace with true, false, or "not_relevant". Not to confuse with the "ldap" key : the "sso" key corresponds to wether or not a user is *automatically logged-in* on the app when logged-in on the YunoHost portal.
|
||
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
|
||
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
||
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
|
||
|
||
[install]
|
||
[install.domain]
|
||
# this is a generic question - ask strings are automatically handled by Yunohost's core
|
||
type = "domain"
|
||
|
||
[install.path]
|
||
# this is a generic question - ask strings are automatically handled by Yunohost's core
|
||
type = "path"
|
||
default = "/plainpad"
|
||
|
||
[install.init_main_permission]
|
||
help.en = "If enabled, Plainpad will be accessible by people who do not have an account. This can be changed later via the webadmin."
|
||
help.fr = "Si cette case est cochée, Plainpad sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
|
||
type = "group"
|
||
default = "visitors"
|
||
|
||
[resources]
|
||
|
||
[resources.sources.main]
|
||
url = "https://github.com/alextselegidis/plainpad/releases/download/1.0.0-beta.4/plainpad-1.0.0-beta.4.zip"
|
||
sha256 = "578252e15dbc16b63bf1ed7eedc0b1452ca67bf2d4f621c4439931710c3035d3"
|
||
in_subdir = false
|
||
|
||
[resources.system_user]
|
||
|
||
[resources.install_dir]
|
||
|
||
[resources.permissions]
|
||
main.url = "/"
|
||
api.url = "/api"
|
||
api.allowed="visitors"
|
||
api.auth_header = false
|
||
api.show_tile = false
|
||
api.protected = true
|
||
|
||
[resources.apt]
|
||
packages = "mariadb-server php8.0-zip php8.0-fileinfo php8.0-xml php8.0-bcmath php8.0-mbstring php8.0-mysql"
|
||
|
||
[resources.database]
|
||
type = "mysql"
|