Hugo Häggmark
e54fc47462
Variables: Adds variables inspection ( #25214 )
...
* Chore: initial commit
* Refactor: adds usages
* Refactor: adds FeatureInfoBox
* Refactor: uses graphs instead
* Refactor: adds id, name, title to prop instead of key
* Refactor: adds usages to VariablesList
* Refactor: Moves unknowns to first page
* Refactor: minor stylings and icons
* Refactor: styling
* Refactor: changed to button with modal
* Refactor: adds VariablesDependenciesButton
* Refactor: changes after UX feedback
* Refactor: renames heading
* Refactor: changes after PR comments
* Refactor: small changes after PR comments
2020-11-05 09:53:27 +01:00
Torkel Ödegaard
c3ed644f66
Marked: Upgrade and always sanitize by default ( #28796 )
...
* Marked: Upgrade and always sanitize by default
* Added test
* corrected text panel logic
2020-11-05 09:40:12 +01:00
Dominik Prokop
4eeac69b29
core and grafana/toolkit: Use latest version of grafana-eslint-conifg ( #28816 )
2020-11-04 13:50:50 +01:00
Torkel Ödegaard
b35d4e1e8e
Dependencies: Update angularjs to 1.8.2 ( #28736 )
...
* Angular: Update to angukar v1.8 with backward compatability monkey patches
* Update fix
* Updated
* Updated
* Fixes
* Update wording
* Update
2020-11-03 13:18:10 +01:00
Torkel Ödegaard
a9cdc4b129
Dependencies: Remove unused dependency ( #28711 )
...
* Dependencies: Remove unused dependency
* Remove import
* Updated
2020-11-02 12:54:57 +01:00
Zoltán Bedi
b0fbde3a0c
Chore: allow higher nodejs version than 12 ( #28624 )
2020-10-30 08:45:13 +01:00
Dominik Prokop
a03dd3ecf2
Bump rxjs to 6.6.3 ( #28657 )
2020-10-29 14:50:42 +01:00
Zoltán Bedi
020dde53e4
Chore: Upgrade grafana-eslint to latest ( #28444 )
2020-10-21 22:56:33 +02:00
Domas
97526fc492
Plugins: do not remount app plugin on nav change ( #28105 )
...
* do not remount app plugin on nav change
* test for not mounting app plugin twice
2020-10-21 09:58:23 +02:00
Zoltán Bedi
e1c44d7a8a
Chore: react hooks eslint fixes in grafana-ui ( #28026 )
...
* Fix some rule violation in grafan-ui
* Update eslint-plugin-react-hooks to latest
* Remove duplicate dependency
* Fix more files
* Props destruction
2020-10-21 09:06:41 +02:00
Arve Knudsen
febdad4da2
Chore: Update package.json ( #28291 )
...
* Chore: Update what's new and release notes URL in package.json
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: Update version
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-15 14:41:25 +02:00
Marcus Andersson
f334cc4576
Docs: generate packages docs before syncing to website ( #27879 )
...
* updated to latest version of api-documenter.
* saved lockfile after upgrade.
* adding yarn to docker environment.
* adding packages to trigger paths.
* added steps to workflow for generating docs.
* reverted back to api-documenter 0.9.3
2020-10-14 17:03:35 +02:00
Marcus Andersson
b5196f531c
Build: added steps to generate packages api documentation. ( #27930 )
...
* added steps to generate docs.
* re-generated the drone.yml file.
* removed metrics reporting from pr pipeline.
* fixed spelling issues.
* fixed so package generation should work.
* some small refactorings.
* fixed spelling error.
* adding echo to verify that we execute the correct script.
* removed echo statement.
* changed scripts a bit.
* added ci flag to script.
* adding exit 1
* increased the limit.
* added missing space.
* fixed shellcheck error.
* fixing lint errors.
* renamed build step.
* changed logic.
* increased limit.
* changed to echo instead of echo -e
* fixed shellcheck errors.
* trying to debug script,
* trying to simplify the find statement.
* fixed issue with text formatting on linux.
* imported build step.
* Update scripts/ci-reference-docs-lint.sh
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* removed cleanup of packages.
* increased limit.
* will build frontend docs on master but not lint it.
* will always run the linting step.
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-14 14:35:55 +02:00
Steven Vachon
830e8b64c3
@grafana/eslint-config bump ( #28230 )
...
* Use latest @grafana/eslint-config
* Version bump
2020-10-13 12:45:22 -04:00
Steven Vachon
0c7fb0cf90
Use latest @grafana/eslint-config ( #28225 )
...
* Use latest @grafana/eslint-config
* Updated lockfile
2020-10-13 11:23:39 -04:00
Arve Knudsen
a5c03b1772
Chore: Upgrade Node to 12.19.0 ( #28168 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-12 07:10:50 +02:00
Steven Vachon
77242b7264
Use latest @grafana/eslint-config ( #28124 )
...
* Use latest @grafana/eslint-config
* Updated lockfile
2020-10-08 13:56:30 -04:00
Torkel Ödegaard
dfe04ea3e8
Packages: Fixed npm dependency issue ( #27996 )
...
* Packages: Fixed npm dependency issue
* Updated yarn.lock
* Fixes
* Updated
2020-10-03 07:13:19 +02:00
kay delaney
d322417217
Chore: Upgrade typescript and related packages ( #27316 )
...
* Chore: Upgrade typescript and related packages
Closes #27115
* Apply suggestions from code review
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* fixes some tests
* Fix failing tests
* Apply suggestions from code review
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-09-25 15:48:41 +01:00
Zoltán Bedi
b98c85d81c
Chore: eslint plugin react hooks fix in jeager ( #27580 )
...
* Use eslintignore instead of gitignore
* Fix jaeger errors
2020-09-24 14:41:57 +02:00
Arve Knudsen
f5c2b771ee
Chore: Upgrade golangci-lint ( #27719 )
...
* Chore: Upgrade golangci-lint to latest
* ci-build: Upgrade Node/Yarn
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-23 10:55:25 +02:00
Marcus Andersson
d75758071b
Chore: bumped to next version 7.3.0-pre ( #27476 )
...
* bumped version to the next minor.
* bumped packages version to the next minor.
2020-09-09 15:43:37 +02:00
Marcus Andersson
b35af9eaa7
Chore: Update release notes/what's new for v7.2. ( #27475 )
2020-09-09 14:55:09 +02:00
Arve Knudsen
58af541321
Drone: Report front-end test metrics ( #27395 )
...
* Drone: Report front-end test metrics
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* ci-frontend-metrics.sh: Fix collection bugs; print JSON
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add Yarn script ci:test-frontend
2020-09-07 13:17:03 +02:00
Ryan McKinley
f7be1ba030
Chore: update pappparse for security fix ( #27412 )
2020-09-06 21:22:54 -07:00
kay delaney
444f2d5896
Dependencies: Adds @testing-library/user-event for best practices ( #27397 )
...
Adds @testing-library/user-event so that best practices can be followed
when writing tests
2020-09-04 16:38:27 +01:00
Hugo Häggmark
d633cc3c09
Tests: removes unused stuff and replaces monaco transpile with mock ( #27324 )
2020-09-03 08:54:46 +02:00
Simon Podlipsky
84eb03e7e5
BackendSrv: Use uuid v4 as an identifier instead of Date.now() ( #27176 )
2020-08-25 08:58:21 +02:00
Alex Khomenko
6b2d44416d
Testing: Use React Testing Library ( #27072 )
...
* Add RTL
* Add setupTests.ts
* Refactor DashboardSearch tests
2020-08-20 16:21:42 +03:00
Zoltán Bedi
ae30482465
Chore: MEGA - Make Eslint Great Again 💅 ( #26094 )
...
* Fix lint error in types.ts
* Bump eslint and its deps to latest
* Add eslintignore and remove not needed eslintrcs
* Change webpack configs eslint config
* Update package.jsons and removed unused eslintrc files
* Chore yarn lint --fix 💅
* Add devenv to eslintignore
* Remove eslint disable comments for rules that are not used
* Remaining eslint fixes 💅
* Bump grafana/eslint-config 💥
* Modify package.json
No need for duplicate checks.
* Modify eslintignore to ignore data and dist folders
* Revert removing .eslintrc to make sure not to use certain packages
* Modify package.json to remove not needed command
* Use gitignore for ignoring paths
2020-08-11 17:52:44 +02:00
Hugo Häggmark
f92bc0994d
TextPanel: Fixes issue when interpolation of variables stops working ( #26847 )
...
* TextPanel: Fixes issue when interpolation of variables stops working
* Tests: fixes broken typing in test
* Tests: updates e2e dashboard to html so we get the raw strings
* Tests: reverted back to markdown and fixed a bug
2020-08-10 06:38:22 +02:00
dependabot[bot]
2cd9b9a7b9
Chore(deps): Bump prismjs from 1.19.0 to 1.21.0 ( #26875 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.19.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.19.0...v1.21.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-09 08:55:26 +02:00
Arve Knudsen
9c81c7aa44
Chore: Upgrade Volta's pinned Node version ( #26855 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-07 11:52:52 +02:00
dependabot[bot]
49c4edb2cb
Chore(deps): Bump lodash from 4.17.15 to 4.17.19 ( #26417 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-04 17:37:29 +02:00
Ryan McKinley
0e3b4e8ccc
Chore: update rxjs ( #26749 )
2020-08-03 09:02:02 -07:00
Ryan McKinley
339138d61a
Live: include a streaming event manager ( #26537 )
2020-07-27 00:26:16 -07:00
Dominik Prokop
718b78c4ce
Bring back scripts evaluation in TextPanel ( #26413 )
2020-07-17 18:00:58 +02:00
Arve Knudsen
d28d495235
Chore: Enable PR testing in Drone ( #26189 )
...
* Add Drone configuration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build front-end before testing it
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade grafana/build-container
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add packaging step
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Trigger on push
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove some steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Enable steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Install Dockerize
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use node image for test-frontend
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Increase number of test workers
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Make plugin installation depend on frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Make integration tests depend on frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use grafana/build-container also for front-end tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade dependencies in order to fix front-end tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Depend on es-check
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Dont' depend on tests before building front-end
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix packaging
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Simplify
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Try to build images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Install netcat
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Include golangci-lint with grafana/build-container
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build storybook and docs website
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use build image with root user
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drop CircleCI dependencies
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e under Drone
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Execute e2e server separately
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use own plugin for building Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use Starlark to configure Drone
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add enterprise steps to pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more enterprise steps to pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Maintain Yarn cache
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build enterprise Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build Ubuntu Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Refactor
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add Postgres integration test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add MySQL integration test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix integration tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Parameterize integration test DB connections
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Categorize integration tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use grabpl integration-tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unintended change
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Disable Ubuntu Docker images for PR pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Regenerate yarn.lock
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade grabpl
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Restore Yarn cache before installing in grafana-enterprise
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use separate pipelines for OSS and enterprise
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Let OSS builds depend on tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Restore Go cache before building back-end
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Reduce number of variants built for PRs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix building of Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Simplify logic
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Use Starlark
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Fix syntax error
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Convert .drone.star to YAML
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade AWS Go SDK
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Fix Go linting
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Undo irrelevant changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Revert "Undo irrelevant changes"
This reverts commit 5152f65972
.
* Undo irrelevant changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* e2e: Support Circle
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused script
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* TypeScript fixes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* TypeScript fixes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused script
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* More Drone support
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused script
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix build on Circle
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove TODO comment
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-10 16:09:21 +02:00
Dominik Prokop
36e9d262c0
Add guide and tooling for local packages registry setup ( #26110 )
2020-07-07 14:07:00 +02:00
Dominik Prokop
aa671c863e
Chore: Bump rxjs to latest ( #26084 )
2020-07-07 10:45:15 +02:00
Marcus Andersson
700ab8f3d8
Chore: bumped version to next minor. ( #25971 )
2020-07-01 13:26:36 +02:00
Arve Knudsen
285c22eea0
Update release notes/what's new for v7.1 ( #25962 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-01 10:08:00 +02:00
Steven Vachon
bbce01de04
Chore: whatwg-fetch version bump ( #25952 )
...
* Use latest fetch polyfill/shim
* Updated lockfile
2020-06-30 17:04:55 -04:00
Ryan McKinley
1a711e7df0
Panel Inspect: use monaco for json display ( #25251 )
2020-06-29 10:58:47 -07:00
Arve Knudsen
e998f6e855
Chore: Remove es-check as dev dependency ( #25772 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-06-23 18:08:23 +02:00
Zoltán Bedi
c16890c22d
Chore: use fork-ts-checker plugin for eslint check ( #25631 )
...
* Use fork-ts-checker for eslint check
* Fix lint issue
* Add packages to lint
* Add comments to webpack configs
2020-06-22 16:15:29 +02:00
Hugo Häggmark
e2ba0731e2
Chore: Upgrades jQuery and @types/jQuery ( #25651 )
...
* Chore: upgrades jQuery and @types/jQuery
* Chore: reduce strict null errors
* Fixed issue in graphite func editor
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-06-18 11:35:11 +02:00
Ryan McKinley
d1b230f84a
Chore: upgrade to Typescript 3.9.3 ( #25154 )
...
* upgrade to typescript 3.9.3
* Fix errors that surfaced with update
* Null check fixs
* FIx null checks
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-06-17 12:26:01 +02:00
Marcus Andersson
a5b38b799a
Build: scripts to build and measure packages reference docs ( #24876 )
...
* added script to check docs metrics.
* added information link on how to add code comments.
* added script for build and measure code comment metrics.
* fixed issues according to shellcheck.
* Added so we build the metrics if report folder is missing.
* added some spacing and a devider.
* Added so we can send metrics to grafana.
* added shellcheck attribute.
* Fixed spelling according to feedback.
* see if shellcheck passes.
* fixed issue with shellcheck.
* Explore/Logs: Fix tooltip display for log graph (#25544 )
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2020-06-16 09:33:23 +02:00
Arve Knudsen
91c24e1f56
Chore: Upgrade Jest to latest ( #25591 )
...
* Chore: Upgrade Jest to latest
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: reduces strict null errors
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2020-06-15 13:06:37 +02:00