-
Notifications
You must be signed in to change notification settings - Fork 12
/
manifest.toml
119 lines (97 loc) · 5.52 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
116
117
118
119
packaging_format = 2
id = "mautrix_whatsapp"
name = "Matrix-WhatsApp bridge"
description.en = "Matrix / Synapse puppeting bridge for WhatsApp"
description.fr = "Passerelle Matrix / Synapse pour WhatsApp"
version = "0.10.7~ynh1"
maintainers = ["thardev"]
[upstream]
license = "AGPL-3.0-or-later"
website = "https://maunium.net/go/mautrix-whatsapp/"
code = "https://github.com/mautrix/whatsapp"
admindoc = "https://docs.mau.fi/bridges/go/whatsapp/index.html"
fund = "https://github.com/sponsors/tulir"
[integration]
yunohost = ">= 11.2"
architectures = ["amd64", "arm64", "armhf"]
multi_instance = true
ldap = false
sso = false
disk = "100M"
ram.build = "256M"
ram.runtime = "1024M"
[install]
[install.synapse_instance]
ask.en = "Choose the local Synapse instance to communicate with mautrix_whatsapp."
ask.fr = "Choisissez l'instance Synapse qui doit communiquer avec mautrix_whatsapp."
type = "app"
#pattern.regexp = "synapse(__)*[0-9]*"
#pattern.error = "Invalid app selected. Please select a Synapse instance."
help.en = "Usually the Synapse instances contain a number after it is installed more than one time. E.g. synapse__1 will be the second instance."
help.fr = "En général, les instances de Synapse contiennent un numéro après avoir été installées plus d'une fois. Par exemple, synapse__1 sera la deuxième instance."
default = "synapse"
[install.botname]
ask.en = "Choose a local Synapse user name for the WhatsApp bot"
ask.fr = "Choisissez un nom d'utilisateur Synapse local pour le robot WhatsApp"
type = "string"
example = "whatsappbot"
help.en = "A system user will be created. Invite @whatsappbot:localsynapse.servername from an authorized Matrix account to start bridging.Give the Matrix server_name, not the full domain/URL."
help.fr = "Un utilisateur système sera créé. Inviter @whatsappbot:localsynapse.servername depuis un compte Matrix autorisé pour démarrer une passerelle.Donner le nom du serveur Matrix, pas le domaine/URL complet."
default = "whatsappbot"
[install.bot_synapse_adm]
ask.en = "Give the WhatsApp bot administrator rights to the Synapse instance?"
ask.fr = "Donner au robot WhatsApp des droits administrateur à l'instance Synapse ?"
type = "boolean"
help.en = "If true, the bot can group WhatsApp chats in a Matrix space.Not required if you set up Synapse so that non-admins are authorized to create communities."
help.fr = "Si true, le robot groupera les conversations WhatsApp dans une communauté Matrix.Pas nécessaire si vous avez réglé Synapse pour qu'il autorise les non-admin à créer des communautés."
default = true
[install.encryption]
ask.en = "Enable end-to-bridge encryption?"
ask.fr = "Activer le chiffrement entre Synapse et le bridge ?"
type = "boolean"
help.en = "Only activate if you know the prerequisites and constraints related to E2B."
help.fr = "N'activer que si vous connaissez les prérequis et constraintes liées à E2B."
default = true
[install.botadmin]
ask.en = "Choose the Matrix account administrator of the WhatsApp bot"
ask.fr = "Choisissez le compte Matrix administrateur du robot WhatsApp"
type = "string"
example = "@johndoe:localsynapse.servername or @johndoe:matrix.org"
help.en = "The administrator does not need to be a local Synapse account. Valid formats are @johndoe:localsynapse.servername or @johndoe:matrix.org"
help.fr = "L'administrateur peut ne pas être un compte local Synapse. Les formats valables sont @johndoe:localsynapse.servername or @johndoe:matrix.org"
[install.botusers]
ask.en = "Choose Matrix user(s) authorized to bridge with the WhatsApp bot."
ask.fr = "Choisissez le/les compte(s) Matrix autorisés à utiliser la passerelle WhatsApp."
type = "string"
example = "@johndoe:server.name or server.name or *"
help.en = "A remote or local user (@johndoe:server.name),the local server (server.name), a remote server (matrix.org), or all remote/local servers (*) can be authorized. Give the Matrix server_name, not the full domain/URL. It is also possible to specify multiple values by separating them with comma. Example: @johndoe:server.name,domain.tld,matrix.org"
help.fr = "Un compte local ou distant (@johndoe:server.name), le serveur local (server.name), un serveur distant (matrix.org), ou tous les serveurs remote/local (*). Donner le nom du serveur Matrix, pas le domaine/URL complet. Il est également possible de spécifier plusieurs valeurs en les séparant par une virgule. Exemple : @johndoe:server.name,domain.tld,matrix.org"
[resources]
[resources.permissions]
main.allowed = "all_users"
main.auth_header = false
[resources.system_user]
home = "/opt/yunohost/__APP__"
[resources.install_dir]
dir = "/opt/yunohost/__APP__"
[resources.ports]
main.default = 8449
[resources.sources]
[resources.sources.main]
in_subdir = false
extract = false
rename = "mautrix-whatsapp"
amd64.url = "https://github.com/mautrix/whatsapp/releases/download/v0.10.7/mautrix-whatsapp-amd64"
amd64.sha256 = "8a83cbe9be2528b22c0492a4c49f414f754e86ed76d5595b116d2ebd90eac718"
arm64.url = "https://github.com/mautrix/whatsapp/releases/download/v0.10.7/mautrix-whatsapp-arm64"
arm64.sha256 = "f702360c5e5b10d4cde72e3b57d9ea921f003968a92f39d09881889c026b5ae8"
armhf.url = "https://github.com/mautrix/whatsapp/releases/download/v0.10.7/mautrix-whatsapp-arm"
armhf.sha256 = "2df120dd9ec77e4c839e27904155acde5102daf1f27aaae0d8e36476ab1047eb"
autoupdate.strategy = "latest_github_release"
autoupdate.asset.amd64 = "^mautrix-whatsapp-amd64$"
autoupdate.asset.arm64 = "^mautrix-whatsapp-arm64$"
autoupdate.asset.armhf = "^mautrix-whatsapp-arm$"
[resources.apt]
packages = "g++, postgresql, ffmpeg"
[resources.database]
type = "postgresql"