- 18 Jun, 2019 16 commits
-
-
Ryan McKinley committed
-
fixes #17641
Kyle Brandt committed -
first step in moving non-ui components to their own package
Ryan McKinley committed -
Josue Abreu committed
-
Josue Abreu committed
-
Josue Abreu committed
-
Hugo Häggmark committed
-
* Explore: Prometheus query errors now show Fixes: #17435 * Explore: Adds test to ensure prometheus query errors are reported * Explore: removes implicit anys introduced previously
kay delaney committed -
Progress: #14714
Hugo Häggmark committed -
* noImplicitAny on Singlestat * Lower threshold * Fix fixes
Tobias Skarhed committed -
Hugo Häggmark committed
-
`grafana-cli` uses the third-party library to define the flags and not the standard library. Using `flag.Parse` conflicts with the defined flags from our third-party library. In the case where `flag.Parse` is used, the CLI assumes that definitions provided are not needed and will not define them; producing errors of the kind `flag provided but not defined --example-flag`. Using the context to read any arguments (including flags) is the recommended approach by the third-party library.
gotjosh committed -
* Chore: Remove implicit anys from ResultProcessor and tests * Chore: Removes implicit anys for /loki/**/*.ts * Chore: Removes implicit anys for prometheus/**/*
Hugo Häggmark committed -
Closes #17571
kay delaney committed -
Remi Verchere committed
-
Carl Bergquist committed
-
- 17 Jun, 2019 7 commits
-
-
The API changed so it expects a numeric level rather than a boolean flag. Since 6.1 plugins using jsonTree just show an empty div
srid12 committed -
Fixes #17619
Yann Verry committed -
Marcus Efraimsson committed
-
gotjosh committed
-
Tobias Skarhed committed
-
Hugo Häggmark committed
-
grafana-cli should allow configuration overrides to be received from the command line. e.g. ``` grafana-cli admin reset-password cfg:default.paths.logs=custom/log/directory/ ``` Seems like we missed the inclusion of `flag.Parse` as we run the command, to be able to consume them. Additionally, it'll be useful for the user to know whenever these are being overriden or not - hence the addition of logging the configuration to be used as we run the command.
gotjosh committed
-
- 15 Jun, 2019 3 commits
-
-
* first init meta befor set legacy components * add load legacy app test * AppPlugin: minor refactor
Martin Brenner committed -
* Reduce noImplicitAny errors * Lower err count * Static version * Fix noImplicitAny * Table: moved type file
Tobias Skarhed committed -
* Refresh picker empty * RefreshPicker: refactoring
Tobias Skarhed committed
-
- 14 Jun, 2019 4 commits
-
-
Carl Bergquist committed
-
* SQLStore: extend `user.SearchUsers` method Allow `user.SearchUsers` to search users based on their auth type
Oleg Gaidarenko committed -
* Fix: Filters Tags and Values depending on options passed Fixes: #17507 * Fix: Makes sure options is not undefined * Fix: Fixes tests and small button refactor * Chore: PR comments
Hugo Häggmark committed -
* ldap: makes mocks available for testing.
Leonard Gram committed
-
- 13 Jun, 2019 10 commits
-
-
Andrej Ocenas committed
-
* Graph: Added new fill gradient option * Graph: changed gradient area fill option, added test dashboard
Torkel Ödegaard committed -
* Fix types on linkSrv * Lower err count, shoot down some errs, add type pkg * Fix changes and add test * Update public/app/features/panel/panel_ctrl.ts Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com> * Update public/app/features/panel/panel_ctrl.ts Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com> * Update public/app/features/panel/panellinks/link_srv.ts Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com> * Update public/app/features/panel/panel_ctrl.ts Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com> * Fix last types to compile * Fix formatting issue * Update public/app/features/panel/panel_ctrl.ts Co-Authored-By: Hugo Häggmark <hugo.haggmark@gmail.com>
Tobias Skarhed committed -
Daniele Ruggieri committed
-
* LDAP: use only one struct * Use only models.ExternalUserInfo * Add additional helper method :/ * Move all the helpers to one module * LDAP: refactoring * Rename some of the public methods and change their behaviour * Remove outdated methods * Simplify logic * More tests There is no and never were tests for settings.go, added tests for helper methods (cover is now about 100% for them). Added tests for the main LDAP logic, but there is some stuff to add. Dial() is not tested and not decoupled. It might be a challenge to do it properly * Restructure tests: * they wouldn't depend on external modules * more consistent naming * logical division * More guards for erroneous paths * Login: make login service an explicit dependency * LDAP: remove no longer needed test helper fns * LDAP: remove useless import * LDAP: Use new interface in multildap module * LDAP: corrections for the groups of multiple users * In case there is several users their groups weren't detected correctly * Simplify helpers module
Oleg Gaidarenko committed -
* ensure that empty Elasticsearch queries are properly set to *. Fixes issue that appears when passing raw data from variables. * combine null check and empty check into one
Dave committed -
☃ pitr committed
-
* Implementation of optimistic lock pattern Try to insert the remote cache key and handle integrity error * Remove transaction Integrity error inside a transaction results in deadlock * Remove check for existing remote cache key Is no longer needed since integrity constrain violations are handled * Add check for integrity constrain violation Do not update the row if the insert statement fails for other than an integrity constrain violation * Handle failing inserts because of deadlocks If the insert statement fails because of a deadlock try to update the row * Add utility function for returning SQL error code Useful for debugging * Add logging for failing expired cache key deletion Do not shallow it completely * Revert "Add utility function for returning SQL error code" This reverts commit 8e0b82c79633e7d8bc350823cbbab2ac7a58c0a5. * Better log for failing deletion of expired cache key * Add some comments * Remove check for existing cache key Attempt to insert the key without checking if it's already there and handle the error situations * Do not propagate deadlocks created during update Most probably somebody else is trying to insert/update the key at the same time so it is safe enough to ignore it
Sofia Papagiannaki committed -
Explore: Includes context parameter when invoking getExploreState() from Prometheus datasource (#17569) Closes #17457
kay delaney committed -
Hugo Häggmark committed
-