grafana/pkg/services/sqlstore
Karl Persson 189bf102cf
LoginAttempt: Move logic around login attempts into the service (#58962)
* LoginAttemps: Remove from sqlstore mock

* LoginAttemps: Move from models package to service package

* LoginAttemps: Implement functionallity from brute force login in service

* LoginAttemps: Call service

* LoginAttempts: Update name and remove internal functions

* LoginAttempts: Add tests

* LoginAttempt: Add service fake

* LoginAttempt: Register service as a background_services and remove job
from cleanup service

* LoginAttemps: Remove result from command struct

* LoginAttempt: No longer pass pointers
2022-11-22 11:37:18 +01:00
..
migrations Nested Folders: Make parent_uid column nullable (#59035) 2022-11-21 15:24:20 +01:00
migrator Storage: include SQL implementation (#58018) 2022-11-04 17:30:22 -04:00
mockstore LoginAttempt: Move logic around login attempts into the service (#58962) 2022-11-22 11:37:18 +01:00
permissions RBAC: Improve performance of dashboard filter query (#56813) 2022-10-25 11:14:27 +02:00
searchstore chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
session SQLX: Expose sqlxdb query functions (#57227) 2022-10-19 07:33:40 -07:00
sqlutil Chore: remove xorm from preference (#53803) 2022-08-17 22:07:20 -04:00
bulk_test.go Build: clean up and document integration test convention (#58170) 2022-11-04 10:14:21 -04:00
bulk.go SQLStore: Create utility for bulk inserts (#57632) 2022-11-01 13:24:32 -05: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
logger.go
org_test.go Chore: Remove methods from sqlstore (#57545) 2022-10-27 11:44:09 +02: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 SQLStore: Optionally retry queries if sqlite returns database is locked (#56096) 2022-10-17 21:23:44 +03:00
session_test.go SQLX: Expose sqlxdb query functions (#57227) 2022-10-19 07:33:40 -07:00
session.go SQLStore: Optionally retry queries if sqlite returns database is locked (#56096) 2022-10-17 21:23:44 +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 Database: Adds support for enable/disable SQLite Write-Ahead Logging (WAL) via configuration (#58268) 2022-11-16 19:29:33 +01: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: Refactor quota service (#58643) 2022-11-14 21:08:10 +02:00
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: Optionally retry queries if sqlite returns database is locked (#56096) 2022-10-17 21:23:44 +03:00
user.go Chore: Remove methods from sqlstore (#57545) 2022-10-27 11:44:09 +02:00