- 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 6 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 -
* Feature: Parse user agent string in user auth token api response (#16222) * Adding UA Parser Go modules attempt (#16222) * Bring user agent vals up per req * fix tests * doc update * update to flatten, no maps * update doc
Shavonn Brown committed -
Hugo Häggmark committed
-
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
Mario Trangoni committed
-
- 10 Jun, 2019 5 commits
-
-
* Add CircleCI step trigger-docs-update * Check changes to docs/* in CI/CD job trigger-docs-update
Alexandre de Verteuil committed -
* wip: fix remote cache for redis connstr parsing and non-negative expires for #17377 TODO: finish parse, check zero case, find out why negative duration in the first place * finish parse. Still TODO, find out negative value, and decide if would be better to make database specific entries in the .ini file * update ini files * remove accidental uncomment in defaults.ini * auth_proxy: expiration non-negative so expiration is not in the past * fix test, revert neg in redis * review: use errutil
Kyle Brandt committed -
fixes setex error with redis on #17377
Kyle Brandt committed -
* Wip: Intial commit * Wip: Adds intial InfluxLogsQueryField * Refactor: Adds measurements to InfluxLogQueryField * Style: Tweaks styles and adds chosen measurement to measurements * Refactor: Adds remove filter row * refactor: make influx datasource typed Uses the new api for exporting the plugin. * adds metricFindQuery to DataSourceApi metricFindQuery, getTagKeys and getTagValues now returns a promise * influx: minor improvements Limits logs result to 1000. Don't show adhoc filter until measurement have been selected. * Refactor: Adds fields to Cascader and uses chosen field as log column Co-authored-by: Marcus <marcus.efraimsson@gmail.com>
Hugo Häggmark committed -
fixes #17392
Kyle Brandt committed
-