bergquist
47e363ea15
removes dependencies install for plugins
...
this features was never intended for production.
2018-02-14 15:40:42 +01:00
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
Alexander Zobnin
db7890ec1e
plugins: return table with empty rows array insteaf of nil
2018-01-31 19:59:15 +03:00
bergquist
56d5ece340
plugins: return empty tables array insteaf of nil
2018-01-31 09:59:23 +01:00
bergquist
8c8328eac5
test: fixes failing test in go1.10
2018-01-30 16:00:32 +01:00
bergquist
2782ad0955
plugins: only set error if errorstring is not empty
2018-01-29 09:53:18 +01:00
bergquist
6a6eab5ea1
plugins: map error property on query result
2018-01-24 10:37:04 +01:00
bergquist
a32644198c
gofmt my dear friend
2018-01-18 11:49:45 +01:00
bergquist
b6e6935821
plugins: send secureJsonData unencrypted
2018-01-18 11:22:44 +01:00
bergquist
a183ea97bb
moves datasource plugin model to grafana/grafana_plugin_model
2018-01-17 13:21:42 +01:00
bergquist
5eb36e65f2
use context over golang.org/x/net/context
2018-01-16 12:32:58 +01:00
bergquist
5499f4910c
Merge branch 'master' into backend_plugins
...
* master: (117 commits)
fix: share snapshot controller was missing ngInject comment, fixes #10511
Use URLEncoding instead of StdEncoding to be sure state value will be corectly decoded (#10512 )
Optimize metrics and notifications docs
Optimize cli and provisioning docs
docs: Guide for IIS reverse proxy
changelog: adds note about closing #9645
telegram: Send notifications with an inline image
telegram: Switch to using multipart form rather than JSON as a body
telegram: Fix a typo in variable name
fix: alert list pause/start toggle was not working properly
fix template variable selector overlap by the panel (#10493 )
dashboard: Close/hide 'Add Panel' before saving a dashboard (#10482 )
fix: removed unused param
Fix variables values passing when both repeat rows and panels is used (#10488 )
moved angular-mocks out of dependencies
ux: minor change to alert list page
ux: minor word change to alert list
fix: updated snapshot test
Add eu-west-3 in cloudwatch datasource default's region (#10477 )
fix: Make sure orig files are not added to git again #10289
...
2018-01-15 10:27:12 +01:00
bergquist
b511788c51
code style fixes
2018-01-15 10:26:33 +01:00
Leonard Gram
b63c834a4b
Adds Table in backend datasource contract.
2018-01-15 09:41:44 +01:00
bergquist
ce4beb730d
Review tsdb protobuf contract
2018-01-11 15:01:49 +01:00
bergquist
1fd40a48d9
supports windows compatible plugin binaries
2018-01-10 15:07:04 +01:00
bergquist
ebd8677607
moves plugin proxy to plugin package
2018-01-10 12:11:57 +01:00
bergquist
acb7d802d1
improves name for plugin logger
2018-01-10 12:01:39 +01:00
bergquist
50db9810e8
uses pluginmanagers log instead of global
2018-01-10 11:49:40 +01:00
bergquist
dbd1ba465f
makes datasource handshake more explicit
2018-01-09 15:04:59 +01:00
bergquist
44e485af41
backend plugins: improves logging
2018-01-09 14:56:23 +01:00
Daniel Lee
ccf1a5124b
plugin: fix path for app plugins on windows
...
This fixes when an app that contains a plugin (which means it has
a filepath with more parts) gets a back slash in the path for the
plugin module. The string replace now replaces all back slashes and
not just the first one.
2018-01-04 17:32:57 +01:00
bergquist
75a54e85dc
dont spawn new subprocess while shutting down
2017-12-25 14:12:25 +01:00
bergquist
05362a9666
plugins: restart killed plugins
2017-12-22 15:40:45 +01:00
Carl Bergquist
d2ea5415da
test for plugin path builder
2017-12-20 16:33:53 +01:00
Carl Bergquist
20284f7745
merge backend datasources and datasources
2017-12-20 16:24:49 +01:00
bergquist
7977d6b669
merge backend-datasource and datasource type
2017-12-15 17:17:58 +01:00
bergquist
8573f73d72
Merge branch 'master' into backend_plugins
...
* master: (584 commits)
prometheus: change default resolution to 1/1
fix: viewers can edit now works correctly
fix: fixed minor ux and firefox issues, fixes #10228
ux: minor fixes
profile: use name or fallback for profile page
fix: sidemenu profile main text is now username instead of name
build: update master version to 5.0.0-pre1
dashfolder: change to migration text
ux:s sidemenu icon rules
teams: add team count when searching for team
changed background color for infobox and new blues in light theme, light theme now uses blue-dark in panel query (#10211 )
ux: fixed navbar issue when sidemenu closes
ux: minor position change for layout selector, fixes #10217
fix: view json from share modal now works, #10217
ux: used new add data sources icon
dashfolders: styling of selected filters
dashfolders: styling of selected filters
dashfolders: fix moving plugin dashboard to folder
changelog: adds note about closing #9170
dashfolders: fix folder selection dropdown in dashboard settings
...
2017-12-15 14:34:55 +01:00
bergquist
97c5498093
fixes broken unit test
2017-12-13 19:27:53 +01:00
bergquist
7c0fc59dfb
execute process directly instead of creating sub shell
2017-12-13 17:58:50 +01:00
bergquist
411e8a16c2
backend plugins: manage plugins lifecycle with context
2017-12-11 15:05:06 +01:00
bergquist
9edd7701b2
fixes failing tests
2017-12-07 18:05:11 +01:00
bergquist
e1d4bf2607
kill plugin processes when grafana shuts down
2017-12-07 16:59:35 +01:00
bergquist
a2d47427ba
separate plugin impl and proto files
2017-12-07 16:33:36 +01:00
Marcus Efraimsson
82cd24491e
dashfolders: revert automatic creation of folders for plugins
2017-11-28 12:51:40 +01:00
Marcus Efraimsson
368a4d7aed
dashfolders: don't create app folder on dashboard import if already exists
2017-11-27 18:23:57 +01:00
Daniel Lee
4356e980f0
dashfolders: create app folder on dashboard import
2017-11-27 17:08:39 +01:00
Torkel Ödegaard
b44daaabf2
Merge branch 'master' into develop
2017-10-24 09:06:09 +02:00
Daniel Lee
7863a0417c
plugins: fixes path issue on Windows
...
When loading a plugin and setting the path, an extra backslash sneaks
when running on Windows. Fixes #9597
2017-10-23 13:03:06 +02:00
Torkel Ödegaard
a38ded9e7e
Merge branch 'master' into develop-newgrid-row-design2
2017-09-07 15:05:41 +02:00
Torkel Ödegaard
2789c4f1e1
dsfix: include routes in plugin model
2017-09-04 14:09:02 +02:00
Torkel Ödegaard
07e192ff47
change: more work on changing default group by time interval to min interval setting
2017-09-01 15:57:02 +02:00
Torkel Ödegaard
84d4958a3c
plugin change: make interval, cache timeout & max data points options in plugin.json, remove query.options component feature, add help markdown feature and toggle for data sources
2017-08-31 14:05:52 +02:00
Torkel Ödegaard
3c9798bec9
datasource-proxy: token exchange
2017-08-23 17:18:43 +02:00
Torkel Ödegaard
8bf49c51b9
dataproxy: refactoring data source proxy to support route templates and wrote more tests for data proxy code, #9078
2017-08-23 10:52:31 +02:00
Torkel Ödegaard
63d6ab476a
feat: data source proxy refactoring and route handling, #9078
2017-08-22 17:14:15 +02:00
Torkel Ödegaard
cbbbccf12a
refactoring dashoard folder guardian
2017-06-17 18:24:38 -04:00
Torkel Ödegaard
1cd632cc43
plugins: added state property to plugins
2017-04-07 12:00:03 +02:00
Torkel Ödegaard
4d4e165be7
links: updated links from grafana.net to grafana.com
2017-03-20 10:20:32 +01:00
Torkel Ödegaard
05772b30d7
feat(ux): completed work on getting started panel, #6466
2016-12-08 10:25:05 +01:00
Torkel Ödegaard
63caedb094
Merge branch 'master' of github.com:grafana/grafana
2016-09-28 08:09:51 +02:00
Torkel Ödegaard
22e8885690
feat(testdata): progress on test data stuff
2016-09-27 18:36:00 +02:00
Torkel Ödegaard
34f15d92d0
feat(testdata): worked on testdata app
2016-09-27 14:39:51 +02:00
Dan Cech
501e67a657
use semver when comparing grafana and plugin versions ( #6108 )
2016-09-23 14:38:59 +02:00
bergquist
99c77e7df8
tech(plugins): increase timeout
2016-09-23 09:56:42 +02:00
bergquist
76b8cff445
fix(gnet): remove trailing ,
2016-09-22 16:17:22 +02:00
Torkel Ödegaard
65683ab241
feat(table): added sanitize html option to column styles for table panel, fixes #4596
2016-07-11 09:38:06 +02:00
Torkel Ödegaard
4c4cb20bde
tech(sass): changed sass lint version to 1.7.0
2016-07-08 22:12:10 +02:00
Torkel Ödegaard
615b692442
feat(apps): fixed unit tests
2016-07-08 18:21:25 +02:00
Torkel Ödegaard
ebdf0564eb
feat(apps): plugin dashboard sync is starting to work
2016-07-08 17:44:57 +02:00
Torkel Ödegaard
85be7dd902
feat(apps): progress on app dashboard sync
2016-07-08 12:26:51 +02:00
Torkel Ödegaard
d44325affd
feat(apps): progress on app dashboard imports
2016-07-08 09:35:06 +02:00
Torkel Ödegaard
b62f1f00cd
feat(apps): auto update dashboard dashboards, #5529
2016-07-07 18:11:03 +02:00
bergquist
8b2f6fffc9
test(dashboards): comment code in broken tests
2016-06-17 07:43:57 +02:00
Torkel Ödegaard
ec0b09450c
Merge branch 'export-dashboard'
...
Conflicts:
conf/defaults.ini
pkg/setting/setting.go
public/app/core/components/grafana_app.ts
public/app/core/core.ts
public/app/features/dashboard/dashboardCtrl.js
2016-06-16 08:06:43 +02:00
Torkel Ödegaard
22778e6efd
feat(logging): a lot of progress on moving to new logging lib, #4590
2016-06-06 23:06:44 +02:00
Torkel Ödegaard
6632f883c0
Merge branch 'master' into export-dashboard
...
Conflicts:
.floo
.flooignore
2016-05-18 08:08:15 +02:00
Torkel Ödegaard
958f97232f
fix(pluginlist): fixed issue with plugin list, fixes #5068
2016-05-17 21:51:19 +02:00
Torkel Ödegaard
ad7a1e15b4
feat(export): began working on export modal
2016-05-17 10:29:57 +02:00
Torkel Ödegaard
7cd663bbe8
feat(import): more import work
2016-05-14 10:00:43 +02:00
Peggy Li
9b0da20d90
Fix typo in error message from update checker
2016-05-10 16:06:51 +00:00
Torkel Ödegaard
f4a013946f
feat(pluginlist): link in plugin list now goes to app/plugin default nav unless enabled
2016-05-03 19:00:42 +02:00
Torkel Ödegaard
bce5c447b3
fix(apps): app dashboards can now be updated, fixes #4817
2016-04-26 12:52:44 +02:00
Torkel Ödegaard
04a79175bf
fix(plugins): only add app nav link if it has any pages/dashboards with role matching current user, fixes #4784
2016-04-25 14:00:49 +02:00
Torkel Ödegaard
47bba71d7f
fixed update check
2016-04-12 10:28:32 -04:00
Torkel Ödegaard
497e9343aa
Merge branch 'pluginlist'
2016-04-11 21:10:54 -04:00
Torkel Ödegaard
6ce934f1dd
feat(pluginlist): worked on plugin list
2016-04-11 20:33:58 -04:00
Torkel Ödegaard
3849b59627
feat(updates): changed to new api
2016-04-11 17:16:52 -04:00
Torkel Ödegaard
c518fdc155
Merge branch 'updatecheck' into pluginlist
2016-04-11 13:43:29 -04:00
Torkel Ödegaard
ab34b174f9
Added update notice to plugin list
2016-04-11 13:42:52 -04:00
Torkel Ödegaard
6ac3bd4c7c
feat(): update checks starting to work
2016-04-11 12:47:04 -04:00
Torkel Ödegaard
b4a8c227cc
feat(update checks): started work on update checks
2016-04-11 12:21:48 -04:00
Torkel Ödegaard
d70ef90bdd
feat(): plugin list panel
2016-04-08 16:42:33 -04:00
Torkel Ödegaard
10df9dc8c3
feat(plugins): finished app navigation enhancements, closes #4434
2016-03-22 10:15:47 +01:00
Torkel Ödegaard
65c0937741
ux(): app navigation improvements, changes to plugin.json for apps, merged pages with includes section, #4434
2016-03-21 19:07:08 +01:00
Torkel Ödegaard
b2fe7e518f
ux(): added specific fallback logos for plugin depending on type, polished layout selector style
2016-03-17 10:15:16 +01:00
Carl Bergquist
0b3ccaff27
Merge pull request #4361 from bergquist/remove_staticRoot
...
plugin.json: remove staticRoot field
2016-03-15 10:07:08 +01:00
Torkel Ödegaard
82eb32a71e
ux(): initial pass at new card / list design, #4364
2016-03-15 09:15:24 +01:00
bergquist
e905c2c6b5
feat(plugin.json): remove staticRoot field
2016-03-15 09:00:55 +01:00
Torkel Ödegaard
581ffb862c
feat(plugins): polish to plugin page, better handling for reading readme file contents
2016-03-13 19:21:44 +01:00
Torkel Ödegaard
d575a5ce12
feat(plugins): added prometheus dashboard to prometheus data source, #4298
2016-03-12 10:40:55 +01:00
Torkel Ödegaard
0398face05
feat(plugins): dashboard import for data sources is working! #4298
2016-03-12 10:13:49 +01:00
Torkel Ödegaard
3fb0b71822
refactor(): refactoring json usage
2016-03-12 00:13:06 +01:00
Torkel Ödegaard
1f9f439acb
lib(): added simplejson lib
2016-03-11 23:28:33 +01:00
Torkel Ödegaard
c5a817194a
more work on dashboard importing and templating
2016-03-11 17:31:57 +01:00
Torkel Ödegaard
ece8a925a6
Merge branch 'master' of github.com:grafana/grafana
...
Conflicts:
examples/nginx-app/package.json
examples/nginx-app/plugin.json
2016-03-11 12:39:10 +01:00
Torkel Ödegaard
fc54c01f01
feat(plugins): more work on plugin dashboard install, #4298
2016-03-11 12:31:56 +01:00
Torkel Ödegaard
2de439bd1e
feat(plugins): progress on dashboard installs , #4298
2016-03-11 09:57:20 +01:00
Torkel Ödegaard
60adcedebe
feat(plugins): worked on plugin dashboard import handling
2016-03-10 19:57:48 +01:00
Torkel Ödegaard
dfaa6d8eb9
feat(plugins): a lot of work on #4298
2016-03-08 18:17:47 +01:00