Commit graph

170 commits

Author SHA1 Message Date
4eddd7d1df Learned has uuids 2024-11-15 23:25:57 -05:00
9faecccf2a wtf was that 2024-11-15 13:42:38 -05:00
1b051c6ad9 Importer test 2024-11-15 13:20:49 -05:00
c9a32cd4bf pre-mock 2024-11-15 12:18:32 -05:00
e82f07e094 housekeeping 2024-11-15 11:34:54 -05:00
0a88e7f42e before mockery 2024-11-15 11:15:12 -05:00
1cb301acdf No need to log 404 2024-11-15 10:51:25 -05:00
af80e46068 New DB schema 2024-11-15 10:37:58 -05:00
05eccf588b wip 2024-11-15 08:46:29 -05:00
e38ebe6802 reid first stab 2024-11-14 10:16:20 -05:00
4f18747255 Add import metadata 2024-11-13 18:50:26 -05:00
fb1b6a475c Importer, rename jsontime to jsontypes 2024-11-13 09:24:11 -05:00
f195b6e9b6 Initial parser 2024-11-12 19:20:03 -05:00
d592e20d37 FKEY constraint prevents alerts on learned talkgroups 2024-11-12 10:14:11 -05:00
f44ef2ec47 Remove alert config double cache 2024-11-12 09:57:51 -05:00
9e4144545a Refactor alertrules so they unmarshal by pgx 2024-11-12 08:40:56 -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
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
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