Commit Graph

33792 Commits

Author SHA1 Message Date
baez90
6beba5a049
Chore: add setting to skip org assignment for external users (#34834)
* Chore: add setting to skip org assignment for external users

Introduce 'skip_org_role_update_sync' setting to skip any kind of org assignment during the login of external users.
As a consequence manual organization assignments won't be overridden during the upsert of an external user.

Part of #22605

* Chore: Rename skip_org_role_update_sync to oauth_skip_org_role_update_sync and relocate it to auth section

* Chore: replace global setting access where possible
2022-02-21 17:34:47 +01:00
Ashley Harrison
10b3847d57
Only run betterer if frontend files have changed (#45681) 2022-02-21 16:16:45 +00:00
Tania B
a7d86e023f
Docs: Fix encryption docs (#45687) 2022-02-21 17:07:23 +01:00
Will Browne
4e23b06b40
remove old fields and expose ports (#45626) 2022-02-21 16:52:38 +01:00
kay delaney
b6682cdcb9
Navigation: Proof-of-concept for pinning navbar items (#44775) 2022-02-21 15:25:47 +00:00
Timur Olzhabayev
7c826cb43f
feat(45145): add more links to developers page (#45585) 2022-02-21 14:39:31 +01:00
Ashley Harrison
05f68c391c
Add babel plugin to workaround bug in @babel/preset-env (#45664) 2022-02-21 12:50:53 +00:00
Kristina
31090a75eb
Explore: Save log results sort order (#45423)
* Explore: Save log results sort order

* Change to radio group, add test and make language consistent with logs plugin
2022-02-21 06:09:43 -06:00
Dimitris Sotirakis
434697e0fd
CI: Introduce docs pipeline (#45454)
* Add docs.star

* Fixes in drone yaml

* Add grabpl

* Remove unnecessary steps

(cherry picked from commit f2e03cdb107eb283416885a73051c1ff86eb8b7f)

* Rename docs pipeline

* Exclude docs related steps from PR pipelines

* Add packages/** trigger

* Remove packages exclusion from pr pipelines
2022-02-21 13:55:16 +02:00
Levente Balogh
0dfde923e3
fix: fix link pointing to breaking changes guideline (#45662) 2022-02-21 12:49:25 +01:00
kay delaney
d134740bba
Redux: Factor Invites out to separate slice (#45552) 2022-02-21 11:37:49 +00:00
renovate[bot]
0f29c66c1d
Update dependency eslint-config-prettier to v8.4.0 (#45657)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 03:25:35 -08:00
renovate[bot]
4fb0337168
Update dependency sass-loader to v12.6.0 (#45660)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 12:21:32 +01:00
renovate[bot]
5f533dac72
Update dependency @emotion/react to v11.8.1 (#45656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 12:04:24 +01:00
Mitsuhiro Tanda
0fb490c00d
Cloud Monitoring: set missing meta data for distribution type metrics (#45500)
* set missing meta data for distribution type metrics

* add test

* add test

* simplify custom set

* add test for executedQueryString

* add test data

* fix tests

* check group by
2022-02-21 11:20:34 +01:00
renovate[bot]
83db65abda
Update dependency @react-types/shared to v3.11.1 (#45592)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 02:14:18 -08:00
renovate[bot]
6b1c3aeb4e
Update dependency eslint-plugin-lodash to v7.4.0 (#45595)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 02:10:23 -08:00
Hugo Häggmark
c6470be34c
Chore: Replace enzyme with RTL in ConfirmModal.test.tsx (#45651) 2022-02-21 08:25:52 +01:00
Hugo Häggmark
2f63d7b1c4
Chore: Replace enzyme with RTL in BigValue.test.tsx (#45650) 2022-02-21 08:21:06 +01:00
Ryan McKinley
636af1fff4
Testdata: use alias in streaming example (#45631) 2022-02-18 16:30:57 -08:00
Ryan McKinley
024194dccd
Search: add URL as linkable field (#45568) 2022-02-18 16:03:49 -08:00
Joey Tawadrous
955b921c88
InfluxDB: new row value types (#44789)
* Check type and act accordingly

* Add string type

* Add bool type

* Change method name in test

* Remove comment

* Changed test var names to represent the float case

* Added string test case

* Added bool test case

* Update response in test

* Change string val

* Fix frame meta missing in tests

* Fixed test parse query

* Fixed out of bounds test

* parseFloatSeries

* parseStringSeries and parseBoolSeries

* Formatting

* Use multi frames for now

* strings.ToLower for time col check

* Move timeField out of if checks
2022-02-18 17:37:45 +00:00
Artur Wierzbicki
c04b0179ff
Previews: prevent scheduler from running when image renderer is outdated (#45623)
* #44449: prevent crawler from running when rendering service is outdated

* #44449: simplify
2022-02-18 21:29:18 +04:00
Artur Wierzbicki
7643ae6c5e
Rendering: periodically refresh remote plugin version (#45505)
* #44449: refresh image renderer version on a schedule

* #44449: simplify
2022-02-18 20:25:01 +04:00
Gábor Farkas
78c35e6000
cloudwatch: use monaco from grafana-ui (#45597) 2022-02-18 17:14:14 +01:00
renovate[bot]
175891a5e3
Update dependency react-hook-form to v7.26.1 (#43670)
* Update dependency react-hook-form to v7.27.0

* fix type errors for alerting components with new react-hook-form version (#45341)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Rodman <nathanrodman@gmail.com>
2022-02-18 17:13:31 +01:00
lean.dev
b2e6ca9393
Deleting empty lines at list (#45610) 2022-02-18 11:08:52 -05:00
Dimitris Sotirakis
a5dc832a86
Update grabpl (#45614) 2022-02-18 16:16:05 +01:00
Levente Balogh
1e21184f65
Fix: JSON parsing in backend_srv (#45598)
* fix(plugins/state): console log errors during install / uninstall

* fix(backend_srv): catch JSON parse errors

Sometimes it can happen that a backend API responses says that it's
returning with a JSON content-type, however it actually returns an invalid
JSON (e.g. an empty body) - in which case the backendSrv() request errors out.
2022-02-18 16:06:37 +01:00
Yuriy Tseretyan
e44ea3d589
Alerting: Rename setting AlertForDuration to DefaultRuleEvaluationInterval (#45569)
* fix AlertForDuration to DefaultRuleEvaluationInterval

Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
2022-02-18 10:05:06 -05:00
Piotr Jamróz
25f155a44d
Explore: Fix closing split pane when logs panel is used (#45602)
* Clear cache when LogsNavigation is mounted

* Update docs
2022-02-18 15:34:19 +01:00
Andrej Ocenas
8e6626664f
Update version (#45608) 2022-02-18 14:12:59 +00:00
Gábor Farkas
5d704fd46e
Loki: backend: use custom http code (#44643)
* Loki: backend: use custom http code

* simplfied comment

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-02-18 14:35:39 +01:00
Grot (@grafanabot)
380e07ba29
ReleaseNotes: Updated changelog and release notes for 8.4.1 (#45604)
* ReleaseNotes: Updated changelog and release notes for 8.4.1

* Add alerting bugfix

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2022-02-18 13:32:34 +00:00
Christopher Moyer
023aaee929
docs: clear cache (#43471)
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-02-18 09:52:00 -03:00
lean.dev
a0b29a960b
Caching: Adding comment about resource caching (#45151)
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
2022-02-18 09:49:26 -03:00
J Guerreiro
0ec21a4ed6
Service accounts: make is_service_account nullable (#45541)
* add base nullable migration to is_service_account

Co-authored-by: Jeremy Price <jeremy.price@grafana.com>

* fix postgres migration

* ServiceAccounts: ensure SA is set to false when creating a user

Co-authored-by: Jeremy Price <jeremy.price@grafana.com>
2022-02-18 13:08:00 +01:00
Torkel Ödegaard
0838f4b1ad
Plugins: Fix importing panel modules (#45590) 2022-02-18 12:51:55 +01:00
Yaelle Chaudy
530913dd37
Azure Monitor : Adding json formatting of error messages in Panel Header Corner and Inspect Error Tab (#44877)
* Trying out json formatting of azure graph err from frontend

* Added some tests wip

* Wrap text in popper tooltip

* fix conflict

* Wrap text in tooltip

* Complete tests

* Added invalid json test

* Backend changes and tests

* removed comments

* Added split of message / json and edge cases tests

* Addressed comments

* moved catch to parseErrorMessage
2022-02-18 12:09:24 +01:00
Gábor Farkas
dd9b52fd41
log-volume: adjust request-id to avoid conflicts (#45511)
* log-volume: adjust request-id to avoid conflicts

* added unit test

* simplify test

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* added missing import

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2022-02-18 12:05:29 +01:00
Gabriel MABILLE
fc514738b2
Chore: fix comment (#45593) 2022-02-18 11:46:52 +01:00
Eric Leijonmarck
c6943797f9
Admin: token expiration colors and calculations (#45231)
* token expiration colorign and calculations

* Update public/app/features/serviceaccounts/ServiceAccountTokensTable.tsx

* removed unused calculation for expiry

* optional attribute

* fix: typo

* implement failing test :thumpsup:

* tests

* refactor: tests to use assertify

* tiem

* refactor: remote porntf

* refactor: make test NOT sleep 1 sec for all builds :D

Co-authored-by: J Guerreiro <joao.guerreiro@grafana.com>
2022-02-18 11:43:33 +01:00
Dimitris Sotirakis
0a8c3f92f6
Update grabpl (#45591) 2022-02-18 11:40:51 +01:00
renovate[bot]
32b17fbc28
Update dependency @react-aria/interactions to v3.8.1 (#45513)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 11:35:50 +01:00
Gabriel MABILLE
14bee49f9a
AccessControl: Compute metadata from context permissions (#45578)
* AccessControl: Compute metadata from context permissions

* Remove nil

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

* Check user permissions are set

Co-authored-by: Jguer <joao.guerreiro@grafana.com>
2022-02-18 11:27:00 +01:00
renovate[bot]
a5fd35691b
Update dependency @react-types/menu to v3.5.1 (#45588)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 10:22:08 +00:00
renovate[bot]
f6780d8861
Update dependency lru-cache to v7 (#45074)
* Update dependency lru-cache to v7

* Make latest lru cache work

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-02-18 10:23:06 +01:00
Szymon Szypulski
929d8a358f
Cloudwatch: Add support for AWS/PrivateLink* metrics and dimensions (#45515)
Add support for AWS/PrivateLink{Endpoints,Interfaces} metrics and
dimensions. Change is based on the official AWS documentation[1].

1. https://docs.aws.amazon.com/vpc/latest/privatelink/privatelink-cloudwatch-metrics.html
2022-02-18 10:21:17 +01:00
Gabriel MABILLE
7c41cd15d7
Chore: Remove devenv link (#45583) 2022-02-18 09:44:18 +01:00
Kat Yang
0eb37c08bd
Chore: Add sqlstore dashboard methods to store and mockstore (#45567) 2022-02-18 09:37:49 +01:00