- 09 Aug, 2019 1 commit
-
-
* Do not set SameSite login_error cookie attribute if cookie_samesite is none * Do not set SameSite grafana_session cookie attribute if cookie_samesite is none * Update middleware tests
Sofia Papagiannaki committed
-
- 08 Aug, 2019 6 commits
-
-
Dominik Prokop committed
-
Dominik Prokop committed
-
* Fix CreateTeam api endpoint No team member should be created for requests authenticated by API tokens. * Update middleware test Assert that `isAnonymous` is set for `SignedInUser` authenticated via API key. * Add test for team creation Assert that no team member is created if the signed in user is anomymous. * Revert "Fix CreateTeam api endpoint" This reverts commit 9fcc4e67f589008d7c44097f5cf08438c09c3c05. * Revert "Update middleware test" This reverts commit 75f767e58d212e21a351efea14bed79bbf881d2e. * Fix CreateTeam api endpoint No team member should be created for requests authenticated by API tokens. * Update team test * Change error to warning and update tests
Sofia Papagiannaki committed -
Fixes #18383
Jess committed -
Turns out, that behaviour was a bug we introduced as part of the LDAP sync. It was squashed as part of #18298.
gotjosh committed -
Dominik Prokop committed
-
- 07 Aug, 2019 11 commits
-
-
* GitLab OAuth: GetGroups refactor * GitLab OAuth: fetch groups into UserInfo * GitLab OAuth: minor refactor * GitLab OAuth: team sync docs
Alexander Zobnin committed -
* Fix: Avoid glob of single-value array variables Based on our current implementation of templates, when multi-select variables are part of a dashboard query the default/fallback formatting option is `glob`. Some data sources do not support glob (e.g. metrics.{a}.* instead of metrics.a.*) for single variable queries. This behaviour breaks dashboards. This commit introduces an alternative formatting option where globing is avoided if it's there is only one value as part of the query variable. This means, queries previously formatted as `query=metrics.{a}.*.*`, are now formatted as `query=metrics.a.*.*`. However, queries formatted as `query=metrics.{a,b}.*.*` continue to be as is.
gotjosh committed -
In response to #18282 DataLinksEditor does not limit amount of links by default now (it was 1 link before, unless maxLinks prop was specified). Also, links that do not have label specified, are not rendered anymore.
Dominik Prokop committed -
Tobias Skarhed committed
-
Torkel Ödegaard committed
-
Torkel Ödegaard committed
-
Torkel Ödegaard committed
-
* Fix: Fixes Legend overflow in Explore splitted view * Chore: Removes overflow-x because of accessibility POV and uses pre-wrap instead
Hugo Häggmark committed -
Leonard Gram committed
-
* ReactPanels: Fixed panel header tooltip rendering crash * Added unit test * Improved test
Torkel Ödegaard committed -
Ryan McKinley committed
-
- 06 Aug, 2019 15 commits
-
-
Kyle Brandt committed
-
* Frontend:adds folder name in choose home dash menu(#18293) * Frontend:adds folder name in choose home dash menu(#18293)
Elykov Alexandr committed -
* TestData: added support for nested data source variable queries, and test dashboard * Added drilldown dashboards * Fixed typescript issue
Torkel Ödegaard committed -
Sofia Papagiannaki committed
-
Marcus Efraimsson committed
-
Sofia Papagiannaki committed
-
Make empty string if there is no panel description
Tobias Skarhed committed -
- Lower strictNullChecks: true errors
Tobias Skarhed committed -
Andrew Erickson committed
-
* Chore: Move DisplayValue to grafana/data * Chore: Move GraphSeriesXY to grafana/data
Hugo Häggmark committed -
* Fix: Fixes incorrect handling of utc in timeEpic * Chore: Renames dateTimeFromTimeZone to dateTimeForTimeZone
Hugo Häggmark committed -
Allow datasource connection to postgres with password "scram-sha-256" authentification. Fixes #14662
The Rock Guy committed -
Alexandre de Verteuil committed
-
Sofia Papagiannaki committed
-
Torkel Ödegaard committed
-
- 05 Aug, 2019 6 commits
-
-
Fixes #17665
Elykov Alexandr committed -
This commit addresses half of #13749 by making sure GetMetricData works for alerting. Math Expressions (compound metrics) will still not work for alerting, this would require a bigger refactoring of Grafana's alerting service. However, with this commit at least alerting for basic metrics with non empty query Id will work. Fixes half of #13749
Alexander Berger committed -
Hugo Häggmark committed
-
Hugo Häggmark committed
-
Torkel Ödegaard committed
-
* CI: Added metric to track strict null errros * Update scripts/ci-frontend-metrics.sh Co-Authored-By: Hugo Häggmark <hugo.haggmark@grafana.com>
Torkel Ödegaard committed
-
- 03 Aug, 2019 1 commit
-
-
* Auth: Do not search for the user twice Previously `initContextWithBasicAuth` did not use `LoginUserQuery`, doing `GetUserByLoginQuery` only i.e. looking user in DB only, things changed when this function started to check LDAP provider via `LoginUserQuery` (#6940), however, this request was placed after `GetUserByLoginQuery`, so we first looking in DB then in the LDAP - if LDAP user hasn't logged in we will not find it in DB, so `LoginUserQuery` will never be reached. `LoginUserQuery` request already performs `GetUserByLoginQuery` request in correct sequence. So we can just remove redundant request. * Correct sequence execution during authentification & introduce tests for it * Move basic auth tests to separate test file, since main test file already pretty large * Introduce `testing.go` for the middleware module * Remove redundant test helper function * Make handler names more explicit Ref 5777f65d Fixes #18329 * Auth: address review comment
Oleg Gaidarenko committed
-