c39d6ad97d
Plugins: Enable plugin runtime install/uninstall capabilities ( #33836 )
...
* add uninstall flow
* add install flow
* small cleanup
* smaller-footprint solution
* cleanup + make bp start auto
* fix interface contract
* improve naming
* accept version arg
* ensure use of shared logger
* make installer a field
* add plugin decommissioning
* add basic error checking
* fix api docs
* making initialization idempotent
* add mutex
* fix comment
* fix test
* add test for decommission
* improve existing test
* add more test coverage
* more tests
* change test func to use read lock
* refactoring + adding test asserts
* improve purging old install flow
* improve dupe checking
* change log name
* skip over dupe scanned
* make test assertion more flexible
* remove trailing line
* fix pointer receiver name
* update comment
* add context to API
* add config flag
* add base http api test + fix update functionality
* simplify existing check
* clean up test
* refactor tests based on feedback
* add single quotes to errs
* use gcmp in tests + fix logo issue
* make plugin list testing more flexible
* address feedback
* fix API test
* fix linter
* undo preallocate
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/administration/configuration.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* fix linting issue in test
* add docs placeholder
* update install notes
* Update docs/sources/plugins/marketplace.md
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com>
* update access wording
* add more placeholder docs
* add link to more info
* PR feedback - improved errors, refactor, lock fix
* improve err details
* propagate plugin version errors
* don't autostart renderer
* add H1
* fix imports
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com>
2021-05-12 20:05:16 +02:00
b79e61656a
Introduce TSDB service ( #31520 )
...
* Introduce TSDB service
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-03-08 07:02:49 +01:00
01b4048026
Usage Stats: Report usage for all signed plugins ( #31545 )
...
* Report usage for all the signed plugins
* Remove no longer used code
* Fix tests by manipulating the global state
* Minor test fix
2021-03-04 15:43:43 +01:00
a515c54404
Plugins: Add support for signature manifest V2 ( #29240 )
...
* add support for signing manifest v2
* add log and fix var name
* shorten comment
* improve comment
* remove unnecessary param
* improve naming
* reformat
* rename var
* refactor test
* remove unnecessary assert
* simplify test requirements
* add more test cases
* address feedback
* revert naming
* flip tracking missing
* fix check
* Trigger Build
2020-12-11 12:57:57 +01:00
c22a39ab2d
Plugins: Add support for includes' icon ( #29416 )
...
* Plugins: Add support for includes' icon
* Docs: Add plugin includes' icon reference
2020-11-27 10:48:37 +01:00
294770f411
Chore: Handle wrapped errors ( #29223 )
...
* Chore: Handle wrapped errors
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-11-19 13:34:28 +01:00
4dd7b7a82d
Chore: Remove unused Go code ( #28852 )
...
* Chore: Remove more unused Go code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 11:51:31 +01:00
1bee9f4168
Plugins: Track plugin signing errors and expose them to the frontend ( #28219 )
...
* first pass
* return list
* types and cleanup
* add to plugin page and add styles
* update comment
* update comment
* fix component path
* simplify error component
* simplify error struct
* fix tests
* don't export and fix string()
* update naming
* remove frontend
* introduce phantom loader
* track single error
* remove error from base
* remove unused struct
* remove unnecessary filter
* add errors endpoint
* Update set log to use id field
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* skip adding BE plugins
* remove errs from plugin + ds list
* remove unnecessary fields
* add signature state to panels
* remove unused code
* apply PR feedback
* update comment
* merge dto with model
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-23 16:45:43 +02:00
4084b53f91
plugins: Don't exit on duplicate plugin ( #28390 )
...
* plugins: Don't exit on duplicate plugin
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add missing files
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-21 12:39:41 +02:00
531c579341
Plugins: Let descendant plugins inherit their root's signature ( #27970 )
...
* plugins: Let descendant plugins inherit their root's signature
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-05 13:28:18 +02:00
96ffcaa134
Plugins: Require signing of external back-end plugins ( #24075 )
...
* PluginManager: Require signing of external plugins
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-05-04 10:57:55 +02:00
468f5d15ab
Plugins: add a signature status flag ( #23420 )
2020-04-09 00:00:16 -07:00
67ec9edcc8
chore: avoid alias for models in plugins ( #22483 )
2020-02-28 12:51:21 +01:00
1a810ebfe4
Plugins: Move backend plugin manager to service ( #21474 )
...
Moves backend plugin manager to service instead of
global functions in backendplugin package.
Closes #20053
2020-01-13 20:18:45 +01:00
f9774acc4c
Enable errcheck for golangci-lint ( #19976 )
...
* Enable `errcheck` for golangci-lint
* Fix linting errors
* pkg/plugins: Fix tests
* pkg/plugins: Add test
2019-10-28 17:25:35 +01:00
0ca1e90b2e
Plugins: fix previous commit, output "build" property in json
2019-07-19 06:21:39 -07:00
3e0625ff3d
Plugins: add build info to plugin metadata ( #18164 )
2019-07-18 11:52:34 -07:00
e1d408a66f
AddDataSource: Updated page design & categories ( #16971 )
...
* minor refactoring
* Added category
* Minor progress
* Progres
* Updated descriptions
* Added custom sort
* NewDataSource: progress
* Updated design
* NewDataSource: Updated design
* Updated link
* Feedback changes
2019-05-09 11:45:39 +02:00
d6887bf77f
Plugins: Optionally preload some plugins during frontend app boot ( #15266 )
...
* auto load
* update comments
* gofmt
* use preload from json
* fix formatting
* change general plugin loader to app
* Refactoring: Plugin preloading #15266
2019-04-11 08:02:22 +02:00
480da34279
filter out alpha plugins in api call, fixes #14030
2018-11-15 11:10:47 +01:00
ce941a004d
fix unconvert issues
2018-04-16 20:04:58 +02:00
5bbe047eaa
Revert "removes dependencies install for plugins"
...
This reverts commit 47e363ea157142fbd9b9912b29091dcb5bb085eb.
2018-02-16 09:49:29 +01:00
47e363ea15
removes dependencies install for plugins
...
this features was never intended for production.
2018-02-14 15:40:42 +01:00
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
1cd632cc43
plugins: added state property to plugins
2017-04-07 12:00:03 +02:00
05772b30d7
feat(ux): completed work on getting started panel, #6466
2016-12-08 10:25:05 +01:00
22778e6efd
feat(logging): a lot of progress on moving to new logging lib, #4590
2016-06-06 23:06:44 +02:00
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
c518fdc155
Merge branch 'updatecheck' into pluginlist
2016-04-11 13:43:29 -04:00
b4a8c227cc
feat(update checks): started work on update checks
2016-04-11 12:21:48 -04:00
d70ef90bdd
feat(): plugin list panel
2016-04-08 16:42:33 -04:00
10df9dc8c3
feat(plugins): finished app navigation enhancements, closes #4434
2016-03-22 10:15:47 +01:00
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
e905c2c6b5
feat(plugin.json): remove staticRoot field
2016-03-15 09:00:55 +01:00
581ffb862c
feat(plugins): polish to plugin page, better handling for reading readme file contents
2016-03-13 19:21:44 +01:00
2de439bd1e
feat(plugins): progress on dashboard installs , #4298
2016-03-11 09:57:20 +01:00
60adcedebe
feat(plugins): worked on plugin dashboard import handling
2016-03-10 19:57:48 +01:00
dfaa6d8eb9
feat(plugins): a lot of work on #4298
2016-03-08 18:17:47 +01:00
4cd4ce504d
feat(plugins): worked on markdown support for plugin page, #4275
2016-03-07 18:03:45 +01:00
135679096b
feat(plugins): progress on plugin details page, # 4275
2016-03-07 14:31:17 +01:00
257b824d4f
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
f953033ba7
add support for screenshots in plugins.
...
Allow plugin creators to include screenshots of their plugin
in action. Primarily for use in Grafana.net info pages.
2016-02-09 22:36:42 +08:00
f94599cd29
merge apiPlugins with appPlugins
2016-01-22 01:15:04 +08:00
92a085550e
fix up imports
2016-01-20 06:17:48 +08:00
c4a0ec844c
get apiPlugins working again.
2016-01-20 06:13:45 +08:00
7a26d309b1
feat(apps): more work on apps and how apps can include panels
2016-01-19 18:18:53 +01:00
a15984b663
feat(apps): pages work
2016-01-12 15:39:29 +01:00
1ffcea1952
feat(plugins): major improvement in plugins golang code
2016-01-09 23:34:20 +01:00
c5635f9c89
feat(plugins): changed what datasources should return, they should now return the datasource constructor
2016-01-09 13:21:16 +01:00
9943b9a226
feat(plugin): more work on plugin schema
2016-01-09 08:12:27 +01:00