Commit Graph
18 Commits
Author SHA1 Message Date
Arthur Lu 68f92493b7 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
Arthur Lu 18590011cc 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
Arthur Lu c801ca99df fix linting 2023-12-15 08:14:39 +00:00
Arthur Lu 3d746791e3 change default api port 2023-12-14 00:26:49 +00:00
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