Commit Graph

123 Commits (master)

Author SHA1 Message Date
noah metz 8cb97d2350 update 2024-03-31 18:58:27 -07:00
noah metz c29981da20 Updated MessageQueue 2024-03-31 17:02:30 -07:00
noah metz 11e7df2bde Changed from a static channel queue to a dynamic queue for nodes 2024-03-31 15:18:47 -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 66d5e3f260 Changed serialization to not allocate any memory, expects to be passed enough memory to serialize the type 2024-03-28 20:23:22 -07:00
noah metz 1eff534e1a Fixes and optimizations 2024-03-28 19:28:07 -07:00
noah metz a4115a4f99 Updated gql subscriptions to be send less messages 2024-03-25 18:49:52 -06:00
noah metz ab76f09923 Got GQL subscriptions working for lockable_state 2024-03-23 03:23:00 -06:00
noah metz 2db4655670 Rewrote lockable.go 2024-03-23 02:21:27 -06:00
noah metz d7b07df798 Reorganized to cleanup 2024-03-21 14:22:34 -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 c0407b094c Enabled GQL tests and got them working to a bare minimum 2024-03-10 16:31:14 -06:00
noah metz c591fa5ace Got node resolution working(I think), and save/load from DB 2024-03-10 15:41:13 -06:00
noah metz f8dad12fdb Got some basic node resolving working 2024-03-09 22:09:40 -07: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 7e143c9d93 Added graphiql command, fixed map GQL naming, and made serialization interface use generics 2024-03-08 14:35:23 -07:00
noah metz 7314c74087 Rewrote serialization 2024-03-08 00:22:51 -07:00
noah metz 1eb6479169 Fixed race condition with load order 2024-03-04 22:11:40 -07:00
noah metz e16bec3997 Started graphql and serialization come together 2024-03-04 21:30:11 -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 646e6592f0 Not sure tbh 2023-11-13 13:23:58 -07:00
noah metz c5f95d431d Changed event strings to EventCommand or EventControl 2023-11-12 13:36:11 -07:00
noah metz c54101f4a3 Don't have time to explain :/ 2023-11-11 13:53:41 -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 f41160da68 Cleaned up Lockable 2023-11-03 22:51:54 -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 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 a568adc156 Fixed serilize test 2023-10-16 23:08:23 -06:00
noah metz 266e353c5f Fixed duration serialization 2023-10-16 10:03:51 -06:00
noah metz 95939fb020 Added more serialized stuf 2023-10-16 00:54:10 -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 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 187ffb1324 Added ACLProxyPolicy 2023-10-13 13:45:30 -06:00
noah metz 16e25c009f Added ACLExt and tests 2023-10-13 00:32:24 -06:00
noah metz ae289705bb Added add/remove member to group, and test for group 2023-10-11 18:11:24 -06:00
noah metz f82bbabc66 Removed extension type from Changes, and made serializable 2023-10-10 11:23:44 -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 3ef0a98a17 Fixed broken deserialization of NodeID and uuid.UUID 2023-10-01 20:59:45 -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 e93fe50b5f Update for tm 2023-09-27 19:47:48 -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 eb30b477d5 Passing tests 2023-09-13 10:56:49 -06:00