- 14 Oct, 2020 1 commit
-
-
* intial frontend resolution/redirection logic * backend scaffolding * enough of the frontend to actually test end to end * bugfixes * add tests * cleanup * explore too hard for now * fix build * Docs: add docs * FE test * redirect directly from backend * validate incoming uids * add last_seen_at * format documentation * more documentation feedback * very shaky migration of get route to middleware * persist unix timestamps * add id, orgId to table * fixes for orgId scoping * whoops forgot the middleware * only redirect to absolute URLs under the AppUrl domain * move lookup route to /goto/:uid, stop manually setting 404 response code * renaming things according to PR feedback * tricky deletion * sneaky readd * fix test * more BE renaming * FE updates -- no more @ts-ignore hacking :) and accounting for subpath * Simplify code Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Short URLs: Drop usage of bus Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * ShortURLService: Make injectable Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Rename file Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Add handling of url parsing and creating of full shortURL to backend * Update test, remove unused imports * Update pkg/api/short_urls.go Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> * Add correct import * Pass context to short url service * Remove not needed error log * Rename dto and field to denote URL rather than path * Update api docs based on feedback/suggestion * Rename files to singular * Revert to send relative path to backend * Fixes after review * Return dto when creating short URL that includes the full url Use full url to provide shorten URL to the user * Fix after review * Fix relative url path when creating new short url Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Ivana <ivana.huckova@gmail.com> Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Pete Davids committed
-
- 12 Oct, 2020 1 commit
-
-
* New feature toggle for enabling alerting NG * Initial commit * Modify evaluate alert API request * Check for unique labels in alert execution result dataframes * Remove print statement * Additional minor fixes/comments * Fix lint issues * Add API endpoint for evaluating panel queries * Push missing renaming * add refId for condition to API * add refId for condition to API * switch dashboard based eval to get method * add from/to params to dashboard based eval * add from/to params to eval endpoint Co-authored-by: kyle <kyle@grafana.com>
Sofia Papagiannaki committed
-
- 07 Sep, 2020 1 commit
-
-
API: return resource ID for auth key creation, folder permissions update and user invite complete endpoints (#27419) * API: add ID to auth key and folder endpoints * API: add test for folder permissions update * API: add created user id for /invite/complete endpoint
Agnès Toulet committed
-
- 23 Jul, 2020 1 commit
-
-
* Chore: Enable goprintffuncname linter * Chore: Enable nakedret linter Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Arve Knudsen committed
-
- 16 Jul, 2020 1 commit
-
-
* Chore: Enable gocritic linter Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Arve Knudsen committed
-
- 08 Jul, 2020 1 commit
-
-
Support storing sensitive notification settings securely/encrypted. Move slack notifier url and api token to secure settings. Migrating slack notifier to store token and url encrypted is currently a manual process by saving an existing slack alert notification channel. saving an existing slack alert notification channel will reset the stored non-secure url and token. Closes #25113 Ref #25967 Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Mitsuhiro Tanda committed
-
- 15 Apr, 2020 1 commit
-
-
* Allow API to assign new user to a specific organization * Add defer block to test * Add API tests and return 400 instead of 500 for bad orgId * Minor test improvements
Émile Fugulin committed
-
- 09 Apr, 2020 1 commit
-
-
Ryan McKinley committed
-
- 04 Mar, 2020 1 commit
-
-
Carl Bergquist committed
-
- 28 Feb, 2020 1 commit
-
-
Carl Bergquist committed
-
- 25 Feb, 2020 1 commit
-
-
* Core: Add custom app title * Docs: Update White Labeling title customization * Core: set back export for Branding types
Agnès Toulet committed
-
- 15 Jan, 2020 1 commit
-
-
#21350 introduced a bug regarding import of plugin dashboards. This should fix this and add custom validation if not importing plugin dashboard and dashboard property is missing. Ref #21350 Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com>
Marcus Efraimsson committed
-
- 14 Jan, 2020 1 commit
-
-
* ImportDashboardCommand: Validate JSON fields
Arve Knudsen committed
-
- 10 Jan, 2020 1 commit
-
-
Torkel Ödegaard committed
-
- 15 Nov, 2019 1 commit
-
-
The ordering of links in the navigation bar is currently based the order of the slice containing the navigation tree. Since Grafana supports adding more links to the navigation bar with `RunIndexDataHooks` which runs at the very end of the function this means that any link registered through a hook will be placed last in the slice and be displayed last in the menu. With this PR the ordering can be specified with a weight which allows for placing links created by extensions in a more intuitive place where applicable. Stable sorting is used to ensure that the current FIFO ordering is preserved when either no weight is set or two items shares the same weight.
Emil Tullstedt committed
-
- 08 Oct, 2019 1 commit
-
-
* pkg/api: Check errors * pkg/api: Remove unused function HashEmail
Arve Knudsen committed
-
- 16 Aug, 2019 1 commit
-
-
* SQLite migrations * cleanup * migrate end times * switch to update with a query * real migration * anno migrations * remove old docs * set isRegion from time changes * use <> for is not * add comment and fix index decleration * single validation place * add test * fix test * add upgrading docs * use AnnotationEvent * fix import * remove regionId from typescript
Ryan McKinley committed
-
- 12 Aug, 2019 1 commit
-
-
Existing /api/alert-notifications now requires at least editor access. Existing /api/alert-notifiers now requires at least editor access. New /api/alert-notifications/lookup returns less information than /api/alert-notifications and can be access by any authenticated user. Existing /api/org/users now requires org admin role. New /api/org/users/lookup returns less information than /api/org/users and can be access by users that are org admins, admin in any folder or admin of any team. UserPicker component now uses /api/org/users/lookup instead of /api/org/users. Fixes #17318
Marcus Efraimsson committed
-
- 25 Jun, 2019 1 commit
-
-
* 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
-
- 11 Jun, 2019 1 commit
-
-
* Feature: Parse user agent string in user auth token api response (#16222) * Adding UA Parser Go modules attempt (#16222) * Bring user agent vals up per req * fix tests * doc update * update to flatten, no maps * update doc
Shavonn Brown committed
-
- 09 May, 2019 1 commit
-
-
* minor refactoring * Added category * Minor progress * Progres * Updated descriptions * Added custom sort * NewDataSource: progress * Updated design * NewDataSource: Updated design * Updated link * Feedback changes
Torkel Ödegaard committed
-
- 30 Apr, 2019 1 commit
-
-
* Add file path to metadata and show it in dialogs * Make path relative to config directory * Fix tests * Add test for the relative path * Refactor to use path relative to provisioner path * Change return types * Rename attribute * Small fixes from review
Andrej Ocenas committed
-
- 08 Mar, 2019 1 commit
-
-
Marcus Efraimsson committed
-
- 05 Feb, 2019 1 commit
-
-
SamuelToh committed
-
- 04 Feb, 2019 2 commits
-
-
Added new PATCH verb annotation endpoint Removed unwanted fmt Added test cases for PATCH verb annotation endpoint Fixed formatting issue Check arr len before proceeding Updated doc to include PATCH verb annotation endpt
SamuelToh committed -
Torkel Ödegaard committed
-
- 16 Jan, 2019 1 commit
-
-
Pavel Bakulev committed
-
- 19 Nov, 2018 1 commit
-
-
Torkel Ödegaard committed
-
- 15 Nov, 2018 1 commit
-
-
Torkel Ödegaard committed
-
- 31 Oct, 2018 1 commit
-
-
Torkel Ödegaard committed
-
- 17 Oct, 2018 1 commit
-
-
bergquist committed
-
- 16 Oct, 2018 1 commit
-
-
Dave Waters committed
-
- 15 Oct, 2018 1 commit
-
-
add channel option to disable the resolved alert (OK Message) that is sent when condition returns to normal.
Dave Waters committed
-
- 21 Sep, 2018 1 commit
-
-
See, $ gometalinter --disable-all --enable misspell --deadline 10m --vendor ./... pkg/api/dtos/alerting_test.go:32:13:warning: "expectes" is a misspelling of "expects" (misspell) pkg/api/static/static.go:2:18:warning: "Unknwon" is a misspelling of "Unknown" (misspell) pkg/components/imguploader/azureblobuploader.go:55:48:warning: "conatiner" is a misspelling of "container" (misspell) pkg/login/ldap_settings.go:51:115:warning: "compatability" is a misspelling of "compatibility" (misspell) pkg/middleware/auth_proxy_test.go:122:22:warning: "Destory" is a misspelling of "Destroy" (misspell) pkg/middleware/logger.go:2:18:warning: "Unknwon" is a misspelling of "Unknown" (misspell) pkg/services/notifications/codes.go:9:13:warning: "Unknwon" is a misspelling of "Unknown" (misspell) pkg/services/session/mysql.go:170:3:warning: "Destory" is a misspelling of "Destroy" (misspell) pkg/services/session/mysql.go:171:24:warning: "Destory" is a misspelling of "Destroy" (misspell) pkg/services/session/session.go:95:4:warning: "Destory" is a misspelling of "Destroy" (misspell) pkg/services/session/session.go:96:1:warning: "Destory" is a misspelling of "Destroy" (misspell) pkg/services/session/session.go:167:25:warning: "Destory" is a misspelling of "Destroy" (misspell) pkg/setting/setting.go:1:18:warning: "Unknwon" is a misspelling of "Unknown" (misspell) pkg/tsdb/cloudwatch/cloudwatch.go:199:14:warning: "resolutin" is a misspelling of "resolutions" (misspell) pkg/tsdb/cloudwatch/cloudwatch.go:270:15:warning: "resolutin" is a misspelling of "resolutions" (misspell) pkg/tsdb/elasticsearch/response_parser.go:531:24:warning: "Unkown" is a misspelling of "Unknown" (misspell) pkg/tsdb/elasticsearch/client/search_request.go:113:7:warning: "initaite" is a misspelling of "initiate" (misspell) Note: Unknwon is a library name, and Destory a mysql typo.
Mario Trangoni committed
-
- 20 Aug, 2018 1 commit
-
-
Marcus Efraimsson committed
-
- 02 Jul, 2018 1 commit
-
-
Torkel Ödegaard committed
-
- 05 Jun, 2018 3 commits
-
-
Alexander Zobnin committed
-
bergquist committed
-
bergquist committed
-
- 04 Jun, 2018 1 commit
-
-
bergquist committed
-