grafana/pkg/api
idafurjes 6afad51761
Move SignedInUser to user service and RoleType and Roles to org (#53445)
* Move SignedInUser to user service and RoleType and Roles to org

* Use go naming convention for roles

* Fix some imports and leftovers

* Fix ldap debug test

* Fix lint

* Fix lint 2

* Fix lint 3

* Fix type and not needed conversion

* Clean up messages in api tests

* Clean up api tests 2
2022-08-10 11:56:48 +02: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
dtos Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
frontendlogging Frontend Logging: Integrate grafana javascript agent (#50801) 2022-06-28 03:25:30 -04:00
navlinks TopNav: Support for deeper nesting in section nav (#52562) 2022-07-22 10:42:41 +02:00
pluginproxy Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
response pkg/web: closure-style middlewares (#51238) 2022-08-09 14:58:50 +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 Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
admin_encryption.go Encryption: Expose secrets migrations through HTTP API (#51707) 2022-07-18 08:57:58 +02:00
admin_provisioning_test.go Alerting: Add file provisioning for contact points (#51924) 2022-08-01 18:17:42 +02:00
admin_provisioning.go Alerting: Add file provisioning for contact points (#51924) 2022-08-01 18:17:42 +02:00
admin_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
admin_users_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
admin_users.go Chore: Add user service method ChangePassword (#53303) 2022-08-04 15:05:05 +02:00
admin.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
alerting.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
annotations_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
annotations.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
api.go SAML: Do not SAML SLO if user is not SAML authenticated (#53418) 2022-08-10 10:21:33 +02:00
apikey.go Chore: Move api key models into apikey service package (#53241) 2022-08-04 14:19:09 +02:00
app_routes.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +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 Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
common_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
dashboard_permission_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
dashboard_permission.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
dashboard_snapshot_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
dashboard_snapshot.go API: Fix snapshot responses (#52998) 2022-08-03 10:31:23 -04:00
dashboard_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
dashboard.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
dataproxy.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
datasources_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
datasources.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02: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 Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
folder_permission.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
folder_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
folder.go Search: Move entity events to transaction (#52394) 2022-08-01 18:56:36 +03: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 Alerting: Show evaluation interval global limit warning (#52942) 2022-08-01 15:01:14 +02: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 pkg/web: closure-style middlewares (#51238) 2022-08-09 14:58:50 +02:00
index.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
ldap_debug_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
ldap_debug.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +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 Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
login_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
login.go SAML: Do not SAML SLO if user is not SAML authenticated (#53418) 2022-08-10 10:21:33 +02:00
metrics_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
metrics.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
openapi3.go Implementing OpenApi 3 specs (converted from Swagger 2) (#53243) 2022-08-04 13:51:12 -03:00
org_invite_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
org_invite.go Chore: Add user service method GetByLogin (#53204) 2022-08-04 13:22:43 +02:00
org_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
org_users_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
org_users.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
org.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
password.go SAML: Do not SAML SLO if user is not SAML authenticated (#53418) 2022-08-10 10:21:33 +02:00
playlist_play.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
playlist.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
plugin_dashboards_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02: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 Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
plugins.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
preferences_test.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
preferences.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
quota_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
quota.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
render.go Dash previews: populate crawler queue from SQL query (#44083) 2022-02-09 13:23:32 +04:00
search_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
search.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
short_url_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
short_url.go ShortURL: Use new Error type (#50859) 2022-06-15 15:11:36 +02:00
signup.go Chore: Add user service method GetByLogin (#53204) 2022-08-04 13:22:43 +02:00
stars.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
swagger_responses.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
swagger_tags.json Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
swagger.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
team_members_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
team_members.go SAML: Do not SAML SLO if user is not SAML authenticated (#53418) 2022-08-10 10:21:33 +02:00
team_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
team.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
user_test.go Chore: Add user service method GetByLogin (#53204) 2022-08-04 13:22:43 +02:00
user_token_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
user_token.go Chore: Split get user by ID (#52442) 2022-08-02 16:58:05 +02:00
user.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
utils.go Permissions: Validate against Team/User permission role update (#29101) 2020-11-18 15:36:41 +01:00