nbenedek f11074ab9d
roundcube: Completely uninstall app
* remove local config and sqlite file
* add them to the backup manifest

Tests:
1. Modify the user's email address inside roundcube
2. Reinstall the app and confirm the modification was reset
3. Functional tests passed

Signed-off-by: nbenedek <contact@nbenedek.me>
[sunil: Update docstrings, make uninstall fail-safe]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-04-12 14:48:47 +05:30

19 lines
406 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
from django.utils.translation import gettext_lazy as _
clients = [{
'name': _('Roundcube'),
'platforms': [{
'type': 'web',
'url': '/roundcube'
}]
}]
backup = {
'data': {
'files': ['/etc/roundcube/freedombox-config.php',
'/var/lib/dbconfig-common/sqlite3/roundcube/roundcube']
}
}