- 17 Jun, 2019 1 commit
-
-
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 19 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
-
Hugo Häggmark committed
-
* Tests: Updates truth screen shot * Fix: Fixes an implicit any error
Hugo Häggmark committed -
kay delaney committed
-
This fix prevents Grafana from crashing after being logged in. Ref #17519
Marcus Efraimsson committed -
Kyle Brandt committed
-
Also adds tests to validate behaviour Query now reruns when filter is removed Changes <AdHocFilterField /> such that after a measurement and field have been chosen, just a '+' button is displayed, rather than an empty <AdHocFilter /> Closes #17544 Closes #17497
kay delaney committed -
Carl Bergquist committed
-
Closes #17129
Zayn-ul-Abdin committed -
Progress: #14714
Hugo Häggmark committed
-
- 12 Jun, 2019 10 commits
-
-
Resets influx logs query field when hitting clear all and clear row in explore logs mode. Fixes #17506
Marcus Efraimsson committed -
Marcus Efraimsson committed
-
* Explore: Runs query when measurement/field and pairs are select in logs mode for influx Closes #17500 * Explore: Modifies logic determining when to auto-run query during influx logs mode Also adds test to validate this logic
kay delaney committed -
* Influx: Adds start page for logs in Explore Closes #17499 * Influx: Rebased with master and removed conditional display of cheat sheet in explore Cheat sheet now displays during both Metrics and Logs mode, though this is only temporary.
kay delaney committed -
Maxim Ivanov committed
-
* x_xss_protection * strict_transport_security (HSTS) * x_content_type_options these are currently defaulted to false (off) until the next minor release. fixes #17509
Kyle Brandt committed -
* Docs: Clarifies from which version the Patch VERB is available Closes: #17508 * Docs: Removes setting after PR comments
Hugo Häggmark committed -
* Fix: Upgrade hugo wip * Chore: Rename index to _index for latest hugo * Chore: Use relative refs, no starting slash * Feat: Add possibility to mount layouts from grafana.org project
Johannes Schill committed -
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
Mario Trangoni committed -
Closes: #17516
Hugo Häggmark committed
-
- 11 Jun, 2019 3 commits
-
-
* Add scaling toggle to Singlestat panel This toggle allows a user to choose between auto scaling or zero-based scaling. * Update Singlestat docs to include Zero Scale option * Add min/max config to Singlestat sparklines y axis
☃ pitr committed -
This will clear the existing queries when switching between metrics and logs. Closes #17496
Marcus Efraimsson committed -
* Start user auth token list on user profile (#16223) * Now session found and first, better os regex (#16223) * Revoke for user and admin user token manage (#16223) * Tidying and styling (#16223) * Tidying and styling (#16223) * Update to use #16222 (#16223) * Update for changes to 16222 * update per api issue
Shavonn Brown committed
-