Commit Graph

62 Commits

Author SHA1 Message Date
Alexander Zobnin
f7adf0e379 Merge branch 'master' into backend 2020-01-16 12:34:25 +03:00
Alec Sears
92e77617cf [Backend] Merge 'master' changes into the backend (#875)
* CI: fix shellcheck issues (#789)

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>

* annotations: fix options in grafana 6.x, fix #813

* fix function editor in Grafana 6.4, closes #810

* add typings for grafana packages

* Add $__range_series variable for calculating function over the whole series, #531

* fix tests

* Don't set alert styles for react panels, fix #823

* docs: add range variables

* docs: percentile reference

* fix codespell

* update packages (build with node 12)

* update circleci node image to 12

* fix test configuration (babel)

* Fix 817 (#851)

* problems: update panel schema

* update packages (build with node 12)

* problems: use datasource from target

* problems: fix query editor after schema update

* problems: fix list layout

* update circleci node image to 12

* fix tests

* build(deps-dev): bump lodash from 4.17.10 to 4.17.13 (#852)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>

* fix packages security alerts

* problems: fix tags adding and removal

* fix adding func from typeahead, closes #468

* update change log

* bump plugin version to 3.10.5

* problems: fix tag removal (list layout)

* Fix percentile() function, closes #862 (#863)

Like the other aggregation functions, the datapoints need to be sorted in
time before calling groupBy_perf().

* Update copyright, happy New Year!

* fix not acknowledged problem color with a message (#858)

* fix not acknowledged problem color with a message

* fix not acknowledged problem color with a message, closes #857

* Variable query editor (#856)

* refactor: convert module to typescript

* refactor: covert utils to typescript

* variable query editor WIP

* variable editor: fix type error after grafana/ui update

* variable editor: use FormLabel from grafana/ui

* variable editor: refactor

* variable editor: input validation and highlights

* variable editor: fix tests

* variable query: fix backward compatibility with empty queries

* fix linter errors

* variable editor: fix variable replacement in queries

* Fixes for backend

Co-authored-by: Mario Trangoni <mario@mariotrangoni.de>
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Reibert <mreibert@netskope.com>
Co-authored-by: memfiz <arnis.civciss@gmail.com>
2020-01-15 14:48:43 +03:00
Alexander Zobnin
82cfda6524 Variable query editor (#856)
* refactor: convert module to typescript

* refactor: covert utils to typescript

* variable query editor WIP

* variable editor: fix type error after grafana/ui update

* variable editor: use FormLabel from grafana/ui

* variable editor: refactor

* variable editor: input validation and highlights

* variable editor: fix tests

* variable query: fix backward compatibility with empty queries

* fix linter errors

* variable editor: fix variable replacement in queries
2020-01-13 11:31:40 +03:00
Alexander Zobnin
90b8bfa99c bump plugin version to 3.10.5 2019-12-26 17:59:24 +03:00
Alexander Zobnin
4fcef290a7 fix packages security alerts 2019-12-26 16:51:02 +03:00
dependabot[bot]
68aa093cf3 build(deps-dev): bump lodash from 4.17.10 to 4.17.13 (#852)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-26 16:33:36 +03:00
Alexander Zobnin
c1db914376 fix test configuration (babel) 2019-12-25 12:12:36 +03:00
Alexander Zobnin
d09830f797 update packages (build with node 12) 2019-12-25 11:25:48 +03:00
Alexander Zobnin
ec36b7241b update sass-loader (build with node 12) 2019-12-13 14:12:43 +03:00
Alexander Zobnin
aa93e752c8 Merge branch 'multidatasource-pr' of github.com:dneth/grafana-zabbix into dneth-multidatasource-pr 2019-12-13 13:52:09 +03:00
Alec Sears
e153473421 Finish 2019-10-18 16:21:46 -05:00
Alec Sears
ee7af6ebf9 Upgrade Babel 2019-10-18 16:17:50 -05:00
Alec Sears
05243a9701 Progress 2019-10-18 16:17:48 -05:00
Alec Sears
a50c9a3e77 Update CircleCI to use Makefile and cache Go dependencies 2019-10-10 15:15:55 -05:00
Alexander Zobnin
ca50d0db98 add typings for grafana packages 2019-10-09 14:10:44 +03:00
Alexander Zobnin
0938d06487 Build files for backend 2019-09-24 19:29:18 +03:00
Alexander Zobnin
0855fe5189 Bump plugin version to 3.10.4 2019-08-08 12:49:50 +03:00
Alexander Zobnin
15d76dc941 bump plugin version to 3.10.3 2019-07-26 14:46:39 +03:00
Alexander Zobnin
4346e13365 fix function editor in Grafana 6, #765 2019-07-08 15:25:41 +03:00
Alexander Zobnin
e63e19c757 bump version to 3.10.1 2019-03-05 14:23:12 +03:00
Alexander Zobnin
056be6a7f2 tests: fix React import error 2019-02-12 22:28:05 +03:00
Alexander Zobnin
d7db242426 fix problems panel tests 2019-02-12 22:28:04 +03:00
Alexander Zobnin
2a3ff46a6a add types for classnames 2019-02-12 22:28:01 +03:00
Alexander Zobnin
9e40959ef6 problems ack dialog: submit on enter and show error for empty message 2019-02-12 22:28:00 +03:00
Alexander Zobnin
6e9a3e256d problems panel: update tooltip 2019-02-12 22:27:59 +03:00
Alexander Zobnin
6861d80530 problems panel: ack dialog 2019-02-12 22:27:55 +03:00
Alexander Zobnin
0b626898bb initial problems panel 2019-02-12 22:27:54 +03:00
Alexander Zobnin
6666a4f863 webpack: clean up grunt tasks (leave only benchmark runner) #632 2018-10-21 17:02:43 +03:00
Alexander Zobnin
331634dfdf initial webpack build, #632 2018-10-21 14:08:27 +03:00
Alexander Zobnin
995811da43 update dependencies 2018-10-18 16:31:00 +03:00
Alexander Zobnin
2e84893279 update jest version 2018-08-28 22:32:35 +03:00
Alexander Zobnin
e48afe864d fix potential security vulnerability in lodash (update version) 2018-08-28 20:47:05 +03:00
Alexander Zobnin
d53b45c708 remove unused "q" dependency 2018-08-28 18:17:52 +03:00
Alexander Zobnin
d9e04368d8 Migrate to CircleCI 2.0
* Adding auto-generated CircleCI 2.0 config file

* Clean up autogenerated CircleCI config

* CircleCI: use yarn.lock for dependency cache

* CircleCI: split build and test tasks

* CircleCI: remove v1 config
2018-08-28 12:41:58 +03:00
Alexander Zobnin
498e9f843c update moment.js in order to fix potential security vulnerability 2018-03-16 16:53:56 +03:00
Alexander Zobnin
87d6bd4b96 add more test for triggers panel 2017-12-15 13:48:46 +03:00
Alexander Zobnin
5359176f2a triggers panel: tests for schema migration 2017-12-03 12:52:50 +03:00
Alexander Zobnin
7cff1d65f7 simplify npm scripts 2017-10-31 11:26:21 +03:00
Alexander Zobnin
4cbf51613b add benchmark npm script 2017-10-31 11:24:07 +03:00
Alexander Zobnin
d6e38ed6f9 ignore dist/test 2017-10-31 11:16:48 +03:00
Alexander Zobnin
9b552a1803 use babel-jest for transpiling tests 2017-10-31 11:05:35 +03:00
Alexander Zobnin
060dd918c5 modify CI test task 2017-10-30 20:54:11 +03:00
Alexander Zobnin
dde5aa6a61 add codecov reports 2017-10-30 20:44:35 +03:00
Alexander Zobnin
e80a814880 migrate tests to Jest 2017-10-30 20:26:53 +03:00
Alexander Zobnin
8266f61d27 add test task as npm script 2017-10-30 13:29:34 +03:00
akotynski
eb1ef06ae7 upgrade jsdom to newest version so contextify is no longer required, add travis 2017-10-23 14:05:49 +02:00
Alexander Zobnin
462fa88965 Merge branch 'feature/sortseries' of https://github.com/Verivox-GmbH/grafana-zabbix into Verivox-GmbH-feature/sortseries 2017-10-16 15:31:11 +03:00
Alexander Zobnin
630dd17659 fix tether-drop dependency after moving Grafana to webpack 2017-10-11 20:04:49 +03:00
Marcel Dorenkamp
46f35ee126 added grunt-cli to devdependencies 2017-10-10 10:33:32 +02:00
Marcel Dorenkamp
397bd673f8 added dev dependencies, build command 2017-10-10 10:27:28 +02:00