Commit Graph

283 Commits (3ce1e3ad91f269619a2be0c2e98934fc96c63ddc)
 

Author SHA1 Message Date
noah metz 3e983cfece Changed to SignalChannel 2023-06-18 19:18:11 -06:00
noah metz d8318a0a85 Added GetUpdate method to GraphNode 2023-06-18 19:16:11 -06:00
noah metz 30b539ad74 Renamed update to PropagateUpdate 2023-06-18 19:14:07 -06:00
noah metz 4f7d172731 Added Update method to GraphNode 2023-06-18 19:11:10 -06:00
noah metz c70e4a4f32 Un-exported event and resource fields 2023-06-18 19:08:33 -06:00
noah metz ca038062a7 Exported event and resource fields 2023-06-18 19:04:21 -06:00
noah metz a2a4628855 exported manager root event 2023-06-18 18:56:14 -06:00
noah metz 01cd32e70d Exported logger fields 2023-06-18 18:54:06 -06:00
noah metz 8b4b9b9ba0 removed test log facility 2023-06-18 18:52:29 -06:00
noah metz 52f77cc186 Pass log types to logger on creation 2023-06-18 18:50:34 -06:00
noah metz 1d2047eee2 Changed graph_tester to GraphTester 2023-06-18 18:39:52 -06:00
noah metz d2e3163806 Fixed package name 2023-06-18 18:33:17 -06:00
noah metz 8b7eb57673 Removed vex files and changed package name 2023-06-18 18:26:13 -06:00
noah metz 105de0509c Updated SetMatchState to make a downwards signal 2023-06-18 18:15:06 -06:00
noah metz 66e6c4263c Refactored GraphSignal to remove pointers and updated update path 2023-06-18 18:11:59 -06:00
noah metz 23fbdc74a0 fix 2023-06-16 19:19:05 -06:00
noah metz 8e0bb14f40 Buttons to control game state 2023-06-16 18:50:19 -06:00
noah metz d5c1340555 Update test page 2023-06-16 18:29:38 -06:00
noah metz bd9edb19ee Added subscription to arena 2023-06-16 18:27:03 -06:00
noah metz 6715bcbf01 More buttons 2023-06-16 17:45:10 -06:00
noah metz 353b54757d Button finally transisitons game over GQL 2023-06-16 17:42:49 -06:00
noah metz 76cea43d9b Made subscription a bit more robust 2023-06-16 17:20:16 -06:00
noah metz bfcf06b190 Added basic ws subscription 2023-06-16 16:53:29 -06:00
noah metz 5f5916010d Remove contents of h1 tag, and print random active game id to console 2023-06-16 02:20:54 -06:00
noah metz ed5403b8ec Added empty else to GQLHandler websocket loop 2023-06-16 02:20:07 -06:00
noah metz 7a1e11c1f2 Better logging for gqlws, and added test-site 2023-06-16 01:59:01 -06:00
noah metz 9eb4d7f699 Added basic subscription(never updates data, only pings. Having issue with test-site since it continuously opens websockets without reporting an issue. 2023-06-16 01:46:15 -06:00
noah metz 4d26ed73dd Updated GQL to have node interface and type, and resource to have owner property that returns this 2023-06-13 15:29:23 -06:00
noah metz 4a6edade74 Fixed GQLVexQueryArenas 2023-06-13 14:23:33 -06:00
noah metz d5954d2860 Updated GQL, fixed manager, and added queries/mutations 2023-06-13 14:10:59 -06:00
noah metz 230f4a88eb Added control state and game state to Match graphql 2023-06-08 16:48:28 -06:00
noah metz be2e227a1d Added updateEvent to event tree and tested cancelling the event over graphql 2023-06-08 16:41:51 -06:00
noah metz fd144eea02 Added arena to gql 2023-06-08 00:36:16 -06:00
noah metz 9e2ca6907a Added team and alliances to gql_vex.go 2023-06-08 00:19:55 -06:00
noah metz 77eb76bc9c Added vex match as module for gql node 2023-06-07 23:01:06 -06:00
noah metz a403ea82cb Moved gql node to own file 2023-06-07 22:46:42 -06:00
noah metz 531676c5c3 Fixed bug and typo 2023-06-07 22:38:02 -06:00
noah metz 592bf387f4 Moved gql types to functions 2023-06-07 22:30:06 -06:00
noah metz a42104883c Moved from relay to custom handler with context for gql 2023-06-07 21:59:56 -06:00
noah metz 34cc51d4c8 Added basic gql handler 2023-06-07 20:51:53 -06:00
noah metz 8284c77cfe Added abort on syscall signals 2023-06-07 16:27:45 -06:00
noah metz 75d0eb0396 Created GQL resource which will act as a graphql server for the attached node and all nodes under it 2023-06-07 00:36:40 -06:00
noah metz 2d31daa916 Made cancel and abort handlers instead of abort being a special signal type 2023-06-06 23:04:49 -06:00
noah metz 3605e3ee37 Added graphql library 2023-06-06 20:01:44 -06:00
noah metz 7e8045ce39 Renamd Resource.Connect to Resource.Init 2023-06-06 16:53:33 -06:00
noah metz bfd295b3db Memory and CPU profiling 2023-06-04 17:23:49 -06:00
noah metz cdc682f844 mend 2023-06-04 14:15:26 -06:00
noah metz a34df43d35 Updated main.go to have 2 divisions in an event, and fixed event.go to check child.Parent() instead of event.Parent() 2023-06-04 14:15:01 -06:00
noah metz 00abdc8b1c Moved logging to a global object that's initialized on first log call 2023-06-04 13:18:10 -06:00
noah metz 0f92de1619 Moved wait action to a closure generator instead of using a non-pointer closure that didn't pickup any event changes 2023-06-03 23:49:25 -06:00