grafana/pkg/models
Joan López de la Franca Beltran 6cfb640a0b
Chore: Refactor securedata to remove global encryption calls from dashboard snapshots (#38714)
* Add encryption service

* Add tests for encryption service

* Inject encryption service into http server

* Replace encryption global function usage in login tests

* Migrate to Wire

* Move Encryption bindings to OSS Wire set

* Chore: Refactor securedata to remove global encryption calls from dashboard snapshots

* Fix dashboard snapshot tests

* Remove no longer user test

* Add dashboard snapshots service tests

* Refactor service initialization

* Set up dashboard snapshots service as a background service

Co-authored-by: Tania B <yalyna.ts@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2021-09-01 13:05:15 +02:00
..
address.go feat(organization): added update org address to http api and to org details settings view, closes #2672 2015-09-08 14:22:44 +02:00
alert_notifications.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
alert_test.go Chore: Rewrite models alert test to standard library (#30021) 2021-01-01 13:18:47 +01:00
alert.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
apikey.go Return 404 when deleting non-existing API key (#33346) 2021-04-28 13:30:09 +02:00
context_test.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
context.go Macaron: Strip down renderer middleware (#37627) 2021-08-10 13:29:46 +02:00
dashboard_acl_test.go Chore: Rewrite models dashboard acl test to standard library (#30022) 2021-01-01 13:22:48 +01:00
dashboard_acl.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01: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_version.go Chore: Fix staticcheck issues (#28860) 2020-11-05 13:07:06 +01:00
dashboards_test.go Chore: Rewrite models dashboards test to standard library (#30023) 2021-01-01 13:29:40 +01:00
dashboards.go Folder API: optionally force deleting Grafana 8 alerts when deleting a folder (or error) (#36427) 2021-07-22 12:27:13 +03:00
datasource_cache_test.go fix with global config state (#37293) 2021-08-17 12:16:34 +02:00
datasource_cache.go fix with global config state (#37293) 2021-08-17 12:16:34 +02:00
datasource.go Chore: Collect elasticsearch version usage stats (#31787) 2021-03-17 09:14:53 +00:00
folders.go Folder API: optionally force deleting Grafana 8 alerts when deleting a folder (or error) (#36427) 2021-07-22 12:27:13 +03: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
helpflags.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
jwt.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
libraryelements.go LibraryElements: Creates usage stats for panels and variables (#34476) 2021-05-24 06:11:01 +02:00
licensing.go CDN: Adds support for serving assets over a CDN (#30691) 2021-02-01 10:13:09 +01:00
live.go Live: using organisation IDs throughout stack (#33714) 2021-05-11 22:03:04 +03:00
login_attempt.go login: uses epochs for login throtting. 2018-02-16 17:25:46 +01:00
models.go Okta OAuth provider (team sync support) (#22972) 2020-04-02 17:35:48 +03:00
notifications.go Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
org_user.go 32540: Add org users with pagination (#33788) 2021-05-12 14:10:35 +02:00
org.go Chore: Fix staticcheck issues (#28860) 2020-11-05 13:07:06 +01:00
playlist.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
plugin_setting_cache_test.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
plugin_setting_cache.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
plugin_settings.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
preferences.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
quotas.go [Alerting]: Extend quota service to optionally set limits on alerts (#33283) 2021-05-04 19:16:28 +03:00
shorturl.go Short URL: Cleanup unvisited/stale short URLs (#28867) 2020-11-09 18:08:16 +01:00
star.go Chore: Fix staticcheck issues (#28860) 2020-11-05 13:07:06 +01:00
stats.go UsageStats: Extend usage stats for count permissions in folders and dashborads (#36065) 2021-07-16 10:14:33 +02:00
tags_test.go Chore: Rewrite models tags test to standard library (#30041) 2021-01-05 17:20:41 +01:00
tags.go Create annotations (#8197) 2017-10-07 10:31:39 +02:00
team_member.go UserTableView: Show user name in table view (#18108) 2019-11-21 12:44:46 +02:00
team.go Add an option to hide certain users in the UI (#28942) 2020-11-24 12:10:32 +01:00
temp_user.go Users: Expire old user invites (#27361) 2020-10-13 12:30:09 +02:00
test_data.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
user_auth.go Auth: creates a hook in the user mapping flow (#37190) 2021-07-29 10:18:42 +02:00
user_token.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
user.go Add filter to search users by active (#38637) 2021-08-31 11:35:16 +02:00
validations.go Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00