Commit Graph

173 Commits

Author SHA1 Message Date
Arthur Lu
a55b9a58d7 move listenPort option to argv 2023-11-16 23:26:11 +00:00
Arthur Lu
e2cf883e64 update localdb template 2023-11-15 20:04:53 +00:00
Arthur Lu
c2ab19b6d6 add per instance resource quotas,
move getFullInstanceConfig to utils.js,
rework resource related utilities to use new quota format
2023-11-15 19:57:59 +00:00
Arthur Lu
02764c8f6a simplify auth/password logic 2023-11-14 23:50:24 +00:00
Arthur Lu
6e2b284118 fix bug in net create 2023-11-09 20:46:50 +00:00
Arthur Lu
5989d86ef8 add password change route 2023-11-09 18:57:52 +00:00
Arthur Lu
eb71f57427 fix linting 2023-10-25 19:46:37 +00:00
Arthur Lu
2f20992e7c fix issue with localdb,
rename db.js to localdb.js
add option to dynamically load db backend
2023-10-24 19:01:53 +00:00
Arthur Lu
bf8c8d1f00 change localdb interface 2023-10-23 22:09:31 +00:00
Arthur Lu
2d7df40b04 improve getUsedResources,
remove unused params for some pve functions
2023-10-21 00:13:29 +00:00
Arthur Lu
75c80fd271 update readme and db template 2023-10-13 18:01:53 +00:00
Arthur Lu
ad293d890a fix dashboard in readme 2023-10-05 21:19:15 +00:00
Arthur Lu
31463cb55f update readme with dashboard rename 2023-10-05 21:10:49 +00:00
Arthur Lu
e3e2ec272b update readme 2023-10-05 20:30:25 +00:00
Arthur Lu
43988e9815 simplify requestPVE args 2023-09-12 19:16:19 +00:00
Arthur Lu
a366918256 update resource data format,
add names to pci and cpu list resources
2023-09-08 20:48:33 +00:00
Arthur Lu
45006171ee update localdb template 2023-08-30 20:50:21 +00:00
Arthur Lu
abeb307de1 fix error with empty boot order,
fix error with multiple item boot order
2023-08-28 23:34:43 +00:00
Arthur Lu
33660b9f8c fix linting 2023-08-24 22:28:25 +00:00
Arthur Lu
0e836d50c4 set boot order in instance config handler 2023-08-22 06:06:10 +00:00
Arthur Lu
212d9721f8 dynamically import routes 2023-08-07 18:48:47 +00:00
Arthur Lu
0232b2208e add api package cli arg,
fix comments
2023-08-05 00:38:57 +00:00
Arthur Lu
221c854d50 fix db module imports 2023-08-03 19:51:09 +00:00
Arthur Lu
c5f7239813 fix argument parse bug 2023-08-03 19:34:37 +00:00
Arthur Lu
c9807668ea add cli arg for localdb path 2023-08-03 19:31:11 +00:00
Arthur Lu
3aaa0d2098 route cluster routes to /api/cluster 2023-08-03 00:36:18 +00:00
Arthur Lu
57dab01d7b finish moving routes to files 2023-08-01 19:07:45 +00:00
Arthur Lu
7fe1d2af5c fix linting errors,
group more routes,
use mergeParams in router init
2023-07-31 19:23:22 +00:00
Arthur Lu
76ccfabf59 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
Arthur Lu
fcb2151019 update localdb template 2023-07-25 19:26:14 +00:00
Arthur Lu
d172f0a590 add cluster iso route 2023-07-25 00:03:13 +00:00
Arthur Lu
790aa4959d fix interrupt sync desync issues 2023-07-18 20:27:51 +00:00
Arthur Lu
98f2c39e6e 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
Arthur Lu
e0a121009d fix issue with client sync init 2023-07-15 22:59:18 +00:00
Arthur Lu
e869834eb3 implement interrupt sync 2023-07-14 21:48:06 +00:00
Arthur Lu
b827ff0025 fix formatting 2023-07-12 06:38:06 +00:00
Arthur Lu
070d7714ca 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
Arthur Lu
096be3d032 add /cluster/statushash endpoint 2023-07-11 18:48:45 +00:00
Arthur Lu
faa0efa75c fix endpoint comment format 2023-07-10 22:18:08 +00:00
Arthur Lu
f0e5340474 comment a bunch of code 2023-07-10 06:50:29 +00:00
Arthur Lu
ffdce767ab fix some endpoint comments,
add user node permission check to /node/pci
2023-07-07 00:06:36 +00:00
Arthur Lu
8fb26b274a fix linting issues 2023-07-06 05:13:22 +00:00
Arthur Lu
9e6f4cc499 consolidate user config paths,
move global config values to global key in localdb
2023-07-05 23:14:45 +00:00
Arthur Lu
9da8880163 add basic regex patterns for endpoint path params 2023-07-04 21:11:46 +00:00
Arthur Lu
6a3bca4948 move most endpoint parameters to route 2023-07-04 04:41:25 +00:00
Arthur Lu
bc1757c9c3 set brace style to Stroustrup 2023-06-29 22:09:57 +00:00
Arthur Lu
1e8a4a8c29 lint all files 2023-06-29 21:53:20 +00:00
Arthur Lu
e39f954fc1 add eslinting, fix linting issues 2023-06-29 21:35:19 +00:00
Arthur Lu
90dbcdbb10 mionor fixes to localdb template 2023-06-29 20:27:05 +00:00
Arthur Lu
df8d472f85 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