Commit graph

886 commits

Author SHA1 Message Date
Daniel
eda7a122db Fix linter errors 2022-09-22 14:35:58 +02:00
Daniel
3920412b4b Update golang-ci and go workflow 2022-09-22 14:35:48 +02:00
Daniel
ff88d9e486
Merge pull request from safing/feature/remove-metrics-instance-name-on-export
Remove metrics instance name on export
2022-08-27 13:16:03 +02:00
Daniel
43dee31466
Merge pull request from safing/dependabot/go_modules/github.com/tidwall/sjson-1.2.5
Bump github.com/tidwall/sjson from 1.2.4 to 1.2.5
2022-08-24 15:01:36 +02:00
dependabot[bot]
8b5f1385b6
Bump github.com/tidwall/sjson from 1.2.4 to 1.2.5
Bumps [github.com/tidwall/sjson](https://github.com/tidwall/sjson) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/tidwall/sjson/releases)
- [Commits](https://github.com/tidwall/sjson/compare/v1.2.4...v1.2.5)

---
updated-dependencies:
- dependency-name: github.com/tidwall/sjson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-24 11:44:22 +00:00
Daniel
6a9c18335b
Merge pull request from safing/dependabot/go_modules/github.com/tidwall/gjson-1.14.3
Bump github.com/tidwall/gjson from 1.14.1 to 1.14.3
2022-08-24 13:43:41 +02:00
Daniel
0acb09a3c4
Merge pull request from safing/dependabot/go_modules/github.com/VictoriaMetrics/metrics-1.22.2
Bump github.com/VictoriaMetrics/metrics from 1.20.1 to 1.22.2
2022-08-24 13:43:21 +02:00
Daniel
f5420b71eb
Merge pull request from safing/fix/canceled-tasks
Stop logging an error for canceled tasks and workers
2022-08-24 13:39:52 +02:00
dependabot[bot]
23459d6b5a
Bump github.com/VictoriaMetrics/metrics from 1.20.1 to 1.22.2
Bumps [github.com/VictoriaMetrics/metrics](https://github.com/VictoriaMetrics/metrics) from 1.20.1 to 1.22.2.
- [Release notes](https://github.com/VictoriaMetrics/metrics/releases)
- [Commits](https://github.com/VictoriaMetrics/metrics/compare/v1.20.1...v1.22.2)

---
updated-dependencies:
- dependency-name: github.com/VictoriaMetrics/metrics
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-19 10:18:01 +00:00
dependabot[bot]
7a3116d7a0
Bump github.com/tidwall/gjson from 1.14.1 to 1.14.3
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.14.1 to 1.14.3.
- [Release notes](https://github.com/tidwall/gjson/releases)
- [Commits](https://github.com/tidwall/gjson/compare/v1.14.1...v1.14.3)

---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-17 10:23:42 +00:00
Daniel
47f071ac9b Stop logging an error for canceled tasks and workers 2022-08-12 13:27:33 +02:00
Daniel
e393dac9c3 Remove metrics instance name on export 2022-08-05 14:53:13 +02:00
Daniel
866cd484c4
Merge pull request from safing/dependabot/go_modules/github.com/VictoriaMetrics/metrics-1.20.1
Bump github.com/VictoriaMetrics/metrics from 1.18.1 to 1.20.1
2022-08-02 09:33:16 +02:00
Daniel
2c0c580c2f
Merge pull request from safing/feature/queued-signaled-microtasks
Improve microtasks with queues and signaling
2022-08-02 09:32:19 +02:00
Daniel
1444756302 Improve function naming 2022-08-02 09:26:37 +02:00
Daniel
01c4fc75da Use new microtask function in api module 2022-08-01 11:37:53 +02:00
Daniel
aabd4fef77 Fix microtask signaling and improve tests 2022-08-01 11:14:28 +02:00
Daniel
fed9346e46 Update golangci-lint config 2022-08-01 11:14:28 +02:00
Daniel
5db95ac362 Expose container.Gather 2022-08-01 11:14:28 +02:00
Daniel
456a235b8b Remove deprecated code 2022-08-01 11:14:28 +02:00
Daniel
7fec4f5428 Add microtask queues and signaling 2022-08-01 11:14:28 +02:00
Daniel
ce02b26ff5
Merge pull request from safing/fix/cors-preflight
Fix CORS preflight checks requiring authentication
2022-08-01 11:08:57 +02:00
Daniel
5bf056e584 Elaborate on open questions regarding CORS of browser extensions 2022-08-01 11:04:12 +02:00
Daniel
119dbaef97 Move security headers to the start of the router 2022-08-01 11:03:37 +02:00
Patrick Pacher
2431914756 Fix CORS preflight checks requiring authentication 2022-08-01 10:59:34 +02:00
Daniel
e5b8dd77da
Merge pull request from safing/feature/token-expiration
Add support for API token expiration
2022-08-01 10:57:59 +02:00
Daniel
edbe072412
Merge pull request from safing/feature/minor-improvements
Add file-picker display hint and options for stopping task scheduling
2022-07-29 15:43:30 +02:00
Daniel
b001302cb2 Add options to disable task repeating and schedule 2022-07-29 13:59:57 +02:00
Daniel
f08f16a5f3 Add file-picker display hint 2022-07-29 13:59:25 +02:00
Patrick Pacher
d30c4f4072
Automatically remove expired API keys from the setting 2022-07-27 15:27:42 +02:00
Patrick Pacher
4c6b834ae5
Add support for API token expiration 2022-07-27 14:59:52 +02:00
dependabot[bot]
7ae64ed4f5
Bump github.com/VictoriaMetrics/metrics from 1.18.1 to 1.20.1
Bumps [github.com/VictoriaMetrics/metrics](https://github.com/VictoriaMetrics/metrics) from 1.18.1 to 1.20.1.
- [Release notes](https://github.com/VictoriaMetrics/metrics/releases)
- [Commits](https://github.com/VictoriaMetrics/metrics/compare/v1.18.1...v1.20.1)

---
updated-dependencies:
- dependency-name: github.com/VictoriaMetrics/metrics
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 10:51:29 +00:00
Daniel
5007ced908
Merge pull request from safing/dependabot/go_modules/github.com/tidwall/gjson-1.14.1
Bump github.com/tidwall/gjson from 1.14.0 to 1.14.1
2022-06-30 14:28:27 +02:00
Daniel
5fc3211c27
Merge pull request from safing/dependabot/go_modules/github.com/stretchr/testify-1.8.0
Bump github.com/stretchr/testify from 1.6.1 to 1.8.0
2022-06-30 14:28:04 +02:00
dependabot[bot]
58e48afbcf
Bump github.com/tidwall/gjson from 1.14.0 to 1.14.1
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/tidwall/gjson/releases)
- [Commits](https://github.com/tidwall/gjson/compare/v1.14.0...v1.14.1)

---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 12:27:38 +00:00
dependabot[bot]
ec2b4a21ee
Bump github.com/stretchr/testify from 1.6.1 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 12:27:36 +00:00
Daniel
36c0a07d10
Merge pull request from safing/dependabot/go_modules/github.com/gorilla/websocket-1.5.0
Bump github.com/gorilla/websocket from 1.4.2 to 1.5.0
2022-06-30 14:27:23 +02:00
dependabot[bot]
d59c1d1429
Bump github.com/gorilla/websocket from 1.4.2 to 1.5.0
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 12:27:07 +00:00
Daniel
e25e567ea7
Merge pull request from safing/dependabot/go_modules/github.com/hashicorp/go-version-1.6.0
Bump github.com/hashicorp/go-version from 1.4.0 to 1.6.0
2022-06-30 14:26:20 +02:00
Daniel
a735c62ae9
Create codeql-analysis.yml 2022-06-30 11:09:18 +02:00
dependabot[bot]
483a781604
Bump github.com/hashicorp/go-version from 1.4.0 to 1.6.0
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/go-version/compare/v1.4.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 09:07:32 +00:00
Daniel
fe84b18b0d
Create dependabot.yml 2022-06-30 11:06:51 +02:00
Daniel
d32e46aca3
Merge pull request from safing/feature/export-improvements
Export Improvements
2022-06-22 15:19:15 +02:00
Daniel
aef3f523ce Improve updater.Resource.Export() documentation 2022-06-22 09:44:38 +02:00
Daniel
e7d9ee9db0 Improve log message formatting 2022-06-21 16:59:50 +02:00
Daniel
efcea66226 Add better handling for panics within api endpoint handlers 2022-06-21 16:59:41 +02:00
Daniel
f3591e81c3 Fix update cycle to notification attach to module 2022-06-21 16:58:06 +02:00
Daniel
8421b8fba8 Add clean export function for updater.Resource 2022-06-21 16:57:37 +02:00
Daniel
38d3c839ef Add config.GetActiveConfigValues to export active config values 2022-06-21 16:56:57 +02:00
Daniel
1ffef463f8
Merge pull request from safing/fix/ci-linting
Update Go CI workflow
2022-05-10 15:57:13 +02:00