|
9dc751b5e4
|
fix nodes pci endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-06-01 17:12:52 +00:00 |
|
|
2dec550425
|
add /api/nodes/pci endpoint (untested)
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-06-01 15:35:20 +00:00 |
|
|
1c2a0c7580
|
fix approveResources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-24 23:10:05 +00:00 |
|
|
864bec53ac
|
fix bugs in utils.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-24 22:42:38 +00:00 |
|
|
7773a4182f
|
implement db as class,
improve approveResources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-24 22:21:00 +00:00 |
|
|
8396de3a96
|
fix api crash on username missing from lcoaldb
|
2023-05-23 00:11:48 +00:00 |
|
|
94bc7db86d
|
remove console.log
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-19 20:50:45 +00:00 |
|
|
e18c10ac35
|
update localdb.json.template,
fix tempalte resource checking for post /instance
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-19 20:50:07 +00:00 |
|
|
c45f582fc1
|
fix comments,
fix handleResponse
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-19 20:03:38 +00:00 |
|
|
b16ef89577
|
fix issue in swap handling in /instance/resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-18 20:19:01 +00:00 |
|
|
0d5aea6f49
|
improve response value of /user/nodes endpoint,
add basic documentation of routes,
add swap for lxc instances to /instance/resources endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-18 20:05:41 +00:00 |
|
|
4444416175
|
handle NaN or undefined values in approveResources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-18 14:58:44 +00:00 |
|
|
754e7a018b
|
mitigate some vulnerabilities in disk attach,
handle errors in getDiskInfo as result of nonexistent disk
|
2023-05-18 08:09:18 +00:00 |
|
|
e83cf890e7
|
fix formatting
|
2023-05-17 21:38:11 +00:00 |
|
|
414c08fbf5
|
fix authentication checks for routes involving specific instances
|
2023-05-17 21:30:36 +00:00 |
|
|
f27ea02f10
|
fix network resource usage calculation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-16 16:50:24 +00:00 |
|
|
ce901e71d3
|
fix db template
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-16 16:46:15 +00:00 |
|
|
f236ae544b
|
implement network interface endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-16 16:34:39 +00:00 |
|
|
e12e245abd
|
fix auth early escape
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-16 15:46:39 +00:00 |
|
|
d6cd844379
|
fix bug in login endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-15 22:11:24 +00:00 |
|
|
9f7b62cdff
|
fix error handling in ticket endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-15 22:00:46 +00:00 |
|
|
89e046e093
|
remove httponly form username cookie
|
2023-05-13 07:38:32 +00:00 |
|
|
924c77b98a
|
update README
|
2023-05-13 07:36:13 +00:00 |
|
|
11061e6a20
|
implement safer pve ticket endpoint
|
2023-05-13 07:34:58 +00:00 |
|
|
b2347fd709
|
remove helmet
|
2023-05-13 05:17:48 +00:00 |
|
|
0054a269a5
|
fix bug in instance post
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-12 21:07:47 +00:00 |
|
|
f21d3cffea
|
separate user data endpoints
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-12 20:51:07 +00:00 |
|
|
fd969e04af
|
style fix
|
2023-05-11 07:10:22 +00:00 |
|
|
7f9d6f8e61
|
update vars.js.template
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-27 17:27:51 +00:00 |
|
|
dcef0bb032
|
add node restriction
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-27 15:39:01 +00:00 |
|
|
116cb14cc5
|
Update README.md
|
2023-04-26 16:38:04 -07:00 |
|
|
9998d8f919
|
Update README.md
|
2023-04-26 16:36:54 -07:00 |
|
|
99bd318079
|
Update README.md
|
2023-04-26 16:36:23 -07:00 |
|
|
caf3e06da1
|
fix /api/version
|
2023-04-26 21:58:15 +00:00 |
|
|
d1540b9fb5
|
use consistent version notation
|
2023-04-26 02:38:46 +00:00 |
|
|
4f3d92ea31
|
update readme with required nodejs version
|
2023-04-26 02:38:24 +00:00 |
|
|
53d7d79886
|
use experimental import assertion,
requires nodejs 18 or higher
|
2023-04-26 01:40:12 +00:00 |
|
|
3209c33b4e
|
update to es6 and fix some syntax errors
|
2023-04-26 01:18:05 +00:00 |
|
|
8650ea4d2e
|
change /api/resources to /api/instance/resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-25 15:30:28 +00:00 |
|
|
3e6c85e6bb
|
fix bugs from refactor
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-24 21:45:32 +00:00 |
|
|
99814f5c80
|
fix bug in /api/user
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-24 21:34:30 +00:00 |
|
|
02dbd0dec7
|
code cleanup,
disk paths now under instance
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-24 21:28:58 +00:00 |
|
|
eeb96a9164
|
fix bug in /user/instances
|
2023-04-21 22:40:12 +00:00 |
|
|
0251bd51d4
|
add /user/instances path
|
2023-04-21 22:37:12 +00:00 |
|
|
3247989baa
|
minor change to user data to fit additional user data
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-20 21:39:41 +00:00 |
|
|
9ccb9edf44
|
add vmid range check to instance creation,
add configurable templates to instance creation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-20 21:27:32 +00:00 |
|
|
c3160f760f
|
simplify db
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-20 20:43:05 +00:00 |
|
|
109f9993cc
|
bug fixes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-19 20:36:48 +00:00 |
|
|
4c3a4978fd
|
Update README.md
|
2023-04-19 05:54:18 +00:00 |
|
|
c5448ca727
|
add unit return to resources path
|
2023-04-19 02:46:05 +00:00 |
|