mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
e40299a710
- `main` v2.2.1: https://github.com/ether/etherpad-lite/releases/tag/2.2.1
94 lines
2.2 KiB
TOML
94 lines
2.2 KiB
TOML
packaging_format = 2
|
|
|
|
id = "etherpad"
|
|
name = "Etherpad"
|
|
description.en = "Collaborative editing in real-time"
|
|
description.fr = "Édition collaborative en temps réel"
|
|
|
|
version = "2.2.1~ynh1"
|
|
|
|
maintainers = ["eric_G"]
|
|
|
|
[upstream]
|
|
license = "Apache-2.0"
|
|
website = "https://etherpad.org/"
|
|
demo = "https://video.etherpad.com/"
|
|
admindoc = "https://etherpad.org/doc/v2.0.2/"
|
|
code = "https://github.com/ether/etherpad-lite"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.2.20"
|
|
architectures = "all"
|
|
multi_instance = true
|
|
|
|
ldap = true
|
|
|
|
sso = true
|
|
|
|
disk = "200M"
|
|
ram.build = "2G"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
[install.domain]
|
|
type = "domain"
|
|
|
|
[install.path]
|
|
type = "path"
|
|
default = "/etherpad"
|
|
|
|
[install.init_main_permission]
|
|
type = "group"
|
|
default = "visitors"
|
|
|
|
[install.export]
|
|
ask.en = "Use AbiWord (~260 Mo) or LibreOffice (~400 Mo) (more stable) to expand export possibilities (PDF, doc)?"
|
|
ask.fr = "Utiliser AbiWord (~260 Mo) ou LibreOffice (~400 Mo) (plus stable) pour étendre les possibilités d'export (PDF, doc) ?"
|
|
type = "select"
|
|
choices = ["none", "abiword", "libreoffice"]
|
|
default = "none"
|
|
|
|
[install.language]
|
|
ask.en = "Choose the application language"
|
|
ask.fr = "Choisissez la langue de l'application"
|
|
type = "select"
|
|
choices = ["ca", "de", "en", "es", "fr", "gl", "hu", "it", "nl", "pt"]
|
|
default = "fr"
|
|
|
|
[install.admin]
|
|
type = "user"
|
|
|
|
[install.password]
|
|
type = "password"
|
|
|
|
[resources]
|
|
[resources.sources.main]
|
|
url = "https://github.com/ether/etherpad-lite/archive/refs/tags/2.2.1.tar.gz"
|
|
sha256 = "5448dd78a605db6c74d37c53dc6c82b9ce3028979e9f070d442809bb1870db08"
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
[resources.ports]
|
|
|
|
[resources.system_user]
|
|
|
|
[resources.install_dir]
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
admin.url = "/admin"
|
|
admin.allowed = ["admins"]
|
|
admin.auth_header = false
|
|
admin.show_tile = false
|
|
|
|
[resources.apt]
|
|
packages = "redis-server"
|
|
|
|
packages_from_raw_bash = """
|
|
if [[ "$export" == "libreoffice" ]]
|
|
then
|
|
echo "unoconv libreoffice-writer"
|
|
elif [[ "$export" == "abiword" ]]
|
|
then
|
|
echo "abiword"
|
|
fi
|
|
"""
|