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 |
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
|
76512afd4e
|
First pass of gql read permission
|
2023-07-21 19:16:30 -06:00 |
noah metz
|
97815c86ff
|
Added GetResolveContext
|
2023-07-21 18:51:42 -06:00 |
noah metz
|
6d6effadec
|
Removed types from context
|
2023-07-21 18:18:26 -06:00 |
noah metz
|
e59b4f57fd
|
fixed user TypeOf
|
2023-07-21 18:09:13 -06:00 |
noah metz
|
e51e823b19
|
Fixed default thread fields
|
2023-07-21 18:07:49 -06:00 |
noah metz
|
f09a1db2d4
|
Moved common graphql fields to functions instead of redefining every definition
|
2023-07-21 18:06:53 -06:00 |
noah metz
|
3b35885c90
|
Fix
|
2023-07-21 17:50:43 -06:00 |
noah metz
|
d4fcd80ff8
|
Added Singleton and Field to simplify GQL definitions
|
2023-07-21 17:49:19 -06:00 |
noah metz
|
551370e541
|
Split gql_graph.go to gql_*.go
|
2023-07-21 15:16:35 -06:00 |
noah metz
|
0428645be3
|
Added ExtractParam and ExtractID
|
2023-07-21 14:28:53 -06:00 |
noah metz
|
000d369251
|
Moved ThreadStartChild to graphvent
|
2023-07-21 14:05:39 -06:00 |
noah metz
|
76af80e2f8
|
Fixed mutation names
|
2023-07-21 14:00:45 -06:00 |
noah metz
|
d3f435351c
|
Moved StartChild mutation to graphvent
|
2023-07-21 13:59:52 -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
|
34549f471a
|
Added PerTagPolicy
|
2023-07-21 13:55:27 -06:00 |
noah metz
|
6bd009b43e
|
Changed ACL to get passed entire node attempting action instead of just ID
|
2023-07-21 13:34:47 -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
|
2c1c75572e
|
Added save/load to tls state
|
2023-07-21 01:11:59 -06:00 |
noah metz
|
cf248ee5b0
|
Add write to user when updating server
|
2023-07-21 01:06:38 -06:00 |
noah metz
|
d4fb5a0922
|
Added TLS to GQLThread
|
2023-07-21 01:05:24 -06:00 |
noah metz
|
7435728321
|
Fixed thread.go
|
2023-07-21 00:06:11 -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 |
noah metz
|
a88c704c57
|
Added Users query to GQLThread
|
2023-07-20 22:17:45 -06:00 |