Commit graph

134 commits

Author SHA1 Message Date
465e86a6bb Revert weight during score 2024-11-08 18:41:35 -05:00
10e4eff17a Use mapstructure for notify config 2024-11-08 18:41:35 -05:00
b40144447f Actually return multiplier 2024-11-08 18:41:35 -05:00
092b925a25 Don't apply multiplier twice 2024-11-08 18:41:35 -05:00
28ee194297 Scale scores during score operation.
Closes #24.
2024-11-08 18:41:35 -05:00
5bce1f4f9d Change error name 2024-11-08 18:41:35 -05:00
77cdacc917 Granular locking 2024-11-08 18:41:35 -05:00
7242782d39 Embed 2024-11-08 18:41:35 -05:00
8afc687d4f Use sqlc.embed 2024-11-08 18:41:35 -05:00
1f8fe24dd2 Reorg 2024-11-08 18:41:35 -05:00
8d32757334 Split out talkgroups 2024-11-08 18:41:35 -05:00
2dcbfd0f84 gordio is now just stillbox 2024-11-03 07:19:03 -05:00
160da5b246 Check for default jwt 2024-11-02 17:31:19 -04:00
2922db0db9 Rename to ApplyAlertRules 2024-11-02 14:43:47 -04:00
ecd7a39db0 Store suppressed alerts 2024-11-02 14:27:07 -04:00
a0cc7eedfd Only set origscore when it is different 2024-11-02 12:45:26 -04:00
64c73fab99 Alert config 2024-11-02 11:39:02 -04:00
83b6b0e4f4 Initial 2024-11-02 09:41:48 -04:00
f54d0d250a Add alerts to table 2024-11-01 09:15:48 -04:00
489e72b17a Remove message 2024-11-01 08:27:24 -04:00
662e5d09ec Fix lint 2024-10-31 16:50:08 -04:00
47c1beec4a Implement tgcache 2024-10-31 16:14:38 -04:00
80badd0f00 Break out form unmarshal 2024-10-31 13:21:04 -04:00
0d793cb31a Notify and alerting 2024-10-31 13:21:00 -04:00
26846e02bd Add simulation tuning UI 2024-10-31 13:15:48 -04:00
0209ceb0c3 Support json or forms 2024-10-31 13:15:48 -04:00
0a786bc445 Model changes 2024-10-31 13:15:48 -04:00
fc39c1fa48 Light refactoring, make tunables config items 2024-10-31 13:15:48 -04:00
46ef6a6702 Clock fully configurable 2024-10-31 13:15:48 -04:00
cdc2034af6 Initial alerting
wip

kind of working

wip
2024-10-31 13:15:48 -04:00
daabec4941 Server header 2024-10-22 10:21:11 -04:00
5b5b02b5fd Make auth a hupper (jwtsecret can be reconfigured and HUPped) 2024-10-22 09:00:41 -04:00
51c105a1f9 HUP reread config 2024-10-22 08:45:08 -04:00
334c509f8b User agent 2024-10-21 23:12:24 -04:00
d9aaac3b0c Safety improvements 2024-10-21 22:19:31 -04:00
b3693522ae Use DB context 2024-10-21 14:11:08 -04:00
e29c3180b9 Use WithoutCancel 2024-10-21 14:04:50 -04:00
2cee60c040 Graceful shutdown 2024-10-21 13:50:03 -04:00
a5dd8639fc Fix closing 2024-10-21 12:24:10 -04:00
b4d99b8d90 Remove driver 2024-10-21 12:12:13 -04:00
5a296cb940 Handle normal closure 2024-10-20 22:10:54 -04:00
343dc86591 Whole db size 2024-10-20 13:04:42 -04:00
9f2ddada28 Calls size 2024-10-20 12:26:32 -04:00
f6fd5f7089 Fix web app samesite and broken plpgsql 2024-10-20 10:51:12 -04:00
5131da0451 refactor 2024-10-19 23:09:31 -04:00
2928009e3e commandid 2024-10-19 14:15:24 -04:00
acb7d44657 protobuf changes 2024-10-19 14:14:15 -04:00
943e3ae2ac Rate limiting is configurable 2024-10-18 15:30:40 -04:00
989b429b50 Fix version 2024-10-18 09:51:42 -04:00
b84cfcc025 Formatters 2024-10-18 00:15:21 -04:00