72d103edaf
fix linting
2023-08-24 22:28:25 +00:00
098818b205
set boot order in instance config handler
2023-08-22 06:06:10 +00:00
e8ed9fc3b8
dynamically import routes
2023-08-07 18:48:47 +00:00
491e492206
add api package cli arg,
...
fix comments
2023-08-05 00:38:57 +00:00
7b80445cf0
fix db module imports
2023-08-03 19:51:09 +00:00
698f53314b
fix argument parse bug
2023-08-03 19:34:37 +00:00
ea94d31b0c
add cli arg for localdb path
2023-08-03 19:31:11 +00:00
ab3bf15efe
route cluster routes to /api/cluster
2023-08-03 00:36:18 +00:00
9f22d76b5f
finish moving routes to files
2023-08-01 19:07:45 +00:00
8acaba3911
fix linting errors,
...
group more routes,
use mergeParams in router init
2023-07-31 19:23:22 +00:00
aae3bb14c0
add default export to db and package module,
...
start grouping routes by type,
use dynamic imports and express routers
2023-07-27 20:10:46 +00:00
ae58a18c9a
update localdb template
2023-07-25 19:26:14 +00:00
2b27a7751c
add cluster iso route
2023-07-25 00:03:13 +00:00
f791cda3f2
fix interrupt sync desync issues
2023-07-18 20:27:51 +00:00
a5f7be7eed
fix bug with socket close handling of poolUserMap,
...
improve socket init,
improve interrupt sync timing progression issues
2023-07-17 19:41:20 +00:00
31d414bebc
fix issue with client sync init
2023-07-15 22:59:18 +00:00
a48f641ab5
implement interrupt sync
2023-07-14 21:48:06 +00:00
f37f7cd142
fix formatting
2023-07-12 06:38:06 +00:00
178ff6168f
add better client sync schemes initialization,
...
add client sync scheme selects to localdb,
start on interrupt sync scheme implementation,
change sync endpoints to start with /sync/
2023-07-11 22:06:41 +00:00
aa8148fc16
add /cluster/statushash endpoint
2023-07-11 18:48:45 +00:00
e37969ce3f
fix endpoint comment format
2023-07-10 22:18:08 +00:00
445e702d8d
comment a bunch of code
2023-07-10 06:50:29 +00:00
cd611e2590
fix some endpoint comments,
...
add user node permission check to /node/pci
2023-07-07 00:06:36 +00:00
f389087a2b
fix linting issues
2023-07-06 05:13:22 +00:00
4fbb64745b
consolidate user config paths,
...
move global config values to global key in localdb
2023-07-05 23:14:45 +00:00
8e476ea352
add basic regex patterns for endpoint path params
2023-07-04 21:11:46 +00:00
6af9640f47
move most endpoint parameters to route
2023-07-04 04:41:25 +00:00
628067a061
set brace style to Stroustrup
2023-06-29 22:09:57 +00:00
79d2448a3d
lint all files
2023-06-29 21:53:20 +00:00
b822f7f856
add eslinting, fix linting issues
2023-06-29 21:35:19 +00:00
ab8d9e16cc
mionor fixes to localdb template
2023-06-29 20:27:05 +00:00
81d2841b79
improve db format for templates,
...
add additional per user customization for instance network interfaces,
update tempalte localdb
2023-06-29 02:07:57 +00:00
7719911d5a
check storage on disk create only when disk is not ide
2023-06-23 03:37:15 +00:00
5014e1d10c
check resource approval only if pci device differs
2023-06-23 03:20:56 +00:00
8307e07dae
implement modify pci endpoint
2023-06-23 03:01:28 +00:00
49e00430db
implement pcie device add and delete endpoints,
...
change getDeviceInfo to return primary device with sun devices listed,
fix bug in approveResources when checking list type resources
2023-06-22 00:23:34 +00:00
53c101ac4a
add pci device resource to config,
...
implement endpoints for getting available devices,
update used resource calculation to include pci devices
2023-06-21 05:06:38 +00:00
6c434263e3
update lcoaldb template
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-14 22:34:10 +00:00
cb937da256
improve user config routes,
...
add glocal resource config route,
remove debug console logs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-14 22:20:30 +00:00
17837fbc29
implement proc type in /instance/resources
2023-06-14 04:49:43 +00:00
825b11cd56
fix bugs in network methods
2023-06-09 04:24:22 +00:00
485ba0120e
move source files to src folder,
...
move localdb to config folder,
consolidate vars.js with localdb,
move service scripts to service folder
2023-06-09 03:58:38 +00:00
24df8df731
fix formatting
2023-06-09 02:05:26 +00:00
d2dbbea292
add checking for disk bus prefix in disk create and disk attach
2023-06-09 00:24:37 +00:00
825f7ccea1
improve method comments relating to pve builtin return objects,
...
add paths to create and delete network interfaces,
check for interface existence in modify interface,
add vlan specification to user config and use in network interface creation,
fix disk path security by checking disk existence or nonexistence,
TODO: check create and mount disk against allowed bus types
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-08 23:33:32 +00:00
3f98355d32
fix handleResponse responding with proxmox task status
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-03 00:10:33 +00:00
4f654f5dcf
change /api/node/pci to /api/instance/pci
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-02 23:14:13 +00:00
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