Commit Graph

111 Commits

Author SHA1 Message Date
Alexis Tyler 7d8d3fc652 fix: shares endpoint 2021-02-12 10:35:27 +10:30
Alexis Tyler 855ba2fc75 chore: lint 2021-01-29 12:03:26 +10:30
Alexis Tyler 4e1b0bd72c chore: lint 2021-01-28 15:45:14 +10:30
Alexis Tyler 71d9178cb5 fix: update ArrayState 2020-12-17 12:25:19 +10:30
Alexis Tyler 716fc0012b fix: add too_many_missing_disks to ArrayState enum 2020-12-15 21:14:17 +10:30
Alexis Tyler 7dcf87cf0b feat: enable os uptime 2020-12-13 00:38:40 +10:30
Alexis Tyler 5b60b642b5 chore: update deps and fix minification breaking class names 2020-12-11 16:12:33 +10:30
Alexis Tyler fe99e9a83b chore: fix copyright header 2020-11-30 19:25:38 +10:30
Alexis Tyler 6af8ff22c7 refactor: cleanup logging and api-manager events 2020-11-20 09:22:30 +10:30
Alexis Tyler 04120e7373 refactor: add core into node-api 2020-11-11 16:13:30 +10:30
Alexis Tyler 291c01ec07 feat: move external plugins into api 2020-11-10 23:37:22 +10:30
Alexis Tyler e099488c24 fix: broken varstate 2020-10-20 11:03:53 +10:30
Alexis Tyler 35002488c3 fix: update info subscription when hostname changes 2020-10-19 18:57:42 +10:30
Alexis Tyler e2aeeb9aa9 fix: docker containers not updating info correctly 2020-10-19 18:23:22 +10:30
Alexis Tyler 72cf07150b fix: servers subscription not having data 2020-10-15 17:06:29 +10:30
Alexis Tyler 8467b2a6c0 refactor: drop node/mutation for subcriptions 2020-10-08 15:57:09 +10:30
Alexis Tyler c01dda69e5 fix: strip error: from array state to fix enum 2020-10-06 08:03:37 +10:30
Alexis Tyler 592d089cad fix: allow graphql-api to boot without data disks 2020-10-06 06:34:47 +10:30
Alexis Tyler a9b4e8524d fix: ensure we re-query the servers endpoint on update 2020-10-04 13:37:21 +10:30
Alexis Tyler d6bf6951c6 fix: servers endpoint not updating when mothership updates 2020-10-02 20:30:00 +09:30
Alexis Tyler 44969dd2a3 fix: add missing enum value 2020-09-30 13:08:26 +09:30
Alexis Tyler 5de9c7a645 fix: servers endpoint now returns correct data 2020-09-19 11:21:05 +09:30
Alexis Tyler a889cb9359 style(console.log): remove extra 2020-09-19 10:10:27 +09:30
Alexis Tyler 62eaf0feee fix: mothership connection, unneeded logging and servers endpoint 2020-09-19 10:05:57 +09:30
Alexis Tyler 65e64c8990 chore: cleanup ws 2020-09-09 09:47:39 +09:30
Alexis Tyler f2ef2daf3a refactor(mothership): switch to new redis backed endpoints 2020-09-09 09:47:39 +09:30
Alexis Tyler 90209a4816 fix(mothership): cleanup reconnection events 2020-08-05 09:54:34 +09:30
Alexis Tyler 7557c55209 chore: add better type coverage and coverage script 2020-07-08 10:55:32 +09:30
Alexis Tyler ce46c63bd0 fix: cleanup servers endpoint 2020-06-18 16:08:33 +09:30
Alexis Tyler 0fd14b701b fix: ensure we have local data for server endpoint fallback 2020-06-18 15:42:03 +09:30
Alexis Tyler ad04ff734b refactor: use correct type for Server 2020-06-08 16:43:11 +09:30
Alexis Tyler 03f3450db6 fix: ensure we only allow permitted access to servers endpoint 2020-06-08 16:41:22 +09:30
Alexis Tyler 59b5242d67 fix(graphql): fix types 2020-06-08 16:26:09 +09:30
Alexis Tyler ff48805da1 fix: misc changes 2020-06-08 16:10:39 +09:30
Alexis Tyler c28282df76 fix: ensure proxy-data is cached correctly 2020-06-06 14:33:02 +09:30
Alexis Tyler 3dc9bd2db7 refactor: cleanedup core importing and added better worker crashing 2020-05-31 12:13:24 +09:30
Alexis Tyler 2a1a4fadc3 refactor(project): add better typing support 2020-01-23 16:20:22 +10:30
Alexis Tyler edc135b4e2 refactor(graphql:schema/resolvers): allow endpoints to always publish 2020-01-11 12:36:40 +10:30
Alexis Tyler ecfd385ade style(lint): remove un-used code 2019-11-25 12:00:05 +10:30
Alexis Tyler 905a8350f7 refactor(module:graphql/schema/resolvers): fix memory leak
remove bottleneck, replace pubsub -> bus for disks, disable bus republish to pubsub and disable me
endpoint
2019-11-25 11:58:14 +10:30
Alexis Tyler beaad40ac7 feat(schema:info/machine-id): added machineId to info 2019-11-10 15:50:46 +10:30
Alexis Tyler cf7b526571 style(module:graphql/schema/resolvers): linted 2019-11-10 11:18:42 +10:30
Alexis Tyler 22ff4c14d1 fix(module:graphql/schema/resolvers): only update when clients connect 2019-11-10 11:14:47 +10:30
Alexis Tyler 6d9b40b010 fix(modules:graphql/schema/resolvers): reduce disks memory usage
Replace pubsub subscription with bus event and change Bottleneck limiter to BLOCK strategy.
2019-11-03 14:43:38 +10:30
Alexis Tyler 89cec355c6 style(module:app/graphql/sceham/resolvers): lint 2019-10-31 17:09:48 +10:30
Alexis Tyler fa6002112d fix(module:graphql/schema/resolvers): fix memory leak
Move setInterval outside of subscribe to prevent memory increasing on each connection.
2019-10-31 17:08:34 +10:30
Alexis Tyler 6d0b07683e improvement(schema:services/service): added version field 2019-10-22 18:20:16 +10:30
Alexis Tyler 3acaf4ba1e chore(lint): linted 2019-10-20 18:12:45 +10:30
Alexis Tyler df3d350ba3 refactor(module:schema/resolvers): switch to event based system 2019-10-20 18:00:18 +10:30
Alexis Tyler 8b1dd10446 fix(module:graphql/schema/resolvers): remove unneeded await
Without the `await` the `subscribe` function can return instantly and just wait for replies on the
returned `asyncIterator`.

BREAKING CHANGE: Reduces CPU usage when on my_servers.
2019-10-17 16:28:11 +10:30