Commit graph

142 commits

Author SHA1 Message Date
d0c398f6f7 Clean up tg ID stuff 2024-11-07 12:53:20 -05:00
c423749f26 Make clear that it is milliseconds 2024-11-06 20:55:48 -05:00
3f133e152a UUID is part of Call and is generated by us.
Closes #8
2024-11-06 20:47:10 -05:00
c4df60a89a Change ws route 2024-11-06 20:17:13 -05:00
c1a258f63c Change login route, add form 2024-11-06 20:13:46 -05:00
65cddbcc0d Don't apply talkgroup weight twice
Also tag ID fields
2024-11-06 14:20:15 -05:00
fb2387c212 API begin 2024-11-04 23:42:09 -05:00
170970e92d wip 2024-11-04 11:49:03 -05:00
ea2cbfede5 Revert weight during score 2024-11-04 11:48:31 -05:00
fcd2cda803 Use mapstructure for notify config 2024-11-03 19:49:10 -05:00
4873da2851 Actually return multiplier 2024-11-03 19:22:38 -05:00
01d16d4cba Don't apply multiplier twice 2024-11-03 19:20:34 -05:00
90d61aed73 Scale scores during score operation.
Closes #24.
2024-11-03 19:11:45 -05:00
db5067c055 Change error name 2024-11-03 14:16:26 -05:00
20dff10db8 Granular locking 2024-11-03 14:11:38 -05:00
d917e13c4f Embed 2024-11-03 09:45:51 -05:00
5338bb0071 Use sqlc.embed 2024-11-03 08:44:34 -05:00
882d9fbefa Reorg 2024-11-03 08:17:28 -05:00
c3233f1bc8 Split out talkgroups 2024-11-03 07:58:41 -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