Commit Graph

35 Commits

Author SHA1 Message Date
b0b4c68f15 finish updating pve backend with fabric 2025-02-14 21:56:39 +00:00
aa40d1f577 fix bug in utils.getUserResources 2025-02-06 21:17:33 +00:00
cfcf08b373 prepare pve backend and utils for paas fabric 2025-02-06 00:53:25 +00:00
3001febbc2 fix bug with adding multiple pci devices 2025-01-06 20:33:15 +00:00
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
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
8f7ea51787 add missing valid pve token check to checkAuth 2024-07-08 19:25:23 +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
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
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
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
3146ae76a6 change localdb interface 2023-10-23 22:09:31 +00:00
40f36270aa simplify requestPVE args 2023-09-12 19:16:19 +00:00
8912ae5f3c update resource data format,
add names to pci and cpu list resources
2023-09-08 20:48:33 +00:00
72d103edaf fix linting 2023-08-24 22:28:25 +00:00
e8ed9fc3b8 dynamically import routes 2023-08-07 18:48:47 +00:00
491e492206 add api package cli arg,
fix comments
2023-08-05 00:38:57 +00:00
7b80445cf0 fix db module imports 2023-08-03 19:51:09 +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
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
aa8148fc16 add /cluster/statushash endpoint 2023-07-11 18:48:45 +00:00
445e702d8d comment a bunch of code 2023-07-10 06:50:29 +00:00
4fbb64745b consolidate user config paths,
move global config values to global key in localdb
2023-07-05 23:14:45 +00:00
628067a061 set brace style to Stroustrup 2023-06-29 22:09:57 +00:00
b822f7f856 add eslinting, fix linting issues 2023-06-29 21:35:19 +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
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