Commit Graph

524 Commits (646e6592f0ae6e93cb0ca5eab70363f18b846ab4)
 

Author SHA1 Message Date
noah metz 4fa88dc056 Changed SendUpdate to Node.Process, and changed principal to ID to prepare for decoupling nodes 2023-07-27 01:30:32 -06:00
noah metz 81c2e11304 Renamed SendSignal to Node.Process 2023-07-27 01:15:53 -06:00
noah metz cc807b3982 Added helper function to create base gql server 2023-07-27 00:57:18 -06:00
noah metz 186123ce01 Added SimpleListenerNode to test suite 2023-07-27 00:30:24 -06:00
noah metz 494d212051 Simplified gql node/interface creation with helper functions 2023-07-26 23:57:50 -06:00
noah metz 34082630b2 Added default schema back without crashing 2023-07-26 20:26:41 -06:00
noah metz 294bcfb518 Re-added all files after rework, still need to add more complex tests 2023-07-26 15:52:40 -06:00
noah metz 89c8fba39b Added RequirementOfPolicy and thread extension child loading 2023-07-26 15:40:33 -06:00
noah metz d2f3daf5a6 Changed NewNode to return a pointer and add the node to the context 2023-07-26 15:08:14 -06:00
noah metz 755edf8558 Added ParentOfPolicy and ChildOfPolicy 2023-07-26 13:28:03 -06:00
noah metz fa6142d880 Started adding back gql tests 2023-07-26 11:56:10 -06:00
noah metz c4156ee146 Added basic test that loads node with only acl extension 2023-07-26 00:42:12 -06:00
noah metz f1c0f1e7de Added gql to the rework 2023-07-26 00:18:11 -06:00
noah metz ff813d6c2b Moved from inheritance to extensions 2023-07-25 21:43:15 -06:00
noah metz b3f6ea67c9 Added Group node 2023-07-25 09:51:55 -06:00
noah metz 4e69ba19f6 Added UserOfPolicy to context 2023-07-25 09:31:57 -06:00
noah metz 54e25ba602 Added attempt at UserOfPolicy 2023-07-25 00:57:54 -06:00
noah metz 89b082fc8e Cleaned up policy.go and added start of UserOfPolicy(need to finish allows) 2023-07-25 00:50:26 -06:00
noah metz a72124e659 Added NodeWithUsers interface to encompass any nodes that have a Users map 2023-07-25 00:27:39 -06:00
noah metz a2395189a8 Added LoadJSONNode to abstract out repeated json unmarshaling 2023-07-25 00:19:39 -06:00
noah metz 59df9f04d5 Added more policy types, removed tags 2023-07-24 22:52:15 -06:00
noah metz f118dde221 Add policies to write context 2023-07-24 20:45:07 -06:00
noah metz 6a2ed50578 Fixed thread reference to node references in thread.go 2023-07-24 20:41:58 -06:00
noah metz cfc1048007 fix 2 electric boogaloo 2023-07-24 20:37:41 -06:00
noah metz 264f31ad9a fix 2023-07-24 20:34:29 -06:00
noah metz 5c3a14bdbd fix 2023-07-24 20:27:02 -06:00
noah metz bd9e0a6d6f fix 2023-07-24 20:24:17 -06:00
noah metz 8c12eae3a7 fix 2023-07-24 20:21:14 -06:00
noah metz 8e191543d6 Added ClearActionQueue 2023-07-24 19:00:44 -06:00
noah metz 24285ba5da Fix 2023-07-24 18:47:24 -06:00
noah metz 42fcbc240a Added logging 2023-07-24 18:44:09 -06:00
noah metz c014ceb12c Fixed action queue 2023-07-24 18:42:51 -06:00
noah metz aa960b9420 Added started signal to ThreadStart 2023-07-24 18:39:33 -06:00
noah metz cf35d8a86d Added PolicyMap 2023-07-24 18:04:16 -06:00
noah metz 3fa550ab29 reworked thread to use queue instead of single action 2023-07-24 17:49:26 -06:00
noah metz 2e77b811d5 Add policies to get tests to pass 2023-07-24 17:17:12 -06:00
noah metz 7d04923b3b Fixed interface conversion panics 2023-07-24 17:07:27 -06:00
noah metz fc2e36043f Tests compile and run 2023-07-24 16:04:56 -06:00
noah metz 201ee7234b Remove policies read requirement to signal 2023-07-24 01:48:03 -06:00
noah metz fa10ccd743 Attempt to fix DependencyPolicy 2023-07-24 01:41:47 -06:00
noah metz c64dd728ed fix 2023-07-24 01:22:43 -06:00
noah metz 3ce1e3ad91 Added DependencyPolicy 2023-07-24 01:12:30 -06:00
noah metz a97b47af1b fix 2023-07-23 23:55:32 -06:00
noah metz 8d94e04b07 Fixed lockable lock permissions 2023-07-23 23:54:05 -06:00
noah metz fc6c198ae3 Moved gql thread actions/handlers to module functions 2023-07-23 23:01:45 -06:00
noah metz 32ac1f618d Added fixed resource/action order in Node.Allowed, added ACL check when signaling, nodes must have signal.{type} permission to send a signal of {type} to a node 2023-07-23 21:17:31 -06:00
noah metz dfa420757b Moved status signals to StatusSignal type with status string as type, so they can be ACLd 2023-07-23 21:14:15 -06:00
noah metz d56245c5cf Added ExtractList to extract list of type from ResolveParams 2023-07-23 20:27:37 -06:00
noah metz 63fb5e3187 Fixed AuthHandler to not require write permission on user 2023-07-23 19:46:18 -06:00
noah metz 054fe3c0ec Fixed starting of gql server to correctly start children that should start 2023-07-23 19:04:04 -06:00