Giordano Ricci
8b9e27c4ba
Card: make elements in metadata clickable ( #46336 )
...
* Card: make elements in metadata clickable
* add docs
2022-03-10 13:52:34 +00:00
Karl Persson
52decfaebc
Access control: Move call to create default permissions into folder and dashboard service ( #46186 )
...
* Move call to create permissions into folder service
* Inject cfg, feature toggles and permissions services into dashboard
service
* Move logic to set default permissions on create dashboard from api to
service
* Move call to set default permissions on import dashboard to dashboard
service
* Set permissions for provisioned dashboard and folders in service
2022-03-10 12:58:18 +01:00
Torkel Ödegaard
a327c4d7d6
Docs: Fix formatting of docs file ( #46402 )
2022-03-10 10:28:16 +01:00
Torkel Ödegaard
c952c9c90a
Loki: Adds more options to make line filter UX better ( #46324 )
...
* Loki: Adds more options to make line filter UX better
* Sync wording
* Tweak width
* More tweaks
* Added descriptions as well
2022-03-10 10:12:54 +01:00
Torkel Ödegaard
806b0e3b23
Prometheus/Loki: Improve operations header UX ( #46346 )
...
* Prometheus/Loki: Improve operations header UX
* More tweaks
* Rename file to match compponent
2022-03-10 09:38:53 +01:00
Yaelle Chaudy
9fc9708ba5
Fixed new variable button keyboard clickable ( #46293 )
2022-03-09 20:35:53 +01:00
achatterjee-grafana
f19594e8ff
update exemplars and azure authentication topics. ( #46382 )
2022-03-09 13:54:13 -05:00
gotjosh
8d4a0a0396
Alerting: Include annotations in prometheus Alert response. ( #45970 )
...
* Alerting: Include annotations in prometheus Alert response.
* add tests
* re-order depedencies
2022-03-09 18:20:29 +00:00
gotjosh
b1e6f7126a
Logging: Helper to create NopLogger ( #46376 )
2022-03-09 17:03:58 +00:00
Yuriy Tseretyan
314be36a7c
Move datasource scopes and actions to access control package ( #46334 )
...
* create scope provider
* move datasource actions and scopes to datasource package + add provider
* change usages to use datasource scopes and update data source name resolver to use provider
* move folder permissions to dashboard package and update usages
2022-03-09 11:57:50 -05:00
Erik Sundell
6670257c5e
CloudWatch: Use default http client from aws-sdk-go ( #46370 )
...
* use default http client from aws-sdk-go
* temp comment out line and link to issue
2022-03-09 16:29:10 +01:00
Jack Westbrook
e2a283b6b9
Chore: Fix failing lerna publish commands ( #46359 )
2022-03-09 15:29:11 +01:00
jcolladokuri
ce543037f1
Azure Monitor: Add 2 more Curated Dashboards for VM Insights ( #45187 )
...
Some fixes to the App Insights Curated Dashboard for Azure Monitor as well.
2022-03-09 09:02:59 -05:00
Joao Silva
4b57ffbb4f
A11y: Replace LinkButton with Button in Value Mappings to make it accessible ( #46330 )
2022-03-09 14:01:24 +00:00
Selene
53799973f0
Documentation: Add using mock explanation for testing ( #46360 )
...
* Add using mock explanation for testing
* Update information of how to add go:generate in code
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2022-03-09 14:08:55 +01:00
renovate[bot]
9fc6ee2535
Update Yarn to v3.2.0 ( #45714 )
...
* Update Yarn to v3.2.0
* Update sdks as well
* Update nodejs to latest
* Updates
* Update grabpl to 2.9.23
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-09 10:10:51 +01:00
Leon Sorokin
ec911be8ef
Perf: don't re-init plots when changing dashboard timeRange ( #46339 )
2022-03-09 01:51:07 +01:00
Xiangkun Liu
5fc5de8d5f
Sync GitHub OAuth user name to Grafana if it's set ( #45438 )
2022-03-09 00:11:51 +08:00
Todd Treece
db5f480a8f
Prometheus: Fix timestamp truncation ( #46302 )
...
* avoid truncation to seconding by using time.Time directly
* update test coverage
2022-03-08 10:55:25 -05:00
Yuriy Tseretyan
f7894db99c
Alerting: declare authorization actions, scopes and roles for fine-grained access ( #45748 )
...
* add actions, roles and route mapping for rule permission
* add instance\notification actions
* do not declare alerting roles if no feature flag is set (temporary)
2022-03-08 09:22:16 -05:00
J Guerreiro
874ac9180b
Service Accounts: Add enabled/disabled status to list ( #46259 )
...
* ServiceAccounts: improve where condition
* ServiceAccounts: Add Enabled/Disabled status to list
2022-03-08 14:10:16 +01:00
Karl Persson
1f3f4ebe21
Support permission filter in access control search filter ( #46317 )
2022-03-08 12:46:49 +01:00
Yaelle Chaudy
ed7701c6b2
Updated span for Button to be accessible ( #46296 )
2022-03-08 12:42:03 +01:00
Yaelle Chaudy
bfde8ee603
A11y : Updated EmptyListCTA to switch between Button and LinkButton ( #46292 )
...
* Updated EmptyListCTA to switch between Button and LinkButton
* Added tests
2022-03-08 12:41:00 +01:00
J Guerreiro
2aeae69a16
Service Accounts: Display name to ID ( #46258 )
...
* ServiceAccounts: modernize SA creation interface
* ServiceAccounts: improve service account ID generation
* ServiceAccounts: remove unused method
* ServiceAccounts: Make SA ID display name dependent
* ServiceAccounts: Add tests for Service Account creation
* trim trailing whitespace
* Update pkg/services/serviceaccounts/api/api.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
* Update pkg/services/serviceaccounts/api/api.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-03-08 12:07:58 +01:00
renovate[bot]
130ec748b9
Update typescript-eslint monorepo to v5.14.0 ( #46305 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-08 10:48:59 +01:00
Giordano Ricci
1ef247e0c6
TagsInput: fix tags remove button accessibility issues ( #46254 )
...
* TagsInput: fix remove button focusable state
* Add tests
* use IconButton
* reverted style changes & disable iconbutton hover animation
2022-03-08 08:58:21 +00:00
Torkel Ödegaard
79e5e5c024
DataSource: Default data source is no longer a persisted state but just the default data source for new panels ( #45132 )
...
* PanelEdit: Change the meaning of default data source to be just that the default for new panels
* Added migration, and also migration for annotation datasource prop to data source refs
* fix
* Fixing tests
* Fixes to annotation
* Fixing unit test
2022-03-08 08:56:12 +01:00
Leon Sorokin
a9ee446de4
HeatmapNG: fix Prometheus frame-per-bucket heatmap response rendering ( #46309 )
2022-03-07 20:51:11 -06:00
Jeff Levin
5d2f34d8e2
ValidatedQueries: start of validated queries API ( #44731 )
...
* adds an api endpoint for use with public dashboards that validates orgId, dashboard, and panel when running a query. This feature is in ALPHA and should not be enabled yet. Testing is based on new mock sqlstore.
Co-authored-by: Jesse Weaver <jesse.weaver@grafana.com>
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com>
2022-03-07 09:33:01 -09:00
Karl Persson
77393121ca
ingore permissions in json serialization ( #46295 )
2022-03-07 16:35:57 +01:00
Leon Sorokin
0ee552dd65
LegacyBrowser: fix Safari 13.1 (lacks logical nullish assignent) ( #46260 )
2022-03-07 09:21:28 -06:00
Kevin Yu
1bf605fa83
Docs: Fix link to instructions for backporting a PR ( #46211 )
2022-03-07 07:10:18 -08:00
J Guerreiro
c6cae8411a
APIKeys: add API key migration to ensure fk is null ( #46285 )
2022-03-07 15:58:20 +01:00
Karl Persson
0debf33c76
Access control: Always append all permissions to role admin in oss ( #46282 )
...
* Always append all permissions to built in role admin in oss
2022-03-07 13:28:39 +01:00
Timur Olzhabayev
00a8542ecf
Adding migration guide for dashboard and fixing signing doc ( #46238 )
2022-03-07 13:12:13 +01:00
Ivana Huckova
6e96506c23
Query history: Add search functionality ( #45932 )
...
* Query history: Add search functionality
* Add more tests
* Add documentation
* Fix spell errors
* Update docs
* Update docs
* Fix lint error
* Update docs/sources/http_api/query_history.md
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Document limit
* Run tests with postgres and mysql
* Use CASE insted of IIF
* Use BooleanStr instead of 1
* Change LIKE to LikeStr()
* Return back integration tests
* Update SQL to use Bool() everywhere
* Create new tests for sorting
* Update docs/sources/http_api/query_history.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/http_api/query_history.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/http_api/query_history.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/http_api/query_history.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/http_api/query_history.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Add page, count and limit to results
* Remove newline
* Update documentation
* Update docs
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-03-07 12:28:04 +01:00
renovate[bot]
801d751b20
Update dependency rollup to v2.70.0 ( #46275 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 08:59:50 +01:00
renovate[bot]
f0e48938f8
Update dependency ts-node to v10.7.0 ( #46265 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 08:55:08 +01:00
Yuriy Tseretyan
288e8eeb15
Alerting: Do not update rule in database if it was not changed ( #45980 )
...
* do not include update if no diff
* refactor calculate changes to include diff (and log)
Co-authored-by: George Robinson <george.robinson@grafana.com>
2022-03-04 16:16:33 -05:00
J Guerreiro
7f1e8cee2b
APIKeys: Add AC controls for legacy API keys ( #46255 )
...
* APIKeys: Add AC controls for legacy API keys
* pluralize actions
2022-03-04 19:01:03 +01:00
kay delaney
b47f5433d7
DataLinks: Encode variable params for data link URLs ( #46100 )
2022-03-04 17:05:56 +00:00
renovate[bot]
9aa4bde7fc
Update dependency css-loader to v6.7.0 ( #46245 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 16:17:39 +00:00
Will Browne
6a8cbd8663
Plugins: Plugin settings refactor ( #46246 )
...
* remove bus and direct use of sqlStore
* add decryption to interface
* return nil
* rename field
* re-order fields
* rename file
2022-03-04 17:09:50 +01:00
Dimitris Sotirakis
b409c9782f
Update grabpl ( #46253 )
2022-03-04 16:31:39 +01:00
Andrej Ocenas
1604e09549
Prometheus: Add text to Add operation button ( #46249 )
2022-03-04 15:59:11 +01:00
Connor Lindsey
23956557d8
TraceView: Reduce whitespace in KeyValuesTable ( #46105 )
2022-03-04 07:37:32 -07:00
Will Browne
7694b78456
mv and refactor ( #46242 )
2022-03-04 15:26:35 +01:00
Andrej Ocenas
5aa1713941
Prometheus: Support more binary operations in visual builder ( #46241 )
...
* Add definitions and code to parse more binary ops
* Add alternativesKey
* Add signs to nested query
* Change label
2022-03-04 15:04:09 +01:00
renovate[bot]
53d8c03dff
Update dependency mini-css-extract-plugin to v2.6.0 ( #46214 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 12:13:35 +00:00