Commit graph

196 commits

Author SHA1 Message Date
4b2b9399e9 Merge pull request 'FKEY constraint prevents alerts on learned talkgroups' (#34) from reid into trunk
Reviewed-on: #34
2024-11-12 10:15:45 -05:00
d592e20d37 FKEY constraint prevents alerts on learned talkgroups 2024-11-12 10:14:11 -05:00
5a82da2b16 Merge pull request 'Remove alert config double cache' (#33) from reid into trunk
Reviewed-on: #33
2024-11-12 09:59:00 -05:00
f44ef2ec47 Remove alert config double cache 2024-11-12 09:57:51 -05:00
70a5dd4509 Merge pull request 'Refactor alertrules so they unmarshal by pgx' (#32) from reid into trunk
Reviewed-on: #32
2024-11-12 08:42:35 -05:00
9e4144545a Refactor alertrules so they unmarshal by pgx 2024-11-12 08:40:56 -05:00
657c00e326 Merge pull request 'REST API, forms improvement' (#30) from rest into trunk
Reviewed-on: #30
2024-11-10 14:46:25 -05:00
fb3fb4eeab Rename api to rest 2024-11-10 14:44:52 -05:00
759c274950 Use chi render, improvements 2024-11-10 14:40:50 -05:00
cecbeb78fe Rename ctx keys 2024-11-10 10:28:04 -05:00
e97c9ced0e use profiler middleware 2024-11-10 10:17:02 -05:00
6e1640e4b4 PUT talkgroup 2024-11-10 10:13:38 -05:00
f76db949e0 fix path 2024-11-10 07:31:17 -05:00
9046e346b1 API structure improvements, convenience funcs 2024-11-10 07:31:17 -05:00
e3a7313806 api restructure, support pointers in forms
Tests pass

Support pointer fields
2024-11-10 07:31:17 -05:00
e4e819ee90 use square 2024-11-08 10:14:47 -05:00
2615da9ef8 add paren 2024-11-08 10:13:51 -05:00
2153dc8434 Use single template with named subs 2024-11-08 07:19:13 -05:00
6ea61bf820 Merge pull request '#28 per backend notification templates' (#29) from pernotifytmpl into trunk
Reviewed-on: #29
2024-11-07 23:18:53 -05:00
bdee792d75 #28 per backend notification templates 2024-11-07 23:17:16 -05:00
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
3b8a50d3e8 Merge pull request 'REST and other improvements' (#27) from rest into trunk
Reviewed-on: #27
2024-11-06 20:50:39 -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
c83e2f1df7 Merge pull request 'Scale scores during score operation.' (#25) from scorescale into trunk
Reviewed-on: #25
2024-11-03 19:13:27 -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
5d348e7888 Merge pull request 'Big reorg' (#23) from rest into trunk
Reviewed-on: #23
2024-11-03 13:46:10 -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
f71d9fee0d Merge pull request 'gordio is now just stillbox' (#22) from rename into trunk
Reviewed-on: #22
2024-11-03 07:20:13 -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
36bc28899b Merge pull request 'alertconfig' (#21) from alertconfig into trunk
Reviewed-on: #21
2024-11-02 14:28:36 -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