1. 18 Apr, 2020 4 commits
  2. 17 Apr, 2020 13 commits
    • Tweaks and comments for ci-improvements, stability, and readibility (#23658) · 4e521a84
      * Tweaks and comments for ci-improvements, stability, and readibility
      - Made naming more obvious and intuitive
      - CI supports grafana e2e plus more granular design
        (side effect that it takes slightly longer, but negligable)
      - disable strict e2e errors through environment variable
      - Added tools for linting and for building plugin-ci
      
      * feedback from stevev - remove version. Causes problems
      Stephanie Closson committed
    • Toolkit: Update slim debian image for e2e testing (#23629) · 336ab899
      * Because alpine uses musl instead of libc, the e2e/cypress was not compatible
      So:
      - Created new VM based on debian-slim
      - Could also be used as a build VM
      
      Fixes:
      - ginstall issue with merge somewhere.
      - Trimmed down the alpine VM since we don't need the extra libraries for cypress
      
      * Fix: Don't need cp on debian
      Fix: Don't use /bin/sh on debian. Only for alpine. Use /bin/bash on debian
      Fix: Missing dependencies to e2e tests
      Stephanie Closson committed
    • Docs: Grafana internal metrics update (#23448) · 43fc6c3a
      * Update metrics.md
      
      * Updated metrics.md and configuration.md
      
      * Added links to data sources
      
      * Update metrics.md
      
      * Update docs/sources/administration/metrics.md
      
      Co-Authored-By: Carl Bergquist <carl@grafana.com>
      
      Co-authored-by: Carl Bergquist <carl@grafana.com>
      Co-authored-by: bergquist <carl.bergquist@gmail.com>
      Diana Payton committed
    • Transformers: changes reduce transformer (#23611) · 97c5e297
      * Transformers: changes reduce transformer
      
      * Refactor: fixes lenght of frame
      
      * Minor tweaks and polish
      
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Hugo Häggmark committed
    • Search: migrate manage dashboards (#23530) · 89c8855f
      * Search: add search wrapper
      
      * Search: add DashboardSearch.tsx
      
      * Search: enable search
      
      * Search: update types
      
      * Search: useReducer for saving search results
      
      * Search: use default query
      
      * Search: add toggle custom action
      
      * Search: add onQueryChange
      
      * Search: debounce search
      
      * Search: pas dispatch as a prop
      
      * Search: add tag filter
      
      * Search: Fix types
      
      * Search: revert changes
      
      * Search: close overlay on esc
      
      * Search: enable tag filtering
      
      * Search: clear query
      
      * Search: add autofocus to search field
      
      * Search: Rename close to closeSearch
      
      * Search: Add no results message
      
      * Search: Add loading state
      
      * Search: Remove Select from Forms namespace
      
      * Remove Add selectedIndex
      
      * Remove Add getFlattenedSections
      
      * Remove Enable selecting items
      
      * Search: add hasId
      
      * Search: preselect first item
      
      * Search: Add utils tests
      
      * Search: Fix moving selection down
      
      * Search: Add findSelected
      
      * Search: Add type to section
      
      * Search: Handle Enter key press on item highlight
      
      * Search: Move reducer et al. to separate files
      
      * Search: Remove redundant render check
      
      * Search: Close overlay on Esc and ArrowLeft press
      
      * Search: Add close button
      
      * Search: Document utils
      
      * Search: use Icon for remove icon
      
      * Search: Add DashboardSearch.test.tsx
      
      * Search: Move test data to a separate file
      
      * Search: Finalise DashboardSearch.test.tsx
      
      * Add search reducer tests
      
      * Search: Add search results loading indicator
      
      * Search: Remove inline function
      
      * Search: Do not mutate item
      
      * Search: Tweak utils
      
      * Search: Do not clear query on tag clear
      
      * Search: Fix folder:current search
      
      * Search: Fix results scroll
      
      * Search: Update tests
      
      * Search: Close overlay on cog icon click
      
      * Add mobile styles for close button
      
      * Search: Use CustomScrollbar
      
      * Search: Memoize TagList.tsx
      
      * Search: Fix type errors
      
      * Search: More strictNullChecks fixes
      
      * Search: Add ManageDashboards.tsx
      
      * Search: Add mergeReducers
      
      * Search: Use mergeReducers
      
      * Search: remove default state from reducers
      
      * Search: Fix recent and starred icons
      
      * Search: Enable search
      
      * Search: Add markup
      
      * Search: Separate manageDashboardsReducer
      
      * Search: Add DashboardActions.tsx
      
      * Use new Select for TagFilter
      
      * Search: Use TagFilter for search filters
      
      * Search: Use TagList
      
      * Search: Add toggleSection
      
      * Search: Add more actions
      
      * Search add manageDashboards.test.ts
      
      * Search: Add getCheckedUids
      
      * Search: Add modify and toggle checked actions
      
      * Search: Update tests
      
      * Search: Update component template
      
      * Search: Enable section toggle
      
      * Search: Derive canMove and canDelete
      
      * Search: Handle delete items
      
      * Search: Fix tests
      
      * Search: Enable toggle items
      
      * Search: Add confirm modal subtitle
      
      * Search: Use theme vars
      
      * Search: Add getCheckedDashboardsUids
      
      * Search: Add MoveToFolderModal
      
      * Search: Enable moving dashboards
      
      * Search: Fix strict null checks errors
      
      * Search: Fix strict null checks errors[2]
      
      * Search: Enable filters
      
      * Search: Add useSearchQuery.ts
      
      * Search: Toggle items when toggling all
      
      * Search: Update useSearchQuery to accept custom params
      
      * Search: Add useSearchQuery to dashboard search
      
      * Search: use SearchField for manage dashboards
      
      * Search: Remove event param from query change
      
      * Search: Add base search hooks
      
      * Search: refactor useSearch to accept reducer
      
      * Search: use useDashboardSearch hook
      
      * Search: Fix useSearchQuery params
      
      * Search: Enable folder search
      
      * Search: Update tests
      
      * Search: Pass the props to manage-dashboards
      
      * Search: Add search filters margin
      
      * Search: Remove search-field-wrapper class and hide logic for it
      
      * Search: Adjust SearchField styles
      
      * Search: Move search-results-container inside SearchResults
      
      * Search: Fix type errors
      
      * Search: Add EmptyListCTA
      
      * Search: Update move message
      
      * Search: Cleanup
      
      * Search: Add todo
      
      * Search: Fix action type
      
      * Search: Use React wrapper vs FolderDashboardsCtrl and DashboardListCtrl
      
      * Search: DashboardList => DashboardListPage
      
      * Search: Remove ManageDashboards from angular_wrappers
      
      * Minor style tweaks
      
      * Search: Use LinkButton
      
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Alex Khomenko committed
    • Inspect: Transformers (#23598) · 1816ab80
      * WIP: Inspect transformers
      
      * Updated
      
      * Transformations working in inspect drawer and series to columns working as normal transformation
      
      * Minor name change
      
      * Updated
      
      * Updated
      
      * Fix: fixes crash with dataFrameIndex out of bounds
      
      Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
      Torkel Ödegaard committed
    • FieldOverrides: UI updates (#23630) · 416111c5
      * UI improvements for field overrides
      
      * Update tests
      
      * Fix missing key
      
      * Fix e2e
      Dominik Prokop committed
    • Forms migration: Change password (#23623) · a9e408fe
      * Migrate ChangePassword
      
      * Add validation
      Tobias Skarhed committed
    • SAML Role and Team sync (open source part) (#23391) · f023e7a3
      * SAML: add default params for role and team sync
      
      * SAML: add org_mapping option
      
      * SAML: support allowed_organizations option
      
      * Chore: expose RedirectWithError from HTTPServer
      
      * Chore: return RedirectResponse (fix superfluous response.writeheader message)
      
      * HTTPServer: expose ValidateRedirectTo() and CookieOptionsFromCfg()
      
      * Config: move SAML section to the enterprise
      Alexander Zobnin committed
  3. 16 Apr, 2020 13 commits
  4. 15 Apr, 2020 10 commits
    • Image Rendering: Remove PhantomJS support (#23460) · 6e313e7d
      Removes all references and usage of PhantomJS #23375.
      Remove direct link rendered image e2e smoke test for now.
      Docker: Fix installing chrome in ubuntu custom docker image.
      Improve handling of image renderer not available/installed #23593.
      Add PhantomJS breaking change and upgrading notes.
      Use grabpl v0.2.10.
      
      Closes #13802
      
      Co-authored-by: Kyle Brandt <kyle@grafana.com>
      Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
      Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      Marcus Efraimsson committed
    • Storybook: Organizing (#23572) · 0a1ab60b
      * Initial reorganizing
      
      * Update Layout props table
      
      * Change sorting and move stories
      Tobias Skarhed committed
    • @grafana/ui: Remove ColorPallete component (#23592) · 95876f2b
      * Remove ColorPalette and its tests as it is not used anywhere
      
      * Remove obsolete snapshot test
      Ivana Huckova committed
    • Docs: Change header levels of last three sections (#23587) · 4c80eb75
      The last three sections of this document are not rendered on https://grafana.com/docs/grafana/latest/alerting/notifications 
      It seems like in all other instances (other .md docs of this project), level one headers are only used at the top of the page, so I assume using level two headers will make them show. Level two headers do also match the overall structure of the documentation.
      Johannes Midgren committed
    • CircleCI: Upgrade the build pipeline tool (#23595) · 0dd2db85
      Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
      Arve Knudsen committed
    • Inspector: move `Panel JSON` and query inspector to the inspector (#23354) · 17059489
      * move Panel JSON to inspector
      
      * move Panel JSON to inspector
      
      * update test
      
      * use stats display options
      
      * move query inspector to inspector
      
      * open inspector from the queries section
      
      * subscribe to results
      
      * subscribe to results
      
      * open the right tab
      
      * apply review feedback
      
      * update menus (inspect tabs)
      
      * Dashboard: extend dashnav to add custom content (#23433)
      
      * Dashlist: Fixed dashlist broken in edit mode (#23426)
      
      * Chore: Fix bunch of strict null error to fix master CI (#23443)
      
      * Fix bunch of null error
      
      * Fix failing test
      
      * Another test fix
      
      * Docs: Add SQL region annotation examples (#23268)
      
      Add region annotation examples for SQL data sources in docs.
      
      Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
      
      * Docs: Update contributing doc to install node@12. (#23450)
      
      * NewPanelEdit: Minor style and description tweaks, AND PanelQueryRunner & autoMinMax (#23445)
      
      * NewPanelEdit: Minor style and description tweaks
      
      * Removed the worst snapshot of all time
      
      * ReactTable: adds color text to field options (#23427)
      
      * Feature: adds text color field config
      
      * Refactor: created an extension point
      
      * Refactor: uses HOC for extension instead
      
      * Fix: fixes background styling from affecting cells without display.color
      
      * Chore: export OptionsUIRegistryBuilder on grafana/data (#23444)
      
      * export the ui registry
      
      * add to utils index also
      
      * DataLinks: Do not full page reload data links links (#23429)
      
      * Templating: Fix global variable "__org.id" (#23362)
      
      * Fixed global variable __org.id value
      
      * correct orgId value
      
      * reverted the change as variables moved to new file
      
      * Chore: reduce null check errors to 788 (currently over 798) (#23449)
      
      * Fixed ts errors so build will succeed
      
      * Update packages/grafana-data/src/types/graph.ts
      
      Co-Authored-By: Ryan McKinley <ryantxu@gmail.com>
      
      * Feedback from code review
      
      * Leaving out trivial typing's
      
      * Fix error with color being undefined now.
      
      * fix test with timezone issue
      
      * Fixed test
      
      Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      
      * Cloudwatch: prefer webIdentity over EC2 role (#23452)
      
      * Plugins: add a signature status flag (#23420)
      
      * Progress
      
      * fixed button
      
      * Final touches
      
      * now works from edit mode
      
      * fix layout
      
      * show raw objects
      
      * move query inspector buttons to the bottom
      
      * update snapshot
      
      * Updated design
      
      * Made full page reload work
      
      * Fixed minor style issue
      
      * Updated
      
      * More fixes
      
      * Removed unused imports
      
      * Updated
      
      * Moved to data tab out to seperate component
      
      * fixed ts issue
      
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
      Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
      Co-authored-by: Alexandre de Verteuil <alexandre@grafana.com>
      Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
      Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
      Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
      Co-authored-by: Vikky Omkar <vikkyomkar@gmail.com>
      Co-authored-by: Stephanie Closson <srclosson@gmail.com>
      Co-authored-by: Dário Nascimento <dfrnascimento@gmail.com>
      Ryan McKinley committed
    • Forms migration: Org users page (#23372) · cff70b66
      * Migrate UsersActionBar
      
      * Invites table
      
      * Migrate Users page
      
      * Select version of OrgPicker
      
      * OrgRolePicker to use Select only
      
      * Fix modal issue
      
      * Move legacy Switch
      
      * Move from Forms folder
      
      * Fix failing test
      
      * Merge and fix issues
      
      * Update OrgRole issues
      
      * OrgUser type
      
      * Remove unused import
      
      * Update Snapshot
      Tobias Skarhed committed
    • Tracing: Performance optimization (#23474) · 1864807b
      * Add integration with Jeager
      Add Jaeger datasource and modify derived fields in loki to allow for opening a trace in Jager in separate split.
      Modifies build so that this branch docker images are pushed to docker hub
      Add a traceui dir with docker-compose and provision files for demoing.:wq
      
      * Enable docker logger plugin to send logs to loki
      
      * Add placeholder zipkin datasource
      
      * Fixed rebase issues, added enhanceDataFrame to non-legacy code path
      
      * Trace selector for jaeger query field
      
      * Fix logs default mode for Loki
      
      * Fix loading jaeger query field services on split
      
      * Updated grafana image in traceui/compose file
      
      * Fix prettier error
      
      * Hide behind feature flag, clean up unused code.
      
      * Fix tests
      
      * Fix tests
      
      * Cleanup code and review feedback
      
      * Remove traceui directory
      
      * Remove circle build changes
      
      * Fix feature toggles object
      
      * Fix merge issues
      
      * Add trace ui in Explore
      
      * WIP
      
      * WIP
      
      * WIP
      
      * Make jaeger datasource return trace data instead of link
      
      * Allow js in jest tests
      
      * Return data from Jaeger datasource
      
      * Take yarn.lock from master
      
      * Fix missing component
      
      * Update yarn lock
      
      * Fix some ts and lint errors
      
      * Fix merge
      
      * Fix type errors
      
      * Make tests pass again
      
      * Add tests
      
      * Fix es5 compatibility
      
      * Add header with minimap
      
      * Fix sizing issue due to column resizer handle
      
      * Fix issues with sizing, search functionality, duplicate react, tests
      
      * Refactor TraceView component, fix tests
      
      * Fix type errors
      
      * Add dark theme styling
      
      * Add tests for hooks
      
      * More color changes
      
      * Fix tests to deal with additional theme wrappers.
      
      * Add memoization
      
      * Fix duplicate identifier
      
      Co-authored-by: David Kaltschmidt <david.kaltschmidt@gmail.com>
      Andrej Ocenas committed
    • Remove guides (#23589) · f48d444a
      Marcus Olsson committed