1. 03 Mar, 2020 12 commits
    • @grafana/e2e: added support for plugin repositories (#22546) · ee5fcc03
      * Minor changes
      
      * Include Cypress support files in published package
      
      * Added CLI
      
      … with support for custom configurations (which Cypress does not currently support by default):
      
        * Loads cypress.json from @grafana/e2e as a base config (via a custom Cypress plugin)
        * Sets default values for project-level Cypress files (tests, etc)
        * Optionally loads a cypress.json from the current working directory as overrides
      
      * Updated lockfile
      Steven Vachon committed
    • Add fallback to search_base_dns if group_search_base_dns is undefined. (#21263) · c3884abf
      * Add fallback to search_base_dns if group_search_base_dns is undefined.
      
      refs: #20862
      
      * removed newline to make lint-go happy
      
      * Added requested changes on ldap.md for last commit
      
      Refs: #21263
      Ricardo committed
    • Docs: Added a Markdown Style Guide (#22425) · b24c7cdd
      * Docs: Adding a Markdown Style Guide
      
      What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users.
      This PR serves the need to make documentation and READMEs more consistent and maintainable.
      
      Which issue(s) this PR fixes: This request fixes the issue grafana#19592
      
      Fixes grafana#19592
      
      Special notes for your reviewer:
      
      @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections.
      
      * Docs: Adding a Markdown Style Guide
      
      What this PR does / why we need it: This request builds a markdown style guide for writers documenting information about Grafana services for users.
      This PR serves the need to make documentation and READMEs more consistent and maintainable.
      
      Which issue(s) this PR fixes: This request fixes the issue grafana#19592
      
      Fixes grafana#19592
      
      Special notes for your reviewer:
      
      @marcusolsson and @oddlittlebird, sorry for the delay. I've set up the style guide, and it is ready for review, or additional sections.
      
      * Docs: fixing typos and char repetition
      
      Editing some typos in the text, and removing the repetition of A and B characters that appeared in the file.
      
      * Docs: Changing content following review of new Markdown Style Guide
      
      - adjustment to headings to sentence case.
      - adding an introduction
      - removing punctuation content
      - making suggested word and punctuation fixes
      
      Fixes #19592
      Joseph Robinson committed
    • Old AsyncSelect: Add story (#22536) · 98418ea5
      * Change to CSF
      
      * Remove comments
      
      * Fix AsyncSelect error
      
      * Remove changes to the component
      
      * Restructure
      
      * Remove comments
      
      * Add searching
      
      * Remove witespace
      
      Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com>
      
      Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
      Tobias Skarhed committed
    • Form migrations: Dashboard- and TimeZonePicker (#22459) · 3a5375dd
      * Add new form styles to dashboard picker
      
      * Use Forms.Select for TimeZonePicker
      
      * Use new form elements for DashboardPicker
      
      * Grafana UI: Extract types from SelectBase, add utils.ts
      
      * Grafana UI: Fix imports
      
      * Grafana UI: Add support for value of type number
      
      * Grafana UI: tweak value search function
      
      * Grafana UI: Add tests for findSelectedValue
      
      * Grafana UI: Add tests for cleanValue
      
      * Grafana UI: Remove redundant check
      
      * Grafana UI: Order imports
      
      * Grafana-UI: Fix TimeZonePicker.story.tsx
      
      * Grafana-UI: Fix timezone value
      
      * Fix merge
      
      * Grafana-UI: Use Cascader vs Forms.Select for TimeZonePicker
      
      * Grafana-UI: Add default size props
      Alex Khomenko committed
    • Migration: Share dashboard/panel modal (#22436) · d66e72fa
      * ShareModal: refactor dashboard export modal
      
      * Modal: show react modals with appEvents
      
      * ShareModal: embed panel tab
      
      * ShareModal: bind to shortcut (p s)
      
      * grafana-ui: ClipboardButton component
      
      * ShareModal: use ClipboardButton component
      
      * ClipboardButton: add to storybook
      
      * ShareModal: use event-based approach for dashboard share
      
      * ShareModal: remove unused
      
      * ModalReact: pass theme to the component
      
      * ShareModal: styles clean up
      
      * DashboardExporter: fix tests
      
      * fixed whitespace betwen icon and link
      
      * ShareModal: use theme from config
      
      * Modal: tab header refactor
      
      * ShareModal: tests
      
      * ShareModal: fix share url rendering
      
      * ShareModal: remove unused angular files
      
      * Chore: fix strictNullChecks errors
      
      * Modal: provide theme for event-based modal usage
      
      * ShareModal: use ModalsController for opening modal
      
      Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
      Alexander Zobnin committed
    • Backend plugins: Prepare and clean request headers before resource calls (#22321) · e6cec8db
      Moves common request proxy utilities to proxyutil package with
      support for removing X-Forwarded-Host, X-Forwarded-Port,
      X-Forwarded-Proto headers, setting X-Forwarded-For header
      and cleaning Cookie header.
      Using the proxyutil package to prepare and clean request
      headers before resource calls.
      
      Closes #21512
      Marcus Efraimsson committed
    • Migration: Save dashboard modals (#22395) · baa356e2
      * Add mechanism for imperatively showing modals
      
      * Migration work in progress
      
      * Reorganise save modal components
      
      * use app events emmiter instead of root scope one
      
      * Add center alignment to layoout component
      
      * Make save buttons wotk
      
      * Prettier
      
      * Remove save dashboard logic  from dashboard srv
      
      * Remove unused code
      
      * Dont show error notifications
      
      * Save modal when dashboard is overwritten
      
      * For tweaks
      
      * Folder picker tweaks
      
      * Save dashboard tweaks
      
      * Copy provisioned dashboard to clipboard
      
      * Enable saving dashboard json to file
      
      * Use SaveDashboardAsButton
      
      * Review
      
      * Align buttons in dashboard settings
      
      * Migrate SaveDashboardAs tests
      
      * TS fixes
      
      * SaveDashboardForm tests migrated
      
      * Fixe some failing tests
      
      * Fix folder picker tests
      
      * Fix HistoryListCtrl tests
      
      * Remove old import
      
      * Enable fixed positioning for folder picker select menu
      
      * Modal: show react modals with appEvents
      
      * Open react modals using event
      
      * Move save dashboard modals to dashboard feature
      
      * Make e2e pass
      
      * Update public/app/features/dashboard/components/SaveDashboard/SaveDashboardButton.tsx
      
      * Hacking old vs new buttons to make all the things look like it's old good Grafana ;)
      
      Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
      Dominik Prokop committed
  2. 02 Mar, 2020 7 commits
    • Docs: Add Storybook guidelines (#22465) · 2483efb8
      * Add Storybook guidlines
      
      * Make lists
      
      * Update contribute/style-guides/storybook.md
      
      Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      
      * Update contribute/style-guides/storybook.md
      
      Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      
      * Update contribute/style-guides/storybook.md
      
      Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      
      * Update contribute/style-guides/storybook.md
      
      Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      
      * Update contribute/style-guides/storybook.md
      
      Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      
      * Update contribute/style-guides/storybook.md
      
      Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      
      * Update contribute/style-guides/storybook.md
      
      Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      
      * Apply suggestions from code review
      
      Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      
      * Update docs with feedback
      
      Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
      Tobias Skarhed committed
    • Stackdriver: Project selector (#22447) · 934a8f08
      * clean PR #17366
      
      * udpate vendor
      
      * [WIP] Implement projects management for stackdriver
      
      * [WIP] Implement projects management for stackdriver
      
      * [WIP] Implement projects management for stackdriver
      
      * Implement projects management for stackdriver
      
      * [WIP][Tests] Fix errors
      
      * clean anonymous struct
      
      * remove await
      
      * don't store project list
      
      * Add default project on query editor
      
      * gofmt
      
      * Fix tests
      
      * Move test data source to backend
      
      * Use segment instead of dropdown. remove ensure default project since it's not being used anymore.
      
      * Fix broken annotation editor
      
      * Load gceDefaultAccount only once when in the config page
      
      * Reset error message on auth type change
      
      * Add metric find query for projects
      
      * Remove debug code
      
      * Fix broken tests
      
      * Fix typings
      
      * Fix lint error
      
      * Slightly different approach - now having a distiction between config page default project, and project that is selectable from the dropdown in the query editor.
      
      * Fix broken tests
      
      * Attempt to fix strict ts errors
      
      * Prevent state from being set multiple times
      
      * Remove noOptionsMessage since it seems to be obosolete in react select
      
      * One more attempt to solve ts strict error
      
      * Interpolate project template variable. Make sure its loaded correctly when opening variable query editor first time
      
      * Implicit any fix
      
      * fix: typescript strict null check fixes
      
      * Return empty array in case project endpoint fails
      
      * Rename project to projectName to prevent clashing with legacy query prop
      
      * Fix broken test
      
      * fix: Stackdriver - template replace on filter label
      
      should have a regex format as that escapes the dots
      in the label name which is not valid.
      
      Co-authored-by: Labesse Kévin <kevin@labesse.me>
      Co-authored-by: Elias Cédric Laouiti <elias@abtasty.com>
      Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
      Erik Sundell committed
    • Select: scroll into view when navigate with up/down arrows (#22503) · 75fe3c83
      * scroll into view when move item up/down
      
      Signed-off-by: blalov <boiskila@gmail.com>
      
      * update test snapshots
      
      Signed-off-by: blalov <boiskila@gmail.com>
      Boyko committed
    • Elastic: To get fields, start with today's index and go backwards (#22318) · 3c21a37b
      * Elastic: To get fields, start with today's index and go backwards
      
      * Elastic: distinguish non-existing indices from other issues; change index traversal from recursive to iterative; go through a max of 7 days
      
      * Elastic: fix the comments
      
      Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
      Chadi El Masri committed
    • API: Include IP address when logging request error (#21596) · 94951df1
      Includes IP address when logging request error, for example 
      when a user fails to login.
      
      Fixes #21310
      Mohit Gupta committed
  3. 29 Feb, 2020 1 commit
  4. 28 Feb, 2020 15 commits
  5. 27 Feb, 2020 5 commits