Commit Graph

  • 698f53314b fix argument parse bug alu 2023-08-03 19:34:37 +00:00
  • ea94d31b0c add cli arg for localdb path alu 2023-08-03 19:31:11 +00:00
  • ab3bf15efe route cluster routes to /api/cluster alu 2023-08-03 00:36:18 +00:00
  • 9f22d76b5f finish moving routes to files alu 2023-08-01 19:07:45 +00:00
  • 8acaba3911 fix linting errors, group more routes, use mergeParams in router init alu 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 alu 2023-07-27 20:10:46 +00:00
  • ae58a18c9a update localdb template alu 2023-07-25 19:26:14 +00:00
  • 2b27a7751c add cluster iso route alu 2023-07-25 00:03:13 +00:00
  • f791cda3f2 fix interrupt sync desync issues alu 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 alu 2023-07-17 19:41:20 +00:00
  • 31d414bebc fix issue with client sync init alu 2023-07-15 22:59:18 +00:00
  • a48f641ab5 implement interrupt sync alu 2023-07-14 21:48:06 +00:00
  • f37f7cd142 fix formatting alu 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/ alu 2023-07-11 22:06:41 +00:00
  • aa8148fc16 add /cluster/statushash endpoint alu 2023-07-11 18:48:45 +00:00
  • e37969ce3f fix endpoint comment format alu 2023-07-10 22:18:08 +00:00
  • 445e702d8d comment a bunch of code alu 2023-07-10 06:50:29 +00:00
  • cd611e2590 fix some endpoint comments, add user node permission check to /node/pci alu 2023-07-07 00:06:36 +00:00
  • f389087a2b fix linting issues alu 2023-07-06 05:13:22 +00:00
  • 4fbb64745b consolidate user config paths, move global config values to global key in localdb alu 2023-07-05 23:14:45 +00:00
  • 8e476ea352 add basic regex patterns for endpoint path params alu 2023-07-04 21:11:46 +00:00
  • 6af9640f47 move most endpoint parameters to route alu 2023-07-04 04:41:25 +00:00
  • 628067a061 set brace style to Stroustrup alu 2023-06-29 22:09:57 +00:00
  • 79d2448a3d lint all files alu 2023-06-29 21:53:20 +00:00
  • b822f7f856 add eslinting, fix linting issues alu 2023-06-29 21:35:19 +00:00
  • ab8d9e16cc mionor fixes to localdb template alu 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 alu 2023-06-29 02:07:57 +00:00
  • 7719911d5a check storage on disk create only when disk is not ide alu 2023-06-23 03:37:15 +00:00
  • 5014e1d10c check resource approval only if pci device differs alu 2023-06-23 03:20:56 +00:00
  • 8307e07dae implement modify pci endpoint alu 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 alu 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 alu 2023-06-21 05:06:38 +00:00
  • 6c434263e3 update lcoaldb template alu 2023-06-14 22:34:10 +00:00
  • cb937da256 improve user config routes, add glocal resource config route, remove debug console logs alu 2023-06-14 22:20:30 +00:00
  • 17837fbc29 implement proc type in /instance/resources alu 2023-06-14 04:49:43 +00:00
  • 825b11cd56 fix bugs in network methods alu 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 alu 2023-06-09 03:58:38 +00:00
  • 24df8df731 fix formatting alu 2023-06-09 02:05:26 +00:00
  • d2dbbea292 add checking for disk bus prefix in disk create and disk attach alu 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 alu 2023-06-08 23:33:32 +00:00
  • 3f98355d32 fix handleResponse responding with proxmox task status alu 2023-06-03 00:10:33 +00:00
  • 4f654f5dcf change /api/node/pci to /api/instance/pci alu 2023-06-02 23:14:13 +00:00
  • 9dc751b5e4 fix nodes pci endpoint alu 2023-06-01 17:12:52 +00:00
  • 2dec550425 add /api/nodes/pci endpoint (untested) alu 2023-06-01 15:35:20 +00:00
  • 1c2a0c7580 fix approveResources alu 2023-05-24 23:10:05 +00:00
  • 864bec53ac fix bugs in utils.js alu 2023-05-24 22:42:38 +00:00
  • 7773a4182f implement db as class, improve approveResources alu 2023-05-24 22:21:00 +00:00
  • 8396de3a96 fix api crash on username missing from lcoaldb alu 2023-05-23 00:11:48 +00:00
  • 94bc7db86d remove console.log alu 2023-05-19 20:50:45 +00:00
  • e18c10ac35 update localdb.json.template, fix tempalte resource checking for post /instance alu 2023-05-19 20:50:07 +00:00
  • c45f582fc1 fix comments, fix handleResponse alu 2023-05-19 20:03:38 +00:00
  • b16ef89577 fix issue in swap handling in /instance/resources alu 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 alu 2023-05-18 20:05:41 +00:00
  • 4444416175 handle NaN or undefined values in approveResources alu 2023-05-18 14:58:44 +00:00
  • 754e7a018b mitigate some vulnerabilities in disk attach, handle errors in getDiskInfo as result of nonexistent disk alu 2023-05-18 08:09:18 +00:00
  • e83cf890e7 fix formatting alu 2023-05-17 21:38:11 +00:00
  • 414c08fbf5 fix authentication checks for routes involving specific instances alu 2023-05-17 21:30:36 +00:00
  • f27ea02f10 fix network resource usage calculation alu 2023-05-16 16:50:24 +00:00
  • ce901e71d3 fix db template alu 2023-05-16 16:46:15 +00:00
  • f236ae544b implement network interface endpoint alu 2023-05-16 16:34:39 +00:00
  • e12e245abd fix auth early escape alu 2023-05-16 15:46:39 +00:00
  • d6cd844379 fix bug in login endpoint alu 2023-05-15 22:11:24 +00:00
  • 9f7b62cdff fix error handling in ticket endpoint alu 2023-05-15 22:00:46 +00:00
  • 89e046e093 remove httponly form username cookie alu 2023-05-13 07:38:32 +00:00
  • 924c77b98a update README alu 2023-05-13 07:36:13 +00:00
  • 11061e6a20 implement safer pve ticket endpoint alu 2023-05-13 07:34:58 +00:00
  • b2347fd709 remove helmet alu 2023-05-13 05:17:48 +00:00
  • 0054a269a5 fix bug in instance post alu 2023-05-12 21:07:47 +00:00
  • f21d3cffea separate user data endpoints alu 2023-05-12 20:51:07 +00:00
  • fd969e04af style fix alu 2023-05-11 07:10:22 +00:00
  • 7f9d6f8e61 update vars.js.template alu 2023-04-27 17:27:51 +00:00
  • dcef0bb032 add node restriction alu 2023-04-27 15:39:01 +00:00
  • 116cb14cc5 Update README.md alu 2023-04-26 16:38:04 -07:00
  • 9998d8f919 Update README.md alu 2023-04-26 16:36:54 -07:00
  • 99bd318079 Update README.md alu 2023-04-26 16:36:23 -07:00
  • caf3e06da1 fix /api/version alu 2023-04-26 21:58:15 +00:00
  • d1540b9fb5 use consistent version notation alu 2023-04-26 02:38:46 +00:00
  • 4f3d92ea31 update readme with required nodejs version alu 2023-04-26 02:38:24 +00:00
  • 53d7d79886 use experimental import assertion, requires nodejs 18 or higher alu 2023-04-26 01:40:12 +00:00
  • 3209c33b4e update to es6 and fix some syntax errors alu 2023-04-26 01:18:05 +00:00
  • 8650ea4d2e change /api/resources to /api/instance/resources alu 2023-04-25 15:30:28 +00:00
  • 3e6c85e6bb fix bugs from refactor alu 2023-04-24 21:45:32 +00:00
  • 99814f5c80 fix bug in /api/user alu 2023-04-24 21:34:30 +00:00
  • 02dbd0dec7 code cleanup, disk paths now under instance alu 2023-04-24 21:28:58 +00:00
  • eeb96a9164 fix bug in /user/instances alu 2023-04-21 22:40:12 +00:00
  • 0251bd51d4 add /user/instances path alu 2023-04-21 22:37:12 +00:00
  • 3247989baa minor change to user data to fit additional user data alu 2023-04-20 21:39:41 +00:00
  • 9ccb9edf44 add vmid range check to instance creation, add configurable templates to instance creation alu 2023-04-20 21:27:32 +00:00
  • c3160f760f simplify db alu 2023-04-20 20:43:05 +00:00
  • 109f9993cc bug fixes alu 2023-04-19 20:36:48 +00:00
  • 4c3a4978fd Update README.md alu 2023-04-19 05:54:18 +00:00
  • c5448ca727 add unit return to resources path alu 2023-04-19 02:46:05 +00:00
  • 09ee11055f fully implement new db alu 2023-04-19 02:42:35 +00:00
  • 2ef4bfd3d2 implement new db strategy alu 2023-04-19 01:03:55 +00:00
  • 943d598b69 fix bug in create disk resource allocation alu 2023-04-11 21:57:14 +00:00
  • b77850bad6 fix spelling alu 2023-04-11 18:00:04 +00:00
  • 123431332f use a better db json layout alu 2023-04-11 17:56:48 +00:00
  • 059c1fe0d2 fix bug in resource get alu 2023-04-03 21:53:11 +00:00
  • 4b37ababda add path to get remaining resources alu 2023-04-03 21:45:06 +00:00
  • 6bda62ae15 fix bug in input validation alu 2023-03-24 22:22:00 +00:00