1. 19 Jun, 2019 2 commits
  2. 18 Jun, 2019 16 commits
  3. 17 Jun, 2019 7 commits
  4. 15 Jun, 2019 3 commits
  5. 14 Jun, 2019 4 commits
  6. 13 Jun, 2019 8 commits
    • Graph: Added new fill gradient option (#17528) · 2c5c3338
      * Graph: Added new fill gradient option
      
      * Graph: changed gradient area fill option, added test dashboard
      Torkel Ödegaard committed
    • Typescript: Reduce implicit any errors (#17550) · 375dc333
      * 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
    • LDAP: refactoring (#17479) · 1b1d9514
      * 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
    • Elasticsearch: Fix empty query request to send properly (#17488) · c78b6e2a
      * 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
    • AuthProxy: Optimistic lock pattern for remote cache Set (#17485) · 7b70e7db
      * 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