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 |
noah metz
|
f87571edcf
|
Moved test 'WaitForX' functions to a generic function in signal.go that can be used to wait for arbitrary signals
|
2023-07-28 19:32:27 -06:00 |
noah metz
|
5fb1cb6d17
|
Changed node ids to be derived from signing keys
|
2023-07-28 15:07:38 -06:00 |
noah metz
|
b92cebbe74
|
Added message buffer size to node header and NewNode
|
2023-07-28 13:45:14 -06:00 |
noah metz
|
98893de442
|
Added naive locking sequence with short test
|
2023-07-27 18:08:43 -06:00 |
noah metz
|
78c29d2f74
|
Changed context to dynamically load nodes as they're signalled
|
2023-07-27 16:48:39 -06:00 |
noah metz
|
9d31394707
|
Remvoed Node.Signal and replaced with Context.Send
|
2023-07-27 16:13:43 -06:00 |
noah metz
|
3ad969a5ca
|
Switched from thread being the callback engine to node being the callback engine
|
2023-07-27 15:27:14 -06:00 |
noah metz
|
7a7a9c95a3
|
Fixed gql_test.go
|
2023-07-27 12:20:49 -06:00 |
noah metz
|
c62ef57fe7
|
Removed uncessary permission from gql_test
|
2023-07-27 12:04:29 -06:00 |
noah metz
|
544264f06b
|
Cleaned up gql_test by putting the listener extension on gql
|
2023-07-27 12:03:39 -06:00 |
noah metz
|
c34d717b52
|
Cleaned up initialization
|
2023-07-27 11:33:11 -06:00 |
noah metz
|
95a2f46d28
|
Fixed policies in existing test
|
2023-07-27 10:04:39 -06:00 |
noah metz
|
70baca9e9c
|
Added some policies back, and changed the policy check to pass errors instead of booleans
|
2023-07-27 09:32:33 -06:00 |
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
|
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
|
a72124e659
|
Added NodeWithUsers interface to encompass any nodes that have a Users map
|
2023-07-25 00:27:39 -06:00 |
noah metz
|
59df9f04d5
|
Added more policy types, removed tags
|
2023-07-24 22:52:15 -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
|
fa10ccd743
|
Attempt to fix DependencyPolicy
|
2023-07-24 01:41:47 -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
|
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 |
noah metz
|
8fb0cbc982
|
Reworked use/update to require a read/write context be initialized before starting, still need to figure out if brittle locking is the solution to potential deadlock, and implement if so
|
2023-07-23 17:57:47 -06:00 |
noah metz
|
575912d56f
|
Fixed compile errors
|
2023-07-22 21:24:54 -06:00 |
noah metz
|
e347a3f232
|
start maniacal rewrite, main goal is to combine node and lockable to remove any sync mutex deadlocks. Another goal is to make read contexts get copies of the state to ensure they don't modify and no lock is required to ensure no value changes, and write contexts use the lockable locks instead of mutex
|
2023-07-22 20:21:17 -06:00 |
noah metz
|
d4fcd80ff8
|
Added Singleton and Field to simplify GQL definitions
|
2023-07-21 17:49:19 -06:00 |
noah metz
|
767fc0bd3c
|
Updated test to use PerTagPolicy with default gql user tag
|
2023-07-21 13:56:44 -06:00 |
noah metz
|
6cf2d2d957
|
Added SimplePolicy
|
2023-07-21 13:33:04 -06:00 |
noah metz
|
230ff2b883
|
First implementation of policies
|
2023-07-21 12:09:29 -06:00 |
noah metz
|
81e49b505b
|
Moved self-signed certificate creation to NewGQLThread
|
2023-07-21 01:21:53 -06:00 |
noah metz
|
d4fb5a0922
|
Added TLS to GQLThread
|
2023-07-21 01:05:24 -06:00 |
noah metz
|
c3058fbd3d
|
Added more to policy, and updated lockable to use better IDs
|
2023-07-21 00:02:53 -06:00 |
noah metz
|
61fd7d61aa
|
Added policy.go
|
2023-07-20 23:19:10 -06:00 |