nextcloud / nextcloud/nextcloudpi

Web interface for setting "default_phone_region"

Open
#1,773 2 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

has-updates
Dominant language
Shell
Stars
2.9k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

Description
On every new installation of Nextcloud the Admin Settings - Overview complain about the missing "default phone region", even with NCP. There is no GUI for this setting. You have to edit nextcloud/config/config.php by CLI.

Nextcloudpi should provide an interface to set this value, like trusted domains.

Thanks, Marcus

Example
Your installation has no default phone region set. This is required to validate phone numbers in the profile settings without a country code. To allow numbers without a country code, please add "default_phone_region" with the respective ISO 3166-1 code ↗ of the region to your config file.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing trusted-domains interface and the code that updates nextcloud/config/config.php. Trace how Admin Settings exposes that control, then add an equivalent setting for default_phone_region. Done means administrators can choose the ISO 3166-1 region in the web interface without editing config.php through the CLI.

Written by the indexing model from the issue text.

Assessment

Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.