Commit Graph

67 Commits

Author SHA1 Message Date
Alexis Tyler
882dbbf5cc ensure info/apps is published to when docker events happen
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-09-01 09:56:50 +09:30
Alexis Tyler
012ea1a730 remove websocket from clients when socket closes and switch info subscription to basic handler for now
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-31 13:51:29 +09:30
Alexis Tyler
f3fd17597f add log for ws dis/connect and fix publish for non-plugin modules
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-25 16:44:15 +09:30
Alexis Tyler
a1c81a1768 fix info subscriptions and add pluginModule subscription
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-25 15:52:26 +09:30
Alexis Tyler
e33a262e6a cleanup graphql warnings
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-23 08:38:06 +09:30
Alexis Tyler
be6941d304 change id(String->IDadd HOF to create basic subscriptions and fixed server listening to httpServer instead of stoppable wrapper
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-19 15:42:32 +09:30
Alexis Tyler
5de4b1293b add module timer and add services/array to subscriptions
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-19 11:41:43 +09:30
Alexis Tyler
49276acab9 replace @container with resolvers
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-18 13:17:01 +09:30
Alexis Tyler
1729c4e4d9 add pubsub to info
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-18 11:23:36 +09:30
Alexis Tyler
ade0e65bcd remove welcome subscription and start adding subscriptions for queries
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-17 15:52:50 +09:30
Alexis Tyler
8785ec0724 add me subscription
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-17 15:40:29 +09:30
Alexis Tyler
09cf2cd4ff update @unraid/core and move pubsub to core
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-17 14:13:49 +09:30
Alexis Tyler
ddc8c3643e add welcome, ping and users subscriptions
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-17 13:33:29 +09:30
Alexis Tyler
3ad0ae0756 add base times to startPing
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-17 12:22:41 +09:30
Alexis Tyler
060aa06170 add graphql subscriptions
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-17 12:20:18 +09:30
Alexis Tyler
2339a5d4d3 swap copyright headers
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-11 17:14:09 +09:30
Alexis Tyler
8ae8c83a0b add updateApiKey mutation
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-11 14:33:24 +09:30
Alexis Tyler
ebe86659e5 start on loading types from jsdocs
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-10 15:10:02 +09:30
Alexis Tyler
761d343cc1 fix core env not working
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-10 15:09:44 +09:30
Alexis Tyler
5ebb57aeb4 update deps
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-09 15:20:26 +09:30
Alexis Tyler
dc002d3238 rename scopes -> permissions
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-05 18:36:45 +09:30
Alexis Tyler
e10564d4ed cleanup deps, add welcome type and query for guests, add debug defs, cleanup plugin/module naming, add access controll and add guest user + role
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-02 14:46:38 +09:30
Alexis Tyler
d634c2d4d1 update user schema and add me
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-02 14:42:36 +09:30
Alexis Tyler
4e13ab9f60 add scopes schema
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-02 14:41:33 +09:30
Alexis Tyler
4137646f28 add apiKey schema
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-08-02 14:41:18 +09:30
Alexis Tyler
dcb2281d02 add network share descriptions and removed old array
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-22 13:49:50 +09:30
Alexis Tyler
0ff1e5d57e add more array and disk descriptions
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-21 14:25:21 +09:30
Alexis Tyler
3515b84954 add info/display module
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-18 14:47:15 +09:30
Alexis Tyler
d5054bad09 fix Partity -> Parity typo
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-15 16:16:12 +09:30
Alexis Tyler
aa9912329b add more descriptions and update parity check name
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-15 16:10:00 +09:30
Alexis Tyler
848829d5e7 remove extra double quote
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-15 16:00:53 +09:30
Alexis Tyler
41367acfef fix type -> enum typo
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-15 15:56:53 +09:30
Alexis Tyler
674631a31b fix unterminated string
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-15 15:53:18 +09:30
Alexis Tyler
1ec0115ec5 add pause and resume to parity check and updated descriptions
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-15 15:50:47 +09:30
Alexis Tyler
816ba612cd add shutdown/reboot mutation
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-15 14:55:06 +09:30
Alexis Tyler
a0470c16e1 ensure array mutations return array, add arrayPendingState and clearDiskStatistics
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-15 14:35:34 +09:30
Alexis Tyler
9f0f0f32bf remove union
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-14 15:10:19 +09:30
Alexis Tyler
7d90e011ef add addDiskToArray, removeDiskFromArray, mountDisk and unmountDisk and updated @unraid\core
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-12 16:41:31 +09:30
Alexis Tyler
4b6884685d rename disks -> id param
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-12 15:11:45 +09:30
Alexis Tyler
a4d1582c8e move disks to own graphql dir/file
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-12 15:09:08 +09:30
Alexis Tyler
f21a00fc11 ensure we rethrow module errors correctly
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-12 12:40:49 +09:30
Alexis Tyler
528a1d8cb4 add array parity types and array disk types
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-12 12:40:21 +09:30
Alexis Tyler
f6b7fc7d5b add vm networks and array, cleanup other graphql code
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-09 16:30:18 +09:30
Alexis Tyler
74d301d410 linting
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-09 16:29:22 +09:30
Alexis Tyler
90755543d1 add description for user/password
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-09 14:08:32 +09:30
Alexis Tyler
25e194fb40 add users input and start query with slim=false
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-09 14:08:11 +09:30
Alexis Tyler
d29cd7a03a add debug types and fixed input going to the correct input type
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-07 17:21:39 +09:30
Alexis Tyler
d2522c574c code cleanup
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-07 16:12:00 +09:30
Alexis Tyler
c6a9254e33 add startArray/stopArray mutations and docker queries/types
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-07 11:58:19 +09:30
Alexis Tyler
aee000a01e general cleanup and started adding mutations
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-04 16:41:48 +09:30