Arve Knudsen
2026a1dfb6
grafana-plugin-ci-e2e: Fix README; bump version ( #36716 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-07-13 16:59:18 +02:00
Arve Knudsen
4d1cbe551f
Chore: Upgrade golangci-lint ( #35188 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-06-03 16:05:49 +02:00
Arve Knudsen
ee73108e52
Drone: Don't ignore docs failures ( #34872 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-28 09:38:56 +02:00
Arve Knudsen
1aa3831d84
Docs: Better document Go dep upgrading ( #34745 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-26 16:26:23 +02:00
Arve Knudsen
796590a1aa
Chore: Upgrade opentelemetry.io/collector dependency ( #34700 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-26 10:11:37 +02:00
Arve Knudsen
42f33630c7
Security: Upgrade Thrift dependency ( #34698 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-26 09:31:19 +02:00
Arve Knudsen
9dfaa037d1
Alerting: Migrate Alertmanager notifier ( #34304 )
...
* Alerting: Port Alertmanager notifier to v8
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-19 15:27:41 +02:00
Arve Knudsen
aed1c013c0
CSP: Relax default template wrt. loading of scripts, due to nonces not working ( #34363 )
...
* CSP: Relax default template, due to nonces not working
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CSP: Add back data: to img-src
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-19 11:37:14 +02:00
Arve Knudsen
d1a9044171
CSP: Allow all image sources by default ( #34265 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-18 13:41:55 +02:00
Arve Knudsen
7bcb938b80
Chore: Update latest.json ( #33937 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-13 00:59:12 +02:00
Arve Knudsen
adf9a0f6e0
CI: Fix triggering of enterprise ( #33785 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-06 16:39:07 +02:00
Arve Knudsen
c2c1ec7d0f
Chore: Move from master to main branch ( #33693 )
...
* Chore: Move from master branch to main
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* CI: Upgrade build pipeline tool to v2
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-06 16:29:29 +02:00
Arve Knudsen
75b9018464
CI: Lint backend after testing, to catch build failures early ( #33622 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-04 15:05:39 +02:00
Arve Knudsen
567b852072
PagerDuty: Omit empty message ( #33614 )
...
Co-authored by pkoenig10
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-03 08:51:22 +02:00
Arve Knudsen
ec3d8b590a
Server: Implement timeout waiting for server to shut down ( #33333 )
...
* tests: Undo cleanup in goroutine
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Server: Implement timeout waiting for it to shut down
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-04-30 10:55:59 +02:00
Arve Knudsen
ca56e59415
CI: Upgrade build pipeline tool ( #33514 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-04-29 10:11:15 +02:00
Arve Knudsen
36d94f3f86
CodeOwners: Set owners of alerting code ( #33483 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-04-28 16:21:30 +02:00
Arve Knudsen
7f53dfad88
CSP: Set nonce attribute on Webpack injected bundles ( #33298 )
...
* CSP: Set __webpack_nonce__
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-04-26 11:38:24 +02:00
Arve Knudsen
6e2739a43a
HTMLIndexView: Include missing script nonce ( #33300 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-04-23 10:09:19 +02:00
Arve Knudsen and Dimitris Sotirakis
6408b55a7c
Slack: Use chat.postMessage API by default ( #32511 )
...
* Slack: Use only chat.postMessage API
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Slack: Check for response error
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Slack: Support custom webhook URL
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Simplify
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Rewrite tests to use stdlib
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/alerting/notifiers/slack.go
Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com >
* Clarify URL field name
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix linting issue
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix up new Slack notifier
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Improve tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix lint
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Slack: Make token not required
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Alerting: Send validation errors back to client
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Document how token is required
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Make recipient required when using Slack API
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix field description
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com >
2021-04-22 16:00:21 +02:00
Arve Knudsen and Will Browne
66020b419c
NGAlert: Consolidate on standard errors package ( #33249 )
...
* NGAlert: Don't use pkg/errors
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/ngalert/notifier/alertmanager.go
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
* Fix logging
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2021-04-22 11:18:25 +02:00
Arve Knudsen and Ying WANG
381e4a51cd
SQL data sources: Fix configuration UI ( #33110 )
...
* fix frontend mssql/postgres
* fix frontend
Co-authored-by: Ying WANG <ying.wang@grafana.com >
2021-04-19 10:30:29 +02:00
Arve Knudsen
dbe2f1871f
Chore: Sync go.mod and go.sum ( #33065 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-04-16 13:41:17 +02:00
Arve Knudsen
51e4106d1d
API: Fix paths starting with double leading slash or slash and backslash ( #32830 )
...
* API: Fix paths starting with double leading slash or slash and backslash
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-04-09 11:49:38 +02:00
Arve Knudsen
7032ecce2a
Server: Disambiguate redirects to server relative paths ( #32788 )
...
* Server: Disambiguate redirects to server relative paths
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-04-08 15:05:42 +02:00
Arve Knudsen
6730558f8c
gtime: Make ParseInterval deterministic ( #32539 )
...
* gtime: Make ParseInterval deterministic by using UTC timezone
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-31 16:44:23 +02:00
Arve Knudsen
2c72f8babc
MSSQL: By default let driver choose port ( #32417 )
...
* MSSQL: By default let driver choose port
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-30 10:54:57 +02:00
Arve Knudsen
c8afce5fd6
MSSQL: Upgrade go-mssqldb ( #32347 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-26 13:16:57 +01:00
Arve Knudsen
ed9b623b37
Chore: Recompile protobuf ( #32232 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-23 09:47:52 +01:00
Arve Knudsen
10bb3561f5
Docs: Document upgrading of protobuf ( #32227 )
...
* Docs: Document upgrading of protobuf
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Document protobuf re-compiling
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update CODEOWNERS
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-22 19:28:33 +01:00
Arve Knudsen and Marcus Efraimsson
d3544d6df1
PluginManager: Increase DI priority ( #32111 )
...
* PluginManager: Increase DI priority
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* BackendPluginManager: Don't rely on Init
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* BackendPluginManager: Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Simplify code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Remove stale field
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Simplify code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2021-03-19 12:20:46 +01:00
Arve Knudsen
5a0780801b
SQLStore: Close session in withDbSession ( #31775 )
...
* SQLStore: Close session in withDbSession
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* SQLStore.WithDbSession: Never use session from context
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-18 14:27:59 +01:00
Arve Knudsen
a2eda798e7
PluginManager: Make remaining plugin state non-global ( #32094 )
...
* PluginDashboards: Use plugin manager interface
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* PluginManager: Make panels non-global
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* PluginManager: Make apps non-global
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* PluginManager: Make static routes non-global
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* PluginManager: Make pluginTypes non-global
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-18 13:53:01 +01:00
Arve Knudsen
87c3a2b790
PluginManager: Make Plugins, Renderer and DataSources non-global ( #31866 )
...
* PluginManager: Make Plugins and DataSources non-global
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix integration tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Replace outdated command
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* DashboardService: Ensure it gets constructed with necessary parameters
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix build
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* DashboardService: Ensure it gets constructed with necessary parameters
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Remove dead code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Remove FocusConvey
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Remove dead code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Undo interface changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Backend: Move tsdbifaces.RequestHandler to plugins.DataRequestHandler
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Rename to DataSourceCount
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Consolidate dashboard interfaces into one
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix dashboard integration tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-17 16:06:10 +01:00
Arve Knudsen
6081c00119
Docs: Document backend package hierarchy model ( #31930 )
...
* Docs: Document backend package hierarchy model
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-16 10:49:01 +01:00
Arve Knudsen
65c1cb62a7
Chore: Move tsdbifaces.RequestHandler to plugins.DataRequestHandler ( #31897 )
...
* Backend: Move tsdbifaces.RequestHandler to plugins.DataRequestHandler
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-12 18:26:07 +01:00
Arve Knudsen
1716de88b5
DashboardService: Consolidate constructors ( #31886 )
...
* DashboardService: Consolidate constructors
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-12 11:51:02 +01:00
Arve Knudsen
f7d6244fa2
Chore: Give backend platform ownership over backend architecture docs ( #31931 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-12 10:30:00 +01:00
Arve Knudsen
d2aaaeb497
Backend: Tidy go.sum ( #31858 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-10 13:13:50 +01:00
Arve Knudsen
47f13abf7a
Backend: Migrate to using non-global configuration ( #31856 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-10 12:41:29 +01:00
Arve Knudsen
04e9f6c24f
UsageStatsService: Don't use global state ( #31849 )
...
* UsageStatsService: Don't use global state
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-10 10:14:00 +01:00
Arve Knudsen
fc9381744a
UsageStatsService: Make initialization more robust ( #31761 )
...
* UsageStatsService: Make initialization more robust
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-08 10:33:20 +01:00
b79e61656a
Introduce TSDB service ( #31520 )
...
* Introduce TSDB service
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
Co-authored-by: Will Browne <will.browne@grafana.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2021-03-08 07:02:49 +01:00
Arve Knudsen
88ac1cf173
devenv: Fix typo ( #31589 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-02 17:09:27 +01:00
Arve Knudsen
357cd8eb81
CI: Upgrade Dockerfiles wrt. Go, Node, Debian ( #31407 )
...
* CI: Upgrade Dockerfiles wrt. Go 1.16, Node, Debian
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-02-24 08:52:48 +01:00
Arve Knudsen
6e549bc95d
Chore: Remove gotest.tools dependency ( #31391 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-02-22 11:53:15 +01:00
Arve Knudsen
a20119db9f
Chore: Upgrade golangci-lint ( #31330 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-02-18 19:24:04 +01:00
Arve Knudsen
d27a72f859
IPv6: Support host address configured with enclosing square brackets ( #31226 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-02-15 17:55:41 +01:00
Arve Knudsen
7394c98d38
MuxWriter: Handle error for already closed file ( #31119 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-02-11 10:34:51 +01:00
Arve Knudsen
b99127be82
PluginManager: Remove some global state ( #31081 )
...
* PluginManager: Remove global state
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-02-10 13:31:47 +01:00
Arve Knudsen
d963c6d868
Drone: Fix deployment image ( #31027 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-02-09 13:18:01 +01:00
Arve Knudsen
52a8f2bf7e
PluginCiE2E: Upgrade base images ( #30696 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-29 10:26:29 +01:00
Arve Knudsen
fdd6a84d82
DeployImage: Switch base images to Debian ( #30684 )
...
* DeployImage: Switch base images to Debian
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-28 11:03:18 +01:00
Arve Knudsen and Ursula Kallio
19c639109c
Docs: Define TLS/SSL terminology ( #30533 )
...
* Docs: Define TLS/SSL terminology
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Apply suggestions from code review
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
* Change title
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Move terminology.md
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com >
2021-01-26 17:55:55 +01:00
Arve Knudsen
e818bdd75f
configuration.md: Document Content Security Policy options ( #30413 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-22 21:12:42 +01:00
Arve Knudsen
be8ba8ef46
Postgres: Convert tests to stdlib ( #30536 )
...
* Postgres: Convert tests to stdlib
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-22 10:34:53 -05:00
Arve Knudsen
7126a91901
Postgres: Be consistent about TLS/SSL terminology ( #30532 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-22 14:53:37 +01:00
Arve Knudsen
8bd5cdbe9f
Postgres: Fix indentation ( #30531 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-22 10:14:12 +01:00
Arve Knudsen
bd71eb23df
Chore: Upgrade build pipeline tool ( #30456 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-20 20:30:45 +01:00
Arve Knudsen
b94fec8011
contribute: Add backend and configuration guidelines for PRs ( #30426 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-20 12:27:48 +01:00
Arve Knudsen
116809ed7f
services/provisioning: Various cleanup ( #30396 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-19 18:57:09 +01:00
Arve Knudsen
62485898e4
grafana-cli: Fix security issue ( #28888 )
...
* grafana-cli: Fix security issue
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* grafana-cli: Add and improve tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-15 17:50:50 +01:00
Arve Knudsen and Emil Tullstedt
31d051d47e
CODEOWNERS: Make backend squad owners of backend style guidelines ( #30266 )
...
* CODEOWNERS: Make backend squad owners of backend style guidelines
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com >
2021-01-14 09:56:57 +01:00
Arve Knudsen
4e37941cc4
Backend style guide: Document JSON guidelines ( #30267 )
...
* Backend style guide: Document JSON guidelines
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-14 07:49:25 +01:00
Arve Knudsen
0e2f1fe3f5
Metrics API: Use jsoniter for JSON encoding ( #30250 )
...
* QueryMetricsV2: Stream response
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* API: Use jsoniter instead of standard JSON package
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-13 15:20:25 +01:00
Arve Knudsen
5da3419459
Better logging of plugin scanning errors ( #30231 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-12 19:17:25 +01:00
Arve Knudsen
21e835f3a6
Backend style guide: Document database patterns ( #30219 )
...
* Backend style guide: Document database patterns
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Wording
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Avoid stacked headings
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-12 16:24:22 +01:00
Arve Knudsen
85ec1fa0eb
Chore: Bump plugin-ci-alpine Docker image version ( #30225 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-12 16:16:08 +01:00
Arve Knudsen
50b649a869
Middleware: Add CSP support ( #29740 )
...
* Middleware: Add support for CSP
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored by @iOrcohen
2021-01-12 07:42:32 +01:00
Arve Knudsen
25048ebdf8
Chore: Add CloudWatch HTTP API tests ( #29691 )
...
* CloudWatch: Add HTTP API tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-07 11:36:13 +01:00
Arve Knudsen
87633c563c
Chore: Upgrade Docker build image wrt. Go/golangci-lint/Node ( #30077 )
...
* ci-build: Upgrade base image, Go, Node, golangci-lint
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Drone: Upgrade build image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Drone: Upgrade plugin build image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-06 17:52:17 +01:00
Arve Knudsen
52f79c3625
Drone: Fix race conditions between Enterprise and Enterprise2 ( #30076 )
...
* Drone: Fix race conditions between Enterprise and Enterprise2
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-06 13:22:20 +01:00
Arve Knudsen
be62dc4d2f
librarypanels: Fix JSON field casing in tests ( #29954 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-22 14:52:43 +01:00
Arve Knudsen
216b6b01f4
RedirectResponse: Implement all of api.Response ( #29946 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-21 13:44:22 +01:00
Arve Knudsen and Emil Tullstedt
0c8498401e
Backend style guide: Add more guidelines ( #29871 )
...
* backend style guide: Add more guidelines
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Apply suggestions from code review
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com >
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com >
2020-12-16 19:35:07 +01:00
Arve Knudsen
dd2d206d99
Backend: Remove more globals ( #29644 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-15 19:09:04 +01:00
Arve Knudsen
c2cad26ca9
Chore: Disable default golangci-lint filter ( #29751 )
...
* Disable default golangci-lint filter
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Chore: Fix linter warnings
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-15 09:32:06 +01:00
Arve Knudsen
3fdf4be529
Chore: Enable more go-ruleguard rules ( #29781 )
...
* Chore: Enable more go-ruleguard rules
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-14 15:51:59 +01:00
Arve Knudsen
ac09baae7d
Chore: Use Header.Set method instead of Header.Add ( #29804 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-14 15:13:01 +01:00
Arve Knudsen
12123f0540
Style guide: Document avoidance of globals in Go code ( #29803 )
...
* Chore: Document avoidance of globals in Go code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-14 09:38:52 +01:00
Arve Knudsen
e2351f7951
Chore: Configure go-ruleguard via golangci-lint ( #28419 )
...
* Chore: Configure go-ruleguard via golangci-lint
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-11 11:45:17 +01:00
12661e8a9d
Move middleware context handler logic to service ( #29605 )
...
* middleware: Move context handler to own service
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Emil Tullsted <sakjur@users.noreply.github.com >
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2020-12-11 11:44:44 +01:00
Arve Knudsen
8b21290164
Chore: Disable gosec on certain line ( #29382 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-10 11:53:21 +01:00
Arve Knudsen
4e0ad50102
middleware: Make scenario test functions take a testing.T argument ( #29564 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-04 11:09:32 +01:00
Arve Knudsen and bergquist
f326b79cc1
Security: Add gosec G304 auditing annotations ( #29578 )
...
* Security: Add gosec G304 auditing annotations
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* Add gosec annotations
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* Add gosec annotations
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* add G304 auditing comment
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* Add gosec annotations
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* space
Signed-off-by: bergquist <carl.bergquist@gmail.com >
* Add gosec annotations
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: bergquist <carl.bergquist@gmail.com >
2020-12-03 22:13:06 +01:00
Arve Knudsen
f2b7fbc32a
Chore: Check errors from Close calls ( #29562 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-03 10:11:14 +01:00
Arve Knudsen
58dbf96a12
Middleware: Rewrite tests to use standard library ( #29535 )
...
* middleware: Rewrite tests to use standard library
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-03 08:28:54 +01:00
Arve Knudsen
752a424e1f
Auth proxy: Return standard error type ( #29502 )
...
* Rewrite auth proxy tests to use standard lib
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Auth proxy: Use standard error type
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-02 16:57:16 +01:00
Arve Knudsen
8d5b0084f1
Middleware: Simplifications ( #29491 )
...
* Middleware: Simplify
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* middleware: Rename auth_proxy directory to authproxy
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-02 12:44:51 +01:00
Arve Knudsen
f55818ca70
Chore: Enable exhaustive linter ( #29458 )
...
* Chore: Enable exhaustive linter
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-01 09:53:27 +01:00
Arve Knudsen
3c229c6bee
Log: Use os.Open to open file for reading ( #29483 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-01 09:28:18 +01:00
Arve Knudsen
107f658229
prometheus: Improve IsAPIError's documentation ( #29432 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-27 12:05:49 +01:00
Arve Knudsen
5773929953
Drone: Upgrade build pipeline tool ( #29365 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-25 10:54:27 +01:00
Arve Knudsen
b7dc6a1a22
Chore: Update latest.json ( #29351 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-25 09:39:56 +01:00
Arve Knudsen
5cec4095b2
Drone: Upload artifacts for release branch builds ( #29297 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-25 09:26:16 +01:00
Arve Knudsen
f7567f2266
Drone: Execute artifact publishing for both editions in parallel during release ( #29362 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-25 08:49:24 +01:00
Arve Knudsen
65ca47549d
Drone: Check CUE dashboard schemas ( #29334 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-25 08:11:08 +01:00
Arve Knudsen
7d8cb6869a
Drone: Publish NPM packages after Storybook to avoid race condition ( #29340 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-11-24 15:13:23 +01:00
Arve Knudsen and Will Browne
4c47fc56bb
Guardian: Rewrite tests from goconvey ( #29292 )
...
* Guardian: Rewrite tests from goconvey
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/guardian/guardian_test.go
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2020-11-24 11:36:00 +01:00
Arve Knudsen and Diana Payton
ab9f39f346
Docs: Improve custom Docker image instructions ( #29263 )
...
* Docs: Improve custom Docker image instructions
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update docs/sources/installation/docker.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update docs/sources/installation/docker.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
2020-11-24 11:21:15 +01:00