Arthur Lu
|
08947ca15d
|
implement safer pve ticket endpoint
|
2023-05-13 07:34:58 +00:00 |
|
Arthur Lu
|
a0ebcdf1b0
|
remove helmet
|
2023-05-13 05:17:48 +00:00 |
|
Arthur Lu
|
9cfa53172c
|
fix bug in instance post
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-12 21:07:47 +00:00 |
|
Arthur Lu
|
e89eeeb5cb
|
separate user data endpoints
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-05-12 20:51:07 +00:00 |
|
Arthur Lu
|
2a37423dd9
|
style fix
|
2023-05-11 07:10:22 +00:00 |
|
Arthur Lu
|
3d72e189d4
|
update vars.js.template
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-27 17:27:51 +00:00 |
|
Arthur Lu
|
2a70548a43
|
add node restriction
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-27 15:39:01 +00:00 |
|
Arthur Lu
|
0063b6b2b9
|
Update README.md
|
2023-04-26 16:38:04 -07:00 |
|
Arthur Lu
|
8527c0aa80
|
Update README.md
|
2023-04-26 16:36:54 -07:00 |
|
Arthur Lu
|
4200bd7df4
|
Update README.md
|
2023-04-26 16:36:23 -07:00 |
|
Arthur Lu
|
7ea2160c9b
|
fix /api/version
|
2023-04-26 21:58:15 +00:00 |
|
Arthur Lu
|
cc3c1061ba
|
use consistent version notation
|
2023-04-26 02:38:46 +00:00 |
|
Arthur Lu
|
51c10734b1
|
update readme with required nodejs version
|
2023-04-26 02:38:24 +00:00 |
|
Arthur Lu
|
6fc9113e4f
|
use experimental import assertion,
requires nodejs 18 or higher
|
2023-04-26 01:40:12 +00:00 |
|
Arthur Lu
|
2deda42ec5
|
update to es6 and fix some syntax errors
|
2023-04-26 01:18:05 +00:00 |
|
Arthur Lu
|
631237d857
|
change /api/resources to /api/instance/resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-25 15:30:28 +00:00 |
|
Arthur Lu
|
096dfb10e0
|
fix bugs from refactor
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-24 21:45:32 +00:00 |
|
Arthur Lu
|
81c290f795
|
fix bug in /api/user
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-24 21:34:30 +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 |
|
Arthur Lu
|
9ad10f6c82
|
fix bug in /user/instances
|
2023-04-21 22:40:12 +00:00 |
|
Arthur Lu
|
d2d1f25131
|
add /user/instances path
|
2023-04-21 22:37:12 +00:00 |
|
Arthur Lu
|
952e7e590d
|
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 |
|
Arthur Lu
|
2399858d29
|
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 |
|
Arthur Lu
|
9943a35d7e
|
simplify db
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-20 20:43:05 +00:00 |
|
Arthur Lu
|
f2ccee5119
|
bug fixes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-19 20:36:48 +00:00 |
|
Arthur Lu
|
f274949523
|
Update README.md
|
2023-04-19 05:54:18 +00:00 |
|
Arthur Lu
|
7e0bce1dca
|
add unit return to resources path
|
2023-04-19 02:46:05 +00:00 |
|
Arthur Lu
|
5862edcf24
|
fully implement new db
|
2023-04-19 02:42:35 +00:00 |
|
Arthur Lu
|
dacbd965cf
|
implement new db strategy
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-19 01:03:55 +00:00 |
|
Arthur Lu
|
c92fc95e92
|
fix bug in create disk resource allocation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-11 21:57:14 +00:00 |
|
Arthur Lu
|
3810eef1fa
|
fix spelling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-11 18:00:04 +00:00 |
|
Arthur Lu
|
1acaa6c864
|
use a better db json layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-11 17:56:48 +00:00 |
|
Arthur Lu
|
0c6fc5ae1f
|
fix bug in resource get
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-03 21:53:11 +00:00 |
|
Arthur Lu
|
8862144524
|
add path to get remaining resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-04-03 21:45:06 +00:00 |
|
Arthur Lu
|
d135cec5ae
|
fix bug in input validation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-24 22:22:00 +00:00 |
|
Arthur Lu
|
eed39a007b
|
remove extra consol logs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-24 22:14:21 +00:00 |
|
Arthur Lu
|
bd845b47f0
|
fix bug in validation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-24 22:10:17 +00:00 |
|
Arthur Lu
|
33deb01b74
|
implement quick input checks
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-24 19:35:16 +00:00 |
|
Arthur Lu
|
143e9d3f6e
|
Update README.md
|
2023-02-28 21:15:17 -08:00 |
|
Arthur Lu
|
3afb302a16
|
remove extra comment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-01 03:44:42 +00:00 |
|
Arthur Lu
|
38589b1b33
|
implement disk deallocation in delete instance,
remove console.logs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-01 01:14:03 +00:00 |
|
Arthur Lu
|
51d231e7bf
|
improve return data on success
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-01 00:53:29 +00:00 |
|
Arthur Lu
|
4bb9aadd04
|
almost finish implementing resource check
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-01 00:50:24 +00:00 |
|
Arthur Lu
|
96bbd469fb
|
implement resource checking all config paths
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-03-01 00:38:09 +00:00 |
|
Arthur Lu
|
3e3ae6077b
|
add some comments
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 23:36:22 +00:00 |
|
Arthur Lu
|
1e4b72cb8b
|
rename getDiskByConfig to getDiskConfig
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 23:33:00 +00:00 |
|
Arthur Lu
|
2b311cd1f1
|
improve api responses
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 23:27:32 +00:00 |
|
Arthur Lu
|
4fdb2f1cb8
|
add resource check on resize
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 23:24:49 +00:00 |
|
Arthur Lu
|
976995e2a1
|
use vars to specify cors domain
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 22:04:30 +00:00 |
|
Arthur Lu
|
ac08243622
|
update required api permissions
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
|
2023-02-28 02:42:36 +00:00 |
|