Commit Graph

206 Commits

Author SHA1 Message Date
alu 79ec20ad74 fix delUser naming,
update config template,
implement getAllUsers/getAllGroups in USER_BACKEND_MANAGER
2024-07-10 22:38:14 +00:00
alu 8f7ea51787 add missing valid pve token check to checkAuth 2024-07-08 19:25:23 +00:00
alu 800033c6f8 add get all users/groups routes 2024-07-03 23:46:00 +00:00
alu 7f48f49445 rename auth to access 2024-07-02 19:38:21 +00:00
alu c8404c366f update readme with new permissions required for proxmox 8,
improve handling of proxmox responses
2024-07-01 19:03:36 +00:00
alu c63690c181 fix linting 2024-06-28 07:18:27 +00:00
alu 34f2669ab9 add valid user cookie check to checkAuth,
add admin flag in user data
2024-06-28 07:14:41 +00:00
alu afecfcafd0 fix readme tables 2024-06-26 06:46:31 +00:00
alu ab0188a8bc add backend info to readme,
fix docstring in backends.js
2024-06-26 06:39:43 +00:00
alu 85b8ae8560 update paasldap backend 2024-06-20 03:18:52 +00:00
alu 01f55aa0cb add return values to backend docstring,
fix return values of all backends
2024-06-04 23:09:55 +00:00
alu 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
alu bb7404a82d Merge pull request 'Update DB Interface' (#2) from update-localdb into main
Reviewed-on: #2
2024-04-24 20:29:31 +00:00
alu 9279d8c083 fix instance create pool error mesage 2024-04-23 18:56:43 +00:00
alu 9360f7abec check instance pool matches user allowed pools,
update user allowed nodes format,
add get user ct templates route
2024-04-15 21:52:20 +00:00
alu 3ddd1f62d7 update localdb backend interface,
update all references to localdb backend
2024-04-09 21:02:41 +00:00
alu 98479205d9 add pool selection to instance create,
allow multiple pools per user
2024-04-08 21:19:57 +00:00
alu 3281788089 implement full interface for paasldap backend 2024-04-05 22:33:56 +00:00
alu 9d31e00366 add user backend documentation 2024-04-04 18:53:36 +00:00
alu 69318a2dad update backend interfaces 2024-04-03 20:03:31 +00:00
alu 6c984a7886 fix function name in AUTH_BACKEND 2024-03-25 21:30:23 +00:00
alu 98da16d4df fix linting 2024-02-24 20:57:11 +00:00
alu d61e8377e0 fix missing return value in user password set 2024-02-23 22:27:28 +00:00
alu 06fd99aca5 add localdb template,
update paasldap backend interface
2024-01-30 20:33:41 +00:00
alu f000582213 add put and delete proxmox proxy routes 2024-01-22 19:47:13 +00:00
alu 2537288b17 fix bugs in paasldap backend and auth password endpoint 2024-01-18 21:37:46 +00:00
alu a31d5a3336 fix issues in backend implementions,
auth endpoint now fetches all relevant backend tokens
2024-01-17 20:21:55 +00:00
alu 1a8e804be1 update README 2024-01-16 22:36:21 +00:00
alu fae2eb1724 fix linting 2024-01-12 01:49:24 +00:00
alu 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
alu 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
alu 7b0549e052 fix linting 2023-12-15 08:14:39 +00:00
alu 7cb2893fc8 change default api port 2023-12-14 00:26:49 +00:00
alu d9d1846a82 move listenPort option to argv 2023-11-16 23:26:11 +00:00
alu 4a7b8c4753 update localdb template 2023-11-15 20:04:53 +00:00
alu 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
alu 23cb635b75 simplify auth/password logic 2023-11-14 23:50:24 +00:00
alu 1e4413b9b1 fix bug in net create 2023-11-09 20:46:50 +00:00
alu 0c7b0309c7 add password change route 2023-11-09 18:57:52 +00:00
alu 3668cb0445 fix linting 2023-10-25 19:46:37 +00:00
alu cb1e3a776e 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
alu 3146ae76a6 change localdb interface 2023-10-23 22:09:31 +00:00
alu 384e38b760 improve getUsedResources,
remove unused params for some pve functions
2023-10-21 00:13:29 +00:00
alu 5dabc73313 update readme and db template 2023-10-13 18:01:53 +00:00
alu 05ab27c48f fix dashboard in readme 2023-10-05 21:19:15 +00:00
alu 57219020df update readme with dashboard rename 2023-10-05 21:10:49 +00:00
alu 4a63aed017 update readme 2023-10-05 20:30:25 +00:00
alu 40f36270aa simplify requestPVE args 2023-09-12 19:16:19 +00:00
alu 8912ae5f3c update resource data format,
add names to pci and cpu list resources
2023-09-08 20:48:33 +00:00
alu 93cf6d1873 update localdb template 2023-08-30 20:50:21 +00:00