grafana/pkg/plugins
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
..
adapters backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
backendplugin Renderer: Add sanitize API (#50936) 2022-07-07 15:32:18 +04:00
manager Plugins: Add missing asserts for Plugin Errors field (#51702) 2022-07-04 11:03:50 +00:00
plugincontext backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
config.go Migrate to Grafana Azure SDK (#47232) 2022-04-04 11:23:13 +02:00
ifaces.go WIP: Add private Secret Manager Plugins support to plugin platform (#49544) 2022-06-09 13:19:27 -04:00
models.go Plugins: Fix Default Nav URL for dashboard includes (#47143) 2022-04-06 10:50:39 +02:00
plugins.go Plugins: Show that Secrets Manager Plugin is active in the UI (#50953) 2022-06-29 08:48:23 -04:00