Commit graph

53 commits

Author SHA1 Message Date
064e8d8a97 Unify JSON output of calls endpoints for UI 2025-01-05 10:50:19 -05:00
16a0606e4c Cannot tag excluded field 2025-01-04 10:51:39 -05:00
af950c2da7 Call count 2024-12-29 19:28:50 -05:00
223f4d5bbe fix filter 2024-12-29 19:04:06 -05:00
841b9f1b16 add incident filtering 2024-12-29 19:01:13 -05:00
b5af8b0878 Initial endpoints 2024-12-29 09:30:24 -05:00
cac95e1b25 Incidents 2024-12-28 18:32:13 -05:00
5c4bfa4650 Fix calls tags 2024-12-27 14:16:38 -05:00
dac1f5fa4e Add calls UI (#84)
Also make a PWA.

Closes #81

Reviewed-on: #84
Co-authored-by: Daniel Ponte <amigan@gmail.com>
Co-committed-by: Daniel Ponte <amigan@gmail.com>
2024-12-27 13:14:45 -05:00
77a08679d4 Call store and list calls endpoint (#78)
Reviewed-on: #78
Co-authored-by: Daniel Ponte <amigan@gmail.com>
Co-committed-by: Daniel Ponte <amigan@gmail.com>
2024-12-19 16:14:41 -05:00
d95cda6b44 Mutation to get all tags (#76)
Reviewed-on: #76
Co-authored-by: Daniel Ponte <amigan@gmail.com>
Co-committed-by: Daniel Ponte <amigan@gmail.com>
2024-12-18 10:51:26 -05:00
9a3a32c1a2 Add filter and orderBy. Closes #55 (#73)
Reviewed-on: #73
Co-authored-by: Daniel Ponte <amigan@gmail.com>
Co-committed-by: Daniel Ponte <amigan@gmail.com>
2024-12-17 21:17:10 -05:00
7defdcbf33 Add user service, ability to save and recall preferences (#70)
Reviewed-on: #70
Co-authored-by: Daniel Ponte <amigan@gmail.com>
Co-committed-by: Daniel Ponte <amigan@gmail.com>
2024-12-16 13:34:07 -05:00
1664c26e14 Delete talkgroup and system (#69)
Reviewed-on: #69
Co-authored-by: Daniel Ponte <amigan@gmail.com>
Co-committed-by: Daniel Ponte <amigan@gmail.com>
2024-12-10 19:10:25 -05:00
544ac56990 GET /calls/<callID> endpoint (#64)
Reviewed-on: #64
Co-authored-by: Daniel Ponte <amigan@gmail.com>
Co-committed-by: Daniel Ponte <amigan@gmail.com>
2024-12-02 17:53:43 -05:00
8ea82bf7d4 switchpart (#62)
Reviewed-on: #62
Co-authored-by: Daniel Ponte <amigan@gmail.com>
Co-committed-by: Daniel Ponte <amigan@gmail.com>
2024-12-01 17:26:10 -05:00
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
d71799413f Pagination 2024-11-24 00:06:43 -05:00
7724ce17a0 Fix query excluding learned 2024-11-21 23:35:13 -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
5d9a08780f Storage part 2024-11-20 19:15:26 -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
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
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
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
fb1b6a475c Importer, rename jsontime to jsontypes 2024-11-13 09:24:11 -05:00
d592e20d37 FKEY constraint prevents alerts on learned talkgroups 2024-11-12 10:14:11 -05:00
9e4144545a Refactor alertrules so they unmarshal by pgx 2024-11-12 08:40:56 -05:00
cecbeb78fe Rename ctx keys 2024-11-10 10:28:04 -05:00
6e1640e4b4 PUT talkgroup 2024-11-10 10:13:38 -05:00
e3a7313806 api restructure, support pointers in forms
Tests pass

Support pointer fields
2024-11-10 07:31:17 -05:00
3f133e152a UUID is part of Call and is generated by us.
Closes #8
2024-11-06 20:47:10 -05:00
fb2387c212 API begin 2024-11-04 23:42:09 -05:00