Commit Graph

560 Commits (master)
 

Author SHA1 Message Date
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 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 57156251cd More signal prints 2023-11-03 00:59:48 -06:00
noah metz 8e3510129c Added 'ready' state between init and start for events, and added String for more signals 2023-11-02 20:58:38 -06:00
noah metz 3a6e562390 Added more signal string representations, and fixed event/gql bugs 2023-11-01 19:32:36 -06:00
noah metz a061d6850c Added TestEventExt and TestEvent, added return of queued signals to WaitForResponse 2023-10-30 19:40:30 -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 dbe819fd05 Updated 1k test 2023-10-30 01:42:36 -06:00
noah metz 39d3288094 Changed to linked list for serialization 2023-10-30 01:25:18 -06:00
noah metz 0e8590e22a Added call to PostDeserialize that I removed by accident 2023-10-29 18:43:43 -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 0eab243659 Fixed file resolution 2023-10-17 15:11:58 -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 92bb4bf976 removed todo 2023-10-15 22:44:35 -06:00
noah metz 193952e84d Fixed cache bug 2023-10-15 22:43:11 -06:00
noah metz d930d78351 Added logging 2023-10-15 20:35:02 -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 b9bf61cf68 fix 2023-10-15 16:29:16 -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 0159d0dd5a Fixed GQL test auth 2023-10-14 16:01:45 -06:00
noah metz 76e1e9a17a Fixed verification of authorized signals 2023-10-14 15:53:20 -06:00
noah metz b3bbf71c22 Removed unused functions 2023-10-14 15:31:18 -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 8c80ec9dd6 Added gv tag to ACLProxyPolicy so that it actually serializes/deserializes 2023-10-13 14:12:30 -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 c63ad91252 Added mutations for add/remove members 2023-10-11 19:08:12 -06:00
noah metz b32f264879 Updated gql test with working subscribe 2023-10-11 19:04:43 -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 190824e710 gql fixes 2023-10-11 17:13:36 -06:00
noah metz c4de49099b Updated graphiql handler to use authToken() where available 2023-10-10 22:25:12 -06:00
noah metz 0a936f50f8 Set ID and direction of created signals 2023-10-10 19:35:42 -06:00
noah metz 0941c6c64e Added gql_signal.go 2023-10-10 18:25:30 -06:00
noah metz 92d8dfd006 Made status signal printable 2023-10-10 12:53:31 -06:00
noah metz f82bbabc66 Removed extension type from Changes, and made serializable 2023-10-10 11:23:44 -06:00
noah metz 542c5c18af Added code to stop gql server on shutdown 2023-10-08 23:53:38 -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 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 9eadb00397 Added default group policy 2023-10-03 21:18:06 -06:00
noah metz e042384b3f Made fixes for group 2023-10-03 20:14:26 -06:00