grafana/pkg/services
Artur Wierzbicki e96f67ae2e
Renderer: Add sanitize API (#50936)
* svg fun

* #50597: add proto

* #50597: add sanitizer methods

* #50597: add provider

* #50597: use sanitizer

* #50597: use sanitizer

* update grafana to match new api

* add comments

* add capability check

* add timing

* update sanitize path

* improve log message

* strings.HasPrefix rather than filepath.IsAbs

* filepath.Clean + filepath.ToSlash for windows

* read 404

* remove `path.clean` from `getPathAndScope`

* add resp body close

* remove unneeded prop

* Update pkg/services/rendering/rendering.go

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>

* remove test files

* filepath.ToSlash correct wrapping

* filepath.ToSlash correct wrapping

* filepath.ToSlash comment

* compilation error

* lint fix

* fix error message

* Update pkg/services/rendering/rendering.go

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>

* add `image/svg+xml` mime type

* refactored log

* refactored log

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2022-07-07 15:32:18 +04:00
..
accesscontrol Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00
alerting Renderer: Add sanitize API (#50936) 2022-07-07 15:32:18 +04:00
annotations Chore : Replace dashboardid with dashboardUID in annotation API (#48481) 2022-05-02 11:35:36 +02:00
auth Split Create User (#50502) 2022-06-28 14:32:25 +02:00
cleanup backend/dashboardsnapshot service: move models (#50898) 2022-06-17 09:09:01 -04:00
comments backend/services: Move GetDashboard from sqlstore to dashboard service (#48971) 2022-05-17 14:52:22 -04:00
contexthandler ServiceAccounts: Add Service Account Token last used at date (#51446) 2022-06-28 16:42:40 +02:00
dashboardimport Export: Fix export/import of dash with library panels (#49319) 2022-06-29 16:18:27 +01:00
dashboards public dashboards: move into into its own service (#51358) 2022-07-06 17:51:44 -06:00
dashboardsnapshots chore/backend: move dashboard errors to dashboard service (#51593) 2022-06-30 09:31:54 -04:00
dashboardversion chore/backend: move dashboard errors to dashboard service (#51593) 2022-06-30 09:31:54 -04:00
datasourceproxy backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
datasources Export: save all dashboards to git (#48233) 2022-07-05 10:54:07 -07:00
encryption Encryption: Add support for decrypting ciphertexts with algorithm metadata (#49312) 2022-05-20 17:11:51 +02:00
export Export: save all dashboards to git (#48233) 2022-07-05 10:54:07 -07:00
featuremgmt Scene: POC for a future dashboard model and runtime (#50980) 2022-07-07 08:53:02 +02:00
guardian RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
hooks Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
kmsproviders Encryption: Refactor secrets.Service initialization (#51091) 2022-07-07 09:48:25 +02:00
ldap Chore: Remove Wrap (#50048) 2022-06-03 09:24:24 +02:00
libraryelements chore/backend: move dashboard errors to dashboard service (#51593) 2022-06-30 09:31:54 -04:00
librarypanels Export: Fix export/import of dash with library panels (#49319) 2022-06-29 16:18:27 +01:00
licensing RBAC: Make RBAC action names more consistent (#49730) 2022-06-02 13:14:48 +01:00
live sync routing tree with latest changes in Gin (#51541) 2022-06-29 19:05:57 +03:00
login Split Create User (#50502) 2022-06-28 14:32:25 +02:00
multildap Split Create User (#50502) 2022-06-28 14:32:25 +02:00
ngalert Alerting: Add custom templated title to Wecom notifier (#51529) 2022-07-06 11:54:46 -04:00
notifications Split Create User (#50502) 2022-06-28 14:32:25 +02:00
oauthtoken backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
org Split Create User (#50502) 2022-06-28 14:32:25 +02:00
plugindashboards Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
pluginsettings Plugins: Add plugin settings DTO (#46283) 2022-03-18 20:49:13 +01:00
preference I18n: Add default locale server config option (#51035) 2022-06-21 11:12:49 +01:00
provisioning chore/backend: move dashboard errors to dashboard service (#51593) 2022-06-30 09:31:54 -04:00
publicdashboards public dashboards: move into into its own service (#51358) 2022-07-06 17:51:44 -06:00
query backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
queryhistory Split Create User (#50502) 2022-06-28 14:32:25 +02:00
quota Update quota service to accept context (#45186) 2022-02-10 22:17:50 +01:00
rendering Renderer: Add sanitize API (#50936) 2022-07-07 15:32:18 +04:00
screenshot Alerting: Better metrics and renamed BrowserScreenshotService (#51564) 2022-06-30 17:47:23 +01:00
search Search (SQL): support dashboardUID query parameter (#50121) 2022-06-02 12:56:01 -07:00
searchusers Access control: Using RBAC to filter users in list view that you have read access to (#47963) 2022-05-13 09:26:34 +02:00
searchV2 Export: save all dashboards to git (#48233) 2022-07-05 10:54:07 -07:00
secrets Encryption: Refactor secrets.Service initialization (#51091) 2022-07-07 09:48:25 +02:00
serviceaccounts Service accounts: add usagestats for teams (#51585) 2022-06-30 11:05:49 +02:00
shorturls ShortURL: Use new Error type (#50859) 2022-06-15 15:11:36 +02:00
sqlstore Service accounts: Add service account to teams (#51536) 2022-07-06 05:34:36 -04:00
star Chore: Exclude integration tests from running on test-backend step (#50359) 2022-06-10 11:46:21 -04:00
store Renderer: Add sanitize API (#50936) 2022-07-07 15:32:18 +04:00
teamguardian Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
thumbs chore/backend: move dashboard errors to dashboard service (#51593) 2022-06-30 09:31:54 -04:00
updatechecker Logging: Unify logging fakes (#48822) 2022-05-06 17:44:22 +02:00
user Split Create User (#50502) 2022-06-28 14:32:25 +02:00
validations Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00