grafana/pkg/services/sqlstore
Karl Persson 21792fdf37
RBAC: Make uid for managed role names deterministic during migrations (#56620)
* RBAC: Change the generate uid function to be deterministic so we can avoid collision

* RBAC: Use fmt.Errorf

* RBAC: Add comment

* RBAC: Export GenerateManagedRoleUID
2022-10-17 12:15:20 +02:00
..
db chore: replace sqlstore.Store with db.DB (#57010) 2022-10-14 15:33:06 -04:00
migrations RBAC: Make uid for managed role names deterministic during migrations (#56620) 2022-10-17 12:15:20 +02:00
migrator Alerting: Write and Delete multiple alert instances. (#55350) 2022-10-06 14:22:58 +08:00
mockstore Remove org methods from sqlstore interface (#56358) 2022-10-05 15:47:56 +02:00
permissions Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
searchstore Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
session Chore: replace xorm by sqlx in dashboardversion service (#53869) 2022-08-25 16:04:16 -05:00
sqlutil Chore: remove xorm from preference (#53803) 2022-08-17 22:07:20 -04:00
database_wrapper.go Logging: Introduce API for contextual logging (#55198) 2022-09-20 18:32:06 +02:00
health_test.go Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
health.go Chore: Remove x from health, alert notification, dashboard, stats, user (#45265) 2022-02-17 16:59:09 +01:00
logger.go
org_test.go Use org service instead of sqlstore (#56407) 2022-10-13 08:40:46 -04:00
org_users_test.go Chore: Remove methods from sqlstore interface (#55802) 2022-09-27 15:33:38 +02:00
org_users.go Auth: Adds validation and ingestion of conflict file (#53014) 2022-09-29 14:26:24 +02:00
org.go Use org service instead of sqlstore (#56407) 2022-10-13 08:40:46 -04:00
quota_test.go Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
quota.go Storage: limit the number of uploaded files (#50796) 2022-07-18 15:24:39 +04:00
session.go SQLStore: Ensure that sessions are always closed (#55864) 2022-09-29 15:55:47 +03:00
sqlbuilder_test.go Chore: Move team store implementation to a separate package (#55514) 2022-09-22 19:16:21 +02:00
sqlbuilder.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
sqlstore_metrics_test.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_metrics.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_test.go Chore: Enable ANSI_QUOTES for Mysql Database (#53277) 2022-08-08 12:14:17 -04:00
sqlstore.go update the feature toggle usage in backend (#56787) 2022-10-12 13:43:35 +02:00
sqlstore.goconvey
stats_integration_test.go Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
stats_test.go Use org service instead of sqlstore (#56407) 2022-10-13 08:40:46 -04:00
stats.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
store.go chore: replace sqlstore.Store with db.DB (#57010) 2022-10-14 15:33:06 -04:00
tables.go
time.go Chore: Use TimeNow instead of time.Now in user sql store to make it testable (#54983) 2022-09-09 18:43:14 +02:00
tls_mysql.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
transactions_test.go Chore: Remove apikey store methods from sqlstore (#53197) 2022-08-03 08:13:05 -04:00
transactions.go SQLStore: Ensure that sessions are always closed (#55864) 2022-09-29 15:55:47 +03:00
user_test.go Chore: Move methods from sqlstore to user store (#56305) 2022-10-05 09:34:36 +02:00
user.go Chore: Move methods from sqlstore to user store (#56305) 2022-10-05 09:34:36 +02:00