ea94d31b0c
add cli arg for localdb path
alu2023-08-03 19:31:11 +00:00
ab3bf15efe
route cluster routes to /api/cluster
alu2023-08-03 00:36:18 +00:00
9f22d76b5f
finish moving routes to files
alu2023-08-01 19:07:45 +00:00
8acaba3911
fix linting errors, group more routes, use mergeParams in router init
alu2023-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
alu2023-07-27 20:10:46 +00:00
ab8d9e16cc
mionor fixes to localdb template
alu2023-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
alu2023-06-29 02:07:57 +00:00
7719911d5a
check storage on disk create only when disk is not ide
alu2023-06-23 03:37:15 +00:00
5014e1d10c
check resource approval only if pci device differs
alu2023-06-23 03:20:56 +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
alu2023-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
alu2023-06-21 05:06:38 +00:00
17837fbc29
implement proc type in /instance/resources
alu2023-06-14 04:49:43 +00:00
825b11cd56
fix bugs in network methods
alu2023-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
alu2023-06-09 03:58:38 +00:00
d2dbbea292
add checking for disk bus prefix in disk create and disk attach
alu2023-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
alu2023-06-08 23:33:32 +00:00
3f98355d32
fix handleResponse responding with proxmox task status
alu2023-06-03 00:10:33 +00:00
4f654f5dcf
change /api/node/pci to /api/instance/pci
alu2023-06-02 23:14:13 +00:00
b16ef89577
fix issue in swap handling in /instance/resources
alu2023-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
alu2023-05-18 20:05:41 +00:00
4444416175
handle NaN or undefined values in approveResources
alu2023-05-18 14:58:44 +00:00
754e7a018b
mitigate some vulnerabilities in disk attach, handle errors in getDiskInfo as result of nonexistent disk
alu2023-05-18 08:09:18 +00:00