1. 26 Jun, 2019 9 commits
  2. 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
  3. 24 Jun, 2019 10 commits
    • 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
    • Grafana-CLI: Wrapper for `grafana-cli` within RPM/DEB packages and… · 2fb45eee
      Grafana-CLI: Wrapper for `grafana-cli` within RPM/DEB packages and config/homepath are now global flags (#17695)
      
      * Feature: Introduce a grafana-cli wrapper
      
      When our users install the *nix packed version of grafana, tendency is to use the services and scripts installed as part of the package for grafana-server. These leverage the default configuration options by specifying the several default paths.
      
      This introduces a similar approach for the grafana-cli binary. We exposed it through a wrapper to ensure a proper configuration is in place. To enable that, we add the .real suffix to the original binary (grafana-cli.real) and then use a bash script named grafana-cli as the wrapper.
      
      * Make the config and homepath flags global
      
      * Introduce `configOverrides` as a global flag
      
      This flag allows us to pass configuration overrides as a string.
      
      The string follows the convention of configuration arguments separated by a space e.g. "cfg:default.paths.data=/dev/nullX cfg:default.paths.logs=/dev/nullX"
      
      Also, it is backwards compatible with similar the previous configuration method through tailing arguments. Tailing arguments take presedence over the configuration options string.
      
      * Only log configuration information in debug mode
      
      * Move the grafana-cli binary to $GRAFANA_HOME/bin
      
      As part of the package install process, we copy all the release files and
      directories into the grafana home directory. This includes the /bin folder
      from where we copied the binaries into their respective destinations.
      After that, the /bin folder gets deleted as we don't want to keep
      duplicates of the binaries around.
      
      As part of this commit, we moved the re-creation of /bin within
      grafana-home and the copy of the original binary (again) after the
      folder gets deleted.
      gotjosh committed
    • Project: Issue triage doc improvement (#17709) · c41eba92
      Adds some fixes of types and a new section describing how 
      you can help with the Grafana project related to issues.
      
      Ref #17648
      Marcus Efraimsson committed
    • Improvement: Grafana release process minor improvements (#17661) · bc94f85d
      * Don't display changelog category title when no items
      
      The output of the changelog is meant to be copy/pasted with ease. When a
      changelog category does not contain items is better to not display title
      at all thus avoiding having the manually modify the output as we include
      it in the steps of the process.
      
      * Introduce a CLI task to close milestones whilst doing a Grafana release
      
      As part of a Grafana release, we need to eventually close the GitHub
      milestone to indicate is done and remove all the cherry-pick labels from
      issues/prs within the milestone to avoid our cherry-pick CLI command to
      pick them up on the next release.
      
      * Abstract the GitHub client into a module
      
      * Introduce `GitHubClient` to all CLI tasks
      gotjosh committed
    • TimePicker: New time picker dropdown & custom range UI (#16811) · 0412a28d
      * feat: Add new picker to DashNavTimeControls
      
      * chore: noImplicitAny limit reached
      
      * chore: noImplicityAny fix
      
      * chore: Add momentUtc helper to avoid the isUtc conditionals
      
      * chore: Move getRaw from Explore's time picker to grafana/ui utils and rename to getRawRange
      
      * feat: Use helper functions to convert utc to browser time
      
      * fix: Dont Select current value when pressing tab when using Time Picker
      
      * fix: Add tabIndex to time range inputs so tab works smoothly and prevent mouseDown event to propagate to react-select
      
      * fix: Add spacing to custom range labels
      
      * fix: Updated snapshot
      
      * fix: Re-adding getRaw() temporary to fix the build
      
      * fix: Disable scroll event in Popper when we're using the TimePicker so the popup wont "follow" the menu
      
      * fix: Move all "Last xxxx" quick ranges to the menu and show a "UTC" text when applicable
      
      * fix: Add zoom functionality
      
      * feat: Add logic to mark selected option as active
      
      * fix: Add tooltip to zoom button
      
      * fix: lint fix after rebase
      
      * chore: Remove old time picker from DashNav
      
      * TimePicker: minor design update
      
      * chore: Move all time picker quick ranges to the menu
      
      * fix: Remove the popover border-right, since the quick ranges are gone
      
      * chore: Remove function not in use
      
      * Fix: Close time picker on resize event
      
      * Fix: Remove border bottom
      
      * Fix: Use fa icons on prev/next arrows
      
      * Fix: Pass ref from TimePicker to TimePickerOptionGroup so the popover will align as it should
      
      * Fix: time picker ui adjustments to get better touch area on buttons
      
      * Fix: Dont increase line height on large screens
      
      * TimePicker: style updates
      
      * Fix: Add more prominent colors for selected dates and fade out dates in previous/next month
      
      * TimePicker: style updates2
      
      * TimePicker: Big refactorings and style changes
      
      * Removed use of Popper not sure we need that here?
      * Made active selected item in the list have the "selected" checkmark
      * Changed design of popover
      * Changed design of and implementation of the Custom selection in the dropdown it did not feel like a item you
      could select like the rest now the list is just a normal list
      
      * TimePicker: Refactoring & style changes
      
      * TimePicker: use same date format everywhere
      
      * TimePicker: Calendar style updates
      
      * TimePicker: fixed unit test
      
      * fixed unit test
      
      * TimeZone: refactoring time zone type
      
      * TimePicker: refactoring
      
      * TimePicker: finally to UTC to work
      
      * TimePicker: better way to handle calendar utc dates
      
      * TimePicker: Fixed tooltip issues
      
      * Updated snapshot
      
      * TimePicker: moved tooltip from DashNavControls into TimePicker
      Johannes Schill committed
    • Fix link in pkg/README (#17714) · d0852f06
      Remove leading backslash from url 
      Sofia Papagiannaki committed
    • Dashboard: Use Explore's Prometheus editor in dashboard panel edit (#15364) · 4ddeb94f
      * WIP prometheus editor same in panel
      
      * Dont use panel in plugin editors
      
      * prettiered modified files
      
      * Fix step in external link
      
      * Prevent exiting edit mode when slate suggestions are shown
      
      * Blur behavior and $__interval variable
      
      * Remove unused query controller
      
      * Basic render test
      
      * Chore: Fixes blacklisted import
      
      * Refactor: Adds correct start and end time
      David committed
  4. 23 Jun, 2019 1 commit
  5. 22 Jun, 2019 2 commits
  6. 21 Jun, 2019 1 commit
    • Document issue triage process (#17669) · ec3b91e6
      Adds a first version of project documentation/guideline for triaging 
      of issues. This adds some additional content and context so that 
      the issue triage process can be understood by both maintainers 
      and existing/new contributors and other interested parties.
      
      Co-Authored-By: Andrej Ocenas <mr.ocenas@gmail.com>
      
      Closes #17648
      Marcus Efraimsson committed