2023-12-11 17:56:26 +01:00
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "diacamma"
|
|
|
|
name = "Diacamma"
|
|
|
|
|
|
|
|
description.en = "Management application for volunteers (association, condominium)"
|
|
|
|
description.fr = "Application de gestion pour les bénévoles (association, copropriété)"
|
|
|
|
|
2023-12-17 17:18:46 +01:00
|
|
|
version = "23.12.17.17~ynh1"
|
2023-12-11 17:56:26 +01:00
|
|
|
|
|
|
|
maintainers = ["Laurent Gay"]
|
|
|
|
|
|
|
|
[upstream]
|
2023-12-15 16:58:51 +01:00
|
|
|
license = " GPL-3.0-or-later"
|
2023-12-11 17:56:26 +01:00
|
|
|
website = "https://www.diacamma.org"
|
2023-12-14 17:15:30 +01:00
|
|
|
demo = "https://asso.diacamma.org"
|
|
|
|
code = "https://github.com/Diacamma2"
|
|
|
|
admindoc = "https://asso.diacamma.org/Docs"
|
2023-12-11 17:56:26 +01:00
|
|
|
|
|
|
|
[integration]
|
|
|
|
yunohost = '>= 11.2'
|
2023-12-14 17:15:30 +01:00
|
|
|
architectures = "all"
|
2023-12-11 17:56:26 +01:00
|
|
|
multi_instance = true
|
2023-12-13 16:15:51 +01:00
|
|
|
ldap = true
|
2023-12-11 17:56:26 +01:00
|
|
|
sso = false
|
|
|
|
disk = "50M"
|
|
|
|
ram.build = "50M"
|
|
|
|
ram.runtime = "50M"
|
|
|
|
|
|
|
|
[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 = "/diacamma"
|
|
|
|
|
|
|
|
[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.lct_appli]
|
|
|
|
ask.en = "Application"
|
|
|
|
ask.fr = "Application"
|
2023-12-16 17:26:11 +01:00
|
|
|
help.en = "What application do you want to install?"
|
2023-12-11 17:56:26 +01:00
|
|
|
help.fr = "Quelle application voulez-vous installer ?"
|
2023-12-12 14:06:16 +01:00
|
|
|
type = "select"
|
2023-12-12 13:14:05 +01:00
|
|
|
choices.asso = "Diacamma Asso"
|
|
|
|
choices.syndic = "Diacamma Syndic"
|
2023-12-15 16:06:25 +01:00
|
|
|
default = "asso"
|
2023-12-11 17:56:26 +01:00
|
|
|
|
|
|
|
[install.language]
|
|
|
|
ask.en = "Choose the application language"
|
|
|
|
ask.fr = "Choisissez la langue de l'application"
|
2023-12-16 17:26:11 +01:00
|
|
|
help.en = "This language will be used in the software installation"
|
|
|
|
help.fr = "Cette langue sera utiliser dans l'installation du logiciel"
|
2023-12-11 17:56:26 +01:00
|
|
|
type = "select"
|
2023-12-12 11:58:14 +01:00
|
|
|
choices = ["fr","en"]
|
2023-12-15 16:06:25 +01:00
|
|
|
default = "fr"
|
2023-12-11 17:56:26 +01:00
|
|
|
|
2023-12-12 16:18:11 +01:00
|
|
|
[install.archive]
|
|
|
|
ask.en = "Archive to upload"
|
|
|
|
ask.fr = "Archive à télécharger"
|
2023-12-16 17:26:11 +01:00
|
|
|
help.en = "Data from this archive will be loaded at installation"
|
|
|
|
help.fr = "Les données de cette archive seront chargées à l'installation"
|
2023-12-15 16:31:47 +01:00
|
|
|
type = "url"
|
2023-12-12 16:18:11 +01:00
|
|
|
optional = true
|
2023-12-15 14:33:56 +01:00
|
|
|
default = ""
|
2023-12-15 16:31:47 +01:00
|
|
|
|
|
|
|
[install.develop]
|
|
|
|
ask.en = "Use the development version"
|
|
|
|
ask.fr = "Utiliser la version de développement"
|
2023-12-16 17:26:11 +01:00
|
|
|
help.en = "Facility will use 'https://pypi.diacamma.org' as repository"
|
|
|
|
help.fr = "L'installation utilisera 'https://pypi.diacamma.org' comme dépot"
|
2023-12-15 16:31:47 +01:00
|
|
|
type = "boolean"
|
|
|
|
default = false
|
2023-12-12 16:18:11 +01:00
|
|
|
|
2023-12-11 17:56:26 +01:00
|
|
|
[resources]
|
|
|
|
# See the packaging documentation for the full set
|
|
|
|
# of explanation regarding the behavior and properties for each of those
|
|
|
|
# https://yunohost.org/packaging_apps_resources
|
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
# This will provision/deprovision a unix system user
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
# This will create/remove the install dir as /var/www/$app
|
|
|
|
# and store the corresponding setting $install_dir
|
|
|
|
|
|
|
|
[resources.data_dir]
|
|
|
|
# This will create/remove the data dir as /home/yunohost.app/$app
|
|
|
|
# and store the corresponding setting $data_dir
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
2023-12-14 17:15:30 +01:00
|
|
|
admin.url = "/"
|
|
|
|
admin.show_tile = false
|
|
|
|
admin.allowed = "admins"
|
2023-12-11 17:56:26 +01:00
|
|
|
|
|
|
|
[resources.apt]
|
2023-12-13 16:15:51 +01:00
|
|
|
packages = "libxml2-dev,libxslt-dev,libjpeg-dev,libfreetype6,libfreetype6-dev,zlib1g-dev,libpq-dev,python3-pip,python3-dev,python3-tk,python3-pil,python3-venv,build-essential,pkg-config,postgresql,jq"
|
2023-12-11 17:56:26 +01:00
|
|
|
|
|
|
|
[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 database and store the corresponding credentials in settings $db_user, $db_name, $db_pwd
|
|
|
|
type = "postgresql"
|
|
|
|
|