Commit Graph

37651 Commits

Author SHA1 Message Date
Matias Chomicki
4b0def0c5e Chore: make method async 2022-09-22 14:41:46 +02:00
Matias Chomicki
d4bc24ff76 Chore: remove unused imports 2022-09-22 13:57:20 +02:00
Matias Chomicki
e7da04f9f8 Chore: remove superfluous variable in favor of destructuring 2022-09-22 12:20:32 +02:00
Matias Chomicki
c6f7e23edc feat(loki-monaco-editor): improve function name 2022-09-22 12:08:04 +02:00
Matias Chomicki
2719fa4454 feat(loki-monaco-editor): use query hints implementation to parse expression 2022-09-21 16:47:10 +02:00
Matias Chomicki
39f81f77b2 Chore: rename callback 2022-09-20 17:10:38 +02:00
Matias Chomicki
0b64ced209 Chore: simplify override services 2022-09-20 17:10:09 +02:00
Matias Chomicki
cf56aaeaa9 Chore: minor comments cleanup 2022-09-20 16:46:44 +02:00
Matias Chomicki
0d989ad036 Chore: clean up redundant code 2022-09-20 16:21:13 +02:00
Matias Chomicki
33f5cac838 feat(loki-monaco-editor): refactor data provider methods
Move complexity scattered everywhere to the provider
2022-09-20 15:14:03 +02:00
Matias Chomicki
aa6d940b93 Chore: fix missing imports 2022-09-20 13:32:03 +02:00
Matias Chomicki
a801e09fa6 feat(loki-monaco-editor): turn completion data provider into a class 2022-09-20 13:29:27 +02:00
Matias Chomicki
00c2d5ad06 feat(loki-monaco-editor): add history implementation
Will see how it behaves and base the history slicing on tangible feedback
2022-09-20 12:43:37 +02:00
Matias Chomicki
35d2c3b7ed Chore: minor code cleanups 2022-09-20 12:13:32 +02:00
Matias Chomicki
c3a62ac72d Chore: minor refactor to NeverCaseError 2022-09-19 15:32:05 +02:00
Matias Chomicki
3d9052884f Chore: remove commented code 2022-09-19 15:18:40 +02:00
Matias Chomicki
b09b726db4 feat(loki-monaco-editor): display monaco editor by default
Temporarily
2022-09-16 17:24:23 +02:00
Matias Chomicki
e9fe90ed96 feat(loki-monaco-editor): fix imports 2022-09-16 15:36:38 +02:00
Matias Chomicki
3f76b123eb feat(loki-monaco-editor): add missing lang provider functions 2022-09-16 15:35:38 +02:00
Matias Chomicki
12b0fcb570 feat(loki-monaco-editor): sync imports with recent changes 2022-09-16 14:45:04 +02:00
Matias Chomicki
8eadd02a59 feat(loki-monaco-editor): add back range function removed during merge 2022-09-16 14:38:51 +02:00
Matias Chomicki
f0dbe2443b feat(loki-monaco-editor): add monaco-logql as a dependency 2022-09-16 12:57:19 +02:00
Matias Chomicki
01b1f535cf Merge branch 'main' into matyax/monaco-loki-from-hackathon 2022-09-16 12:38:37 +02:00
ying-jeanne
e4741ce8d6
remove datasource from sqlstore (#55288) 2022-09-16 06:20:26 -04:00
Victor Marin
18f33871d1
Fix header/footer not sticky (#55285) 2022-09-16 13:14:34 +03:00
Eric Leijonmarck
9cdd1cde7f
fix: order of database (#55232)
* fix: order of database

* fix: sort of results

* Update pkg/api/dtos/models_test.go

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Update pkg/api/dtos/models_test.go

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* only one assert

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2022-09-16 05:24:24 -04:00
renovate[bot]
7565752644
Update dependency @swc/core to v1.3.1 (#55040)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-16 10:19:44 +01:00
GitStart
f26babf484
Loki: Rename public/app/plugins/datasource/loki/query_utils.ts file to follow convention (#55180) 2022-09-16 10:16:54 +02:00
Agnès Toulet
359685b051
Docs: RBAC update for insights and query caching (#52544)
* Doc: RBAC update for insights and query caching

* Fix RBAC actions table order

* Fix RBAC role definitions & assignments tables

Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
2022-09-16 09:59:59 +02:00
Leo
e7ae71a5cc
Navigation: use pagenav and subtitle to the new team page (#55200)
* added pageNav to new team page

* improve copies

* improve copies

* improve test
2022-09-16 09:32:08 +02:00
Leo
896d684065
Browse: Hide dashboard actions if user does not have enough permission (#55218)
* hide dashboard actions if user does not have enough permission

* improve test description
2022-09-16 09:19:19 +02:00
Leo
3f413f6f94
Navigation: Use navId and pageNav for Create User page (#55201)
* added pageNav subttitle and used navid for usercreatepage

* improve subtitle copy and redirected to user page after creation

* improve title copy

* improve copies

* breadcrumbs redirect to users page instead of org
2022-09-16 09:16:26 +02:00
Leo
26e444c194
Navigation: Use navid and pagenav for new org page (#55203)
* use navid and pagenav for new org page

* Minor tweak

* improve copies

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-09-16 08:56:50 +02:00
GitStart
eb7fe07401
Loki: Rename public/app/plugins/datasource/loki/language_utils.ts file to follow convention (#55181) 2022-09-16 08:48:37 +02:00
Ryan McKinley
6947e276d6
Inspect: Hide Actions tab when it is empty (#55272) 2022-09-15 22:17:12 -07:00
Christopher Moyer
dd0be3012c
adjusts structure of tasks (#55268) 2022-09-15 17:17:12 -05:00
Saverio Proto
a09e4b0e4f
Update grafana version tag to 9.1.0 (#54049)
* Update grafana version tag to 9.0.5

The user doing cut and paste will not notice and will install a old version of Grafana

* Update version to 9.1.0

Current latest tag is 9.1.0: https://hub.docker.com/r/grafana/grafana/tags
2022-09-15 19:46:13 +00:00
Garrett Guillotte
97ca109d84
Docs: Fix Cloud availability of JWT URL Embedding (#55260)
* Docs: Fix Cloud availability of JWT URL Embedding

* Docs: Clarify JWT URL embedding availability in docs
2022-09-15 10:57:38 -07:00
Ezequiel Victorero
9770edb118
Docs: Grafana Live not supported by public dashboards (#55246) 2022-09-15 14:53:27 -03:00
Brendan O'Handley
331f3e2a58
small fix for new variable editor types (#55195) 2022-09-15 11:39:40 -05:00
George Robinson
5561f935e6
Alerting: Fix send resolved notifications (#54793)
This commit fixes a bug where we did not send resolved alerts to Alertmanager for resolved alert instances. This meant that resolved notifications did not have the annotations from the resolved state, and a result did not also have the resolved screenshot.
2022-09-15 17:25:05 +01:00
Michael Musenbrock
099d3cdf72
Provisioning Contact points: Support disableResolveMessage via YAML too (#54122)
Signed-off-by: Michael Musenbrock <michael.musenbrock@gmail.com>
2022-09-15 12:19:34 -04:00
Jo
3e2e9f93b9
Auth: Allow admins to manually change oauth user role if oauth_skip_org_role_update_sync is enabled (#55182)
* Auth: Allow admins to change oauth user info it it's not synced.

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* Update public/app/features/admin/UserAdminPage.tsx

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* Add missing import

* Simplify init

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* SAML: Add option to skip org role sync (#55230)

* SAML: Add option to skip org role sync

* Modify frontend accordingly

* Remove update from config option name

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

* Remove update from config option name

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

* Fix typo

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

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: gamab <gabi.mabs@gmail.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
2022-09-15 12:06:09 -04:00
Kim Nylander
ebcbb66548
Fix broken image rendering troubleshooting links (#55210) 2022-09-15 10:50:08 -05:00
owensmallwood
5121e32722
When generating the pubdash url, use the base url from the Grafana config. This allows the url generation to work in the case that Grafana is hosted on a subpath. (#55204)
Support subpaths when generating public dashboard url
2022-09-15 09:46:11 -06:00
Jo
00e7324bf6
Auth: Restore legacy behavior and add deprecation notice for empty org role in oauth (#55118)
* Auth: Add deprecation notice for empty org role

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* fix recasts

* fix azure tests missing logger

* Adding test to gitlab oauth

* Covering more cases

* Cover more options

* Add role attributestrict check fail

* Adding one more edge case test

* Using legacy for gitlab

* Yet another edge case YAEC

* Reverting github oauth to legacy

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

* Not using token

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

* Nit.

* Adding warning in docs

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

* add warning to generic oauth

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

* Be more precise

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

* Adding warning to github oauth

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

* Adding warning to gitlab oauth

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

* Adding warning to okta oauth

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

* Add docs about mapping to AzureAD

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

* Clarify oauth_skip_org_role_update_sync

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

* Nit.

* Nit on Azure AD

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

* Reorder docs index

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

* Fix typo

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

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: gamab <gabi.mabs@gmail.com>
2022-09-15 17:35:59 +02:00
Sven Grossmann
f1e8a528d1
ElasticSearch: Fix lucene formatted variables being wrongly escaped (#54981)
* fixed negative numbers are encoded

* Chore: move variableModel to TypedVariableModel

* add tests
2022-09-15 17:18:57 +02:00
Seyaji
7ec1d137b4
Logs: Relocate "show context" button, add copy line log button (#50977)
* add context button to right side of log row

* add context button to right side of log row

* add context button to right side of log row

* add context button to right side of log row

* add show-context icon

Co-authored-by: Sven Grossmann <svennergr@gmail.com>
2022-09-15 17:13:58 +02:00
Brendan O'Handley
cd6b7ba688
InfluxDB: add scopedVars to tags to fix repeated panels querying all selected variables (#54934)
* add scoped vars for tags in influx to fix repeated panels

* test for adding scopedVars to tags
2022-09-15 09:29:19 -05:00
Adam Simpson
92857ef331
CloudMonitor: Remove cloudMonitoringExperimentalUI feature flag (#55054)
* CloudMonitor: remove cloudMonitoringExperimentalUI

* fix: address typecheck errors

* fix: fix SLO import and width cleanup

* fix wrong metricType when switching datasources

* fix: remove legacy SLO and fix queryType check
2022-09-15 14:12:26 +00:00