grafana/pkg/services/sqlstore
Katarina Yang 7f8daa0eae
Refactor: Change sqlstore.inTransaction to .WithTransactionalDBSession (#43245)
* Refactor: Change sqlstore.inTransaction(...) to SQLStore.WithTransactionalDBSession(...) in alert_notification.go

* Chore: Fix BE lint err

* fix: fix failing sqlstore nil error

* chore: remove unecessary setup()

* fix: use appropriate ctx
2022-01-06 18:21:39 +01:00
..
migrations DashboardPreviews: add dashboard previews behind feature flag (#43226) 2021-12-23 09:43:53 -08:00
migrator Alerting: Make Unified Alerting enabled by default for those who do not use legacy alerting (#42200) 2021-11-24 14:56:07 -05:00
permissions Remove unnecesary joins from queries (#43626) 2022-01-04 13:04:02 +01:00
searchstore Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00
sqlutil Chore: Add CloudWatch HTTP API tests (#29691) 2021-01-07 11:36:13 +01:00
alert_notification_test.go Refactor: Change sqlstore.inTransaction to .WithTransactionalDBSession (#43245) 2022-01-06 18:21:39 +01:00
alert_notification.go Refactor: Change sqlstore.inTransaction to .WithTransactionalDBSession (#43245) 2022-01-06 18:21:39 +01:00
alert_test.go Chore: Fix pass context for SetAlertStateCommand (#42135) 2021-11-23 16:40:09 +01:00
alert.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
annotation_cleanup_test.go Instrumentation: Start tracing database requests (#34572) 2021-05-27 13:55:33 +02:00
annotation_cleanup.go Annotations: Prevent orphaned annotation tags cleanup when no annotations were cleaned (#33957) 2021-05-12 10:44:00 +02:00
annotation_test.go fix for CWE-89 (#43407) 2021-12-21 19:04:56 +01:00
annotation.go fix for CWE-89 (#43407) 2021-12-21 19:04:56 +01:00
apikey_test.go Chore: Add context apikey (#41698) 2021-11-18 09:50:03 +01:00
apikey.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
dashboard_acl_test.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
dashboard_acl.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
dashboard_folder_test.go Alerting: fix sqlstore.GetFolderByTitle to search for folder (#42898) 2021-12-13 13:59:20 -05:00
dashboard_provisioning_test.go Chore: Remove GoConvey from sqlstore package (#40753) 2021-10-21 14:09:19 +02:00
dashboard_provisioning.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
dashboard_snapshot_test.go Encryption: Use secrets service (#40251) 2021-11-04 18:47:21 +02:00
dashboard_snapshot.go Chore: Refactor securedata to remove global encryption calls from dashboard snapshots (#38714) 2021-09-01 13:05:15 +02:00
dashboard_test.go Chore: Propagate context for search (#41010) 2021-10-28 11:29:07 +02:00
dashboard_version_test.go Chore: Add context dashboard version (#41672) 2021-11-17 10:57:37 +01:00
dashboard_version.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
dashboard.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
database_wrapper.go Packaging: Dependency updates (#40534) 2021-10-18 19:50:10 +02:00
datasource_test.go Rename AddEventListenerCtx to AddEventListener and PublishCtx to Publish (#43566) 2022-01-04 09:36:01 +01:00
datasource.go Chore: Add context to datasource service (#42294) 2021-11-26 18:10:36 +01:00
health_test.go Context: Add context to /api/health calls (#40031) 2021-10-11 14:35:03 +02:00
health.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
logger.go Chore: Update the xorm dependency (#22376) 2020-04-01 15:57:21 +02:00
login_attempt_test.go Chore: add context to login (#41316) 2021-11-08 15:53:51 +01:00
login_attempt.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
org_test.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
org_users.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
org.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
playlist_test.go Chore: Add context to playlist (#41337) 2021-11-19 14:32:14 +01:00
playlist.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
plugin_setting.go Chore: Propagate context for plugin settings (#41166) 2021-11-02 13:42:55 +01:00
preferences_test.go Admin: Fix so Timezone is saved when saving preferences (#41583) 2021-11-11 11:13:01 +01:00
preferences.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
quota_test.go Chore: Add context to org (#40685) 2021-11-03 11:31:56 +01:00
quota.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
session.go Instrumentation: Start tracing database requests (#34572) 2021-05-27 13:55:33 +02:00
sqlbuilder_test.go Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
sqlbuilder.go Remove unnecesary joins from queries (#43626) 2022-01-04 13:04:02 +01:00
sqlstore_test.go Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00
sqlstore.go Chore: Add context to playlist (#41337) 2021-11-19 14:32:14 +01:00
sqlstore.goconvey feat(invite): small progress 2015-07-17 14:42:49 +02:00
star.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
stars_test.go Chore: Add context to star and stats (#39591) 2021-09-28 17:54:45 +02:00
stats_integration_test.go Chore: Add context to star and stats (#39591) 2021-09-28 17:54:45 +02:00
stats_test.go Usage stats: Count API keys (#42883) 2021-12-22 17:37:45 +01:00
stats.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
tables.go Began work on real sql schema definitions, and migration engine 2015-01-17 21:40:22 +01:00
tags_test.go Chore: Remove GoConvey from sqlstore package (#40753) 2021-10-21 14:09:19 +02:00
tags.go Chore: Enable Go linter gocritic (#26224) 2020-07-16 14:39:01 +02:00
team_test.go Chore: Add context to team (#40504) 2021-10-18 14:02:39 +02:00
team.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
temp_user_test.go Chore: Add context to temp user (#41284) 2021-11-04 11:17:07 +01:00
temp_user.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
tls_mysql.go Chore: Fix staticcheck issues (#28854) 2020-11-05 11:57:20 +01:00
transactions_test.go Chore: Add context apikey (#41698) 2021-11-18 09:50:03 +01:00
transactions.go Rename AddEventListenerCtx to AddEventListener and PublishCtx to Publish (#43566) 2022-01-04 09:36:01 +01:00
user_test.go Chore: Add context to org (#40685) 2021-11-03 11:31:56 +01:00
user.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00