Jack Westbrook
e4d8cdfcdf
chore: update packages dependent on dot-prop to fix security vulnerability ( #30432 )
2021-01-21 11:20:30 +01:00
Oscar Kilhed
26ae35132f
Dashboard: Remove Icon and change copy -> Copy to clipboard in the share embedded panel modal ( #30480 )
2021-01-21 11:15:14 +01:00
Silje Enge Kristensen
c91db6ae17
Chore: fix spelling mistake ( #30473 )
2021-01-21 09:17:46 +01:00
Andrej Ocenas
31192cf7db
Chore: Restrict internal imports from other packages ( #30453 )
2021-01-21 09:04:31 +01:00
Torkel Ödegaard
90551eafb0
Docs: What's new fixes and improvements ( #30469 )
...
* Docs: What's new fixes and improvements
* Another small wording update
2021-01-21 08:40:02 +01:00
Ryan McKinley
2ec4784190
Timeseries: only migrage point size when configured ( #30461 )
2021-01-20 22:28:19 -08:00
Hugo Häggmark
98406d6c42
Alerting: Hides threshold handle for percentual thresholds ( #30431 )
2021-01-21 06:23:09 +01:00
Hugo Häggmark
e1243e07ca
Graph: Fixes so only users with correct permissions can add annotations ( #30419 )
...
* Graph: Fixes so only users with edit permissions can add annotations
* Tests: corrects test message text
* Chore: changes after PR comments
2021-01-21 06:19:03 +01:00
Giordano Ricci
433fb505f0
Chore: update latest version to 7.4.0-beta1 ( #30452 )
2021-01-21 06:05:39 +01:00
Diana Payton
e25458bb6f
Docs: Add whats new 7.4 links ( #30463 )
...
* Update whats-new-in-v7-4.md
* Update add-query-editor-help.md
* Update whats-new-in-v7-4.md
* Update docs/sources/whatsnew/whats-new-in-v7-4.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-01-20 14:24:14 -08:00
Diana Payton
689f6849f4
Update whats-new-in-v7-4.md ( #30460 )
2021-01-20 12:47:10 -08:00
Kyle Brandt
7c35df1f7e
docs: 7.4 what's new (Add expressions note) ( #30446 )
...
Also add a note that expression do not work with current alerting.
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-01-20 15:45:57 -05:00
Arve Knudsen
bd71eb23df
Chore: Upgrade build pipeline tool ( #30456 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-20 20:30:45 +01:00
Torkel Ödegaard
05e37e9253
PanelModel: Make sure the angular options are passed to react panel type changed handler ( #30441 )
2021-01-20 18:28:27 +01:00
Torkel Ödegaard
b9fd4dba36
Expressions: Fix button icon ( #30444 )
2021-01-20 18:26:02 +01:00
Grot (@grafanabot)
f2464d5675
ReleaseNotes: Updated changelog and release notes for 7.4.0-beta1 ( #30449 )
2021-01-20 18:07:38 +01:00
Will Browne
0c67ceadb8
Docs: Fix img link for alert notification template ( #30436 )
...
* fix img link
* update image name
2021-01-20 17:26:58 +01:00
Andrej Ocenas
c7e6d14d34
grafana/ui: Fix internal import from grafana/data ( #30439 )
2021-01-20 17:17:11 +01:00
Erik Sundell
d9d27340b5
prevent field config from being overwritten ( #30437 )
2021-01-20 16:40:37 +01:00
Torkel Ödegaard
15033d0011
PanelOptions: Refactoring applying panel and field options out of PanelModel and add property clean up for properties not in field config registry ( #30389 )
...
* PanelOptions: Refactoring on applying panel and field options from PanelModel
* Progress
* Filtering out props
* downgraded prettier
* Fixes
* Initial simple remember and restore for custom and overrides
* clearing custom options and overrides and restoring works
* actually use the function
* Added type for options cache
* minor fix
* Updated with new prettier
* Added old field config to panel type change handler
* Update public/app/features/dashboard/state/getPanelOptionsWithDefaults.test.ts
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-01-20 16:06:29 +01:00
Oscar Kilhed
b40b134e4c
Dashboard: Remove template variables option from ShareModal ( #30395 )
...
* Dashboard: Remove template variables option and update style of ShareModal (#29191 )
* Simplified design
* Changed to text area component for embed and replaced select with RadioButtonGroup
* Use primitive string instead of SelectableValue in the states
* Changed embed html TextArea to writable and added a copy to clipboard button
* Added some space between the buttons on the snapshot tab and removed unnessecary FieldSet elements
* Add descriptions to the tabs that were missing descriptions
* Capitalization of theme names
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-01-20 15:48:49 +01:00
achatterjee-grafana
3cf47b24d3
Added doc content for variables inspector code change by Hugo ( #30408 )
...
* Created the Inspect variables topic.
* Check in changes.
* Added relrefs.
* Added Hugh's suggestion.
2021-01-20 09:37:27 -05:00
Agnès Toulet
b824be90e7
Docs: update license expiration behavior for reporting ( #30420 )
2021-01-20 15:08:19 +01:00
Giordano Ricci
11447aaf0d
Chore: use old version format in package.json ( #30430 )
2021-01-20 13:24:40 +00:00
Jack Westbrook
930c19eb09
Chore: upgrade NPM security vulnerabilities ( #30397 )
...
* chore: bump serialize-javascript dependents to use 3.1.0+
* chore: manually bump is-my-json-valid to 2.20.5
* chore: resolve kind-of@6 to 6.0.3
* chore: bump webpack-dev-server to solve faye-websocket vulnerability
2021-01-20 13:32:24 +01:00
Grot (@grafanabot)
3de0efff69
"Release: Updated versions in package to 7.5.0-pre.0" ( #30428 )
2021-01-20 12:36:11 +01:00
Arve Knudsen
b94fec8011
contribute: Add backend and configuration guidelines for PRs ( #30426 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-20 12:27:48 +01:00
Giordano Ricci
cc272132c9
Chore: Update what's new URL ( #30424 )
2021-01-20 12:07:36 +01:00
Dominik Prokop
2293ae2ef2
GraphNG: assume uPlot's series stroke is always a function ( #30416 )
2021-01-20 11:24:17 +01:00
Hugo Häggmark
b7b6632a4d
PanelLibrary: adding library panels to Dashboard Api ( #30278 )
...
* Wip: First naive impl
* Chore: fix after merge
* Chore: changes after PR comments
* Chore: removes unused types
* Chore: adds feature toggle
* Refactor: adds library panels cleanup and connect when storing dashboards
* Refactor: adds feature toggle
* Update pkg/services/librarypanels/librarypanels.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/services/librarypanels/librarypanels.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Refactor: adds disconnect library panels when deleting a dashboard
* Chore: changes after PR comments
* Tests: adds tests for LoadLibraryPanelsForDashboard
* Tests: adds tests for CleanLibraryPanelsForDashboard
* Tests: adds tests for ConnectLibraryPanelsForDashboard
* Tests: adds tests for DisconnectLibraryPanelsForDashboard and small refactor
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Refactor: deletes all connections in one call and connects all in the same transaction
* Chore: adds better comments
* Chore: changes after PR comments
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-20 09:28:10 +01:00
Torkel Ödegaard
36dc70e168
Prettier: Fixes to files that came in after main upgrade ( #30410 )
2021-01-20 08:59:11 +01:00
Erik Sundell
de7d163d24
Cloud Monitoring: Add curated dashboards for the most popular GCP services ( #29930 )
...
* Add dashboards that are converted from GCP format
* Changes according to pr feedback
* Remove dashboards that could not be tested using real data
2021-01-20 08:42:00 +01:00
Daniel Lee
b39df22574
Mssql integrated security ( #30369 )
...
* update go-mssqldb package
* mssql: support for Windows integrated security
Adds a dropdown to the config page to choose between
SQL Server auth and Windows auth. If the login/username
is empty then the go-mssqldb driver will use single sign on
(Windows integrated security) if on Windows.
* mssql: update ds - don't ignore the user column
2021-01-20 08:23:09 +01:00
Torkel Ödegaard
1d689888b0
Prettier: Upgrade to 2 ( #30387 )
...
* Updated package json but not updated source files
* Update eslint plugin
* updated files
2021-01-20 07:59:48 +01:00
Ryan McKinley
f27450ed94
GraphNG: sort ascending if the values appear reversed ( #30405 )
2021-01-19 21:44:16 -08:00
Diana Payton
e9e16cee6d
Docs: Grafana whats new 7.4 ( #30404 )
...
* Create whats-new-in-v7-4.md
* Update whats-new-in-v7-4.md
* Update types-options.md
* Update whats-new-in-v7-4.md
* Updated image paths
* minor edits
* updates
* content updates
* Update docs/sources/whatsnew/whats-new-in-v7-4.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/whatsnew/whats-new-in-v7-4.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-01-19 16:39:45 -08:00
kay delaney
b9b6af9491
Dashboards: Adds cheat sheet toggle to supported query editors ( #28857 )
...
* Dashboards: Adds cheat sheet toggle to supported query editors
2021-01-19 23:52:09 +01:00
Diana Payton
5d0a577f07
Docs: Update timeseries-dimensions.md ( #30403 )
2021-01-19 13:25:28 -08:00
Will Browne
c9da053e5d
Alerting: Evaluate data templating in alert rule name and message ( #29908 )
...
* evaluate Go style template
* inlince func
* add test case
* PR feedback and add tests for templte data map func
* Add test case
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* do regex check
* ensure ecape
* small cleanup
* dont exit on template execution errors
* add info tooltip
* add docs
* switch from go tmpl to regex
* update docs/comments
* update tooltip wording
* update docs wording
* add simple test
* avoid .MustCompile
* point to labels in docs
* update docs
* fix docs links
* remove line
* fix lint
* add note about multiple labels
* propagate labels for CM
* update docs
* remove whitespace
* update task title
* update docs
* pr feedback
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-19 22:02:44 +01:00
Diana Payton
446db193eb
Docs: Add links to 7.3 patch release notes ( #30292 )
...
* Update whats-new-in-v7-3.md
* Update docs/sources/whatsnew/whats-new-in-v7-3.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-01-19 12:08:13 -08:00
Diana Payton
67d22fae50
Docs: Update _index.md ( #29546 )
2021-01-19 12:04:34 -08:00
Diana Payton
c9a481c577
Docs: Update jaeger.md ( #30401 )
2021-01-19 11:58:02 -08:00
Kyle Brandt
d4edcd1838
Expressions: Remove feature toggle ( #30316 )
...
* Expressions: remove feature toggle, add experimental badge
* Make button only show for backend and mixed data sources
Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-01-19 14:18:06 -05:00
Diana Payton
4aa9aa8e12
Docs: Update tempo.md ( #30399 )
2021-01-19 10:38:36 -08:00
Diana Payton
6a041fc2a0
Docs: Update zipkin.md ( #30400 )
2021-01-19 10:38:00 -08:00
Arve Knudsen
116809ed7f
services/provisioning: Various cleanup ( #30396 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-19 18:57:09 +01:00
Chris Trott
9691af83ee
DashboardSchemas: OpenAPI Schema Generation ( #30242 )
...
* Go program to output openapi
* Fix number type syntax
Resolves error: 'unsupported op for number &'
* Render just the schemas
* Use args as entrypoints and add test
* Update README, tidy go.mod
2021-01-19 18:25:00 +01:00
Sofia Papagiannaki
b1debc9c46
AlertingNG: Enforce unique alert definition title (non empty)/UID per organisation ( #30380 )
...
* Enforce unique alert definition title/uid per org
* Remove print statement from test
* Do not allow empty alert definition titles
* update error message on dup title
* also add title error to update
* CamelCase json properties
* Add test for title unique enforcement in updates
Co-authored-by: kyle <kyle@grafana.com>
2021-01-19 19:11:11 +02:00
Emil Tullstedt
2a55e00c78
Licensing: Document new v7.4 options and APIs ( #30217 )
...
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-01-19 18:09:05 +01:00
Agnès Toulet
2a70c73025
Auth: add expired token error and update CreateToken function ( #30203 )
...
* Auth: add error for expired token
* Auth: save token error into context data
* Auth: send full user and req context to CreateToken
* Auth: add token ID in context
* add TokenExpiredError struct
* update auth tests
* remove most of the changes to CreateToken func
* clean up
* Login: add requestURI in CreateToken ctx
* update RequestURIKey comment
2021-01-19 17:55:53 +01:00