Sunil Mohan Adapa 6fc9e228a0
app: info: Move client validation to info component
- Each app does not have to call the validator by itself.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-01-04 13:47:39 +02:00

71 lines
1.9 KiB
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
from django.utils.translation import ugettext_lazy as _
from plinth.clients import store_url
_android_package_id = 'im.vector.app'
_element_desktop_download_url = 'https://element.io/get-started'
clients = [{
'name':
_('Element'),
'platforms': [{
'type': 'store',
'os': 'android',
'store_name': 'google-play',
'url': store_url('google-play', _android_package_id)
}, {
'type': 'store',
'os': 'android',
'store_name': 'f-droid',
'url': store_url('f-droid', _android_package_id)
}, {
'type': 'store',
'os': 'ios',
'store_name': 'app-store',
'url': 'https://apps.apple.com/app/vector/id1083446067'
}, {
'type': 'web',
'url': 'https://app.element.io/'
}, {
'type': 'download',
'os': 'gnu-linux',
'url': _element_desktop_download_url,
}, {
'type': 'download',
'os': 'macos',
'url': _element_desktop_download_url,
}, {
'type': 'download',
'os': 'windows',
'url': _element_desktop_download_url,
}]
}]
backup = {
'config': {
'directories': ['/etc/matrix-synapse/conf.d/'],
'files': [
'/etc/matrix-synapse/homeserver.yaml',
'/etc/matrix-synapse/log.yaml'
]
},
'data': {
'directories': [
'/var/lib/matrix-synapse/media/',
'/var/lib/matrix-synapse/uploads/'
],
'files': ['/var/lib/matrix-synapse/homeserver.db']
},
'secrets': {
'files': [
'/etc/matrix-synapse/homeserver.signing.key',
'/etc/matrix-synapse/homeserver.tls.crt',
'/etc/matrix-synapse/homeserver.tls.dh',
'/etc/matrix-synapse/homeserver.tls.key'
]
},
'services': ['matrix-synapse']
}