Commit Graph

127 Commits (master)

Author SHA1 Message Date
noah metz 8cb97d2350 update 2024-03-31 18:58:27 -07:00
noah metz 3eee736f97 Moved SendMsg and RecvMsg to one object 2024-03-30 23:36:50 -07:00
noah metz 7e157068d7 Removed database update every signal process(need to find a replacement still), updated graphiql cmd, and made lockable more efficient at high numbers of requirements 2024-03-30 22:57:18 -07:00
noah metz b2d84b2453 Moved db from badger to an interface 2024-03-30 14:42:06 -07:00
noah metz 1eff534e1a Fixes and optimizations 2024-03-28 19:28:07 -07:00
noah metz ab76f09923 Got GQL subscriptions working for lockable_state 2024-03-23 03:23:00 -06:00
noah metz 6850031e80 Removed log lines, and fixed lock fail logic 2024-03-23 02:51:46 -06:00
noah metz 0b93c90aa9 Removed uneeded lockable field 2024-03-23 02:23:42 -06:00
noah metz 2db4655670 Rewrote lockable.go 2024-03-23 02:21:27 -06:00
noah metz 0bced58fd1 Fixed GQL issues, started docs 2024-03-21 14:13:54 -06:00
noah metz 8f9a759b26 Added GQL enum 2024-03-17 14:25:34 -06:00
noah metz eef8451566 Basic gql functionality, need to work on resolving nodeIDs by sending/waiting for read signals 2024-03-08 17:43:30 -07:00
noah metz 6942dc02db Major cleanup 2024-03-04 17:30:42 -07:00
noah metz 8927077167 More cleanup, moved initialization to interface instead of signals 2024-03-03 16:37:03 -07:00
noah metz faab7eb52c Cleanup(disabled gql test temporarily) 2024-03-03 15:45:45 -07:00
noah metz 61565fa18c Made lockable abort fully if everything unlocked on first error 2023-11-19 00:28:08 -07:00
noah metz 646e6592f0 Not sure tbh 2023-11-13 13:23:58 -07:00
noah metz 59424cecc1 Added some logging and fixes 2023-11-11 14:52:08 -07:00
noah metz 786f374b5f Added unlock state change to lockable timeout handling 2023-11-11 14:21:10 -07:00
noah metz c54101f4a3 Don't have time to explain :/ 2023-11-11 13:53:41 -07:00
noah metz 8b91d0af0c Changed WaitInfo struct to include reason 2023-11-07 20:51:34 -07:00
noah metz 6580725241 fixed errors 2023-11-06 00:59:25 -07:00
noah metz 8d1e273331 Reworked changes to include map[ExtType][]string 2023-11-05 21:18:37 -07:00
noah metz ddb3854d00 Handle timeouts better in lockable 2023-11-03 22:54:28 -06:00
noah metz f41160da68 Cleaned up Lockable 2023-11-03 22:51:54 -06:00
noah metz 84aee24a21 Reworked serialization to split type/value serilization/deserialization 2023-10-29 18:26:14 -06:00
noah metz 4b7bc93914 Moved groups to use SubGroups instead so one node can support many sub_groups(admin, ref, user, etc.) to reduce signals sent 2023-10-15 15:14:33 -06:00
noah metz c4df57a932 Added Authorization to not pass node private keys 2023-10-14 15:05:23 -06:00
noah metz 6381713972 Reduced signal log spam 2023-10-08 02:38:18 -06:00
noah metz 34162023cb Removed log statement, and moved initial node write to after parsing of creation signal 2023-10-08 02:35:11 -06:00
noah metz 56f3cce415 Simplified lockable changes 2023-10-08 02:22:02 -06:00
noah metz 7234b11643 Simplified changes 2023-10-07 23:08:18 -06:00
noah metz 302f0f42fe Added 'changed' field to 'Process' 2023-10-07 23:00:07 -06:00
noah metz bb28d9bc32 Fixed handling of lockable self-success messages 2023-10-01 20:54:53 -06:00
noah metz 96408259d1 Lots of stuff, but mostly sped up NodeID and UUID serialization, can probably generalize to speed up all fixed size arrays 2023-10-01 20:45:44 -06:00
noah metz 5a86334d5a Moved ReqID out of SignalHeader and into ResponseHeader, added ResponseSignal interface for signals that are responses to others 2023-10-01 16:45:03 -06:00
noah metz e013edc656 Fixed bugs found developing tm 2023-09-27 18:28:56 -06:00
noah metz ecaf35f05d Simplified gql resolution a bit, need to work on subscriptions 2023-09-13 16:27:55 -06:00
noah metz 5c70d1b18d Moved type registration to signal/extension/policy registration 2023-09-12 20:30:18 -06:00
noah metz 1888cf428d Think i finished serialization(other than missing types/kinds), now onto deserialization 2023-09-02 17:30:52 -06:00
noah metz 4daec4d601 Cleanup and move away from capnp to custom TLV serialization 2023-08-31 19:50:32 -06:00
noah metz 4ce2a642c5 Changed TestLink to test add and remove 2023-08-15 19:28:15 -06:00
noah metz 98f05d57f9 Added signals to add and remove requirements from a lockable node 2023-08-15 19:17:13 -06:00
noah metz 98c0b7e807 Fixed lockable to properly fail 2023-08-15 18:23:06 -06:00
noah metz d663314def Test updates 2023-08-11 16:00:36 -06:00
noah metz e26ddcae37 Moved listener to listener.go and user.go to group.go. Fixed some GQL resolving 2023-08-11 13:01:32 -06:00
noah metz 20c7a38044 Policy fun 2023-08-10 23:43:10 -06:00
noah metz f31beade29 Added signature to all signals(signature of serialized signal + source + dest so technically vulnerable to replay) to use for ACL 2023-08-08 14:00:17 -06:00
noah metz 8770d6f433 Moved policies to node instead of an extension, need to fix gql tests 2023-08-07 20:26:02 -06:00
noah metz 147f44e5ff hehe 2023-08-01 20:55:15 -06:00