Arve Knudsen
ba4a8256a4
Chore: Rename plugin CI image as grafana/grafana-plugin-ci:latest-alpine ( #26106 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-07 19:16:22 +02:00
Arve Knudsen
c711b792fe
Plugin CI image: Pin Alpine version, don't use apk cache ( #26095 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-06 20:44:54 +02:00
Marcus Andersson
700ab8f3d8
Chore: bumped version to next minor. ( #25971 )
2020-07-01 13:26:36 +02:00
Ryan McKinley
1a711e7df0
Panel Inspect: use monaco for json display ( #25251 )
2020-06-29 10:58:47 -07:00
Dominik Prokop
75706a4a8b
Toolkit: fix grafana-toolkit binary path so toolkit is not run in linked mode ( #25860 )
2020-06-26 10:45:39 -07:00
Dominik Prokop
a8b660d919
Improve yarn start output ( #25773 )
2020-06-24 14:37:36 +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
Alex Khomenko
03f241a674
Grafana UI: Add FieldSet component ( #25348 )
...
* Grafana UI: Add FieldSet
* Grafana UI: Add story
* Grafana UI: Add docs
* Grafana UI: Export FieldSet
* Grafana UI: Fix issues
2020-06-04 16:52:52 +03:00
Josh Soref
ed92b41d47
Chore: spelling - misc ( #24438 )
...
* Chore: spelling - misc
* fix master merge
2020-06-04 06:51:30 +02:00
Sofia Papagiannaki
139be3d7ba
grafana/toolkit: Modify close milestone task to remove label from more than 100 pull requests and add dry run option ( #25108 )
...
* Fix close milestone to remove label from all the required pull requests
There used to be a limit to 100 pull requests.
* Add dry run option in close-milestone task
2020-05-26 17:26:16 +03:00
Stephanie Closson
b7d5912ca8
Chore: Toolkit fixes to use toolkit for release ( #24951 )
...
* Various fixes and requests for toolkit:
1) Added toolkit to the alpine docker image, so we can get latest fixes without having to re-release
2) Removed cp from e2d docker image
3) Change github client to allow to specify an owner so it's not "grafana" only
4) Toolkit refers to grafana-ui and grafana-data "next", rather than canary
* added toolkit to e2e docker image
* Added tools to the e2e image for building/deploying oracle
* added shasum
* removing toolkit from images
2020-05-21 09:41:15 -06:00
Ryan McKinley
9edd8b7c7e
Toolkit: update the artifact download calculation ( #24828 )
2020-05-20 15:59:25 -07:00
Andrew Rodgers
ce7b142d64
Toolkit: Update tsconfig to clear linter errors ( #24824 )
2020-05-18 16:00:02 -07:00
Marcus Efraimsson
44fae66bc0
Grafana v7.0 changelog update ( #24737 )
...
* Grafana v7.0 changelog update
* enterprise changelog
* docs: white-labeling login title and subtitle
* Add backend plugins breaking change regarding plugin signing
* Update CHANGELOG.md
Co-authored-by: Kyle Brandt <kyle@grafana.com>
* Update docs/sources/installation/upgrading.md
Co-authored-by: Kyle Brandt <kyle@grafana.com>
* Update docs/sources/installation/upgrading.md
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2020-05-18 17:52:59 +02:00
Zoltán Bedi
660f2b4e99
Fallback to process.cwd() when PWD is not present ( #24677 )
...
Fixes #24582 - Error running yarn dev command
2020-05-14 13:36:25 +02:00
Tobias Skarhed
85ae144a87
Changelog and Readme: Update packages to beta and add Select breaking change ( #24670 )
2020-05-14 11:58:26 +02:00
Dominik Prokop
c5fc18ac02
grafana/toolkit: Support paging in cherrypick task ( #24402 )
...
* Support paging in cherrypick task
* Update packages/grafana-toolkit/src/cli/tasks/cherrypick.ts
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update packages/grafana-toolkit/src/cli/tasks/cherrypick.ts
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Do not cherry pick closed PRs
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-05-11 10:24:06 +02:00
Ryan McKinley
b34a5b5648
Toolkit: use grabpl for manifest ( #24319 )
2020-05-05 19:47:58 -07:00
Stephanie Closson
21bd9dacd6
Toolkit: Docker images/Add grabpl tool for deploys ( #24309 )
...
* Add grabpl tool for deploys
* Rest of the files
2020-05-05 13:57:08 -06:00
Dominik Prokop
97c0285543
Enable svg bundle with rollup ( #24258 )
2020-05-05 10:39:49 +02:00
Marcus Efraimsson
64aba38f49
Update changelog for v7.0.0-beta1 ( #24007 )
...
Co-Authored-By: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-Authored-By: Andrej Ocenas <mr.ocenas@gmail.com>
Co-Authored-By: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2020-04-29 09:52:55 +02:00
Marcus Efraimsson
7c43dca9bb
Fix pagination of issues/PR's in changelog generator ( #23997 )
...
Fix pagination of issues/PR's in changelog generator
2020-04-28 16:32:12 +02:00
Arve Knudsen
154dc18809
Chore: Update Grafana version ( #23985 )
...
* Update Grafana version
2020-04-28 12:29:28 +02:00
Hugo Häggmark
b09b49fb37
e2e: creates a separate package for selectors ( #23858 )
...
* Initial commit
* Chore: fixes after merge
* Chore: removes todos
* Chore: uncomment test
* Chore: adds missing externals to rollup config
* Refactor: selectors is master for everything
* Docs: updates Docs
* Chore: adds e2e-selectors to publish
2020-04-27 09:09:05 +02:00
Dominik Prokop
6dfad3b352
grafana/toolkit: Do not suggest Angular panel anymore, add note about Grafana tutorials ( #23902 )
2020-04-26 13:16:04 +02:00
Carl Bergquist
78566de75a
adds template for backend datasource ( #23864 )
2020-04-24 19:45:45 +02:00
Stephanie Closson
e35f27ea8f
Toolkit: fixes for security and publishing ( #23749 )
...
* Fixes and security patches:
1. Always keep the source directory, just don't package the source
2. Do not publish the SSH key for common plugin tasks.
Changed to environment variable
* env variable renamed.
* Re-added the src remove
* touch config.yml for rebuild
2020-04-23 12:58:22 -06:00
Torkel Ödegaard
017767ae39
InputDatasource: Fixed prettier errors ( #23679 )
...
* InputDatasource: Fixed prettier errors
* Fixed prettier config in toolkit to make it consistent with grafana core prettier config
2020-04-21 10:14:14 +02:00
Dominik Prokop
d2a13c4715
FieldOverride: Support data links via field overrides ( #23590 )
...
* Move xss and sanitize packages to grafana-data
* Move text, url and location utils to grafana-data
* Move grafana config types to grafana-data
* Move field display value proxy to grafana-data
* Fix
* Move data links built in vars to grafana-data
* Attach links supplier to when applying field overrides
* Prep tests
* Use links suppliers attached via field overrides
* locationUtil dependencies type
* Move sanitize-url declaration to grafana-data
* Revert "Move sanitize-url declaration to grafana-data"
This reverts commit 11db9f5e55
.
* Fix typo
* fix ts vol1
* Remove import from runtime in data.... Make TS happy at the same time ;)
* Lovely TS, please shut up
* Lovely TS, please shut up vol2
* fix tests
* Fixes
* minor refactor
* Attach get links to FieldDisplayValue for seamless usage
* Update packages/grafana-data/src/field/fieldOverrides.ts
* Make storybook build
2020-04-20 07:37:38 +02:00
Ryan McKinley
1e03bb2895
Bundled Plugins: fix build issues with DirectInput ( #23640 )
...
* pass query error
* and the root
* not optional
* building bundled plugin
* missing file
* remove other branch
* fix prettier
2020-04-19 07:05:25 +02:00
Stephanie Closson
4e521a84b4
Tweaks and comments for ci-improvements, stability, and readibility ( #23658 )
...
* Tweaks and comments for ci-improvements, stability, and readibility
- Made naming more obvious and intuitive
- CI supports grafana e2e plus more granular design
(side effect that it takes slightly longer, but negligable)
- disable strict e2e errors through environment variable
- Added tools for linting and for building plugin-ci
* feedback from stevev - remove version. Causes problems
2020-04-17 14:48:42 -06:00
Stephanie Closson
336ab8990e
Toolkit: Update slim debian image for e2e testing ( #23629 )
...
* Because alpine uses musl instead of libc, the e2e/cypress was not compatible
So:
- Created new VM based on debian-slim
- Could also be used as a build VM
Fixes:
- ginstall issue with merge somewhere.
- Trimmed down the alpine VM since we don't need the extra libraries for cypress
* Fix: Don't need cp on debian
Fix: Don't use /bin/sh on debian. Only for alpine. Use /bin/bash on debian
Fix: Missing dependencies to e2e tests
2020-04-17 14:29:10 -06:00
Alex Khomenko
89c8855f9d
Search: migrate manage dashboards ( #23530 )
...
* Search: add search wrapper
* Search: add DashboardSearch.tsx
* Search: enable search
* Search: update types
* Search: useReducer for saving search results
* Search: use default query
* Search: add toggle custom action
* Search: add onQueryChange
* Search: debounce search
* Search: pas dispatch as a prop
* Search: add tag filter
* Search: Fix types
* Search: revert changes
* Search: close overlay on esc
* Search: enable tag filtering
* Search: clear query
* Search: add autofocus to search field
* Search: Rename close to closeSearch
* Search: Add no results message
* Search: Add loading state
* Search: Remove Select from Forms namespace
* Remove Add selectedIndex
* Remove Add getFlattenedSections
* Remove Enable selecting items
* Search: add hasId
* Search: preselect first item
* Search: Add utils tests
* Search: Fix moving selection down
* Search: Add findSelected
* Search: Add type to section
* Search: Handle Enter key press on item highlight
* Search: Move reducer et al. to separate files
* Search: Remove redundant render check
* Search: Close overlay on Esc and ArrowLeft press
* Search: Add close button
* Search: Document utils
* Search: use Icon for remove icon
* Search: Add DashboardSearch.test.tsx
* Search: Move test data to a separate file
* Search: Finalise DashboardSearch.test.tsx
* Add search reducer tests
* Search: Add search results loading indicator
* Search: Remove inline function
* Search: Do not mutate item
* Search: Tweak utils
* Search: Do not clear query on tag clear
* Search: Fix folder:current search
* Search: Fix results scroll
* Search: Update tests
* Search: Close overlay on cog icon click
* Add mobile styles for close button
* Search: Use CustomScrollbar
* Search: Memoize TagList.tsx
* Search: Fix type errors
* Search: More strictNullChecks fixes
* Search: Add ManageDashboards.tsx
* Search: Add mergeReducers
* Search: Use mergeReducers
* Search: remove default state from reducers
* Search: Fix recent and starred icons
* Search: Enable search
* Search: Add markup
* Search: Separate manageDashboardsReducer
* Search: Add DashboardActions.tsx
* Use new Select for TagFilter
* Search: Use TagFilter for search filters
* Search: Use TagList
* Search: Add toggleSection
* Search: Add more actions
* Search add manageDashboards.test.ts
* Search: Add getCheckedUids
* Search: Add modify and toggle checked actions
* Search: Update tests
* Search: Update component template
* Search: Enable section toggle
* Search: Derive canMove and canDelete
* Search: Handle delete items
* Search: Fix tests
* Search: Enable toggle items
* Search: Add confirm modal subtitle
* Search: Use theme vars
* Search: Add getCheckedDashboardsUids
* Search: Add MoveToFolderModal
* Search: Enable moving dashboards
* Search: Fix strict null checks errors
* Search: Fix strict null checks errors[2]
* Search: Enable filters
* Search: Add useSearchQuery.ts
* Search: Toggle items when toggling all
* Search: Update useSearchQuery to accept custom params
* Search: Add useSearchQuery to dashboard search
* Search: use SearchField for manage dashboards
* Search: Remove event param from query change
* Search: Add base search hooks
* Search: refactor useSearch to accept reducer
* Search: use useDashboardSearch hook
* Search: Fix useSearchQuery params
* Search: Enable folder search
* Search: Update tests
* Search: Pass the props to manage-dashboards
* Search: Add search filters margin
* Search: Remove search-field-wrapper class and hide logic for it
* Search: Adjust SearchField styles
* Search: Move search-results-container inside SearchResults
* Search: Fix type errors
* Search: Add EmptyListCTA
* Search: Update move message
* Search: Cleanup
* Search: Add todo
* Search: Fix action type
* Search: Use React wrapper vs FolderDashboardsCtrl and DashboardListCtrl
* Search: DashboardList => DashboardListPage
* Search: Remove ManageDashboards from angular_wrappers
* Minor style tweaks
* Search: Use LinkButton
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-17 15:29:20 +03:00
Stephanie Closson
2de79a4d8c
Because alpine uses musl instead of libc, the e2e/cypress was not compatible ( #23602 )
...
So:
- Created new VM based on debian-slim
- Could also be used as a build VM
Fixes:
- ginstall issue with merge somewhere.
- Trimmed down the alpine VM since we don't need the extra libraries for cypress
2020-04-16 05:38:56 -06:00
Agnès Toulet
c796f70a3b
Toolkit: Update node_modules path to fix Windows error ( #23582 )
2020-04-15 12:32:22 +02:00
Stephanie Closson
52575ff03f
Toolkit: Copy config files to dist for plugin use/Fix circleci build errors ( #23575 )
...
* replaced run
* consolidated dist and toolkit
* Solved a few more issues
1. Need to explicitly copy circleci config to dist
so that it's published
2. Detect build directory, and use "local" or "linked"
mode for local builds.
* Reverted change used only for testing
* grafana-toolkit.js always required now. Copy to dist
* removed grafana-toolkit.dist.js, no longer required
* feedback from code review
* Code review comments 2.
2020-04-14 15:05:18 -06:00
Stephanie Closson
a28dfaf177
Toolkit: Fix error for running in linked mode vs non-linked mode ( #23571 )
...
* replaced run
* consolidated dist and toolkit
2020-04-14 10:46:29 -06:00
Stephanie Closson
c5f21bdae9
Toolkit: Provide update plugin to allow plugins configuration to normalize ( #23540 )
...
* Toolkit: Update plugin added
- To normalize an bring a plugins "managed" config up to date
* Added changes for filter only release
* changed name
* updated test for checking files in manifest
2020-04-13 17:10:33 -06:00
Stephanie Closson
ae95287d1e
New alpine based plugin ci image ( #23533 )
...
* New alpine based plugin ci image
- smaller, based on alpine (downloads in 7 to 10 seconds)
- Has updated gget that uses tar.gz
- Unpacks to /opt/grafana
- Compatible cp with toolkit
* needed build tools for go lint
* added built vm to test tool
* add circleci plugin config
* added openssh to image
* fix for gget & renamed to ginstall
2020-04-13 11:53:16 -06:00
Ryan McKinley
afec54d257
Tookit: set verison from info.version ( #23511 )
2020-04-10 22:49:25 -07:00
Ryan McKinley
fc55c8d017
Toolkit: more logging while signging ( #23509 )
2020-04-10 21:09:06 -07:00
Ryan McKinley
8ed6ab2bc9
Toolkit: add CI to the signing URL ( #23507 )
2020-04-10 16:11:20 -07:00
Stephanie Closson
7f61f3cc43
Fix: 404 is returned as an exception. Catch and if 404, don't worry about it ( #23505 )
2020-04-10 11:18:44 -06:00
Alex Khomenko
f458da4d7f
React generator ( #23150 )
...
* Toolkit: Setup templates
* Toolkit: Add plop
* Toolkit: Setup createComponent task
* Toolkit: Use lodash templates
* Toolkit: Generate story and mdx file
* Toolkit: Add story type
* Toolkit: Fix types
* Toolkit: Add test template
* Toolkit: Remove plop
* Toolkit: Tweak types
* Toolkit: Minor fixes
* Toolkit: Add internal story option
* Toolkit: Fix test
* Toolkit: Clarify prompt
* Toolkit: add prompt list for component group
* Toolkit: make generator script internal
* Toolkit: add description
* Toolkit: add missing when condition
2020-04-10 11:32:49 +03:00
Ryan McKinley
b710f21a06
Toolkit: catch errors from signing service ( #23486 )
2020-04-09 13:30:34 -07:00
Ryan McKinley
227b233aaa
Toolkit: save a json manifest file for signing ( #23446 )
2020-04-09 08:28:30 -07:00
Stephanie Closson
242db64158
Learnings from latest automated git publish. Small tweaks ( #23440 )
2020-04-08 09:22:36 -06:00
Ryan McKinley
67e45a1d43
Plugins: do not publish bundled plugins to npm ( #23401 )
2020-04-07 08:01:06 -07:00
Ryan McKinley
03e3ddcbdb
Plugins: add a bundle plugins folder ( #20850 )
2020-04-07 00:04:24 -07:00
Stephanie Closson
139753358d
Fixes for toolkit ( #23379 )
...
1. Typo in the default email address
2. Nested promises causing problems in some situations. Return a promise
and resolve in the outer function
3. If extension still have '.' in front remove it prior to matching.
2020-04-06 17:28:48 -06:00