nextcloud: Add option to configure the default phone region

This setting is necessarry to pass the setup warning under
/nextcloud/settings/admin/overview

Note: during testing the field only becomes visible once
the freedombox-develop command is restarted

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#default-phone-region

Signed-off-by: Benedek Nagy <contact@nbenedek.me>
[sunil: Add missing docstring]
[sunil: Update form label for consistency]
[sunil: Reduce number of success form messages]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Benedek Nagy authored and Sunil Mohan Adapa committed 2024-03-29 15:44:27 -07:00
1 parent 8ef680f450
commit b21af70510
4 files changed
+47 -2

No files matched your search

+2 -1
View File
@@ -64,7 +64,8 @@ class NextcloudApp(app_module.App):
self.add(shortcut)
packages = Packages('packages-nextcloud',
['podman', 'default-mysql-server'],
['podman', 'default-mysql-server',
'python3-iso3166'],
conflicts=['libpam-tmpdir'],
conflicts_action=Packages.ConflictsAction.REMOVE)
self.add(packages)