Commit Graph

440 Commits

Author SHA1 Message Date
Alexis Tyler ee21f0b2ec fix: use 401 when disconnecting for invalid api key 2021-06-01 17:46:30 +09:30
Alexis Tyler ad750f5753 fix: try disconnecting/reconnect to relay from watcher 2021-06-01 17:41:59 +09:30
Alexis Tyler d537c6ee8b fix: reconnect to mothership's subcription endpoint on key change 2021-06-01 17:21:34 +09:30
Alexis Tyler 2048d61a27 fix: ensure API key shouldnt care if my_servers exists 2021-06-01 17:18:10 +09:30
Alexis Tyler ff6bf141db fix: add logging to switch-env 2021-06-01 16:46:15 +09:30
Alexis Tyler 3acb9a3f7f fix: convert libvirt code to new library 2021-06-01 15:09:25 +09:30
Alexis Tyler 4c72ffac19 fix: dynamically get the current environment 2021-06-01 13:59:01 +09:30
Alexis Tyler ef7861691c fix: return local server if no my_server key exists 2021-06-01 13:47:29 +09:30
Alexis Tyler 64e2a51ffe chore: log key found for ownere endpoint 2021-05-28 10:46:04 +09:30
Alexis Tyler e37eac662c fix: use env from user before flag 2021-05-28 08:36:43 +09:30
Alexis Tyler e9bebbbaa7 fix: ensure correct env is shown if it's changed within app 2021-05-28 08:34:26 +09:30
Alexis Tyler b1a58f9511 fix: return correct owner for endpoint 2021-05-28 07:55:49 +09:30
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 1495ffddd3 fix: switch to dedent-tabs 2021-05-27 13:12:27 +09:30
Alexis Tyler 71e97c9c61 fix: os.uptime timestamp 2021-05-27 13:05:38 +09:30
Alexis Tyler d6d1ca77f1 chore: add debug log for owner endpoint 2021-05-27 12:23:29 +09:30
Alexis Tyler 335dabaea0 fix: switch-env 2021-05-27 12:18:40 +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 58a381316e fix: wrong env and dedent 2021-05-25 09:08:39 +09:30
Alexis Tyler 2f4a8f9e8d fix: add unraid api version to header 2021-05-21 08:55:31 +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 9555e8bf96 chore: fix dedenting 2021-05-20 08:36:45 +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 bf8e4d8183 refactor: force my servers key into own role 2021-05-18 14:22:15 +09:30
Alexis Tyler c7e80d1829 chore: update copyright header 2021-05-18 14:21:46 +09:30
Alexis Tyler a87bd9255f fix: include quotes around env name 2021-05-18 14:14:08 +09:30
Alexis Tyler 34a03354bf fix: preserve quotes when saving my servers config file 2021-05-18 14:08:25 +09:30
Alexis Tyler 16448d41de chore: add debug logging to utils 2021-05-17 15:02:29 +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 63ca1816eb fix: use paths helper instead of raw path 2021-05-13 13:47:43 +09:30
Alexis Tyler 4306145123 fix: prevent cli pulling in all of app 2021-05-13 13:29:16 +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