grafana/pkg/setting
Jguer 0689c5839a
Auth: Add option for case insensitive login (#49262)
* add case insensitive option

* treat id as case insensitive

* Users: Add integration tests for case insensitive querying

* Prefer config struct to global variable

* change key to case_insensitive_login

* impede conflicting users from logging in

* add tests for impeding user retrieval if conflicting

* nits and picks

Co-authored-by: gamab <gabi.mabs@gmail.com>

* Add check in transaction for conflicting user

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* add update tests

* skip on mysql

* add custom messages for user admin view

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* nit: extra else

* linting mistake

Co-authored-by: gamab <gabi.mabs@gmail.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2022-06-24 16:59:45 +02:00
..
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
date_formats_test.go setting: Fix tests on Mac (#28886) 2020-11-09 14:39:56 +01:00
date_formats.go Dashboard: Add week start option to global and dashboard preferences (#40010) 2021-10-18 10:27:14 -03:00
dynamic_settings_test.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
expanders_test.go Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
expanders.go SAML: Implement Name Templates for assertion_attribute_name option (#48022) 2022-04-27 16:29:15 -04:00
provider.go FeatureToggls: remove IsFeatureToggleEnabled from SettingsProvider (#44574) 2022-02-01 10:24:59 -08:00
setting_azure_test.go Migrate to Grafana Azure SDK (#47232) 2022-04-04 11:23:13 +02:00
setting_azure.go Migrate to Grafana Azure SDK (#47232) 2022-04-04 11:23:13 +02:00
setting_dashboard_previews.go Previews: refactor (#47728) 2022-04-25 01:55:10 +04:00
setting_data_proxy.go Datasource: Remove deprecated max_idle_connections_per_host setting (#49948) 2022-05-31 18:19:12 +02:00
setting_feature_toggles_test.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
setting_feature_toggles.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
setting_plugins_test.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_plugins.go PluginsCatalog: Add backend support for hiding plugins in plugins catalog (#41563) 2021-11-15 10:53:35 +01:00
setting_quota.go Alerting: Make Unified Alerting enabled by default for those who do not use legacy alerting (#42200) 2021-11-24 14:56:07 -05:00
setting_sentry.go Logging: rate limit fronted logging endpoint (#29272) 2020-12-09 16:22:24 +01:00
setting_session_test.go Logging: Unify logging fakes (#48822) 2022-05-06 17:44:22 +02:00
setting_smtp.go Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
setting_test.go Alerting: Invalid setting of enabled for unified alerting should return error (#49876) 2022-06-10 08:59:58 +01:00
setting_unified_alerting_test.go Alerting: Rename setting AlertForDuration to DefaultRuleEvaluationInterval (#45569) 2022-02-18 10:05:06 -05:00
setting_unified_alerting.go Alerting: Invalid setting of enabled for unified alerting should return error (#49876) 2022-06-10 08:59:58 +01:00
setting.go Auth: Add option for case insensitive login (#49262) 2022-06-24 16:59:45 +02:00