1. 28 Jun, 2019 4 commits
    • Toolkit: moved front end cli scripts to separate package and introduced very… · 742e0d56
      Toolkit: moved front end cli scripts to separate package and introduced very early version of plugin tools
      
      * Move cli to grafana-toolkit
      
      * Moving packages, fixing ts
      
      * Add basics of plugin build task
      
      * Add toolkit build task
      
      * Circle - use node 10 for test-frontend
      
      * Prettier fix
      
      * First attempt for having shared tsconfig for plugins
      
      * Add enzyme as peer depencency
      
      * Do not expose internal commands when using toolkit from npm package
      
      * Introduce plugin linting
      
      * Fix missing file
      
      * Fix shim extenstion
      
      * Remove rollup typings
      
      * Add tslint as dependency
      
      * Toolkit - use the same versions of enzyme and tslint as core does
      
      * Remove include property from plugin tsconfig
      
      * Take failed suites into consideration when tests failed
      
      * Set ts-jest preset for jest
      
      * Cleanup tsconfig.plugins
      
      * Add plugin:test task
      
      * Rename file causing build failute
      
      * Fixing those missed renames
      
      * Add ts as peer dependency
      
      * Remove enzyme dependency and tweak test plugin task
      
      * Allow jest options overrides via package.json config
      
      * Improvements
      
      * Remove rollup node packages
      
      * TMP : Fix ts errors when linked
      
      * use local tslint if it exists
      
      * support coverage commands
      
      * Fix merge
      
      * fix build
      
      * Some minors
      
      * Make jest pass when no tests discovered
      Dominik Prokop committed
    • Explore: Uses new TimePicker from Grafana/UI (#17793) · ead4b1f5
      * Wip: Intiail commit
      
      * Refactor: Replaces TimePicker in Explore
      
      * Refactor: Removes Angular TimePicker folder
      
      * Refactor: Adds tests for getShiftedTimeRange
      
      * Fix: Fixes invalid import to removed TimePicker
      
      * Fix: Fixes dateTime tests
      
      * Refactor: Reuses getShiftedTimeRange for both Explore and Dashboards
      
      * Refactor: Shares getZoomedTimeRange between Explore and Dashboard
      Hugo Häggmark committed
    • Explore: Uses RFC3339Nano string to retrieve LogRow contexts from Loki API (#17813) · 2379de53
      * Refactor: Uses nanosecond string to retreive LogRow contexts
      
      * Reafactor: Small changes to comments after PR comments
      Hugo Häggmark committed
  2. 27 Jun, 2019 6 commits
  3. 26 Jun, 2019 12 commits
  4. 25 Jun, 2019 17 commits
    • UserAdmin: UI for disabling users (#17333) · 77375f37
      * Feat: initial disable user UI
      
      * batch disable users
      
      * batch revoke users tokens
      
      * split batch disable user and revoke token
      
      * API: get users with auth info and isExternal flag
      
      * fix tests for batch disable users
      
      * Disable users: show is user external or not
      
      * Users: refactor /api/users/search endpoint
      
      * Users: use alias for "user" table
      
      * Chore: add BatchDisableUsers() to the bus
      
      * Users: order user list by id explicitly
      
      * Chore: switch back to /api/users/search endpoint
      
      * Users: move disable button to user profile page
      
      * Users: return AuthModule from /api/users/:id endpoint
      
      * Users: do not return unused fields
      
      * Users: mute auth badge for disabled users
      
      * Users: move disable button to the user section
      
      * Users: fix SearchUsers method after last changes
      
      * User: return auth module as array for future purposes
      
      * User: tests for SearchUsers()
      
      * User: return only latest auth module in SearchUsers()
      
      * User: fix JOIN, get only most recent auth module
      
      * Users: fix ldap badge after backed changes
      
      * Users: show tooltip for inactive disable/enable button
      
      * Users: move delete button to edit user view
      
      * Users: put deactivated badge on the user list
      
      * Users: minor refactor
      
      * Users: adjust deactivated badge style
      
      * Minor design changes
      Alexander Zobnin committed
    • API: get list of users with additional auth info (#17305) · dad894f1
      * batch disable users
      
      * batch revoke users tokens
      
      * split batch disable user and revoke token
      
      * API: get users with auth info and isExternal flag
      
      * fix tests for batch disable users
      
      * Users: refactor /api/users/search endpoint
      
      * Users: use alias for "user" table
      
      * Chore: add BatchDisableUsers() to the bus
      
      * Users: order user list by id explicitly
      
      * Users: return AuthModule from /api/users/:id endpoint
      
      * Users: do not return unused fields
      
      * Users: fix SearchUsers method after last changes
      
      * User: return auth module as array for future purposes
      
      * User: tests for SearchUsers()
      
      * User: return only latest auth module in SearchUsers()
      
      * User: fix JOIN, get only most recent auth module
      Alexander Zobnin committed
    • Explore: Parses and updates TimeSrv in one place in Explore (#17677) · 2c5400c6
      * Wip: Adds timeEpic
      
      * Refactor: Introduces absoluteRange in Explore state
      
      * Refactor: Removes changeTime action
      
      * Tests: Adds tests for timeEpic
      
      * Refactor: Spells AbsoluteRange correctly
      Hugo Häggmark committed
    • @grafana/ui: release (#17754) · 6be1606b
      * Specifying named exports for slate
      
      * Make sure tests are performed at the beginning
      
      * Version bump
      Tobias Skarhed committed
    • Password: Remove PasswordStrength (#17750) · 0904607e
      * Closes #17748
      
      * Remove remaining occurences
      
      * And the last one
      Tobias Skarhed committed
    • Devenv:SAML: devenv block with saml test app (#17733) · e83953f2
      * Devenv:SAML: devenv block with saml test app
      
      Includes documentation, couple custom users and
      actual docker-compose of course :)
      
      Ref: #4780
      Oleg Gaidarenko committed
    • LDAP:Docs: add information on LDAP sync feature and update LDAP sync default (#17689) · 31d29054
      * Docs: for LDAP active sync feature
      Oleg Gaidarenko committed
    • Graph: Add data links feature (click on graph) (#17267) · 335cec07
      * WIP: initial panel links editor
      
      * WIP: Added dashboard migration to new panel drilldown link schema
      
      * Make link_srv interpolate new variables
      
      * Fix failing tests
      
      * Drilldown: Add context menu to graph viz (#17284)
      
      * Add simple context menu for adding graph annotations and showing drilldown links
      
      * Close graph context menu when user start scrolling
      
      * Move context menu component to grafana/ui
      
      * Make graph context menu appear on click, use cmd/ctrl click for quick annotations
      
      * Move graph context menu controller to separate file
      
      * Drilldown: datapoint variables interpolation (#17328)
      
      * Add simple context menu for adding graph annotations and showing drilldown links
      
      * Close graph context menu when user start scrolling
      
      * Move context menu component to grafana/ui
      
      * Make graph context menu appear on click, use cmd/ctrl click for quick annotations
      
      * Add util for absolute time range transformation
      
      * Add series name and datapoint timestamp interpolation
      
      * Rename drilldown link variables tot snake case, use const values instead of strings in tests
      
      * Bring LinkSrv.getPanelLinkAnchorInfo for compatibility reasons and add deprecation warning
      
      * Rename seriesLabel to seriesName
      
      * Drilldown: use separate editors for panel and series links (#17355)
      
      * Use correct target ini context menu links
      
      * Rename PanelLinksEditor to DrilldownLinksEditor and mote it to grafana/ui
      
      * Expose DrilldownLinksEditor as an angular directive
      
      * Enable visualization specifix drilldown links
      
      * Props interfaces rename
      
      * Drilldown: Add variables suggestion and syntax highlighting for drilldown link editor (#17391)
      
      * Add variables suggestion in drilldown link editor
      
      * Enable prism
      
      * Fix backspace not working
      
      * Move slate value helpers to grafana/ui
      
      * Add syntax higlighting for links input
      
      * Rename drilldown link components to data links
      
      * Add template variabe suggestions
      
      * Bugfix
      
      * Fix regexp not working in Firefox
      
      * Display correct links in panel header corner
      
      * bugfix
      
      * bugfix
      
      * Bugfix
      
      * Context menu UI tweaks
      
      * Use data link terminology instead of drilldown
      
      * DataLinks: changed autocomplete syntax
      
      * Use singular form for data link
      
      * Use the same syntax higlighting for built-in and template variables in data links editor
      
      * UI improvements to context menu
      
      * UI review tweaks
      
      * Tweak layout of data link editor
      
      * Fix vertical spacing
      
      * Remove data link header in context menu
      
      * Remove pointer cursor from series label in context menu
      
      * Fix variable selection on click
      
      * DataLinks: migrations for old links
      
      * Update docs about data links
      
      * Use value time instead of time range when interpolating datapoint timestamp
      
      * Remove not used util
      
      * Update docs
      
      * Moved icon a bit more down
      
      * Interpolate value ts only when using __value_time variable
      
      * Bring href property back to LinkModel
      
      * Add any type annotations
      
      * Fix TS error on slate's Value type
      
      * minor changes
      Torkel Ödegaard committed
    • noImplicitAny: time region manager etc. (#17729) · 1b17b789
      * Fix errors
      
      * Wrong branch
      
      * minor type fix
      Tobias Skarhed committed
    • Panel: Fully escape html in drilldown links (was only sanitized before) (#17731) · 75c29566
      * Sanitize HTML
      
      * Replace sanitization lib and check for config
      
      * Add htmlToText
      
      * Refactor: Renaming htmlToText to escapeHtml
      Tobias Skarhed committed
    • Alerting: Improve alert rule testing (#16286) · 5713048f
      * tsdb: add support for setting debug flag of tsdb query
      
      * alerting: adds debug flag in eval context
      
      Debug flag is set when testing an alert rule and this debug
      flag is used to return more debug information in test aler rule
      response. This debug flag is also provided to tsdb queries so
      datasources can optionally add support for returning additional
      debug data
      
      * alerting: improve test alert rule ui
      
      Adds buttons for expand/collapse json and copy json to clipboard,
      very similar to how the query inspector works.
      
      * elasticsearch: implement support for tsdb query debug flag
      
      * elasticsearch: embedding client response in struct
      
      * alerting: return proper query model when testing rule
      Marcus Efraimsson committed
  5. 24 Jun, 2019 1 commit
    • Elasticsearch: Visualize logs in Explore (#17605) · eecd8d10
      * explore: try to use existing mode when switching datasource
      
      * elasticsearch: initial explore logs support
      
      * Elasticsearch: Adds ElasticsearchOptions type
      Updates tests accordingly
      
      * Elasticsearch: Adds typing to query method
      
      * Elasticsearch: Makes maxConcurrentShardRequests optional
      
      * Explore: Allows empty query for elasticsearch datasource
      
      * Elasticsearch: Unifies ElasticsearchQuery interface definition
      Removes check for context === 'explore'
      
      * Elasticsearch: Removes context property from ElasticsearchQuery interface
      Adds field property
      Removes metricAggs property
      Adds typing to metrics property
      
      * Elasticsearch: Runs default 'empty' query when 'clear all' button is pressed
      
      * Elasticsearch: Removes index property from ElasticsearchOptions interface
      
      * Elasticsearch: Removes commented code from ElasticsearchQueryField.tsx
      
      * Elasticsearch: Adds comment warning usage of for...in to elastic_response.ts
      
      * Elasticsearch: adds tests related to log queries
      Marcus Efraimsson committed