1. 20 Jan, 2021 18 commits
  2. 19 Jan, 2021 22 commits
    • Dashboards: Adds cheat sheet toggle to supported query editors (#28857) · b9b6af94
      * Dashboards: Adds cheat sheet toggle to supported query editors
      kay delaney committed
    • Alerting: Evaluate data templating in alert rule name and message (#29908) · c9da053e
      * evaluate Go style template
      
      * inlince func
      
      * add test case
      
      * PR feedback and add tests for templte data map func
      
      * Add test case
      
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      
      * do regex check
      
      * ensure ecape
      
      * small cleanup
      
      * dont exit on template execution errors
      
      * add info tooltip
      
      * add docs
      
      * switch from go tmpl to regex
      
      * update docs/comments
      
      * update tooltip wording
      
      * update docs wording
      
      * add simple test
      
      * avoid .MustCompile
      
      * point to labels in docs
      
      * update docs
      
      * fix docs links
      
      * remove line
      
      * fix lint
      
      * add note about multiple labels
      
      * propagate labels for CM
      
      * update docs
      
      * remove whitespace
      
      * update task title
      
      * update docs
      
      * pr feedback
      
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      Will Browne committed
    • Docs: Add links to 7.3 patch release notes (#30292) · 446db193
      * Update whats-new-in-v7-3.md
      
      * Update docs/sources/whatsnew/whats-new-in-v7-3.md
      
      Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
      
      Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
      Diana Payton committed
    • Expressions: Remove feature toggle (#30316) · d4edcd18
      * Expressions: remove feature toggle, add experimental badge
      * Make button only show for backend and mixed data sources
      
      Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com>
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Kyle Brandt committed
    • services/provisioning: Various cleanup (#30396) · 116809ed
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      Arve Knudsen committed
    • DashboardSchemas: OpenAPI Schema Generation (#30242) · 9691af83
      * Go program to output openapi
      
      * Fix number type syntax
      
      Resolves error: 'unsupported op for number &'
      
      * Render just the schemas
      
      * Use args as entrypoints and add test
      
      * Update README, tidy go.mod
      Chris Trott committed
    • AlertingNG: Enforce unique alert definition title (non empty)/UID per organisation (#30380) · b1debc9c
      * Enforce unique alert definition title/uid per org
      
      * Remove print statement from test
      
      * Do not allow empty alert definition titles
      
      * update error message on dup title
      
      * also add title error to update
      
      * CamelCase json properties
      
      * Add test for title unique enforcement in updates
      
      Co-authored-by: kyle <kyle@grafana.com>
      Sofia Papagiannaki committed
    • Licensing: Document new v7.4 options and APIs (#30217) · 2a55e00c
      Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      Emil Tullstedt committed
    • Auth: add expired token error and update CreateToken function (#30203) · 2a70c730
      * Auth: add error for expired token
      
      * Auth: save token error into context data
      
      * Auth: send full user and req context to CreateToken
      
      * Auth: add token ID in context
      
      * add TokenExpiredError struct
      
      * update auth tests
      
      * remove most of the changes to CreateToken func
      
      * clean up
      
      * Login: add requestURI in CreateToken ctx
      
      * update RequestURIKey comment
      Agnès Toulet committed
    • NodeGraph: Add node graph visualization (#29706) · 218a8de2
      * Add GraphView component
      
      * Add service map panel
      
      * Add more metadata visuals
      
      * Add context menu on click
      
      * Add context menu for services
      
      * Fix service map in dashboard
      
      * Add field proxy in explore linkSupplier
      
      * Refactor the link creation
      
      * Remove test file
      
      * Fix scale change when view is panned
      
      * Fix node centering
      
      * Don't show context menu if no links
      
      * Fix service map containers
      
      * Add collapsible around the service map
      
      * Fix stats computation
      
      * Remove debug log
      
      * Fix time stats
      
      * Allow string timestamp
      
      * Make panning bounded
      
      * Add zooming by mouse wheel
      
      * Clean up the colors
      
      * Fix stats for single trace graph
      
      * Don't show debug config
      
      * Add more complex layout
      
      * Update layout with better fixing of the root nodes
      
      * Code cleanup
      
      * Change how we pass in link creation function and some more cleanup
      
      * Refactor the panel section into separate render methods
      
      * Make the edge hover more readable
      
      * Move stats computation to data source
      
      * Put edge labels to front
      
      * Simplify layout for better multi graph layout
      
      * Update for dark theme
      
      * Move function to utils
      
      * Visual improvements
      
      * Improve context menu detail
      
      * Allow custom details
      
      * Rename to NodeGraph
      
      * Remove unused dependencies
      
      * Use named color palette and add some fallbacks for missing data
      
      * Add test data scenario
      
      * Rename plugin
      
      * Switch scroll zoom direction to align with google maps
      
      * Do some perf optimisations and rise the node limit
      
      * Update alert styling
      
      * Rename function
      
      * Add tests
      
      * Add more tests
      
      * Change data frame column mapping to use column names
      
      * Fix test
      
      * Fix type errors
      
      * Don't show context menu without links
      
      * Add beta status to panel
      
      * Fix tests
      
      * Changed function to standard methods
      
      * Fix typing
      
      * Clean up yarn.lock
      
      * Add some UI improvements
      
      - better styling of the zoom buttons
      - disable buttons when max reached
      
      * Fix panel references after rename
      
      * Add panel icon
      Andrej Ocenas committed
    • Plugins: Force POSIX style path separators for manifest generation (#30287) · ffd86f2a
      * force POSIX style path separators
      
      * include posix style for symbolic links
      
      * include in error string
      Will Browne committed
    • Field overrides: skipping overrides for properties no longer existing in plugin (#30197) · ce08bcae
      * Safely skipping overrides on missing properties.
      
      * Added test and missing element key.
      
      * added possibility to remove the missing property.
      
      * Minor UI change
      
      * Fix test
      
      * simplify a bit
      
      * Fixed test
      
      Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Marcus Andersson committed
    • NgAlerting: View query result (#30218) · 4b888d10
      * Fix query preview add tabs to options
      
      * break out tabs to components
      
      * add refresh button
      
      * minor things after PR review
      
      * hide queries
      
      * Add simple error screen if there's an error
      
      * dropdown with different frames
      
      * move onrunqueries to redux
      
      * cleanup
      
      * show actual error
      Peter Holmberg committed
    • Grafana-UI: Make Card story public (#30388) · 506120bb
      * Grafana-ui: Enable customisable separator for metadata
      
      * Grafana-ui: Make Card story public
      Alex Khomenko committed
    • Dashboard: migrate version history list (#29970) · c0dd1b6d
      * refactor(dashboard): remove redundant directive code from SaveDashboardAsButton
      
      * feat(dashboard): initial commit of rendering version history with react
      
      * feat(dashboard): append versions, use historySrv, UI as functional components
      
      * feat(dashboard): initial commit of versions settings diff view
      
      * refactor(historylist): remove code related to listing versions
      
      * refactor(dashboard): use angular directive to render version comparison
      
      * refactor(dashboard): clean up versions settings
      
      * refactor(dashboard): move version history UI components into own files
      
      * refactor(dashboard): update typings for version history react components
      
      * feat(dashboard): initial commit of react revert dashboard modal
      
      * test(dashboardsettings): clean up historylistctrl tests
      
      * chore(dashboardsettings): remove unused state variable
      
      * test(dashboardsettings): initial commit of VersionSettings component tests
      
      * feat(grafana-ui): add className concatenation on Checkbox label
      
      * Apply suggestions from code review
      
      Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
      
      * test(dashboardsettings): add more tests for Versions Settings react component
      
      * test(dashboardsettings): add test to assert latest badge in Version history table
      
      * fix(dashboardsettings): pass string to getDiff instead of react event object
      
      * test(dashboardsettings): remove failing test from versions settings
      
      * Moved scroll area to content, and fixed colors
      
      * Update public/app/features/dashboard/components/DashboardSettings/VersionsSettings.test.tsx
      
      Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
      
      * style(dashboardsettings): add new lines to versions settings tests
      
      Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Jack Westbrook committed