2024-01-24 11:39:24 +01:00
|
|
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
|
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "question2answer"
|
|
|
|
name = "Question2Answer"
|
|
|
|
description.en = "Platform for Question&Answer sites."
|
|
|
|
description.fr = "Plateforme de Question/Réponses."
|
|
|
|
|
2024-02-29 22:20:50 +01:00
|
|
|
version = "1.8.8~ynh1"
|
2024-01-24 11:39:24 +01:00
|
|
|
|
|
|
|
maintainers = ["Nils Van Zuijlen"]
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "GPL-2.0-or-later"
|
|
|
|
website = "https://www.question2answer.org"
|
|
|
|
demo = "http://demo.question2answer.org"
|
|
|
|
admindoc = "https://docs.question2answer.org"
|
|
|
|
code = "https://github.com/q2a/question2answer"
|
|
|
|
|
|
|
|
[integration]
|
|
|
|
yunohost = ">= 11.2"
|
|
|
|
architectures = "all"
|
|
|
|
multi_instance = true
|
|
|
|
ldap = true
|
|
|
|
sso = false
|
2024-02-26 15:14:07 +01:00
|
|
|
disk = "50M"
|
|
|
|
ram.build = "50M"
|
|
|
|
ram.runtime = "70M"
|
2024-01-24 11:39:24 +01:00
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[install.path]
|
|
|
|
type = "path"
|
|
|
|
default = "/question2answer"
|
|
|
|
|
|
|
|
[install.init_main_permission]
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
|
|
|
[install.language]
|
|
|
|
ask.en = "Choose the application language"
|
|
|
|
ask.fr = "Choisissez la langue de l'application"
|
|
|
|
type = "select"
|
|
|
|
choices = ["fr", "en"]
|
|
|
|
default = "fr"
|
|
|
|
|
|
|
|
[install.admin]
|
|
|
|
type = "user"
|
|
|
|
|
|
|
|
[install.q2a_name]
|
|
|
|
ask.en = "Choose the site name"
|
|
|
|
ask.fr = "Choisissez le nom de votre Question2Answer"
|
|
|
|
type = "string"
|
|
|
|
default = "My Question2Answer forum"
|
|
|
|
|
|
|
|
[resources]
|
|
|
|
[resources.sources.main]
|
2024-02-29 22:20:50 +01:00
|
|
|
url = "https://github.com/q2a/question2answer/releases/download/v1.8.8/question2answer-1.8.8.zip"
|
|
|
|
sha256 = "1456ef9ebd4e8029e43e819be158a69f73c919ca38350f230fece1a6907ec4d2"
|
2024-02-26 15:14:07 +01:00
|
|
|
autoupdate.strategy = "latest_github_release"
|
|
|
|
autoupdate.asset = "^question2answer-.*\\.zip$"
|
2024-01-24 11:39:24 +01:00
|
|
|
|
|
|
|
[resources.sources.ldap]
|
2024-02-29 22:20:50 +01:00
|
|
|
url = "https://github.com/zakkak/qa-ldap-login/archive/857ad8bf3ca891cb33fa6e8816ed0d3e198c1afc.tar.gz"
|
|
|
|
sha256 = "9f45f391c83b2fea42d4d171208a96c839d2b08e936db6e079530db9bf6f7d15"
|
2024-01-24 11:39:24 +01:00
|
|
|
|
|
|
|
autoupdate.upstream = "https://github.com/zakkak/qa-ldap-login"
|
|
|
|
autoupdate.strategy = "latest_github_commit"
|
|
|
|
|
|
|
|
[resources.sources.lang_fr]
|
|
|
|
url = "https://github.com/mrflos/q2a-lang-fr/archive/2e36c9d3121a77f236db0e265e6fb587ed154b54.tar.gz"
|
|
|
|
sha256 = "34571341339a928d047c65b3da82166dbdc26f84d44dea2fae85e21db1e7aa43"
|
|
|
|
|
|
|
|
autoupdate.upstream = "https://github.com/mrflos/q2a-lang-fr"
|
|
|
|
autoupdate.strategy = "latest_github_commit"
|
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
|
|
|
|
|
|
|
[resources.apt]
|
|
|
|
packages = [
|
|
|
|
"mariadb-server",
|
2024-01-24 11:42:54 +01:00
|
|
|
"php8.0-fpm",
|
|
|
|
"php8.0-cli",
|
2024-02-26 15:04:41 +01:00
|
|
|
"php8.0-mysql",
|
2024-01-24 11:39:24 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
[resources.database]
|
|
|
|
type = "mysql"
|