nextcloud/lib
Josh Richards 2b484135be fix(config): Add missing handling for envCache in getKeys()
NC_ env variable overrides were not appearing in
the output of `occ config:list system` nor `occ
config:system:get xxx`. This was creating nearly
impossible to diagnose configuration/ behavior
disprepancies.

- Refactored readData() so that we aren't saving
  the entire environment in the envCache anymore
  (only those prefixed "NC_") and so that we save
  NC_ provided config values under their real
  key.
- Refactored getValue() to accommodate readData()
  refactor
- Fixed getKeys() to properly return
  envCache keys too

Environment provided config variables now appear
in `occ config:list system` as expected.

Environment provided config variables now appear
when queried via `occ config:system:get KEY`

envCache is now free of non-NC stuff.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 14:56:12 +00:00
..
composer fix: Migrate existing bg jobs to use sha256 2024-09-05 18:09:27 +02:00
l10n Fix(l10n): Update translations from Transifex 2024-09-16 00:20:32 +00:00
private fix(config): Add missing handling for envCache in getKeys() 2024-09-16 14:56:12 +00:00
public Update lib/public/Files/Storage/IStorage.php 2024-09-03 14:32:49 +02:00
autoloader.php Remove deprecated methods Util::writeLog and DIContainer::log 2023-09-25 10:37:12 +02:00
base.php fix: Fix default values for ini var in lib/base.php 2024-04-30 10:12:34 +00:00
versioncheck.php Allow PHP 8.3 in version check 2023-09-30 22:52:57 +02:00