Commit graph

167 commits

Author SHA1 Message Date
saji 058e8d31b2 update packages
All checks were successful
Go / build (1.21) (push) Successful in 1m12s
Go / build (1.22) (push) Successful in 1m12s
2024-03-03 23:13:55 -06:00
saji 8b8619dd8a added openmct plugin and embedding
All checks were successful
Go / build (1.21) (push) Successful in 1m17s
Go / build (1.22) (push) Successful in 1m15s
2024-03-03 23:04:41 -06:00
saji 93be82f416 update gitignore for WAL mode sqlite db
All checks were successful
Go / build (1.21) (push) Successful in 1m14s
Go / build (1.22) (push) Successful in 1m12s
2024-03-02 21:56:31 -06:00
saji 4e6f8db7ed combine separate packages
All checks were successful
Go / build (1.21) (push) Successful in 1m16s
Go / build (1.22) (push) Successful in 1m15s
2024-03-02 21:49:18 -06:00
saji 00fa67a67d migrate websocket api to buseventfilter
All checks were successful
Go / build (1.22) (push) Successful in 1m13s
Go / build (1.21) (push) Successful in 2m31s
2024-03-02 21:23:35 -06:00
saji 7b48dd0d1c update action versions
All checks were successful
Go / build (1.21) (push) Successful in 1m12s
Go / build (1.22) (push) Successful in 1m10s
2024-03-02 01:00:08 -06:00
saji 56bff97fcf cleanup http api
All checks were successful
Go / build (1.21) (push) Successful in 1m17s
Go / build (1.22) (push) Successful in 1m15s
2024-03-02 00:46:24 -06:00
saji 70e7f0f15d refactor getValue for new filter/limit structs
All checks were successful
Go / build (1.22) (push) Successful in 1m16s
Go / build (1.21) (push) Successful in 1m13s
2024-03-01 21:15:51 -06:00
saji 3f1df06d1b added get bus even API request
All checks were successful
Go / build (1.21) (push) Successful in 1m15s
Go / build (1.22) (push) Successful in 1m14s
also provided framework for extracting filters
2024-03-01 19:12:35 -06:00
saji 7aaa47e142 fix missing error check, improve get test
All checks were successful
Go / build (1.21) (push) Successful in 1m18s
Go / build (1.22) (push) Successful in 1m17s
2024-03-01 16:33:30 -06:00
saji 68347e8b95 rework DB getters
Some checks failed
Go / build (1.21) (push) Failing after 1m6s
Go / build (1.22) (push) Failing after 1m6s
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 4092fdba6f [skip ci] return errors in http api
All checks were successful
Go / build (1.21) (push) Successful in 1m17s
Go / build (1.22) (push) Successful in 1m18s
2024-02-29 13:13:25 -06:00
saji 19b337a84b remove recover, add telem log parser tests
All checks were successful
Go / build (1.21) (push) Successful in 1m5s
Go / build (1.22) (push) Successful in 1m12s
2024-02-28 18:44:48 -06:00
saji 41689eee10 skylab: add unmarshal bounds check
All checks were successful
Go / build (1.22) (push) Successful in 1m15s
Go / build (1.21) (push) Successful in 1m17s
remove recover from telem log parser
2024-02-28 18:41:01 -06:00
saji aaec62fd3a support 1.21, add matrix for 1.21 and 1.22 in CI
All checks were successful
Go / build (1.22) (push) Successful in 1m16s
Go / build (1.21) (push) Successful in 2m30s
2024-02-28 14:17:47 -06:00
saji 3de6bfd7d3 fix version mismatch in tests
All checks were successful
Go / build (push) Successful in 2m31s
2024-02-28 14:12:17 -06:00
saji a8e7d407fe fix up static check issues
Some checks failed
Go / build (push) Failing after 35s
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
Some checks failed
Go / build (push) Failing after 1m10s
also add more test cases for error logic.
2024-02-28 13:56:57 -06:00
saji 481cac76c6 wip: rework log parsers
Some checks failed
Go / build (push) Failing after 57s
2024-02-28 13:04:59 -06:00
saji 9a6e1380d1 add vet and staticcheck to CI
Some checks failed
Go / build (push) Failing after 1m11s
2024-02-28 07:24:27 +00:00
saji a3f6e36cc4 didn't fix the actual error lol
All checks were successful
Go / build (push) Successful in 1m53s
2024-02-28 01:08:28 -06:00
saji d6cd4d3e26 fix tests, add packets stuff for db
Some checks failed
Go / build (push) Failing after 1m45s
2024-02-28 01:07:36 -06:00
saji 3f6db8e5c5 remove fixer 2024-02-28 01:07:36 -06:00
saji 05d9584fb5 Update .github/workflows/go.yml
Some checks failed
Go / build (push) Failing after 1m43s
2024-02-26 05:37:08 +00:00
saji 50456fd250 Update readme.md
Some checks reported warnings
Go / build (macos-latest) (push) Has been cancelled
Go / build (ubuntu-latest) (push) Has been cancelled
2024-02-26 05:32:20 +00:00
saji 0afb8d48bd wip: cleanup 2024-02-24 22:57:17 -06:00
saji 027bde3e68 test: change description 2024-02-24 16:58:14 -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 d456e64656 rename dbloggingservice to dbwriterservice 2024-02-18 00:11:08 -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 efc3ad684a replace raw line with line num in import script 2024-02-13 13:43:26 -06:00
saji 2d9d32dbf4 remove streaming db insert 2024-02-13 13:41:32 -06:00
saji 33c2f3f023 fix bug preventing slice copy 2024-02-13 10:50:11 -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 1812807581 wip: idk 2024-01-07 23:01:22 -06:00
saji 675c42cfd5 fix marshaljson not being called 2023-09-29 07:53:29 +09:30
saji 2d634d863d pytelem major work 2023-09-19 14:17:22 -05:00
saji c772d6e95f some python crap 2023-07-10 18:10:21 -05:00
saji 1570497ddc add old log fixer. 2023-07-07 14:03:53 -05:00
saji 7b5cf8a107 fix inverted socketcan 2023-07-06 15:32:36 -05:00