Commit Graph

24 Commits

Author SHA1 Message Date
Arthur Lu
d67c4dc8d8 fix utils.js,
implement getAllUsers/getAllGroups in backends,
add paasldap realm config option
2024-07-15 19:14:03 +00:00
Arthur Lu
0880e67929 fix delUser naming,
update config template,
implement getAllUsers/getAllGroups in USER_BACKEND_MANAGER
2024-07-10 22:38:14 +00:00
Arthur Lu
29013821b3 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
Arthur Lu
c9e4bb7484 fix linting 2024-01-12 01:49:24 +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
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
5989d86ef8 add password change route 2023-11-09 18:57:52 +00:00
Arthur Lu
bf8c8d1f00 change localdb interface 2023-10-23 22:09:31 +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
a366918256 update resource data format,
add names to pci and cpu list resources
2023-09-08 20:48:33 +00:00
Arthur Lu
45006171ee update localdb template 2023-08-30 20:50:21 +00:00
Arthur Lu
fcb2151019 update localdb template 2023-07-25 19:26:14 +00:00
Arthur Lu
e869834eb3 implement interrupt sync 2023-07-14 21:48:06 +00:00
Arthur Lu
070d7714ca 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
Arthur Lu
9e6f4cc499 consolidate user config paths,
move global config values to global key in localdb
2023-07-05 23:14:45 +00:00
Arthur Lu
90dbcdbb10 mionor fixes to localdb template 2023-06-29 20:27:05 +00:00
Arthur Lu
df8d472f85 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
Arthur Lu
19f38fa25d 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
Arthur Lu
49192daac6 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
Arthur Lu
83a03bfd7b update lcoaldb template
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-14 22:34:10 +00:00
Arthur Lu
e9386f5204 implement proc type in /instance/resources 2023-06-14 04:49:43 +00:00
Arthur Lu
a807e5cb03 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