Commit Graph

163 Commits (34162023cb3f36f8c1715cd3906028ee6752f4bb)

Author SHA1 Message Date
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 e042384b3f Made fixes for group 2023-10-03 20:14:26 -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 e93fe50b5f Update for tm 2023-09-27 19:47:48 -06:00
noah metz 0fc6215448 Allow resolution of non-acl fields 2023-09-20 11:28:44 -06:00
noah metz b09e150c46 Added PostDeserialize to GQLExt to initialize temporary maps/slices 2023-09-20 11:05:47 -06:00
noah metz ab5b922a7d Forward status signals to resolvers 2023-09-18 19:55:55 -06:00
noah metz d34304f6ad Added logic to not re-resolve nodes if they're cached, and cache nodes as they're resolved 2023-09-18 12:02:30 -06:00
noah metz 9ffa9d6cb2 Reorganized GQL files, and moved from modifying the GQL library to using a NodeCache in ResolveContext 2023-09-18 11:15:58 -06:00
noah metz 21224e8837 Updated with graphql changed, need to make Self delete source of status on message received 2023-09-17 16:00:24 -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 ecaf35f05d Simplified gql resolution a bit, need to work on subscriptions 2023-09-13 16:27:55 -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 4daec4d601 Cleanup and move away from capnp to custom TLV serialization 2023-08-31 19:50:32 -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
noah metz 1d91854f6f Moved to x25519 for EC operations 2023-08-06 12:47:47 -06:00
noah metz 147f44e5ff hehe 2023-08-01 20:55:15 -06:00
noah metz 42cd8f4188 Added AuthorizedSignal wrapper to wrap a signal with an ecdsa signature to prove it originated from a different node 2023-08-01 14:09:29 -06:00
noah metz b9a2cceaf1 Moved gql response channel interaction into methods 2023-07-31 21:03:48 -06:00
noah metz df09433b88 Changed resolves to map back to request channel specifically instead of to the context 2023-07-31 20:53:56 -06:00
noah metz 6895aa7c8e gql fix :) 2023-07-31 18:49:56 -06:00
noah metz 0cc7174667 gql fix 2023-07-31 18:47:58 -06:00
noah metz 059c36663b GQL fix 2023-07-31 18:43:17 -06:00
noah metz b06c741ee3 GQL fix 2023-07-31 18:38:40 -06:00
noah metz 09c25b1e48 Moved UUID field to all signals to nodes can wait for responses to specific signals 2023-07-31 18:29:26 -06:00
noah metz e7d94414d5 Added stopServer gql mutation 2023-07-31 17:27:54 -06:00
noah metz d8355ab786 Added Self query to gql 2023-07-31 17:15:52 -06:00
noah metz 771bf53356 Added logging to gql process 2023-07-31 16:32:57 -06:00
noah metz 0313d6a33f Added start signal, and used it to restore gql server if was previously running 2023-07-31 16:25:18 -06:00
noah metz 064dc72820 Added State to GQLExt, TODO: add a start signal that gets sent to a node when it's loop is started so it's extensions can perform activation sequences 2023-07-30 23:59:04 -06:00
noah metz fde2f3ddd4 Renamed signals and added ErrorSignal 2023-07-30 23:42:47 -06:00
noah metz 96c2b84b6f * 2023-07-30 10:09:04 -06:00
noah metz f56f92a58b Updated test with group ext gql 2023-07-29 23:24:48 -06:00
noah metz e92b2e508d Added tests for lockable gql fields 2023-07-29 22:16:54 -06:00
noah metz dca4de183e Think I got the interface registering figured out, need to test it out with self-referrential fields(list and single) from LockableExt 2023-07-29 19:16:33 -06:00
noah metz fad8d8123c Did most of the work to move node interface creation to GQLExtContext 2023-07-29 18:27:52 -06:00
noah metz 891e69c775 Added more sane methods to register GQL fields, need to do the same for itnerfaces and their defaults 2023-07-29 17:23:25 -06:00
noah metz d6a35247b0 Add tests for gql server type in gql 2023-07-29 16:34:21 -06:00
noah metz 1a3a07336a Added back GQL functionality, TODO pool channels for resolve executions instead of creating new ones and GCing them every time 2023-07-29 16:00:01 -06:00
noah metz 2dfa10b1f6 Renamed GQL functions to remove GQL 2023-07-29 11:03:41 -06:00
noah metz c60393d390 gql changes 2023-07-29 00:40:18 -06:00
noah metz 641bd8febe Moved ecdh to it's own extension 2023-07-29 00:28:44 -06:00