grafana/pkg/api
Kristin Laemmert 08c7a54c47
backend/sqlstore split: move dashboard snapshot funcs to dashboardsnapshotservice (#50727)
* backend/sqlstore split: move dashboard snapshot funcs to dashboardsnapshotservice

This commit moves the dashboard snapshot related sql functions in the dashboardsnapshots service. I split the dashboards package up so the interfaces live in dashboarsnapshots and the store and service implementations are in their own packages. This took some minor refactoring, but none of the actual underlying code has changed, just where it lives.
2022-06-14 13:41:29 -04:00
..
apierrors Plugins: Refactor plugin dashboards (#44315) 2022-01-28 10:28:33 +01:00
avatar Dashboard: Mix initials and custom gravatars in recent viewers list (#47212) 2022-04-05 22:56:17 -04:00
datasource Check for empty URLs when creating/updating a data source (#42837) 2022-01-31 12:39:55 -03:00
docs API: Make Swagger specification more consistent (#50576) 2022-06-14 12:35:22 +02:00
dtos I18n: Add locale to user preference (#49425) 2022-06-14 12:53:51 +01:00
frontendlogging Logger migration from log15 to gokit/log (#41636) 2022-01-06 22:28:05 +08:00
navlinks show admin nav link it the user only has permissions to view licensing and not other pages under admin node (#41948) 2021-11-19 11:02:13 +00:00
pluginproxy Datasource: Remove support for unencrypted passwords (#49987) 2022-06-03 17:38:22 +02:00
response Errors: Introduce error type with Grafana specific metadata (#47504) 2022-06-14 10:50:11 +02:00
routing Instrumentation: Fix HTTP request instrumentation of authentication failures (#44234) 2022-02-02 18:48:46 +01:00
static API: Extract OpenAPI specification from source code using go-swagger (#40528) 2022-02-08 13:38:43 +01:00
accesscontrol.go AccessControl: Grant data source reader to all users when running oss (#49514) 2022-05-25 13:43:58 +02:00
admin_encryption.go Encryption: Add support for multiple data keys per day (#47765) 2022-05-23 13:13:55 +02:00
admin_provisioning_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
admin_provisioning.go Chore: Remove Dispatch and AddHandler (#42603) 2021-12-02 18:08:59 +01:00
admin_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
admin_users_test.go Chore: Remove bus.Bus field (#47695) 2022-04-13 15:24:13 +02:00
admin_users.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
admin.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
alerting_test.go sqlstore split: dashboard permissions (#49962) 2022-06-01 14:16:26 -04:00
alerting.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
annotations_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
annotations.go backend/services: Move GetDashboard from sqlstore to dashboard service (#48971) 2022-05-17 14:52:22 -04:00
api.go Start of dashboard query API (#49547) 2022-06-13 15:23:56 -08:00
apikey.go Access control: Pass access control metadata for api keys (#48445) 2022-04-29 15:30:24 +02:00
app_routes.go Instrumentation: Proxy status code correction and various improvements (#47473) 2022-04-11 13:17:08 +02:00
basic_auth_test.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
basic_auth.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
comments.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
common_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
dashboard_permission_test.go RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00
dashboard_permission.go AccessControl: Create own interface and impl for each permission service (#48871) 2022-05-10 15:48:47 +02:00
dashboard_public_test.go Start of dashboard query API (#49547) 2022-06-13 15:23:56 -08:00
dashboard_public.go Public Dashboards: Pubdash panels get data from pubdash api (#50556) 2022-06-13 18:03:43 -06:00
dashboard_snapshot_test.go backend/sqlstore split: move dashboard snapshot funcs to dashboardsnapshotservice (#50727) 2022-06-14 13:41:29 -04:00
dashboard_snapshot.go backend/sqlstore split: move dashboard snapshot funcs to dashboardsnapshotservice (#50727) 2022-06-14 13:41:29 -04:00
dashboard_test.go Chore: Remove dashboard version from models (#50287) 2022-06-08 12:22:55 +02:00
dashboard.go Chore: Remove dashboard version from models (#50287) 2022-06-08 12:22:55 +02:00
dataproxy.go Alerting: modify alertmanager endpoints for proxying using the datasource UID (#47978) 2022-04-29 10:25:22 +03:00
datasources_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
datasources.go RBAC: Move datasource access check to middleware (#50430) 2022-06-09 13:56:24 +02:00
fakes.go Plugins: Plugin Store API returns DTO model (#41340) 2021-11-17 12:04:22 +01:00
folder_permission_test.go RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00
folder_permission.go Access control: refactor RBAC checks (#48107) 2022-04-25 10:42:09 +02:00
folder_test.go Chore: Remove bus.Bus field (#47695) 2022-04-13 15:24:13 +02:00
folder.go SearchV2: instant local updates, folder events (#50001) 2022-06-03 13:11:32 -07:00
frontend_logging_test.go Security: Sync security changes on main (#45083) 2022-02-09 13:44:38 +01:00
frontend_logging.go Logger migration from log15 to gokit/log (#41636) 2022-01-06 22:28:05 +08:00
frontend_metrics.go Chore: Report frontend metrics for JS/CSS load time (#42421) 2021-12-02 09:34:39 +01:00
frontendsettings_test.go Chore: Remove bus.Bus field (#47695) 2022-04-13 15:24:13 +02:00
frontendsettings.go AccessControl: Use RBACBuiltInRoleAssignmentEnabled in the frontend instead of FeatureToggle (#49261) 2022-05-20 06:53:28 +00:00
grafana_com_proxy.go Instrumentation: Proxy status code correction and various improvements (#47473) 2022-04-11 13:17:08 +02:00
health_test.go Chore: Remove bus from health api (#44897) 2022-02-04 14:33:35 +01:00
health.go Chore: Remove bus from health api (#44897) 2022-02-04 14:33:35 +01:00
http_server_test.go Plugins: Make backend plugin metrics endpoints available with optional authentication (#46467) 2022-03-29 11:18:26 +02:00
http_server.go backend/sqlstore split: move dashboard snapshot funcs to dashboardsnapshotservice (#50727) 2022-06-14 13:41:29 -04:00
index.go RBAC: fix access control check in both new navivation and new search view (#50596) 2022-06-10 15:26:00 +02:00
ldap_debug_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
ldap_debug.go LDAP: Fix debug view to display the actual computed mapping in ldap.go (#48103) 2022-04-22 15:45:54 +02:00
login_oauth_test.go OAuth: Redirect to login if no oauth module is found or if module is not configured (#50661) 2022-06-13 16:59:15 +02:00
login_oauth.go OAuth: Redirect to login if no oauth module is found or if module is not configured (#50661) 2022-06-13 16:59:15 +02:00
login_test.go Logging: Unify logging fakes (#48822) 2022-05-06 17:44:22 +02:00
login.go Chore: Remove Wrap (#50048) 2022-06-03 09:24:24 +02:00
metrics_test.go Start of dashboard query API (#49547) 2022-06-13 15:23:56 -08:00
metrics.go Plugins: Remove deprecated /api/tsdb/query metrics endpoint (#49916) 2022-06-01 13:05:15 +02:00
org_invite.go Chore: Remove global bus variable (#50765) 2022-06-14 16:07:41 +02:00
org_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
org_users_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
org_users.go AccessControl: Replace IsEnterprise checks with license checks (#49572) 2022-05-25 20:40:41 +02:00
org.go Chore: Remove final x from sqlstore (#48086) 2022-04-25 13:07:11 -04:00
password.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
playlist_play.go backend/sqlstore: move GetDashboards to Dashboard Service (#49175) 2022-05-19 10:59:12 -04:00
playlist.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
plugin_dashboards_test.go Plugins: Refactor GetPluginDashboards/LoadPluginDashboard (#46316) 2022-03-10 18:38:04 +01:00
plugin_dashboards.go Plugins: Refactor GetPluginDashboards/LoadPluginDashboard (#46316) 2022-03-10 18:38:04 +01:00
plugin_metrics_test.go Plugins: Make backend plugin metrics endpoints available with optional authentication (#46467) 2022-03-29 11:18:26 +02:00
plugin_metrics.go Plugins: Make backend plugin metrics endpoints available with optional authentication (#46467) 2022-03-29 11:18:26 +02:00
plugin_resource.go Chore: Remove Wrap (#50048) 2022-06-03 09:24:24 +02:00
plugins_test.go Logging: Unify logging fakes (#48822) 2022-05-06 17:44:22 +02:00
plugins.go Plugins: Separate manager read/write components (#50313) 2022-06-07 17:51:00 +02:00
preferences_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
preferences.go I18n: Add locale to user preference (#49425) 2022-06-14 12:53:51 +01:00
quota_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
quota.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
render.go Dash previews: populate crawler queue from SQL query (#44083) 2022-02-09 13:23:32 +04:00
search_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
search.go Search (SQL): support dashboardUID query parameter (#50121) 2022-06-02 12:56:01 -07:00
short_url_test.go Chore: Remove bus (#47511) 2022-04-08 16:15:06 +02:00
short_url.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
signup.go Chore: Remove global bus variable (#50765) 2022-06-14 16:07:41 +02:00
stars.go SearchV2 - Fix starred dashboards for new organizations error (#49645) 2022-05-25 20:57:18 +02:00
swagger.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
team_members_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
team_members.go AccessControl: Create own interface and impl for each permission service (#48871) 2022-05-10 15:48:47 +02:00
team_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
team.go Access control: refactor RBAC checks (#48107) 2022-04-25 10:42:09 +02:00
user_test.go Chore: Remove bus.Bus field (#47695) 2022-04-13 15:24:13 +02:00
user_token_test.go Chore: Remove bus.Bus field (#47695) 2022-04-13 15:24:13 +02:00
user_token.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
user.go RBAC: Make RBAC action names more consistent (#49730) 2022-06-02 13:14:48 +01:00
utils.go Permissions: Validate against Team/User permission role update (#29101) 2020-11-18 15:36:41 +01:00