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 |
noah metz
|
3cbb6c69e5
|
type name update
|
2023-07-20 22:08:45 -06:00 |
noah metz
|
99d4f18daf
|
Moved user to user.go
|
2023-07-20 22:08:28 -06:00 |
noah metz
|
e50b550cd7
|
Renamed GQLUser to User
|
2023-07-20 22:03:25 -06:00 |
noah metz
|
4dc42a813e
|
GQLUser improvement
|
2023-07-20 00:24:22 -06:00 |
noah metz
|
2fde6ae282
|
Added KDF for shared secret to shared ecdsa key, and added signature to AuthRespJSON
|
2023-07-19 21:28:48 -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
|
6d0925f20f
|
Added signature to auth response
|
2023-07-19 14:50:42 -06:00 |
noah metz
|
84af718071
|
Started to add authentication for GQL endpoint
|
2023-07-19 14:45:05 -06:00 |
noah metz
|
d227331fe8
|
Return error for no auth
|
2023-07-13 18:28:02 -06:00 |
noah metz
|
372c465472
|
gql.go
|
2023-07-13 18:23:57 -06:00 |
noah metz
|
893fb8c4c4
|
require auth for gql
|
2023-07-13 18:21:33 -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
|
a9b40db0de
|
Fixed typo in log
|
2023-07-11 17:22:14 -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
|
ad407ff183
|
Added State to GQL Thread interface
|
2023-07-11 16:24:19 -06:00 |
noah metz
|
89f17b1b45
|
mend
|
2023-07-11 16:20:00 -06:00 |
noah metz
|
e5ba988f01
|
Allow locking of already owned resources, considered nop and continues
|
2023-07-11 16:17:21 -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
|
c30b9d082a
|
Added AGPLv3 LICENSE
|
2023-07-10 22:39:37 -06:00 |
noah metz
|
743569e088
|
Added more doc comments
|
2023-07-10 22:31:43 -06:00 |
noah metz
|
fb7fb5938d
|
Changed NodeDef to use example instead of manually passing string and type
|
2023-07-10 21:24:47 -06:00 |
noah metz
|
e12d02eb3f
|
Cleaned up GQL context
|
2023-07-10 21:15:01 -06:00 |
noah metz
|
a9431ecf73
|
Added db write log
|
2023-07-10 19:04:15 -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
|
7aedf553ee
|
Updated gql.go
|
2023-07-09 19:33:18 -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
|
5c416a4a3f
|
We do a little refactoring, hehe
|
2023-07-09 14:30:30 -06:00 |
noah metz
|
a9d1fe5793
|
moved to ThreadLoop from separate StartThread and RestoreThread functions
|
2023-07-06 16:57:51 -06:00 |
noah metz
|
0e2b6ccb2a
|
enhance tests for race conditions
|
2023-07-05 23:54:11 -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 |
noah metz
|
c42ca80d47
|
Modified SendUpdate to require it to be called from inside a UseStates context.
|
2023-07-04 18:45:23 -06:00 |
noah metz
|
ce831af290
|
last fix
|
2023-07-03 19:46:01 -06:00 |
noah metz
|
a23dfd2b81
|
test
|
2023-07-03 19:38:55 -06:00 |
noah metz
|
dd6b0de414
|
fix
|
2023-07-03 19:37:04 -06:00 |