Commit Graph

290 Commits

Author SHA1 Message Date
Alexis Tyler
97edc3ae1f fix: when relay drops reconnect internally 2021-03-20 01:09:53 +10:30
Alexis Tyler
a5217b6e82 fix: connectionAttempts not being reset properly 2021-03-19 16:55:47 +10:30
Alexis Tyler
99a41df0fb fix: if we lose connection to mothership wait 30s 2021-03-19 15:23:16 +10:30
Alexis Tyler
0090589d49 fix: ensure we allow staging env to override consts 2021-03-19 15:22:23 +10:30
Alexis Tyler
58ebec7d28 fix: ensure we check file system if no API key loaded 2021-03-16 08:45:31 +10:30
Alexis Tyler
73ff386db8 fix: log error not debug on reconnect 2021-03-12 12:56:03 +10:30
Alexis Tyler
f22cec5bc4 log error on reconnect 2021-03-12 12:55:14 +10:30
Alexis Tyler
4429855a6c fix: ensure we're stictly checking the process name 2021-03-12 11:57:08 +10:30
Alexis Tyler
d4dbbc1c65 fix: reorder of loading api-manager and graphql 2021-03-11 23:08:09 +10:30
Alexis Tyler
0ce833bf00 fix: Make sure the process changes to the cwd 2021-03-08 16:51:10 +10:30
Alexis Tyler
391bd24502 fix: use correct cwd 2021-03-08 16:31:37 +10:30
Alexis Tyler
5ccd55a04b fix: ensure cwd is always in the VFS when we daemonize 2021-03-08 16:17:30 +10:30
Alexis Tyler
b7867f66dc fix: move daemonization to process 2021-03-08 15:59:12 +10:30
Alexis Tyler
70d006bb17 fix: throwing error when no processes were found 2021-03-05 17:23:19 +10:30
Alexis Tyler
8c24bcd4d6 fix: cli using wrong path again 2021-03-05 17:18:45 +10:30
Alexis Tyler
66b5f3383d fix: cli loading wrong path for index 2021-03-05 17:18:26 +10:30
Alexis Tyler
c804dcb305 fix: remove uid downgrade on server load 2021-03-05 15:26:52 +10:30
Alexis Tyler
c22ba036cd fix: skip using graphql-tools/load-files as it uses Dirent
See https://github.com/nexe/nexe/issues/872 for more info.

As of this commit Nexe returns strings when it should return Dirent objects.
2021-03-05 15:26:35 +10:30
Alexis Tyler
a812192027 chore: remove unneeded comment 2021-03-05 15:17:14 +10:30
Alexis Tyler
06a6d29101 fix: add missing import 2021-03-05 15:16:11 +10:30
Alexis Tyler
e2aecd1191 fix: use utf8 not utf-8 2021-03-05 15:05:53 +10:30
Alexis Tyler
58abb7e3cf feat: add cli 2021-03-03 14:40:14 +10:30
Alexis Tyler
828cb05223 feat: add owner info 2021-03-03 14:32:33 +10:30
Alexis Tyler
5c05fef5f0 fix: swap readFileSync with promise readFile 2021-03-03 14:32:33 +10:30
Alexis Tyler
c898eebb34 chore: cleanup getHeaders 2021-03-03 14:32:33 +10:30
Alexis Tyler
e942ba6a00 fix: VarState typing of _data field 2021-03-03 14:32:33 +10:30
Alexis Tyler
38eaf56d02 chore(copyright): update header 2021-03-03 14:32:33 +10:30
Alexis Tyler
1d54bd61c2 fix: send correct http status code on invalid key 2021-03-03 14:32:33 +10:30
Alexis Tyler
6ac0b2ed9e feat: add license info 2021-03-03 14:32:33 +10:30
Alexis Tyler
332c791788 feat: get flash info 2021-03-03 14:32:33 +10:30
Alexis Tyler
371e184204 chore: remove upcast 2021-03-03 14:32:33 +10:30
Alexis Tyler
efbe4e7b0e chore: remove upcast 2021-03-03 14:32:33 +10:30
Alexis Tyler
6f210e311b fix: use parseInt instead of upcast 2021-03-03 14:32:33 +10:30
Alexis Tyler
9d97a28a18 fix: parse machine-id correctly 2021-03-03 14:32:33 +10:30
Alexis Tyler
e255f36f63 chore: add logging for connecting with guest 2021-03-01 15:29:09 +10:30
Alexis Tyler
5cf0954ef4 chore: add x-unraid-api-version header to stack 2021-03-01 15:25:33 +10:30
Alexis Tyler
edcc88e45e fix: use the correct logger and move api-manager logger to log file 2021-03-01 15:24:48 +10:30
Alexis Tyler
9d1fb9e0cc fix: use correct logger 2021-03-01 15:24:03 +10:30
Alexis Tyler
2c8a1d6b8c fix: not reconnecting when relay doesn't connect 2021-02-25 10:34:22 +10:30
Alexis Tyler
c16f1ed436 fix: use loop instead of interval 2021-02-22 20:05:15 +10:30
Alexis Tyler
d445373e0e fix: api-manager re/connection issues
fix: loading socket connections at the wrong time
fix: using the wrong key
fix: not using for the internal graphql server to be up before connecting
2021-02-22 20:05:15 +10:30
Alexis Tyler
bfc0afb266 refactor: use relayLogger instead of mothershipLogger 2021-02-22 20:05:15 +10:30
Alexis Tyler
ebda54c89f fix: memory leak in "run" command 2021-02-22 20:05:15 +10:30
Alexis Tyler
139ddd8093 fix: socket not sending message when readyState is 2 or 3 2021-02-22 20:05:15 +10:30
Alexis Tyler
e2f205b032 feat: add "ready" event to api-manager 2021-02-22 20:05:15 +10:30
Alexis Tyler
479f947c6d fix: incorrect name being used in log 2021-02-22 20:05:15 +10:30
Alexis Tyler
613e77dc55 fix: case of api-manager in logger 2021-02-22 20:05:15 +10:30
Alexis Tyler
bc9bfc45d8 fix: print json correctly instead of [Object object] 2021-02-22 20:05:15 +10:30
Alexis Tyler
aeddc5a4fb fix: use const for socket names 2021-02-22 20:05:15 +10:30
Alexis Tyler
f28a931b60 fix: disconnection reason being too long 2021-02-16 23:08:20 +10:30