Commit Graph

9 Commits

Author SHA1 Message Date
Arthur Lu
0ad242a557 implement db as class,
improve approveResources

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-24 22:21:00 +00:00
Arthur Lu
7e7f9b2b55 fix api crash on username missing from lcoaldb 2023-05-23 00:11:48 +00:00
Arthur Lu
87b1b622fb fix comments,
fix handleResponse

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-19 20:03:38 +00:00
Arthur Lu
70953f3194 mitigate some vulnerabilities in disk attach,
handle errors in getDiskInfo as result of nonexistent disk
2023-05-18 08:09:18 +00:00
Arthur Lu
b12d84d4be fix authentication checks for routes involving specific instances 2023-05-17 21:30:36 +00:00
Arthur Lu
8c71ceafcf fix network resource usage calculation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 16:50:24 +00:00
Arthur Lu
f415b8f962 fix auth early escape
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 15:46:39 +00:00
Arthur Lu
2deda42ec5 update to es6 and fix some syntax errors 2023-04-26 01:18:05 +00:00
Arthur Lu
c7c1191587 code cleanup,
disk paths now under instance

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-24 21:28:58 +00:00