Commit Graph

58 Commits

Author SHA1 Message Date
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
Alexis Tyler 79ab6f5439 add enum for VmState and add comments for info array
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-04 16:26:12 +09:30
Alexis Tyler c9642466f8 fix vms/domains returning null and add comment to me type
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-01 14:10:08 +09:30
Alexis Tyler c7f681bc0c add gql tag and fix up vm domains
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-01 13:35:07 +09:30
Alexis Tyler 66fd12cb0e add comments to vm type and add info/array state enum and field
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-07-01 13:11:35 +09:30
Alexis Tyler bfda1a6f00 ensure process title is set and cleanup unused vars
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-06-30 14:24:17 +09:30
Alexis Tyler a27682e09e fix typo
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-06-27 12:23:52 +09:30
Alexis Tyler 4e92dd8d18 add disabled to plugin type
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-06-20 16:05:39 +09:30
Alexis Tyler 2c021ae10e add PluginError, remove unneeded file existance check and move my_servers code to its plugin
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-06-20 15:53:09 +09:30
Alexis Tyler 7daf9b5a8a add better plugin module support
Signed-off-by: Alexis Tyler <xo@wvvw.me>
2019-06-20 14:40:44 +09:30