Commit Graph

129 Commits

Author SHA1 Message Date
Alexis Tyler 15daa2e8db chore: switch to custom fork of libvirt 2021-05-27 22:09:09 +09:30
Alexis Tyler d19eb80f14 fix: imports 2021-05-27 16:19:03 +09:30
Alexis Tyler 36a1f58632 fix: switch libvirt libs 2021-05-27 14:44:29 +09:30
Alexis Tyler 3ac1fdb8f9 fix: only emit key expired event if the key just expired 2021-05-27 13:16:23 +09:30
Alexis Tyler d6d1ca77f1 chore: add debug log for owner endpoint 2021-05-27 12:23:29 +09:30
Alexis Tyler 9a41a3d79a fix: return null is owner is signed out of myservers 2021-05-27 09:10:41 +09:30
Alexis Tyler 17af8a64c3 chore: add log when serializing MyServers config file 2021-05-20 09:37:45 +09:30
Alexis Tyler 17c9f6e09b fix: add quotes to serialized upc 2021-05-20 09:15:11 +09:30
Alexis Tyler 9ac16c8086 fix: keep quotes when serializing upc key 2021-05-20 08:32:44 +09:30
Alexis Tyler b98083c112 Revert "fix: add 'servers' permission to my_servers key"
This reverts commit 715f94ab98.
2021-05-19 05:55:35 +09:30
Alexis Tyler 715f94ab98 fix: add 'servers' permission to my_servers key 2021-05-19 05:53:48 +09:30
Alexis Tyler 26ddc520ed fix: use service account for internal user and fix root permissions 2021-05-18 15:41:34 +09:30
Alexis Tyler bd1cbb566d fix: wrong import 2021-05-18 15:06:48 +09:30
Alexis Tyler 81e064da4e fix: add permission to admin role 2021-05-18 14:58:56 +09:30
Alexis Tyler 62f652da39 chore: lint 2021-05-18 14:47:24 +09:30
Alexis Tyler 019c94fa6e refactor: move my servers mothership permissions to own role 2021-05-18 14:22:48 +09:30
Alexis Tyler c7e80d1829 chore: update copyright header 2021-05-18 14:21:46 +09:30
Alexis Tyler 34a03354bf fix: preserve quotes when saving my servers config file 2021-05-18 14:08:25 +09:30
Alexis Tyler 1218f9f950 fix: use -1 for service account ids 2021-05-17 15:02:14 +09:30
Alexis Tyler ba13ff94bf fix: allow upc keys to access display endpoint 2021-05-17 12:08:07 +09:30
Alexis Tyler b97e2f5bf6 fix: add en_US as fallback for display.locale 2021-05-17 11:24:34 +09:30
Alexis Tyler 98432a4059 fix: use display.locale not display for locale value 2021-05-17 11:12:14 +09:30
Alexis Tyler 2c6d9f92fa fix: append upc key to cfg instead of rewriting whole file 2021-05-15 07:10:48 +09:30
Alexis Tyler 97042a8bed fix: don't throw when machine-id is missing 2021-05-14 09:59:28 +09:30
Alexis Tyler a15f3c8c82 fix: get machine id should not be fatal 2021-05-14 08:37:37 +09:30
Alexis Tyler 69432bd3d9 refactor: change my-servers and unraid-api base paths 2021-05-13 13:08:43 +09:30
Alexis Tyler f821c0e258 fix: add other endpoints to upc permissions 2021-05-12 09:32:11 +09:30
Alexis Tyler d8c67b36c0 fix: add upc permissions 2021-05-12 08:32:01 +09:30
Alexis Tyler 5b9299c20b fix: grants[role] is undefined 2021-05-12 08:16:56 +09:30
Alexis Tyler a7fb0dfba1 fix: add upc key to api-manager on load not only when it's missing 2021-05-12 08:13:11 +09:30
Alexis Tyler a5a006d6b1 chore: add more logging on api key validation 2021-05-12 08:11:00 +09:30
Alexis Tyler 0524c2eb80 fix: non user accounts throwing null for id/description and disable silly logging by default 2021-05-12 08:02:50 +09:30
Alexis Tyler e93ae30032 chore: ignore invalid lint errors 2021-05-12 07:49:38 +09:30
Alexis Tyler 5917dcb17d fix: @typescript-eslint/comma-dangle 2021-05-12 07:29:20 +09:30
Alexis Tyler 3f9c083d3d fix: add logs for invalid api key 2021-05-12 07:26:47 +09:30
Alexis Tyler 70d079b05e fix: ensure upc api key is only 64 chars 2021-05-06 20:01:02 +09:30
Alexis Tyler db1274d0ca fix: set upc as well 2021-05-06 19:42:02 +09:30
Alexis Tyler 44d90135a9 fix: cfg file not being updated correct with upc api key 2021-05-06 19:35:16 +09:30
Alexis Tyler cb87d336b7 fix: upc apikey path 2021-05-06 19:25:53 +09:30
Alexis Tyler 864d1b28b7 feat: add upc api key 2021-05-06 19:16:34 +09:30
Alexis Tyler f9eac11ff6 fix: use new data from bus watcher 2021-05-03 20:02:25 +09:30
Alexis Tyler 41197a63b2 fix: use new data from bus watcher 2021-05-03 19:48:40 +09:30
Alexis Tyler c30c2a8972 fix: use correct event name for var state and simplify registation watcher 2021-05-03 19:26:59 +09:30
Alexis Tyler 20847ddd15 fix: typo, remove dirname 2021-05-03 19:08:06 +09:30
Alexis Tyler 3cff71f3d1 fix: keyDirectory being empty on startup 2021-05-03 19:03:08 +09:30
Alexis Tyler a6a32ef673 fix: rework registation watcher 2021-05-03 18:55:49 +09:30
Alexis Tyler 911ae77011 fix: ensure processChange has new varState values 2021-05-03 18:39:36 +09:30
Alexis Tyler 1263b9b52d fix: always use varState for regFile path 2021-05-03 18:24:28 +09:30
Alexis Tyler 141f83d6cb fix: ensure we wait for file to finish being written before emitting event 2021-05-03 15:52:25 +09:30
Alexis Tyler 03fe6c082e fix: wait 100ms before returning the registation state incase varState is in flight 2021-05-03 15:47:22 +09:30