Jack Westbrook
efe9eed758
Chore: Move Typescript cache file to root ( #45964 )
...
* chore(typescript): move TS cache file to root of repo
* chore(typescript): cache packages ts checks to disk for faster yarn typecheck
2022-03-04 09:26:25 +01:00
Torkel Ödegaard
a404dba29d
Datasource: Fixes changing default data source causes inconsistency between panel data source and query data source ( #46167 )
...
* Datasource: Fixes changing default data source causes inconsistency between panel data source and query data source
* Fix unit tests
2022-03-04 08:58:13 +01:00
Kevin Minehart
0544218bb7
upgrade to 2.9.21 ( #46219 )
2022-03-03 19:00:46 -06:00
Kevin Minehart
593b2846c6
upgrade to 2.9.20 ( #46217 )
2022-03-03 18:09:14 -06:00
Ryan McKinley
0aad61d0ac
Search: add a simple search page (behind feature flag) ( #45487 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-03-03 14:56:14 -08:00
Kevin Minehart
085a8fde67
linux-x64 -> linux-amd64 ( #46209 )
2022-03-03 23:53:09 +01:00
Shirley
e39d5382cf
CloudWatch: Update minimal policies documentation ( #45478 )
...
* Separate metrics and logs policies
* Update policy examples
Removes GetMetricStatistics which is no longer used
* WIP for testDatasource
* WIP add datasource health check test
* Undo changes on imports
2022-03-03 17:00:10 -05:00
Kevin Minehart
09e74c5ec5
upgrade grabpl ( #46192 )
2022-03-03 18:42:29 +00:00
Karl Persson
7daa0a05e3
Fix spelling ( #46191 )
2022-03-03 19:16:44 +01:00
Karl Persson
8cea8fdaea
Access Control: Filter out hidden permissions in access control dashboard guardian ( #46177 )
...
* Implement GetHiddenACL to handle legacy api correctly
2022-03-03 18:29:39 +01:00
Karl Persson
19266ad3de
Docs: Add documentation for dashboard and folder roles ( #46171 )
...
* Add docs for dashboard and folder permissions
* Add docs for dashboard and folder roles
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/enterprise/access-control/fine-grained-access-control-references.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-03-03 18:29:16 +01:00
Leon Sorokin
3e3a657343
BarChart: fix hovered series highlight in tooltip ( #44882 )
2022-03-03 10:57:54 -06:00
Ashley Harrison
b1125c0ba3
TextPanel: Sanitize after markdown has been rendered to html ( #46166 )
...
* Sanitize after markdown has been rendered to html
* Update e2e test
2022-03-03 16:50:09 +00:00
Kyle Brandt
994a22f4c2
Chore: Remove deprecated no-op option PreferServerCipherSuites ( #46174 )
...
* Chore: Remove deprecated no-op option PreferServerCipherSuites
from the tls configs.
Per golang docs: "PreferServerCipherSuites is a legacy field and has no effect."
2022-03-03 11:48:26 -05:00
Joey Tawadrous
6f3ebbe6cc
Trace view scroll to top button ( #46077 )
...
* Trace view scroll to top button
* Updated button css selector
* Updates for scrolToTop
* Updated snapshot
* Updated render
* Add smooth scrolling
2022-03-03 16:19:44 +00:00
Andres Martinez Gotor
cfbf58fb92
AzureMonitor: Move rest of deprecated code ( #46109 )
2022-03-03 17:16:10 +01:00
renovate[bot]
0880e0a472
Update dependency webpack to v5.70.0 ( #46172 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 16:55:00 +01:00
Timur Olzhabayev
32170e401f
Fixing docs comma ( #46169 )
2022-03-03 10:47:32 -05:00
Dimitris Sotirakis
42dd4d687d
CI: Change variants for pr_pipelines
( #46170 )
...
* Change variants for pr_pipelines
* Update grabpl
2022-03-03 16:39:03 +01:00
Dimitris Sotirakis
0012b89826
CI: Rename build variants - bump grabpl version ( #46152 )
...
* Update grabpl
* Change variants for pr_pipelines
2022-03-03 16:31:44 +02:00
Karl Persson
7966e3583e
Access control: Dashboard and folder permissions frontend ( #45094 )
2022-03-03 15:18:27 +01:00
Karl Persson
4982ca3b1d
Access control: Use access control for dashboard and folder ( #44702 )
...
* Add actions and scopes
* add resource service for dashboard and folder
* Add dashboard guardian with fgac permission evaluation
* Add CanDelete function to guardian interface
* Add CanDelete property to folder and dashboard dto and set values
* change to correct function name
* Add accesscontrol to folder endpoints
* add access control to dashboard endpoints
* check access for nav links
* Add fixed roles for dashboard and folders
* use correct package
* add hack to override guardian Constructor if accesscontrol is enabled
* Add services
* Add function to handle api backward compatability
* Add permissionServices to HttpServer
* Set permission when new dashboard is created
* Add default permission when creating new dashboard
* Set default permission when creating folder and dashboard
* Add access control filter for dashboard search
* Add to accept list
* Add accesscontrol to dashboardimport
* Disable access control in tests
* Add check to see if user is allow to create a dashboard
* Use SetPermissions
* Use function to set several permissions at once
* remove permissions for folder and dashboard on delete
* update required permission
* set permission for provisioning
* Add CanCreate to dashboard guardian and set correct permisisons for
provisioning
* Dont set admin on folder / dashboard creation
* Add dashboard and folder permission migrations
* Add tests for CanCreate
* Add roles and update descriptions
* Solve uid to id for dashboard and folder permissions
* Add folder and dashboard actions to permission filter
* Handle viewer_can_edit flag
* set folder and dashboard permissions services
* Add dashboard permissions when importing a new dashboard
* Set access control permissions on provisioning
* Pass feature flags and only set permissions if access control is enabled
* only add default permissions for folders and dashboards without folders
* Batch create permissions in migrations
* Remove `dashboards:edit` action
* Remove unused function from interface
* Update pkg/services/guardian/accesscontrol_guardian_test.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-03-03 15:05:47 +01:00
Giordano Ricci
4caf5dbbd9
Explore: minor copy changes in the Add to dashboard modal ( #46154 )
...
* Explore: minor copy changes in the Add to dashboard modal
* fix tests
* Additional copy changes & test fixes
2022-03-03 14:01:03 +00:00
Connor Lindsey
cb1649e9b8
NodeGraph: Include frames with name edges or nodes in node graph ( #46047 )
...
* Include frames with name edges or nodes in node graph
2022-03-03 06:42:08 -07:00
Torkel Ödegaard
3b487c2661
Loki: Initial loki builder tests ( #46076 )
2022-03-03 14:30:17 +01:00
idafurjes
e7ea3be4bc
Resolve merge conflict lint error ( #46162 )
2022-03-03 08:13:26 -05:00
renovate[bot]
e820275d06
Update dependency @braintree/sanitize-url to v6 ( #46052 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 11:56:42 +00:00
Selene
87d3c06fef
Fix: Add missing store in test rule ( #46151 )
2022-03-03 12:00:33 +01:00
idafurjes
fa7323e6d5
Provisioning: Fix plugin provisioning storing SecureJsonData ( #46149 )
...
* Provisioning: Fix plugin provisioning storing SecureJsonData
* Fix tests and rename service to pluginSettings
2022-03-03 11:57:33 +01:00
Will Browne
b54b438a24
Plugins: Refactor plugin settings service ( #45967 )
...
* tests passing
* rename and rejig
* move interface to package and rename to Store
* new package
* add import alias
2022-03-03 11:39:15 +01:00
Andrej Ocenas
6dea7275a6
Prometheus: Improved the function selector with search ( #46084 )
...
* Change to cascader with search
* Don't change to select on backspace
* Fix error on group select
* Simplify getOperationDef
* Set cascader wrapper to fixed width
* Add placeholder
* Fix tests and type errors
* Fix props for backward compatibility
* Add comments
2022-03-03 10:24:33 +01:00
Giordano Ricci
09f48173fe
Explore: allow users to save Explore state to a new panel in a new dashboard ( #45148 )
...
* Add Button & Form
* Save to new dashboard
* minor adjustements
* move modal to a separate component
* handle dashboard name related errors
* pick visualization based on query results
* lift state
* fix types
* Add Open & Close tests
* Add submit test
* add navigation tests
* add tests for API errors
* remove console log
* create wrapper component for AddToDashboardButton
* remove unused mapped prop
* add wrapper test
* rename isActive to isVisible
* invert control over save & redirect logic
* remove leftover commented code
* cleanup setup parameters
* reorganize code & improve tests
* Remove option to add to existing dashboard
* UI tweaks
* disable button if no queries
* Fix tests
* better accessible tests
* handle submission errors
* improve addToDashboard types
* use dashboardSrv' saveDashboard
* remove leftover test helper
* fix typo
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Apply suggestions from code review
Co-authored-by: Kristina <kristina.durivage@grafana.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Kristina <kristina.durivage@grafana.com>
2022-03-03 08:54:06 +00:00
renovate[bot]
c4ccfc3bf7
Update dependency eslint-config-prettier to v8.5.0 ( #46129 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 08:46:26 +00:00
renovate[bot]
52568c7af1
Update dependency ol to v6.13.0 ( #45949 )
...
* Update dependency ol to v6.13.0
* fix types
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-03 09:45:33 +01:00
Shirley
1255f8a76a
Unexport mocks, use aws-sdk-go helpers, rename test utilities file ( #46107 )
2022-03-03 09:42:51 +01:00
matt abrams
c863676b65
Postgres: Fix aggregate dropdown when TimescaleDB is enabled ( #45993 )
...
* add timescaleDB checker function
* use existing fn findAggregateIndex
* build options from empty list
* refactor fn and handle state for existing elem
* remove newline
2022-03-03 09:29:37 +01:00
Kevin Minehart
1fef87fbcc
upgrade grabpl ( #46127 )
2022-03-03 10:17:05 +02:00
Leon Sorokin
89140c8353
Graph (old): fix null interval insertion, again (follow-up to #46069 ) ( #46139 )
2022-03-03 00:02:18 -08:00
Artur Wierzbicki
a8b90d9a25
FileStore: add basic file storage API ( #46051 )
...
* #45498 : fs API alpha
* #45498 : remove grafanaDS changes for filestorage.go
* #45498 : fix lint
* #45498 : fix lint
* #45498 : remove db file storage migration
* #45498 : linting
* #45498 : linting
* #45498 : linting
* #45498 : fix imports
* #45498 : add comment
* remove StorageName abstractions
* FileStore: add dummy implementation (#46071 )
* #45498 : bring back grafanaDs changes, add dummy filestorage
* #45498 : rename grafanaDs to public
* #45498 : modify join
* #45498 : review fix
* #45498 : unnecessary leading newline (whitespace) IMPORTANT FIX
* #45498 : fix belongsToStorage
* #45498 : fix removeStoragePrefix so that it works with abs paths
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-03 10:53:26 +04:00
Leon Sorokin
854f872b40
StateTimeline: insert trailing null value at +interval ( #45997 )
2022-03-02 18:21:12 -06:00
Yuriy Tseretyan
016d9e14ed
Add missing option "OK" for Error state ( #45262 )
...
* Add missing OK option to models
* add ok to legacy legacy UI does not support it but it is possible to do so via provisioning.
* use enums in migration so linter would catch missing cases
2022-03-02 19:07:55 -05:00
achatterjee-grafana
b58f3c8a05
Docs: Update ldap authentication topic ( #46128 )
...
* Fixed broken relrefs, and updated password format in ldap authentication topic.
* Fixed few more broken links.
2022-03-02 16:08:46 -05:00
Marcus Efraimsson
76495374dc
Docs: Include ID token example in Forward OAuth identity for the logged-in user section ( #46121 )
...
Ref #45938
2022-03-02 20:52:13 +01:00
Christopher Moyer
b677318277
docs: modify user preferences refactor ( #45553 )
...
* docs: modify user preferences refactor
* yarn prettier
* add missing procedures
* fix link
* Update docs/sources/manage-user-preferences/_index.md
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
* minor edits and moved docs to admin chapter
* Eve comment out note relref
* yarn prettier
Co-authored-by: Mitchel Seaman <mitchel.seaman@gmail.com>
Co-authored-by: Ursula Kallio <ursula.kallio@grafana.com>
Co-authored-by: Eve832 <eve.meelan@grafana.com>
2022-03-02 13:47:39 -06:00
Giordano Ricci
e8a54d58c5
chore: update latest.json ( #46122 )
2022-03-02 19:45:07 +00:00
Grot (@grafanabot)
50fb63a468
ReleaseNotes: Updated changelog and release notes for 8.4.3 ( #46119 )
2022-03-02 19:18:48 +00:00
renovate[bot]
ccdb904e3b
Update dependency @types/react-calendar to v3.5.0 ( #46117 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 19:46:19 +01:00
renovate[bot]
1f332a846b
Update dependency lezer-promql to v0.22.0 ( #45838 )
...
* Update dependency lezer-promql to v0.22.0
* Add missing peerdep + fixes in code
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-02 19:45:08 +01:00
renovate[bot]
1fa45e2c16
Update dependency eslint to v8.10.0 ( #45939 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 18:39:17 +00:00
renovate[bot]
141b1fad20
Update dependency rollup to v2.69.0 ( #46098 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 18:35:16 +00:00