grafana/pkg/api
Michael Mandrus 9aa6ce2a50
Datasource: Propagate datasource secret decryption errors to the frontend (#52068)
* update decrypt secrets function signature and add secrets error handling

* remove a couple instances of unnecessary logging since errors are properly handled now

* add unit test

* fix linting issues
2022-07-13 09:27:03 -04:00
..
apierrors chore/backend: move dashboard errors to dashboard service (#51593) 2022-06-30 09:31:54 -04:00
avatar Dashboard: Mix initials and custom gravatars in recent viewers list (#47212) 2022-04-05 22:56:17 -04:00
datasource backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
docs API: Add playlists endpoints to the swagger spec (#51918) 2022-07-11 17:12:22 +03:00
dtos Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
frontendlogging Frontend Logging: Integrate grafana javascript agent (#50801) 2022-06-28 03:25:30 -04:00
navlinks Chore: Remove newNavigation feature toggle and old navbar code (#50872) 2022-06-16 10:48:38 +01:00
pluginproxy backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
response HTTP: Add function for using new style errors with fallback (#51627) 2022-07-13 13:14:28 +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 RBAC: Allow app plugins access restriction (#51524) 2022-07-08 13:24:09 +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 Split Create User (#50502) 2022-06-28 14:32:25 +02:00
admin.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
alerting_test.go Alerting: Disable /api/admin/pause-all-alerts with Unified Alerting (#51895) 2022-07-12 10:01:31 +03:00
alerting.go Alerting: Disable /api/admin/pause-all-alerts with Unified Alerting (#51895) 2022-07-12 10:01:31 +03:00
annotations_test.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
annotations.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
api.go Alerting: Disable /api/admin/pause-all-alerts with Unified Alerting (#51895) 2022-07-12 10:01:31 +03:00
apikey.go Access control: Pass access control metadata for api keys (#48445) 2022-04-29 15:30:24 +02:00
app_routes.go RBAC: Allow app plugins access restriction (#51524) 2022-07-08 13:24:09 +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 public dashboards: move into into its own service (#51358) 2022-07-06 17:51:44 -06:00
dashboard_permission_test.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
dashboard_permission.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
dashboard_snapshot_test.go Do not check permissions while deleting external snapshot (#51897) 2022-07-07 15:15:39 +02:00
dashboard_snapshot.go Do not check permissions while deleting external snapshot (#51897) 2022-07-07 15:15:39 +02:00
dashboard_test.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
dashboard.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06: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 backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
datasources.go Datasource: Propagate datasource secret decryption errors to the frontend (#52068) 2022-07-13 09:27:03 -04:00
fakes.go Plugins: Register management endpoints only when external managed is also false (#51802) 2022-07-06 16:22:59 +02:00
folder_permission_test.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
folder_permission.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
folder_test.go chore/backend: move dashboard errors to dashboard service (#51593) 2022-06-30 09:31:54 -04:00
folder.go RBAC: Add access control metadata to folder dtos (#51158) 2022-06-22 10:29:26 +02:00
frontend_logging_test.go Chore: Remove the old log format (#51526) 2022-07-08 09:56:30 -05:00
frontend_logging.go Frontend Logging: Integrate grafana javascript agent (#50801) 2022-06-28 03:25:30 -04: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 Plugins: Show that Secrets Manager Plugin is active in the UI (#50953) 2022-06-29 08:48:23 -04:00
frontendsettings.go Plugins: Show that Secrets Manager Plugin is active in the UI (#50953) 2022-06-29 08:48:23 -04: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 public dashboards: move into into its own service (#51358) 2022-07-06 17:51:44 -06:00
index.go Page: Update profile page components to use new navId (#51664) 2022-07-11 14:35:30 +02:00
ldap_debug_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
ldap_debug.go Split Create User (#50502) 2022-06-28 14:32:25 +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 Split Create User (#50502) 2022-06-28 14:32:25 +02:00
login_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
login.go JWT: Add JWT proxy setup devenv (#51731) 2022-07-07 10:28:04 -04:00
metrics_test.go Datasource: Propagate datasource secret decryption errors to the frontend (#52068) 2022-07-13 09:27:03 -04:00
metrics.go Datasource: Propagate datasource secret decryption errors to the frontend (#52068) 2022-07-13 09:27:03 -04:00
org_invite_test.go Access control: Allow organisation admins to add existing users to org (#51668) 2022-07-08 12:07:00 +01:00
org_invite.go Access control: Allow organisation admins to add existing users to org (#51668) 2022-07-08 12:07:00 +01:00
org_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
org_users_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
org_users.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
org.go ServiceAccounts: Don't create new orgs for service accounts (#51819) 2022-07-07 08:50:38 -04:00
password.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
playlist_play.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
playlist.go backend: add PlaylistUIDs to Playlist; remove playlist IDs from API (#49609) 2022-06-14 15:32:52 -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 backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
plugins_test.go Plugins: Register management endpoints only when external managed is also false (#51802) 2022-07-06 16:22:59 +02:00
plugins.go RBAC: Allow app plugins access restriction (#51524) 2022-07-08 13:24:09 +02:00
preferences_test.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
preferences.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06: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 ShortURL: Use new Error type (#50859) 2022-06-15 15:11:36 +02:00
signup.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
stars.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
swagger.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
team_members_test.go Split Create User (#50502) 2022-06-28 14:32:25 +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 Split Create User (#50502) 2022-06-28 14:32:25 +02:00
user_token_test.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
user_token.go Auth: Add option for case insensitive login (#49262) 2022-06-24 16:59:45 +02:00
user.go Split Create User (#50502) 2022-06-28 14:32:25 +02:00
utils.go Permissions: Validate against Team/User permission role update (#29101) 2020-11-18 15:36:41 +01:00