629 Commits

Author SHA1 Message Date
Alexis
a192605d5c fix: kill all old processes before starting 2021-09-30 16:37:37 +09:30
Alexis
803f7cb9e8 chore: pass env and args through from supervisor 2021-09-30 16:32:35 +09:30
Alexis
d227905999 chore: cleanup supervisor 2021-09-30 16:22:56 +09:30
Alexis
9b95cfc543 fix: ensure we always kill orphaned unraid-api processes 2021-09-30 12:53:58 +09:30
Alexis
66c4ad0e03 chore: cleanup nexe build for supervisor 2021-09-30 09:37:42 +09:30
Alexis
f21d54b533 chore: ensure package.json is included in build 2021-09-29 19:57:21 +09:30
Alexis
c092890544 chore: try and slim build 2021-09-29 19:22:12 +09:30
Alexis
5ed2d619f6 fix: use new bin directory for OS 2021-09-29 15:15:20 +09:30
Alexis
467f74cd52 chore: fix typo 2021-09-29 15:12:53 +09:30
Alexis
526efe6cae fix: ensure we get the correct path 2021-09-29 15:06:58 +09:30
Alexis
42051849d7 feat: add supervisor 2021-09-29 14:49:42 +09:30
Alexis
7d24bd24c5 fix: code->token and increase 2FA length to 64 chars 2021-09-24 04:13:20 +09:30
Alexis
5d40bd624f feat: add 2fa support 2021-09-23 15:32:16 +09:30
Alexis
bcdb044cc9 fix: allow TRAIL to be a registrationType 2021-09-23 09:23:55 +09:30
Alexis
f0dd46be9b fix: allow trial as regTy value 2021-09-23 08:39:38 +09:30
Alexis
f260b7b3d6 fix: crashReporting crashing when false 2021-09-23 06:21:11 +09:30
Alexis
930cb17848 fix: pre-fill user server cache on start 2021-09-20 14:10:19 +09:30
Alexis
d6d1f3cf4a fix: ensure myServerConfig is never undefined 2021-09-16 08:35:04 +09:30
Alexis
537a8fdd35 fix: make imported file partial 2021-09-16 08:09:20 +09:30
Alexis
b42be96b30 fix: use readyState instead of bool 2021-09-16 08:04:19 +09:30
Alexis
c2b2057a15 fix: log on NCHAN disconnect 2021-09-16 07:51:35 +09:30
Alexis
b1ee34af50 fix: remove allowRetry 2021-09-16 07:43:39 +09:30
Alexis
3a38e3bade fix: add allowRetry for relay socket 2021-09-15 18:14:17 +09:30
Alexis
ea5bf9aeba fix: make sure lastKnownKey is updated correctly 2021-09-15 16:03:14 +09:30
Alexis
346722b2d0 fix: ensure we're only reconnecting one connection 2021-09-15 15:41:47 +09:30
Alexis
250d65187a fix: do a full reconnect to internal and relay 2021-09-15 15:20:27 +09:30
Alexis
3d16b27738 fix: not logging exception 2021-09-15 14:58:17 +09:30
Alexis
809ec5e460 fix: always reconnect to relay 2021-09-15 14:40:32 +09:30
Alexis
e40c892cfd fix: ensure we don't throw an error in an event callback 2021-09-15 13:21:06 +09:30
Alexis
2e15e98eb1 fix: bail on undefined in checkKey function 2021-09-15 13:19:10 +09:30
Alexis
e5de6de30d fix: log on CTRL+C exit 2021-09-15 09:46:02 +09:30
Alexis
a2f0e4c61f fix: log key on check 2021-09-15 09:20:04 +09:30
Alexis
ddff2b4f3d fix: add better nchan logging 2021-09-15 08:28:05 +09:30
Alexis
23a1e894a6 fix: ensure relay connects even if the socket exists 2021-09-15 08:26:13 +09:30
Alexis
9680679dfd fix: supress 'Key found for %s' messages 2021-09-15 07:57:40 +09:30
Alexis
5074e2d0f7 fix: improve CORS logs 2021-09-15 07:55:40 +09:30
Alexis
d131479e98 fix: connecting to relay for the first time 2021-09-15 07:51:11 +09:30
Alexis
669850067e fix: use internal method for reconnection 2021-09-14 15:45:27 +09:30
Alexis
fc2b27c8da fix: reorder reconnection logic 2021-09-14 15:27:26 +09:30
Alexis
03b172defc fix: better logging on RELAY:RECONNECTION 2021-09-14 14:41:07 +09:30
Alexis
5ccb049787 fix: not logging anything on unraid-api start 2021-09-14 14:05:35 +09:30
Alexis
8c162548a8 fix: connect to relay on new API key from undefined 2021-09-14 08:30:14 +09:30
Alexis
69e7645825 fix: ensure parent process doesn't inherit child's stdio 2021-09-14 07:11:50 +09:30
Alexis
44457727e9 fix: add space between logger and flag 2021-09-13 14:23:58 +09:30
Alexis
4f889c08fe chore: switch to execa for logger output 2021-09-13 14:16:53 +09:30
Alexis
0ada10ab3d fix: missing fn name 2021-09-13 13:55:51 +09:30
Alexis
35b5356e3b fix: use logger tags 2021-09-13 13:31:48 +09:30
Alexis
11db1b5fc4 chore: change text of exit messages 2021-09-13 13:29:55 +09:30
Alexis
b832214222 fix: use logger for syslog messages 2021-09-13 13:23:26 +09:30
Alexis
33a8189a15 fix: hook process.exit in child BEFORE loading index 2021-09-13 12:44:34 +09:30