grafana/pkg/plugins
Marcus Efraimsson 0e8377a9f4 Update logic for create/update dashboard, validation and plugin dashboard links (#10809)
* enables overwrite if dashboard allready exist in folder

* dashboard: Don't allow creating a folder named General

* dashboards: update logic for save/update dashboard

No id and uid creates a new dashboard/folder.
No id and uid, with an existing title in folder allows overwrite
  of dashboard.
Id without uid, allows update of existing dashboard/folder without
  overwrite.
Uid without id allows update of existing dashboard/folder without
  overwrite.
Id without uid, with an existing title in folder allows overwrite
  of dashboard/folder and updated will have the uid of overwritten.
Uid without id, with an existing title in folder allows overwrite
  of dashboard/folder and new will have the same uid as provided.
Trying to change an existing folder to a dashboard yields error.
Trying to change an existing dashboard to a folder yields error.

* dashboards: include folder id when confirmed to save with overwrite

* dashboards: fixes due to new url structure

Return importedUrl property in response to importing dashboards and
getting plugin dashboards and use this for redirects/links in the
frontend.
2018-02-08 12:48:38 +01:00
..
datasource/wrapper plugins: return table with empty rows array insteaf of nil 2018-01-31 19:59:15 +03:00
app_plugin.go datasource-proxy: token exchange 2017-08-23 17:18:43 +02:00
dashboard_importer_test.go code style fixes 2018-01-15 10:26:33 +01:00
dashboard_importer.go Update logic for create/update dashboard, validation and plugin dashboard links (#10809) 2018-02-08 12:48:38 +01:00
dashboards_test.go code style fixes 2018-01-15 10:26:33 +01:00
dashboards_updater.go refactoring dashoard folder guardian 2017-06-17 18:24:38 -04:00
dashboards.go Update logic for create/update dashboard, validation and plugin dashboard links (#10809) 2018-02-08 12:48:38 +01:00
datasource_plugin_test.go supports windows compatible plugin binaries 2018-01-10 15:07:04 +01:00
datasource_plugin.go moves datasource plugin model to grafana/grafana_plugin_model 2018-01-17 13:21:42 +01:00
frontend_plugin_test.go plugin: fix path for app plugins on windows 2018-01-04 17:32:57 +01:00
frontend_plugin.go plugin: fix path for app plugins on windows 2018-01-04 17:32:57 +01:00
hclog-wrapper.go moves plugin proxy to plugin package 2018-01-10 12:11:57 +01:00
models.go dont spawn new subprocess while shutting down 2017-12-25 14:12:25 +01:00
panel_plugin.go feat(plugins): better logging and handling of loading plugins, try to create plugins dir if it does not exist, fixes #3974 2016-02-10 11:03:12 +01:00
plugins_test.go code style fixes 2018-01-15 10:26:33 +01:00
plugins.go code style fixes 2018-01-15 10:26:33 +01:00
queries.go fix(pluginlist): fixed issue with plugin list, fixes #5068 2016-05-17 21:51:19 +02:00
update_checker.go links: updated links from grafana.net to grafana.com 2017-03-20 10:20:32 +01:00