8 Commits

Author SHA1 Message Date
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
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
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
43988e9815 simplify requestPVE args 2023-09-12 19:16:19 +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