Commit Graph

194 Commits

Author SHA1 Message Date
alu
bb7404a82d Merge pull request 'Update DB Interface' (#2) from update-localdb into main
Reviewed-on: #2
2024-04-24 20:29:31 +00:00
9279d8c083 fix instance create pool error mesage 2024-04-23 18:56:43 +00:00
9360f7abec check instance pool matches user allowed pools,
update user allowed nodes format,
add get user ct templates route
2024-04-15 21:52:20 +00:00
3ddd1f62d7 update localdb backend interface,
update all references to localdb backend
2024-04-09 21:02:41 +00:00
98479205d9 add pool selection to instance create,
allow multiple pools per user
2024-04-08 21:19:57 +00:00
3281788089 implement full interface for paasldap backend 2024-04-05 22:33:56 +00:00
9d31e00366 add user backend documentation 2024-04-04 18:53:36 +00:00
69318a2dad update backend interfaces 2024-04-03 20:03:31 +00:00
6c984a7886 fix function name in AUTH_BACKEND 2024-03-25 21:30:23 +00:00
98da16d4df fix linting 2024-02-24 20:57:11 +00:00
d61e8377e0 fix missing return value in user password set 2024-02-23 22:27:28 +00:00
06fd99aca5 add localdb template,
update paasldap backend interface
2024-01-30 20:33:41 +00:00
f000582213 add put and delete proxmox proxy routes 2024-01-22 19:47:13 +00:00
2537288b17 fix bugs in paasldap backend and auth password endpoint 2024-01-18 21:37:46 +00:00
a31d5a3336 fix issues in backend implementions,
auth endpoint now fetches all relevant backend tokens
2024-01-17 20:21:55 +00:00
1a8e804be1 update README 2024-01-16 22:36:21 +00:00
fae2eb1724 fix linting 2024-01-12 01:49:24 +00:00
b27172dd9e fix various formatting,
add interface for generic backends,
add interfaces for DB and AUTH type backends,
implement basic user password change method
2024-01-09 00:47:33 +00:00
a0109d3546 major rework of backend loading and usage:
- split config from user data to config.json, add config.hson.template
- moved default user data localdb to root folder
- moved pve, localdb, ldap backend handlers to backends sub folder
- add dynamic loading of all backends
- add dynamic mapping for auth backends to support multiple auth sources
- update affected endpoints
2024-01-06 22:36:18 +00:00
7b0549e052 fix linting 2023-12-15 08:14:39 +00:00
7cb2893fc8 change default api port 2023-12-14 00:26:49 +00:00
d9d1846a82 move listenPort option to argv 2023-11-16 23:26:11 +00:00
4a7b8c4753 update localdb template 2023-11-15 20:04:53 +00:00
f40d1aee79 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
23cb635b75 simplify auth/password logic 2023-11-14 23:50:24 +00:00
1e4413b9b1 fix bug in net create 2023-11-09 20:46:50 +00:00
0c7b0309c7 add password change route 2023-11-09 18:57:52 +00:00
3668cb0445 fix linting 2023-10-25 19:46:37 +00:00
cb1e3a776e 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
3146ae76a6 change localdb interface 2023-10-23 22:09:31 +00:00
384e38b760 improve getUsedResources,
remove unused params for some pve functions
2023-10-21 00:13:29 +00:00
5dabc73313 update readme and db template 2023-10-13 18:01:53 +00:00
05ab27c48f fix dashboard in readme 2023-10-05 21:19:15 +00:00
57219020df update readme with dashboard rename 2023-10-05 21:10:49 +00:00
4a63aed017 update readme 2023-10-05 20:30:25 +00:00
40f36270aa simplify requestPVE args 2023-09-12 19:16:19 +00:00
8912ae5f3c update resource data format,
add names to pci and cpu list resources
2023-09-08 20:48:33 +00:00
93cf6d1873 update localdb template 2023-08-30 20:50:21 +00:00
ec26e7f6a3 fix error with empty boot order,
fix error with multiple item boot order
2023-08-28 23:34:43 +00:00
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