mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
* make ENABLE_LIST a constant and declare PUBLIC_ACCESS_FILE with pathlib.Path() * add PUBLIC_ACCESS_FILE to the backup manifest * Remove PUBLIC_ACCESS_FILE and ENABLE_LIST Tests: 1. Install the app and enable public access 2. Reinstall the app and confirm the public access is reset to default 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>
22 lines
366 B
Python
22 lines
366 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
"""
|
|
Application manifest for RSS-Bridge.
|
|
"""
|
|
|
|
clients = [{
|
|
'name': _('RSS-Bridge'),
|
|
'platforms': [{
|
|
'type': 'web',
|
|
'url': '/rss-bridge/'
|
|
}]
|
|
}]
|
|
|
|
backup = {
|
|
'data': {
|
|
'files': ['/etc/rss-bridge/is_public']
|
|
}
|
|
}
|