Commit graph

62 commits

Author SHA1 Message Date
saji 4e6f8db7ed combine separate packages 2024-03-02 21:49:18 -06:00
saji 00fa67a67d migrate websocket api to buseventfilter 2024-03-02 21:23:35 -06:00
saji 56bff97fcf cleanup http api 2024-03-02 00:46:24 -06:00
saji 70e7f0f15d refactor getValue for new filter/limit structs 2024-03-01 21:15:51 -06:00
saji 3f1df06d1b added get bus even API request
also provided framework for extracting filters
2024-03-01 19:12:35 -06:00
saji 7aaa47e142 fix missing error check, improve get test 2024-03-01 16:33:30 -06:00
saji 68347e8b95 rework DB getters
abandon generic query frag for common structures
Instead of using the QueryFrag struct, which was too generic to be
generally useful, we have moved to a BusEventFilter type, which
contains things we may filter on when we're searching for bus events.
At the moment it just contains names, and start/stop times.
Then in each function we can accept this filter struct and convert
it to fit the query.

We also support general modifiers, and currently have one implemented:
the LimitOffsetModifier. This adds a LIMIT and OFFSET clause to any
statement. these are all applied at the end and receive a stringbuilder
which may prevent certain operations from being structured.
We need to work on this one more, potentially abandoning.
2024-03-01 16:25:33 -06:00
saji 19b337a84b remove recover, add telem log parser tests 2024-02-28 18:44:48 -06:00
saji a8e7d407fe fix up static check issues 2024-02-28 14:10:40 -06:00
saji 9a98117384 clean up dead code 2024-02-28 14:01:44 -06:00
saji c95593bb86 migrate candump log parser to use regex instead
also add more test cases for error logic.
2024-02-28 13:56:57 -06:00
saji 481cac76c6 wip: rework log parsers 2024-02-28 13:04:59 -06:00
saji a3f6e36cc4 didn't fix the actual error lol 2024-02-28 01:08:28 -06:00
saji d6cd4d3e26 fix tests, add packets stuff for db 2024-02-28 01:07:36 -06:00
saji 0afb8d48bd wip: cleanup 2024-02-24 22:57:17 -06:00
saji 34fca3d564 wip: work on http api 2024-02-24 16:48:19 -06:00
saji b5f5289b45 buncha fixes
use builtin slog instead of experimental
update all packages to fix a bug
2024-02-18 22:41:22 -06:00
saji e551390089 wip: more fixes, figure out main problem 2024-02-18 13:40:41 -06:00
saji 8af1b725d1 wip: debugging why parameters don't substitute right 2024-02-18 13:10:27 -06:00
saji 3f9df5c1eb wip: add openmct-type historical api 2024-02-17 19:26:13 -06:00
saji 245a654164 Performance optimizations for import
note that you need to limit the number of writing threads.
2024-02-14 10:31:41 -06:00
saji a4ca71d0ad make regex precompiled
that made things fast lol
also fix error output for skylabify
2024-02-14 02:15:21 -06:00
saji 2d9d32dbf4 remove streaming db insert 2024-02-13 13:41:32 -06:00
saji 6c5162a8be wip: threaded import, doesn't work 2024-02-13 10:42:28 -06:00
saji 938b5b7000 add import log table (unused) 2024-02-13 10:04:01 -06:00
saji 3ae157a3de revert busevent pointer change 2024-02-13 10:03:39 -06:00
saji 0c8a25a2f4 move parsers to internal library
many fixes related to previous changes
added import command
2024-02-12 14:38:01 -06:00
saji c4bdf122a8 major cleanup/refactor
delete mprpc
move can frame to it's own library
create CANID type (better extended id support)
rework database format, only uses name + json now
busEvent and rawJsonEvent don't store the Id anymore
2024-02-12 09:45:23 -06:00
saji 2d634d863d pytelem major work 2023-09-19 14:17:22 -05:00
saji 9280067d87 db migration fixes
- fix offbyone for executing migrations
- fix user_version setter not working
- add one more migration for WIP weather table
2023-07-06 15:21:41 -05:00
saji 62e162e939 set sqlite user version after migration 2023-07-06 13:46:02 -05:00
saji 969e17a169 get migrations working 2023-07-06 11:26:00 -05:00
saji d5b960ad8a wip: more db migration work 2023-07-06 00:24:05 -05:00
saji 63087deffb wip: db migration 2023-07-05 21:16:26 -05:00
saji 6eedae18c6 fix db test compile issue 2023-07-04 00:50:43 -05:00
saji fcfc605f77 fix db test compile issue 2023-07-03 13:56:42 -05:00
saji 699cfb5e3d big update 2023-06-30 11:51:06 -05:00
saji c52bccb140 db fixes 2023-06-30 07:40:50 -05:00
saji 61dbc7765c wip: api 2023-06-28 19:23:08 -05:00
saji 7c8d790865 move libraries out of internal 2023-05-04 19:15:03 -05:00
saji 4340c610fd cleanup api frame comments 2023-05-04 14:06:05 -05:00
saji 6a5cda8c66 txstatusframe fixes and tests 2023-05-04 14:05:51 -05:00
saji b7840aa9cb atcmdresponse parsing fixes and tests 2023-05-04 14:05:37 -05:00
saji 0c386780c1 finish tests, 100% coverage for api_frame 2023-05-03 14:06:19 -05:00
saji 771ac243ac fix off by one in api_frame and add more tests 2023-05-03 14:00:26 -05:00
saji 9c21a330e8 added queue+query at command test 2023-05-03 11:29:49 -05:00
saji 96dd5c541b rxframe test skeleton and options parsing 2023-05-03 11:29:27 -05:00
saji 59760b79dd cleanup docs, tests, housekeeping 2023-05-03 10:38:37 -05:00
saji aa5cd0b393 fix a bug in xbee session locking 2023-05-03 10:38:22 -05:00
saji 61c0b809d3 cleanup RPC, move to new library 2023-05-03 01:26:35 -05:00