Commit Graph

127 Commits (c33f37e4cda6f40288659dac47d44e8c3d28cea2)

Author SHA1 Message Date
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 8b91d0af0c Changed WaitInfo struct to include reason 2023-11-07 20:51:34 -07:00
noah metz 8bb1dacf23 Added logging 2023-11-06 01:28:17 -07:00
noah metz 6580725241 fixed errors 2023-11-06 00:59:25 -07:00
noah metz 58675377fd Moved writes to be per-extension 2023-11-06 00:50:29 -07:00
noah metz 8d1e273331 Reworked changes to include map[ExtType][]string 2023-11-05 21:18:37 -07:00
noah metz 42e4a8f7ea Serialization optimization 2023-11-04 23:21:43 -06:00
noah metz 3052f8099f Changed QueueTimeout to not require WaitMap 2023-11-03 21:53:49 -06:00
noah metz f5a08bbc48 Moved WaitInfo to node.go, added *Node methods for handling WaitMap's 2023-11-03 21:41:06 -06:00
noah metz 2081771135 Sort maps when serializing so they can be serialized consistently 2023-10-30 13:23:08 -06:00
noah metz 39d3288094 Changed to linked list for serialization 2023-10-30 01:25:18 -06:00
noah metz 84aee24a21 Reworked serialization to split type/value serilization/deserialization 2023-10-29 18:26:14 -06:00
noah metz 8a973c38b5 Save node on parsing queued signal, look into saving after signals queued as well to mirror(or saving signal queue to a different db key) 2023-10-17 15:17:44 -06:00
noah metz e299e77e78 Made Tree serialize the same always by sorting before serializing 2023-10-15 18:34:34 -06:00
noah metz 76e1e9a17a Fixed verification of authorized signals 2023-10-14 15:53:20 -06:00
noah metz 08c36e0505 Added authorization check if non-nil when parsing node messages 2023-10-14 15:16:56 -06:00
noah metz c4df57a932 Added Authorization to not pass node private keys 2023-10-14 15:05:23 -06:00
noah metz 16e25c009f Added ACLExt and tests 2023-10-13 00:32:24 -06:00
noah metz f82bbabc66 Removed extension type from Changes, and made serializable 2023-10-10 11:23:44 -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 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 7451e8e960 Added StoppedSignal as stopped status(no db write happens after processing) and added helper functions to stop nodes. 2023-10-06 20:04:53 -06:00
noah metz e042384b3f Made fixes for group 2023-10-03 20:14:26 -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 d4e0d855c7 Added serialization for Tree and SerializedType. Changed policies to an array instead of a map 2023-09-20 19:14:28 -06:00
noah metz b09e150c46 Added PostDeserialize to GQLExt to initialize temporary maps/slices 2023-09-20 11:05:47 -06:00
noah metz d86d424cd7 Changed Header to return a non-pointer, and removed extension type from GetCtx generic 2023-09-18 21:43:39 -06:00
noah metz 6bfe339854 Modified graphql library to store the result of the last resolution in a subscription and pass it to the next resolution 2023-09-14 15:50:08 -06:00
noah metz de54c87e43 Added serialization of StatusSignal 2023-09-12 19:40:06 -06:00
noah metz 07ce005365 Got serialization to the point that TestGQLDB is passing 2023-09-12 19:00:48 -06:00
noah metz 045304f9f6 Moved int, struct, and interface serialization to functions to make registering types easy 2023-09-11 21:47:53 -06:00
noah metz d0f0fb1b82 Fixed first round of issues with node serialization, now need to actually deserialize structs 2023-09-06 18:29:35 -06:00
noah metz 15793e1415 Fixed pointer, list, and map serialization after testing nil map types 2023-09-05 00:46:49 -06:00
noah metz e2f34150ef Moved serialization to serialize.go and removed n parameter from DeserializeValue 2023-09-05 00:08:09 -06:00
noah metz 06513a5ad6 Added serialization tests, added deserializers for most Kinds, reworked struct serialization 2023-09-03 17:50:12 -06:00
noah metz 799b6404dd Added deserialize to pointer 2023-09-02 18:49:37 -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 857f04efe3 Ch-ch-ch-ch-changes 2023-08-31 22:31:29 -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 ba344bddcf Fixed policy serializing and added default policy to allow receiving errors, read results, and status updates 2023-08-28 14:52:28 -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 96e842decf Fixed some of the issues with GQL tests, still need to fix ACL 2023-08-07 20:44:56 -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