Commit graph

761 commits

Author SHA1 Message Date
Daniel
d111f8183c Update deps 2022-02-14 16:01:47 +01:00
Daniel
cc1375e1de Fix go build flags 2022-02-14 16:01:42 +01:00
Patrick Pacher
95942bbc88
Merge pull request #154 from safing/feature/restart-pending-setting-annotation
Annotate config option if changed and restart is required
2022-02-04 09:48:40 +01:00
Daniel
e6903c65dc Annotate config option if changed and restart is required 2022-02-03 15:36:18 +01:00
Daniel
6b2e20ca56
Merge pull request #153 from safing/fix/tests-and-linters
Fix Tests and Linters
2022-02-03 15:34:20 +01:00
Daniel
6650fb3b19 Update linter settings and fix warnings 2022-02-02 14:58:27 +01:00
Daniel
22c59c50cc Disable gofmt CI test for now 2022-02-01 13:57:38 +01:00
Daniel
9222e0b328 Fix gofmt CI test 2022-02-01 13:47:57 +01:00
Daniel
3e4e0c361d Fix or disable new linters 2022-02-01 13:40:50 +01:00
Daniel
fcb5ca2473 Update golangci-lint to v1.44 2022-02-01 13:16:53 +01:00
Daniel
dba4ba3dc7 Update golangci-lint config 2022-02-01 13:16:38 +01:00
Daniel
ea57310483 Update test script 2022-02-01 13:16:02 +01:00
Daniel
f59ad0357a Fix tests and linter warnings 2022-02-01 13:12:46 +01:00
Daniel
7d2cd6c15d
Merge pull request #152 from safing/fix/csrf-protection
Fix CSRF Protection
2022-01-20 09:46:41 +01:00
Daniel
4c7d61fad5 Buffer signal channel 2022-01-20 09:02:57 +01:00
Daniel
3a77659670 Use request.Host instead of the header's Host 2022-01-20 09:02:47 +01:00
Daniel
ddc934fbe4
Merge pull request #151 from safing/feature/migration
Add new database migration system
2022-01-19 11:06:02 +01:00
Daniel
e0e47d9ba6
Merge pull request #150 from safing/feature/csrf-protection
Add CSRF protection
2022-01-19 11:05:49 +01:00
Patrick Pacher
ef45e11d09 Add new database migration system 2022-01-19 10:07:28 +01:00
Daniel
c92fcf340d Add CSRF protection 2022-01-11 08:58:07 +01:00
Daniel
31a7c99f74
Merge pull request #149 from safing/feature/host-metrics
Add host metrics
2021-12-22 11:24:45 +01:00
Daniel
75d108001b Improve metric instance detection and pushing 2021-12-22 11:20:18 +01:00
Daniel
471c3030b7 Rename metric pkg files for clarity 2021-12-21 17:31:05 +01:00
Daniel
50212d7596 Improve metrics pkg and fix linter warnings 2021-12-21 17:29:51 +01:00
Daniel
b304e88e79 Add logging metrics 2021-12-21 17:29:01 +01:00
Daniel
a509febd48 Add fetching counter metric type 2021-12-21 17:28:21 +01:00
Daniel
370609c091 Add host metrics 2021-12-17 22:16:39 +01:00
Daniel
698afba091
Merge pull request #148 from safing/fix/wrapper-format
Fix wrapper dsd format
2021-11-30 09:26:36 +01:00
Daniel
3a92993600 Fix wrapper dsd format 2021-11-29 23:03:03 +01:00
Daniel
b956aba66e Update deps 2021-11-29 16:22:52 +01:00
Daniel
33f9a2596b
Merge pull request #147 from safing/fix/cors
Fix CORS headers
2021-11-29 16:14:13 +01:00
Daniel
cbd9d9a8ae Fix dsd http interface 2021-11-29 11:58:00 +01:00
Daniel
1695420b0e Fix CORS handling 2021-11-28 23:48:45 +01:00
Patrick Pacher
b3dd9a1b3f
Merge pull request #146 from safing/feature/dsd-improvements
Improve DSD and API
2021-11-26 08:55:04 +01:00
Daniel
644947a9c9 Implement review suggestions 2021-11-24 16:37:09 +01:00
Daniel
08016b16cd Add Read/WriteMethod field to api.Endpoint 2021-11-24 16:36:39 +01:00
Daniel
93ff8eb19a Improve dev mode API security 2021-11-23 12:58:01 +01:00
Daniel
140389d142 Add option to supply HTTP status codes with API errors 2021-11-23 12:57:16 +01:00
Daniel
8c758e7e52 Improve endpoint metadata 2021-11-23 12:56:30 +01:00
Daniel
462570f0c9 Delete copy of dsd formats in database.record package 2021-11-23 12:56:13 +01:00
Daniel
40b25a0af7 Add support for dsd formats in HTTP 2021-11-23 11:24:52 +01:00
Daniel
560b96a825 Revert back to dsd format constant typing 2021-11-23 11:24:32 +01:00
Daniel
6cde860324 Add support for MsgPack dsd format 2021-11-22 14:49:50 +01:00
Daniel
8813102b7b Add support for RAW dsd format. 2021-11-22 14:49:16 +01:00
Daniel
601dbffa4f Make dsd formats stronger typed, return parsed format, remove STRING and BYTES format 2021-11-21 23:18:52 +01:00
Daniel
7de63b0c18 Remove BSON format 2021-11-21 23:17:52 +01:00
Daniel
e55fe85da3 Update deps 2021-11-17 16:16:14 +01:00
Daniel
bb456a2953
Merge pull request #145 from safing/fix/patch-set-4
Improve error handling
2021-11-17 16:11:46 +01:00
Daniel
28942e4232 Add module name to module error 2021-11-17 14:24:47 +01:00
Daniel
1dfba1d596 Report module mgmt errors as module error messages 2021-11-17 14:24:26 +01:00