Commit Graph

22 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
fae2eb1724 fix linting 2024-01-12 01:49:24 +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
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
0c7b0309c7 add password change route 2023-11-09 18:57:52 +00:00
3146ae76a6 change localdb interface 2023-10-23 22:09:31 +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
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
ae58a18c9a update localdb template 2023-07-25 19:26:14 +00:00
a48f641ab5 implement interrupt sync 2023-07-14 21:48:06 +00:00
178ff6168f 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
4fbb64745b consolidate user config paths,
move global config values to global key in localdb
2023-07-05 23:14:45 +00:00
ab8d9e16cc mionor fixes to localdb template 2023-06-29 20:27:05 +00:00
81d2841b79 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
49e00430db implement pcie device add and delete endpoints,
change getDeviceInfo to return primary device with sun devices listed,
fix bug in approveResources when checking list type resources
2023-06-22 00:23:34 +00:00
53c101ac4a add pci device resource to config,
implement endpoints for getting available devices,
update used resource calculation to include pci devices
2023-06-21 05:06:38 +00:00
6c434263e3 update lcoaldb template
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-14 22:34:10 +00:00
17837fbc29 implement proc type in /instance/resources 2023-06-14 04:49:43 +00:00
485ba0120e move source files to src folder,
move localdb to config folder,
consolidate vars.js with localdb,
move service scripts to service folder
2023-06-09 03:58:38 +00:00