noah metz
|
7a7a9c95a3
|
Fixed gql_test.go
|
2023-07-27 12:20:49 -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
|
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
|
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
|
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
|
a2395189a8
|
Added LoadJSONNode to abstract out repeated json unmarshaling
|
2023-07-25 00:19:39 -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
|
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
|
3fa550ab29
|
reworked thread to use queue instead of single action
|
2023-07-24 17:49:26 -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
|
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
|
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
|
000d369251
|
Moved ThreadStartChild to graphvent
|
2023-07-21 14:05:39 -06:00 |
noah metz
|
7435728321
|
Fixed thread.go
|
2023-07-21 00:06:11 -06:00 |
noah metz
|
4dc42a813e
|
GQLUser improvement
|
2023-07-20 00:24:22 -06:00 |
noah metz
|
374fd6e487
|
Changed NodeID from string to UUID, filled in more auth
|
2023-07-19 20:03:13 -06:00 |
noah metz
|
5d23646cd5
|
Make restore use interface instead of struct
|
2023-07-12 22:31:13 -06:00 |
noah metz
|
ddc3528538
|
Clear timeout_action when clearing timeout on thread
|
2023-07-12 21:12:29 -06:00 |
noah metz
|
1fbfdf3b8c
|
Added more logging to ThreadRestore
|
2023-07-11 17:16:51 -06:00 |
noah metz
|
f64455f8ed
|
Moved GQL restore to ThreadRestore to be reused by other classes. And GQLThreadInfo to ParentThreadInfo
|
2023-07-11 16:54:09 -06:00 |
noah metz
|
6c38089aee
|
Improved handling of nil ThreadInfo
|
2023-07-11 16:39:47 -06:00 |
noah metz
|
88d8113b5c
|
Added AllowedToTakeLock to SimpleThread that allows children to inherit locks
|
2023-07-11 16:13:57 -06:00 |
noah metz
|
7a95af6db2
|
Added nil check to deserializeinfo
|
2023-07-11 00:23:07 -06:00 |
noah metz
|
743569e088
|
Added more doc comments
|
2023-07-10 22:31:43 -06:00 |
noah metz
|
14b084b081
|
Fixed always initializing timeout on thread load. TODO: look at why loading it on thread load was causing the aborted event to not be sent
|
2023-07-10 01:07:56 -06:00 |
noah metz
|
6a0a0762ad
|
Finished rework of context
|
2023-07-09 20:30:19 -06:00 |
noah metz
|
269e7a57e2
|
Added correct Type for simple_thread
|
2023-07-09 16:03:42 -06:00 |
noah metz
|
b846bbb812
|
Updated thread.go and thread_test.go
|
2023-07-09 15:59:41 -06:00 |
noah metz
|
a9d1fe5793
|
moved to ThreadLoop from separate StartThread and RestoreThread functions
|
2023-07-06 16:57:51 -06:00 |
noah metz
|
ff46af585d
|
Added fixes to pass go vet
|
2023-07-05 14:50:21 -06:00 |
noah metz
|
a7f721e0cd
|
Allow loading of nil thread_info
|
2023-07-04 19:46:14 -06:00 |