quintodrome/conf
Deluan Quintão 2b041c02ad
feat: accept ND_-prefixed env var names in config files (#5258)
* feat: add toPascalCase helper for config key display

Adds a toPascalCase helper that converts dotted lowercase Viper config keys
(e.g. 'scanner.schedule') to PascalCase (e.g. 'Scanner.Schedule') for use
in user-facing warning messages. Includes export_test.go binding and a
full Ginkgo DescribeTable test suite covering simple, dotted, multi-segment,
already-capitalized, and empty-string cases.

* feat: remap ND_-prefixed env var names found in config files

Detect when users mistakenly use environment variable names (like
ND_ADDRESS) in config files, remap them to canonical keys, and warn.
Fatal error if both ND_ and canonical versions of the same key exist.

Closes #5242
2026-03-28 13:17:31 -04:00
..
buildtags feat(server): implement FTS5-based full-text search (#5079) 2026-02-21 17:52:42 -05:00
configtest Fix background images when BaseURL is specified 2022-11-29 14:48:05 -05:00
mime fix(ui): service worker does not load new version of ui (#3402) 2024-10-16 21:39:14 -04:00
testdata feat: accept ND_-prefixed env var names in config files (#5258) 2026-03-28 13:17:31 -04:00
configuration.go feat: accept ND_-prefixed env var names in config files (#5258) 2026-03-28 13:17:31 -04:00
configuration_test.go feat: accept ND_-prefixed env var names in config files (#5258) 2026-03-28 13:17:31 -04:00
export_test.go feat: accept ND_-prefixed env var names in config files (#5258) 2026-03-28 13:17:31 -04:00