-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathmanifest.toml
115 lines (91 loc) · 3.23 KB
/
manifest.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
packaging_format = 2
id = "etherpad_mypads"
name = "Etherpad MyPads"
description.en = "Online editor providing collaborative editing in real-time"
description.fr = "Éditeur en ligne fournissant l'édition collaborative en temps réel"
version = "1.9.1~ynh3"
maintainers = []
[upstream]
license = "Apache-2.0"
website = "http://etherpad.org"
demo = "https://video.etherpad.com"
admindoc = "http://etherpad.org/doc/v1.9.0"
code = "https://github.com/ether/etherpad-lite"
[integration]
yunohost = ">= 11.2"
architectures = ["arm64", "amd64"]
multi_instance = true
ldap = false
sso = false
disk = "50M"
ram.build = "1500M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/pad"
[install.init_main_permission]
help.en = "If your Etherpad instance is set to Visitors, everyone will be able to create a pad or see an existing one."
help.fr = "Si votre instance Etherpad est définie sur Visiteurs, tout le monde pourra créer un pad ou en voir un existant."
type = "group"
default = "visitors"
[install.language]
ask.en = "Choose your language"
ask.fr = "Choisissez la langue"
type = "select"
choices = ["ca", "de", "en", "es", "fr", "gl", "hu", "it", "nl", "pt"]
default = "fr"
[install.admin]
type = "user"
[install.password]
type = "password"
[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.mypads]
ask.en = "Do you want to install MyPads plugin?"
ask.fr = "Voulez-vous installer le plugin MyPads ?"
help.en = "<a href=https://git.framasoft.org/framasoft/ep_mypads target=_blank>MyPads plugin</a>"
type = "boolean"
default = true
[install.useldap]
ask.en = "Do you want to use LDAP with MyPads?"
ask.fr = "Voulez-vous utiliser LDAP avec MyPads ?"
help.en = "Using LDAP won't let you add new user aside from YunoHost users."
help.fr = "Utiliser LDAP ne vous permettra pas d'ajouter un nouvel utilisateur en dehors des utilisateurs de YunoHost."
type = "boolean"
default = true
[resources]
[resources.sources]
[resources.sources.main]
url = "https://github.com/ether/etherpad-lite/archive/1.9.1.tar.gz"
sha256 = "667741235a2bcd8d28a32f5e611b82fb2ea7d11525ff41b8b5478b05a987b047"
autoupdate.strategy = "latest_github_tag"
[resources.system_user]
[resources.install_dir]
[resources.ports]
[resources.permissions]
main.url = "/"
api.show_tile = false
admin.url = "/admin"
admin.auth_header = false
admin.allowed = ["admins"]
admin.show_tile = false
[resources.apt]
packages = "mariadb-server"
packages_from_raw_bash = """
if [[ "$export" == "libreoffice" ]]
then
echo "unoconv libreoffice-writer"
elif [[ "$export" == "abiword" ]]
then
echo "abiword"
fi
"""
[resources.database]
type = "mysql"