mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
- Before we can enable this added protection, we need to address a couple of issues: - Redis password is restored after a restore. This means that if nextcloud's backup is restored on a machine where redis server already has a password set, then the password won't match with the password configured for other apps that are using redis. - When email server is already installed before this patch and then nextcloud is installed. rspamd will fail to connect to redis server. This even with the changes intended on the email server as the setup version in those changes has not been incremented. - Restart redis-server only when needed. This avoids major disruption caused due un-persisted cache and locks removed. - Don't use Redis for caching of server-local data as this APCu seems to be preferred by upstream containers. - Don't set filelocking.enabled=true as this is already the default. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
57 lines
1.5 KiB
Python
57 lines
1.5 KiB
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""Application manifest for Nextcloud."""
|
|
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
from plinth.clients import store_url
|
|
|
|
_nextcloud_android_package_id = 'com.nextcloud.client'
|
|
|
|
clients = [{
|
|
'name': _('Nextcloud'),
|
|
'platforms': [{
|
|
'type': 'web',
|
|
'url': '/nextcloud/'
|
|
}]
|
|
}, {
|
|
'name':
|
|
_('Nextcloud'),
|
|
'platforms': [{
|
|
'type': 'download',
|
|
'os': 'gnu-linux',
|
|
'url': 'https://nextcloud.com/install/#install-clients'
|
|
}, {
|
|
'type': 'download',
|
|
'os': 'macos',
|
|
'url': 'https://nextcloud.com/install/#install-clients'
|
|
}, {
|
|
'type': 'download',
|
|
'os': 'windows',
|
|
'url': 'https://nextcloud.com/install/#install-clients'
|
|
}, {
|
|
'type': 'store',
|
|
'os': 'ios',
|
|
'store_name': 'app-store',
|
|
'url': 'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8'
|
|
}, {
|
|
'type': 'store',
|
|
'os': 'android',
|
|
'store_name': 'google-play',
|
|
'url': store_url('google-play', _nextcloud_android_package_id)
|
|
}, {
|
|
'type': 'store',
|
|
'os': 'android',
|
|
'store_name': 'f-droid',
|
|
'url': store_url('f-droid', _nextcloud_android_package_id)
|
|
}]
|
|
}]
|
|
|
|
backup = {
|
|
'data': {
|
|
'directories': [
|
|
'/var/lib/containers/storage/volumes/nextcloud-volume-freedombox/'
|
|
],
|
|
'files': ['/var/lib/plinth/backups-data/nextcloud-database.sql']
|
|
}
|
|
}
|