grafana/pkg/services/sqlstore
Oleg Gaidarenko 8e0f091f14
SQLStore: allow to look for is_disabled flag (#18032)
* Add support for `is_disabled` to `CreateUser()`

* Add support for `is_disabled` to `SearchUsers()`
  Had to add it as a `string` type not as `bool`, since if that's property
  is omitted, we would have add it to SQL request, which might be dangerous

* Restructure desctructive tests and add more
2019-07-15 09:14:32 +03:00
..
migrations Auth: Allow expiration of API keys (#17678) 2019-06-26 09:47:03 +03:00
migrator AuthProxy: Optimistic lock pattern for remote cache Set (#17485) 2019-06-13 15:36:09 +02:00
sqlutil move database-specific code into dialects (#11884) 2018-05-10 16:54:21 +02:00
alert_notification_test.go Added uid for alert notifications 2019-01-16 16:50:00 +02:00
alert_notification.go Chore: a bit of spring cleaning (#16710) 2019-04-23 11:24:47 +03:00
alert_test.go introduce state unknown for rules that have not been evaluated yet 2018-11-05 10:50:28 +01:00
alert.go Alerting: Add tags to alert rules (#10989) 2019-06-06 13:29:30 +02:00
annotation_test.go Alerting: Add tags to alert rules (#10989) 2019-06-06 13:29:30 +02:00
annotation.go Alerting: Add tags to alert rules (#10989) 2019-06-06 13:29:30 +02:00
apikey_test.go Auth: Duplicate API Key Name Handle With Useful HTTP Code (#17905) 2019-07-11 11:20:34 +03:00
apikey.go Auth: Duplicate API Key Name Handle With Useful HTTP Code (#17905) 2019-07-11 11:20:34 +03:00
dashboard_acl_test.go pkg/services: fix ineffassign issues 2018-04-23 19:28:54 +02:00
dashboard_acl.go sqlstore: use column name in order by (#16583) 2019-04-24 16:05:35 +02:00
dashboard_folder_test.go new property for current user indicating if edit permissions in folders 2018-04-30 15:34:31 +02:00
dashboard_provisioning_test.go Provisioning: Show file path of provisioning file in save/delete dialogs (#16706) 2019-04-30 13:32:18 +02:00
dashboard_provisioning.go Provisioning: Show file path of provisioning file in save/delete dialogs (#16706) 2019-04-30 13:32:18 +02:00
dashboard_service_integration_test.go Provisioning: Show file path of provisioning file in save/delete dialogs (#16706) 2019-04-30 13:32:18 +02:00
dashboard_snapshot_test.go Sqlstore refactor (#11908) 2018-05-18 11:10:10 +02:00
dashboard_snapshot.go snapshots: Move external snapshot creation to backend 2018-12-10 16:36:32 -05:00
dashboard_test.go Search: Fixed search issue introduced in recent PR (#16652) 2019-04-17 19:07:13 +02:00
dashboard_version_test.go dashboard version cleanup: more tests and refactor 2018-03-22 15:18:05 +03:00
dashboard_version.go upgrade xorm packages to latest versions 2019-03-05 21:11:23 +01:00
dashboard.go Search: Fixes search limits and adds a page parameter (#16458) 2019-04-17 13:07:50 +02:00
datasource_test.go Shouldn't be able to overwrite a dashboard if you don't have permissions (#10900) 2018-02-19 11:12:56 +01:00
datasource.go Security: Store datasource passwords encrypted in secureJsonData (#16175) 2019-04-15 11:11:17 +02:00
health.go feat: added api health endpoint that does not require auth and never creates sessions, returns db status as well. #3302 2017-04-25 17:17:45 +02:00
logger.go move log package to /infra (#17023) 2019-05-13 08:45:54 +02:00
login_attempt_test.go WIP: Protect against brute force (frequent) login attempts (#10031) 2018-01-26 10:41:41 +01:00
login_attempt.go Fix gosimple issues (#17179) 2019-05-21 07:50:44 +02:00
org_test.go pkg/*: Fix misspell issues 2018-12-04 23:29:34 +01:00
org_users.go upgrade xorm packages to latest versions 2019-03-05 21:11:23 +01:00
org.go pkg/services/sqlstore: Fix sess.Id is deprecated: use ID instead. (megacheck) 2018-09-16 12:37:08 +02:00
playlist_test.go chore(playlist): remove commented code 2016-01-29 20:33:01 +01:00
playlist.go move database-specific code into dialects (#11884) 2018-05-10 16:54:21 +02:00
plugin_setting.go pkg/services/sqlstore: Fix sess.Id is deprecated: use ID instead. (megacheck) 2018-09-16 12:37:08 +02:00
preferences_test.go feat: team preferences 2018-11-12 20:01:53 +01:00
preferences.go feat: team preferences 2018-11-12 20:01:53 +01:00
quota_test.go Put issue number to test code 2018-12-05 22:47:41 +09:00
quota.go Fix bug what updating user quota doesn't work 2018-12-05 22:29:07 +09:00
search_builder_test.go Search: Fixes search limits and adds a page parameter (#16458) 2019-04-17 13:07:50 +02:00
search_builder.go Search: Fixed search issue introduced in recent PR (#16652) 2019-04-17 19:07:13 +02:00
session.go Chore: Deduplicate sqlstore transaction code (#17069) 2019-05-16 12:39:59 +02:00
sql_test_data.go refactor: sqlstore inTransaction consolidated to one version, fixes #8376 2017-05-23 10:56:23 +02:00
sqlbuilder_test.go Perf: Fix slow dashboards ACL query (#17427) 2019-06-05 10:55:50 +02:00
sqlbuilder.go Perf: Fix slow dashboards ACL query (#17427) 2019-06-05 10:55:50 +02:00
sqlstore_test.go Correct formatting of sqlstore_test.go 2019-01-27 16:28:02 +00:00
sqlstore.go codestyle: moves cache to infra (#17519) 2019-06-13 10:55:38 +02:00
sqlstore.goconvey feat(invite): small progress 2015-07-17 14:42:49 +02:00
star.go refactor: sqlstore inTransaction consolidated to one version, fixes #8376 2017-05-23 10:56:23 +02:00
stars_test.go admin: add more stats about roles (#16667) 2019-04-24 13:18:16 +02:00
stats_test.go admin: add more stats about roles (#16667) 2019-04-24 13:18:16 +02:00
stats.go metrics: expose stats about roles as metrics (#17469) 2019-06-06 16:39:35 +02:00
tables.go Began work on real sql schema definitions, and migration engine 2015-01-17 21:40:22 +01:00
tags_test.go Alerting: Add tags to alert rules (#10989) 2019-06-06 13:29:30 +02:00
tags.go Alerting: Add tags to alert rules (#10989) 2019-06-06 13:29:30 +02:00
team_test.go Teams: show proper label for each auth provider (#17860) 2019-07-03 16:52:10 +03:00
team.go Teams: show proper label for each auth provider (#17860) 2019-07-03 16:52:10 +03:00
temp_user_test.go signup: fix email sent logic for tempuser 2017-06-30 20:21:08 +02:00
temp_user.go pkg/services/sqlstore: Fix x.Sql is deprecated: use SQL instead. (megacheck) 2018-09-16 12:26:05 +02:00
tls_mysql.go add support for periodically reloading mysql client certs (#14892) 2019-05-16 13:45:22 +02:00
transactions_test.go Chore: a bit of spring cleaning (#16710) 2019-04-23 11:24:47 +03:00
transactions.go database: retry transaction if sqlite returns database is locked error (#17276) 2019-05-27 09:24:15 +02:00
user_auth_test.go Build: use golangci-lint as a make command (#17739) 2019-07-02 16:06:59 +03:00
user_auth.go OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy (#17541) 2019-06-12 13:47:38 +02:00
user_test.go SQLStore: allow to look for is_disabled flag (#18032) 2019-07-15 09:14:32 +03:00
user.go SQLStore: allow to look for is_disabled flag (#18032) 2019-07-15 09:14:32 +03:00