authelia/internal/configuration/validator
James Elliott a7e867a699
feat(configuration): replace viper with koanf (#2053)
This commit replaces github.com/spf13/viper with github.com/knadh/koanf. Koanf is very similar library to viper, with less dependencies and several quality of life differences. This also allows most config options to be defined by ENV. Lastly it also enables the use of split configuration files which can be configured by setting the --config flag multiple times.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-08-03 19:55:21 +10:00
..
access_control.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
access_control_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
authentication.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
authentication_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
configuration.go feat(configuration): replace several configuration options (#2209) 2021-08-02 21:55:30 +10:00
configuration_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
const.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
identity_providers.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
identity_providers_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
keys.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
keys_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
logging.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
logging_test.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
notifier.go fix: removed deprecated smtp/ldap options (#1912) 2021-04-16 11:44:37 +10:00
notifier_test.go fix: removed deprecated smtp/ldap options (#1912) 2021-04-16 11:44:37 +10:00
regulation.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
regulation_test.go fix(utils): use lower case in error messages (#2144) 2021-07-04 08:08:24 +10:00
server.go feat(configuration): replace several configuration options (#2209) 2021-08-02 21:55:30 +10:00
server_test.go feat(configuration): replace several configuration options (#2209) 2021-08-02 21:55:30 +10:00
session.go fix(session): ensure default cookie samesite value is lax (#1926) 2021-04-18 10:02:04 +10:00
session_test.go fix(utils): use lower case in error messages (#2144) 2021-07-04 08:08:24 +10:00
storage.go fix: redis sentinel secret missing (#1839) 2021-03-22 20:04:09 +11:00
storage_test.go fix: redis sentinel secret missing (#1839) 2021-03-22 20:04:09 +11:00
theme.go feat(web): implement automatic theme switch for light/dark (#2046) 2021-06-17 16:42:03 +10:00
theme_test.go feat(web): implement automatic theme switch for light/dark (#2046) 2021-06-17 16:42:03 +10:00
totp.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
totp_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00