Commit graph

849 commits

Author SHA1 Message Date
Daniel
3c697abd5b Fix linter errors 2022-09-28 22:37:54 +02:00
Daniel
5accaad794 Require download policy to be stricter 2022-09-28 14:41:27 +02:00
Daniel
109f51e834 Verify signatures of indexes when loading from disk 2022-09-28 14:41:11 +02:00
Daniel
cded2438f6 Download missing sigs 2022-09-28 14:40:48 +02:00
Daniel
44dc8df5d6 Save verification options to resource and save if versions have a sig available 2022-09-28 14:39:41 +02:00
Daniel
77a6ab050b Add path existence check to utils 2022-09-28 14:38:14 +02:00
Daniel
beaa7482d0 Add support for signed indexes 2022-09-23 14:57:42 +02:00
Daniel
f6fc67ad46 Add support for new index format 2022-09-23 14:57:42 +02:00
Daniel
0e5eb4b6de Add support for signed updates 2022-09-23 14:57:42 +02:00
Daniel Hovie
85a84c1210
Merge pull request #187 from safing/maintain/small-fixes
Small fixes and improvements
2022-09-22 16:37:36 +02:00
Daniel
9e8d1fdd4d Improve exit code handling in run package 2022-09-22 14:36:46 +02:00
Daniel
ddf230b33e Add option to disable module management 2022-09-22 14:36:32 +02:00
Daniel
52a2a1f673 Improve profiling API endpoint docs 2022-09-22 14:36:22 +02:00
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 #178 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 #175 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 #183 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 #184 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 #181 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 #171 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 #174 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 #172 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 #168 from safing/feature/token-expiration
Add support for API token expiration
2022-08-01 10:57:59 +02:00
Daniel
edbe072412
Merge pull request #173 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 #167 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 #166 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 #165 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