7626dcf387
add SameSite value for access cookies,
...
add proper minimum expire time for username/auth access cookie,
fix bug in setUser
2024-10-30 18:59:10 +00:00
4984877ab7
improve backend handler design
2024-10-09 04:36:35 +00:00
072b5ef2d4
fix linting
2024-10-07 21:17:16 +00:00
42dea83463
update global config key get
2024-09-25 22:51:30 +00:00
ee3e768ada
add nodes and pools routes
2024-09-12 22:00:22 +00:00
c059b528fa
add get user/group,
...
invert return value for CookieFetcher
2024-08-02 04:35:04 +00:00
783bc37c94
require params in all backend calls
2024-07-23 18:08:36 +00:00
9f6b03db32
fix utils.js,
...
implement getAllUsers/getAllGroups in backends,
add paasldap realm config option
2024-07-15 19:14:03 +00:00
3b81bd20ea
fix delUserFromGroup in README
2024-07-10 22:38:39 +00:00
79ec20ad74
fix delUser naming,
...
update config template,
implement getAllUsers/getAllGroups in USER_BACKEND_MANAGER
2024-07-10 22:38:14 +00:00
8f7ea51787
add missing valid pve token check to checkAuth
2024-07-08 19:25:23 +00:00
800033c6f8
add get all users/groups routes
2024-07-03 23:46:00 +00:00
7f48f49445
rename auth to access
2024-07-02 19:38:21 +00:00
c8404c366f
update readme with new permissions required for proxmox 8,
...
improve handling of proxmox responses
2024-07-01 19:03:36 +00:00
c63690c181
fix linting
2024-06-28 07:18:27 +00:00
34f2669ab9
add valid user cookie check to checkAuth,
...
add admin flag in user data
2024-06-28 07:14:41 +00:00
afecfcafd0
fix readme tables
2024-06-26 06:46:31 +00:00
ab0188a8bc
add backend info to readme,
...
fix docstring in backends.js
2024-06-26 06:39:43 +00:00
85b8ae8560
update paasldap backend
2024-06-20 03:18:52 +00:00
01f55aa0cb
add return values to backend docstring,
...
fix return values of all backends
2024-06-04 23:09:55 +00:00
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
bb7404a82d
Merge pull request 'Update DB Interface' ( #2 ) from update-localdb into main
...
Reviewed-on: #2
2024-04-24 20:29:31 +00:00
9279d8c083
fix instance create pool error mesage
2024-04-23 18:56:43 +00:00
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
3ddd1f62d7
update localdb backend interface,
...
update all references to localdb backend
2024-04-09 21:02:41 +00:00
98479205d9
add pool selection to instance create,
...
allow multiple pools per user
2024-04-08 21:19:57 +00:00
3281788089
implement full interface for paasldap backend
2024-04-05 22:33:56 +00:00
9d31e00366
add user backend documentation
2024-04-04 18:53:36 +00:00
69318a2dad
update backend interfaces
2024-04-03 20:03:31 +00:00
6c984a7886
fix function name in AUTH_BACKEND
2024-03-25 21:30:23 +00:00
98da16d4df
fix linting
2024-02-24 20:57:11 +00:00
d61e8377e0
fix missing return value in user password set
2024-02-23 22:27:28 +00:00
06fd99aca5
add localdb template,
...
update paasldap backend interface
2024-01-30 20:33:41 +00:00
f000582213
add put and delete proxmox proxy routes
2024-01-22 19:47:13 +00:00
2537288b17
fix bugs in paasldap backend and auth password endpoint
2024-01-18 21:37:46 +00:00
a31d5a3336
fix issues in backend implementions,
...
auth endpoint now fetches all relevant backend tokens
2024-01-17 20:21:55 +00:00
1a8e804be1
update README
2024-01-16 22:36:21 +00:00
fae2eb1724
fix linting
2024-01-12 01:49:24 +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
7cb2893fc8
change default api port
2023-12-14 00:26:49 +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
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
23cb635b75
simplify auth/password logic
2023-11-14 23:50:24 +00:00
1e4413b9b1
fix bug in net create
2023-11-09 20:46:50 +00:00
0c7b0309c7
add password change route
2023-11-09 18:57:52 +00:00
3668cb0445
fix linting
2023-10-25 19:46:37 +00:00
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