Commit Graph

607 Commits

Author SHA1 Message Date
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
Alexis
6531d6d59e fix: use exitCode to allow streams to drain on exit 2021-09-10 17:22:23 +09:30
Alexis
7ac1684f19 fix: switch to lib for exit 2021-09-10 17:05:58 +09:30
Alexis
c66f93bda2 fix: move process.exit to child 2021-09-10 16:43:21 +09:30
Alexis
52c51ecd2a fix: logging on good exit 2021-09-10 16:29:08 +09:30
Alexis
fe4d879827 fix: move logging to child.on? 2021-09-10 15:52:13 +09:30
Alexis
0e7b9968b5 fix: remove PRO from ConfigErrorState 2021-09-10 07:58:15 +09:30
Alexis
243de07a41 fix: allow --debug to enable debug logs without NODE_ENV 2021-09-10 07:44:41 +09:30
Alexis
e9779e74f1 fix: move exit message to child_process on successful http listen 2021-09-10 06:21:24 +09:30
Alexis
ce7b3d9624 fix: add configErrorState to graphql 2021-09-10 06:17:07 +09:30
Alexis
65d6541260 fix: use string for anon mode 2021-09-09 08:40:58 +09:30
Alexis
34da448f1e feat: use local server data for /servers when in anon mode 2021-09-09 08:24:16 +09:30
Alexis
eb005e7d58 feat: add support for anonMode 2021-09-09 07:36:12 +09:30
Alexis
7003921178 fix: add message on good exit 2021-09-08 20:49:50 +09:30
Alexis
06e8161fa9 fix: log when API dies 2021-09-08 20:42:16 +09:30
Alexis
a6b1657062 feat: add configErrorState 2021-09-08 20:26:22 +09:30
Alexis
7fa0cb0f3f fix: ensure vms summary is also published to 2021-09-07 16:43:31 +09:30
Alexis
6340967458 fix: publish registation event on key file update 2021-09-07 16:22:24 +09:30
Alexis
f60cb1a9f5 fix: invalid is not no/yes. 2021-09-07 13:55:52 +09:30
Alexis
db05990353 Revert "fix: ensure we catch non errors for libvirt"
This reverts commit e360acf2d1.
2021-09-07 13:46:23 +09:30
Alexis
1af92831f3 Revert "feat: commonjs -> esm"
This reverts commit 632a9d1538.
2021-09-07 13:46:23 +09:30
Alexis
31c70a6cc0 Revert "chore: lint"
This reverts commit 52b9670c82.
2021-09-07 13:46:23 +09:30
Alexis
64b1fbf3b6 Revert "chore: add eslint plugin:unicorn/recommended"
This reverts commit c93799a014.
2021-09-07 13:46:23 +09:30