Commit graph

264 commits

Author SHA1 Message Date
26be549c8e Only emit migrations message on change 2024-12-01 10:50:30 -05:00
03ebf74abe Partitioning (#60)
Closes #13

Reviewed-on: #60
Co-authored-by: Daniel Ponte <amigan@gmail.com>
Co-committed-by: Daniel Ponte <amigan@gmail.com>
2024-12-01 03:01:09 -05:00
1ca2e884f7 Add count to pagination for talkgroups 2024-11-25 19:06:56 -05:00
4b8a5475a6 Omitempty 2024-11-25 16:04:07 -05:00
9b3743e79a Fix cookie weirdness (delete correctly using MaxAge) 2024-11-25 12:57:59 -05:00
18e07e322f Fix #52 2024-11-25 12:43:02 -05:00
53ccf1715b Export 2024-11-25 09:44:12 -05:00
638b4df0e7 Test failing 2024-11-25 08:00:51 -05:00
3d5891630b More efficient 2024-11-24 21:52:50 -05:00
35da686283 iter attr 2024-11-24 21:48:47 -05:00
062236e5e4 Export endpoint 2024-11-24 21:18:11 -05:00
8177ae7065 Add test for file without multipart 2024-11-24 21:00:34 -05:00
b9a00e1bdc Fix config test 2024-11-24 15:45:29 -05:00
4bee6840dc Move to urfave/cli 2024-11-24 10:38:19 -05:00
f1e65aaa68 Switch to koanf 2024-11-24 09:10:31 -05:00
a845259d81 Reorg config 2024-11-24 08:40:14 -05:00
71a5a44923 Reorganize config 2024-11-24 00:40:07 -05:00
d71799413f Pagination 2024-11-24 00:06:43 -05:00
dc8272b15f Improve logout 2024-11-22 17:05:29 -05:00
81aa96a77b wip 2024-11-22 14:10:27 -05:00
d301690e93 Prepare to integrate 2024-11-22 12:32:22 -05:00
7724ce17a0 Fix query excluding learned 2024-11-21 23:35:13 -05:00
52759db43b Use getter 2024-11-21 22:30:47 -05:00
974378ff7b Preliminary exporter 2024-11-21 22:25:25 -05:00
7abe075113 Move stuff around in prep 2024-11-21 13:24:02 -05:00
a1b751fdf0 Fix learning 2024-11-21 07:44:08 -05:00
692f7d69a3 Flatten migrations 2024-11-21 07:14:01 -05:00
5fd035561c Versioned talkgroups 2024-11-20 22:41:47 -05:00
c48d1eaf8d Put LearnTG in the store where it belongs 2024-11-20 20:16:01 -05:00
8207c59815 Move tgstore to its own package 2024-11-20 19:59:24 -05:00
5d9a08780f Storage part 2024-11-20 19:15:26 -05:00
bba458fe93 Improve 404 error 2024-11-20 16:51:19 -05:00
368f231b89 Alerting improvements 2024-11-20 16:45:41 -05:00
2872f1d437 Lint 2024-11-20 11:07:58 -05:00
da73227c79 Talkgroup bulk upsert call, name improvements 2024-11-20 09:37:57 -05:00
89446b8a58 fix test 2024-11-20 07:48:03 -05:00
f909723f7d wip pre-batch 2024-11-20 07:26:59 -05:00
f7fdaf9867 don't alert ignored 2024-11-19 10:18:12 -05:00
711c8fbad0 tests 2024-11-19 10:18:12 -05:00
f6cb8b4d17 fixes 2024-11-19 10:18:12 -05:00
ef69d95583 Initial calls normalization
fix

wip
2024-11-19 10:18:12 -05:00
584ad46679 comment test 2024-11-18 18:50:34 -05:00
af81ae32ef Relay 2024-11-18 18:31:17 -05:00
ec33e568d5 Add relay 2024-11-18 14:27:12 -05:00
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
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