Ryan McKinley
63f47fd8e2
Plugins: expose react-redux, redux ( #18501 )
2019-08-14 00:20:23 -07:00
kay delaney
9d87923986
Chore: Upgrades typescript to version 3.5 ( #18263 )
...
* Chore: Upgrade typescript to version 3.5
2019-07-26 15:14:06 +01:00
Andrej Ocenas
7f1214ac46
Permissions: Show plugins in nav for non admin users but hide plugin configuration ( #18234 )
...
Allow non admins to see plugins list but only with readme. Any config tabs are hidden from the plugin page. Also plugin panel does not show action buttons (like Enable) for non admins.
2019-07-25 16:54:26 +02:00
Ryan McKinley
06b43f6d4b
Plugins: avoid app importDashboards() NPE ( #18128 )
...
* tables display
* add missing file
* adding toolbar option
* adding toolbar option
* add items to index
* use root import path
* merge master
* show tables info
* add importDashboards code
* remove table changes
* remove table changes
* use deprecation warning
2019-07-19 07:11:16 -07:00
Tobias Skarhed
c8498461a5
noImplicitAny: Down approx 200 errors ( #18143 )
...
* noImplicitAny playlist approx 200
* Add AngularPanelMenuItem interface
* Roughly 100 noImplicitAny
2019-07-18 08:03:04 +02:00
Ryan McKinley
6599bdc7f1
AnnoList: add alpha annotations list plugin ( #17187 )
...
adding an alpha panel
2019-07-09 09:28:19 -07:00
Ryan McKinley
fcdc29746f
@grafana/data: export dateMath and rangeUtil ( #17971 )
2019-07-05 23:43:12 -07:00
Ryan McKinley
3f15170914
Refactor: move some files to @grafana/data ( #17952 )
...
* moving to data WIP
* more refactoring
* add missing test
* mock full path
* remove sinon from grafana-ui
2019-07-06 08:05:53 +02:00
Dominik Prokop
c5b6365858
grafana/toolkit: Add support for extensions styling ( #17938 )
...
* Add support for static files
* Use url-loader in single css setup
* Add postcss setup
* Expose emotion to plugins and externalise it in toolkit
* Add readme note about emotion
2019-07-05 13:33:42 +02:00
Dominik Prokop
cf37b5439f
grafana/runtime: Expose SystemJS from @grafana/runtime ( #17927 )
...
In 4281344
the loadPluginCss util was migrated to @grafana/runtime package. This made SystemJS to fail loading the css files for a plugin. Root cause was that core and runtime used different SystemJS instances.
To solve the issue, I am exposing SystemJS from @grafana/runtime package to make sure we are always using the same instance. Also, the SystemJS dependency was moved to runtime.
2019-07-04 13:32:09 +02:00
Alexandre de Verteuil
4f1d495ba1
Fix typo s/Applicaiton/Application/ in error messages ( #17765 )
2019-06-25 20:59:58 +02:00
Ryan McKinley
428134482d
@grafana/runtime: expose config and loadPluginCss ( #17655 )
...
* move config to grafana runtime
* set defaults
* defaults in constructor
* use @types/systemjs
* rename Settings to GrafanaBootConfig
2019-06-19 11:31:47 -07:00
Ryan McKinley
401615847c
Build: add @grafana/data package ( #17436 )
...
first step in moving non-ui components to their own package
2019-06-18 08:17:27 -07:00
Tobias Skarhed
6de75de755
Refactor buttons ( #17611 )
2019-06-17 16:15:49 +02:00
Martin Brenner
aa1f9cdd40
AppPlugin: Fix load legacy plugin app ( #17574 )
...
* first init meta befor set legacy components
* add load legacy app test
* AppPlugin: minor refactor
2019-06-15 08:26:31 +02:00
Torkel Ödegaard
de7856cf93
PluginConfig: Fixed plugin config page navigation when using subpath ( #17364 )
2019-06-05 13:24:48 +02:00
Ryan McKinley
574a37e46f
@grafana/runtime: expose location update ( #17428 )
2019-06-04 16:20:55 +02:00
Ryan McKinley
96ba32d0c8
Add a @grafana/runtime package with backendSrv interface ( #16533 )
...
grafana-runtime/tsconfig.json imports query to avoid a build error ¯\_(ツ)_/¯
2019-06-03 17:55:59 +02:00
Ryan McKinley
9e7fa74682
DataSourcePlugin: Avoid anuglar injector if only one parameter ( #17239 )
2019-05-23 11:56:00 +02:00
Ryan McKinley
7e3ac4ebde
AppPlugin: add an init function ( #17150 )
2019-05-20 13:05:23 -07:00
Ryan McKinley
ae1df1cf89
Plugins: expose rxjs matching 6.4.0 ( #17148 )
...
* expose rxjs
* remove super old observable export
2019-05-18 08:31:25 -07:00
Ryan McKinley
a87a763d83
DataSourcePlugin: support custom tabs ( #16859 )
...
* use ConfigEditor
* add tabs
* add tabs
* set the nav in state
* remove actions
* reorder imports
* catch plugin loading errors
* better text
* keep props
* fix typo
* update snapshot
* rename tab to page
* add missing pages
2019-05-14 07:55:49 +02:00
Ryan McKinley
1d7bb2a763
DataSourceApi: convert interface to abstract class ( #16979 )
...
* DataSourceApi as class
* add diff signature
* Prometheus: moved directUrl to jsonData
2019-05-10 11:37:43 +02:00
Ryan McKinley
56702902a1
Plugins: Remove dataFormats key and add skipDataQuery ( #16984 )
2019-05-10 07:46:14 +02:00
Marcus Efraimsson
0c1530c7a8
plugins: fix how datemath utils are exposed to plugins ( #16976 )
...
Fixes a regression accidentally introduced by #16890 so that datemath
utils are exposed to plugins in a backward-compatible way.
Fixes #16962
2019-05-09 15:27:52 +02:00
Hugo Häggmark
ceb9f0855b
Chore: Replaces moment with Grafanas DateTime ( #16919 )
...
* Wip: Initial commit
* Refactor: Replaces moment.utc(
* Refactor: replaces the last isMoment statements
* Refactor: Removes almost all moment imports
* Refactor: Moves moment_wrapper to grafana/ui
* Refactor: Renames momentWrapper
* Refactor: Removes one more moment import
* Refactor: Removes unitOfTime import
* Fix: Fixes Prettier error
* Refactor: Renames DateTimeType to DateTime
* Refactor: Renames isDateTimeType to isDateTime
* Refactor: Renames dateTime to dateTime
* Feature: Bans moment imports and types
2019-05-08 13:51:44 +02:00
Ryan McKinley
b08cf1e7ac
Plugins: update beta notice style ( #16928 )
2019-05-07 15:58:03 -07:00
Torkel Ödegaard
6d6242c153
BarGauge: New multi series enabled gauge like panel with horizontal and vertical layouts and 3 display modes ( #16918 )
...
* BarGauge: switched to beta and updated beta notice design
* Updated snapshot
2019-05-07 12:18:08 +02:00
Ryan McKinley
d881976c9d
Refactor: move datemath to grafana/ui ( #16890 )
...
* move datemath to grafana/ui
* don't reference @grafana/ui from its own component
2019-05-06 12:36:42 +02:00
Fernando Kramer
16d5df1cba
PluginsList: Removed icons and updated snapshots ( #16872 )
...
Fixes #16833
2019-05-03 13:19:01 +02:00
Ryan McKinley
ece4d2201c
DataSources: minor typescript cleanups and comments ( #16860 )
...
* datasource interface cleanup
* more types
* use PluginInclude
2019-05-03 06:26:30 +02:00
Ryan McKinley
013f1b8d19
App Plugins: support react pages and tabs ( #16586 )
2019-05-02 10:15:39 -07:00
Ryan McKinley
51a98565dc
Refactor: consistant plugin/meta usage ( #16834 )
2019-04-30 22:36:46 -07:00
Ryan McKinley
26bd76b4c2
Refactor: move NavModel to @grafana/ui ( #16813 )
2019-04-30 07:46:46 -07:00
Ryan McKinley
7dbe719fda
Plugins: rename vizPlugin to panelPlugin ( #16802 )
2019-04-29 09:20:58 -07:00
Ryan McKinley
c5097e2ef3
Plugins: move app/feature/plugin properties into PluginMeta ( #16809 )
2019-04-29 09:14:39 -07:00
Ryan McKinley
5c2d38126d
Plugins: move PanelPluginMeta to grafana/ui ( #16804 )
2019-04-29 08:17:35 -07:00
Ryan McKinley
7146d576e6
Plugins: move datasource specific meta out of the main meta type ( #16803 )
2019-04-29 07:38:17 -07:00
Torkel Ödegaard
060e97bea8
Plugins: ReactPanelPlugin to VizPanelPlugin ( #16779 )
...
* Plugins: ReactPanelPlugin renamed
* Plugins: renamed PanelPlugin to PanelPluginMeta and VizPanelPlugin to PanelPlugin
2019-04-26 19:16:38 +02:00
Dominik Prokop
7aeae84c52
Feature: Enable React based options editors for Datasource plugins ( #16748 )
2019-04-24 23:18:51 +02:00
teajo
80cca9c12e
AppPlugin: avoid app plugin navigation slowness ( #16675 )
...
navigation between pages in app plugin is slow, due to use of non angular native promise
Fixes #16672
2019-04-19 08:41:59 -07:00
Patrick O'Carroll
d040e336c1
UI: Remove old icons ( #16335 )
...
* removed unsused grafana-icon classes, replaced grafana-icons with gicons
* replaced old dashboard and datasource icons with gicon, fixed so icons on plugin list are shown
* removed unsused grafana-icon classes, replaced grafana-icons with gicons
* replaced old dashboard and datasource icons with gicon, fixed so icons on plugin list are shown
* replaced fontawesome cog, eye, link and edit with gicons
* updated snapshot
* fixed color of cog in dashboard nav, removed icons from buttons, ran preitterier on some files
* changed opacity on getting started icons and fixed getting started button
* .5 -> 0.5 fix for prettier
2019-04-17 15:18:32 +02:00
Ryan McKinley
5a0cf1a83c
AppPlugins: fix app support and add an alpha example ( #16528 )
...
* app pages
* app pages
* workign example
* started alpha support
* bump controller limit
* bump controller limit
* existing plugin pages work again
* save Plugin in cache
* remove AppPage wip
2019-04-15 16:54:00 +02:00
Hugo Häggmark
7eabc282e9
Chore: Adds typings to lodash ( #16590 )
2019-04-15 12:11:52 +02:00
Ryan McKinley
08a22c806f
DirectInput: new alpha datasource that lets you enter data via CSV
...
Initial alpha datasource that saves data directly in a panel or in the shared datasource configs.
2019-04-12 10:13:36 -07:00
Ryan McKinley
d27de81a91
Plugins: expose getBackendSrv() to plugins ( #15268 )
...
Temporarily expose getBackendSrv while we figure out a long term solution. This will unblock developing some more complex react external plugins.
2019-04-12 09:45:22 -07:00
Ryan McKinley
3c21a121eb
Plugins: Unifying alpha state & options for all plugins ( #16530 )
...
* app pages
* app pages
* workign example
* started alpha support
* remove app stuff
* show warning on alpha/beta panels
* put app back on plugin file
* fix go
* add enum for PluginType and PluginIncludeType
* Refactoring and moving settings to plugins section
fixes #16529
2019-04-12 13:46:42 +02:00
Ryan McKinley
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
Torkel Ödegaard
47e51cb6b3
Refactor: Plugin exports & data source / panel types ( #16364 )
...
* wip: began work off removing meta and pluginExports from DataSourceApi interface
* WIP: changing how plugins are exports and loaded
* Down the refactoring rabit hole that keeps expanding
* TestData now returns DataSourcePlugin
* Refactoring: fixed app config page loading, type renamings and more typings
* Refactor: Correct casing on DatasourceStatus => DataSourceStatus
2019-04-04 18:30:15 +02:00
Torkel Ödegaard
0d55141a2d
Panels: Refactoring how panel plugins sets hooks and components, #16166
2019-03-24 15:56:32 +01:00