1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00

Fix syntax + reordering + fix indentation + packaging v2 features

This commit is contained in:
lapineige 2023-02-05 13:59:00 +01:00 committed by GitHub
parent 178066d20c
commit dde9c56854
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,9 @@ license = "free"
multi_instance = true
services = [ "nginx" ]
maintainers = ["Lapineige"]
[description]
en = "Federated social networking server built on ActivityPub open protocol"
fr = "Serveur de réseautage social fédéré basé sur le protocole ouvert ActivityPub"
@ -20,51 +23,49 @@ admindoc = "https://bonfirenetworks.org/docs/"
userdoc = "https://bonfirenetworks.org/docs/"
code = "https://github.com/bonfire-networks/bonfire-app"
[maintainer]
name = "Lapineige"
[requirements]
[integration]
yunohost = ">= 11.0.0"
multi_instance = false
[[arguments.install]]
name = "domain"
[install]
[install.domain]
type = "domain"
help.en = "The domain name to use. Bonfire will be installed at its root path (/). This can't be changed."
help.fr = "Nom de domaine à utiliser. Bonfire sera installé à sa racine (/). Cela ne pourra pas être changé."
[[arguments.install]]
name = "path"
type = "path"
example = "/example"
default = "/"
[[arguments.install]]
name = "is_public"
[install.is_public]
type = "boolean"
default = true
help.en = "Should that instance be visible to the fediverse ? It is required for federation."
help.fr = "Cette instance doit elle être visible sur le fédiverse? C'est nécessaire pour la fédération."
[[arguments.install]]
name = "language"
[install.init_main_permission]
# this is a generic question - ask strings are automatically handled by YunoHost's core
# This won't be saved as setting and will instead be used to initialize the SSOwat permission
type = "group"
default = "visitors"
[install.domain]
ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application"
type = "string"
choices = ["fr", "en"]
default = "fr"
[arguments.install.ask]
en = "Choose the application language"
fr = "Choisissez la langue de l'application"
[[arguments.install]]
name = "admin"
[install.admin]
# this is a generic question - ask strings are automatically handled by YunoHost's core
type = "user"
[arguments.install.help]
en = "Name of the account that will have admin rights on this instance."
fr = "Le nom du compte qui aura les droits d'administration sur l'instance."
[[arguments.install]]
name = "password"
[install.password]
# this is a generic question - ask strings are automatically handled by YunoHost's core
# Note that user-provided passwords questions are not automatically saved as setting
help.en = "Use the help field to add an information for the admin about this question."
help.fr = "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
type = "password"
[[arguments.install]]
name = "media_upload_size"
[install.media_upload_size]
type = "string"
choices = [
"1MB",
@ -79,8 +80,18 @@ choices = [
"150MB"
]
default = "20MB"
ask.en = "Maximum size of the media uploaded. Can be changed later."
ask.fr = "Taille maximale des médias mis en ligne. Peut-être modifié ultérieurement."
[arguments.install.help]
en = "Maximum size of the media uploaded. Can be changed later."
fr = "Taille maximale des médias mis en ligne. Peut-être modifié ultérieurement."
[resources]
[resources.data_dir]
# This will create/remove the data dir as /home/yunohost.app/$app
# and store the corresponding setting $data_dir
#TODO
[resources.ports]
# This will pick a random port for reverse-proxying and store it as the $port setting
[resources.database]
# This will automatically provision/deprovison a mysql DB and store the corresponding credentials in settings $db_user, $db_name, $db_pwd
type = "postgresql"