Commit Graph

11 Commits

Author SHA1 Message Date
b12f38e608 add getUserObjFromUsername util function,
update all backends to use userObj,
add user backend manager wrapper which calls all linked backends dealing with user data,
list backend handlers for each realm
2024-06-03 18:09:28 +00:00
3ddd1f62d7 update localdb backend interface,
update all references to localdb backend
2024-04-09 21:02:41 +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
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
1e4413b9b1 fix bug in net create 2023-11-09 20:46:50 +00:00
3146ae76a6 change localdb interface 2023-10-23 22:09:31 +00:00
40f36270aa simplify requestPVE args 2023-09-12 19:16:19 +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