100 Commits
Author SHA1 Message Date
alu cf47cf6c71 update configs 2026-04-29 21:33:56 +00:00
alu 7ea579df68 update eslint 2026-03-25 18:09:47 +00:00
alu e26849283e remove commented code 2025-11-17 03:43:57 +00:00
alu 07c48db808 improve return message when requests do not pass resource approval 2025-10-17 02:45:59 +00:00
alu f2f4f45097 fix bug with unconverted resource types 2025-10-07 21:36:36 +00:00
alu cc4caf9449 add mount point option in disk attach 2025-07-24 00:02:57 +00:00
alu 4ae30eb155 fix issue in qemu backup restore 2025-07-21 22:25:54 +00:00
alu c1a302a595 add backup default to user created disks 2025-07-14 20:57:08 +00:00
alu 56dc15f1d2 add backup update endpoint 2025-07-01 22:32:07 +00:00
alu b098a173fa add user backup endpoints 2025-06-25 19:41:17 +00:00
alu 3a41afb696 fix error messages in get pools/nodes 2025-06-24 20:02:30 +00:00
alu 56ef0b4074 fix swap value bug in container creation 2025-05-03 00:20:22 +00:00
alu 67fd748487 change net and hostpci arguments,
fix bug in ct-templates
2025-04-22 23:48:45 +00:00
alu f34c13827b add error handling in vm-isos and ct-templates when configured node is unreachable,
update disk attach logic for new fabric changes
2025-04-16 20:09:19 +00:00
alu 6300df344c update readme 2025-04-07 23:59:44 +00:00
alu 85c9c4cc6d add get instance config path 2025-04-05 00:18:43 +00:00
alu 35421714e6 update dependencies 2025-03-03 22:23:24 +00:00
alu 8b6613aa93 bump version to 1.0.0 2025-02-22 00:06:01 +00:00
alu 4bd4e136dd change instance disk net and pci logic to fabric 2025-02-21 21:54:02 +00:00
alu 7d2db031a9 cleanup user 2025-02-20 22:01:37 +00:00
alu 10d979e545 cleanup comments 2025-02-17 21:19:54 +00:00
alu b0b4c68f15 finish updating pve backend with fabric 2025-02-14 21:56:39 +00:00
alu 87ebb6b679 update localdb template 2025-02-13 20:01:41 +00:00
alu aa40d1f577 fix bug in utils.getUserResources 2025-02-06 21:17:33 +00:00
alu cfcf08b373 prepare pve backend and utils for paas fabric 2025-02-06 00:53:25 +00:00
alu d080e71601 fix crash with access ticket using invalid username 2025-01-29 20:31:57 +00:00
alu 3001febbc2 fix bug with adding multiple pci devices 2025-01-06 20:33:15 +00:00
alu 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
alu 4984877ab7 improve backend handler design 2024-10-09 04:36:35 +00:00
alu 072b5ef2d4 fix linting 2024-10-07 21:17:16 +00:00
alu 42dea83463 update global config key get 2024-09-25 22:51:30 +00:00
alu ee3e768ada add nodes and pools routes 2024-09-12 22:00:22 +00:00
alu c059b528fa add get user/group,
invert  return value for CookieFetcher
2024-08-02 04:35:04 +00:00
alu 783bc37c94 require params in all backend calls 2024-07-23 18:08:36 +00:00
alu 9f6b03db32 fix utils.js,
implement getAllUsers/getAllGroups in backends,
add paasldap realm config option
2024-07-15 19:14:03 +00:00
alu 3b81bd20ea fix delUserFromGroup in README 2024-07-10 22:38:39 +00:00
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
alu ec26e7f6a3 fix error with empty boot order,
fix error with multiple item boot order
2023-08-28 23:34:43 +00:00
alu 72d103edaf fix linting 2023-08-24 22:28:25 +00:00
alu 098818b205 set boot order in instance config handler 2023-08-22 06:06:10 +00:00
alu e8ed9fc3b8 dynamically import routes 2023-08-07 18:48:47 +00:00
alu 491e492206 add api package cli arg,
fix comments
2023-08-05 00:38:57 +00:00
alu 7b80445cf0 fix db module imports 2023-08-03 19:51:09 +00:00
alu 698f53314b fix argument parse bug 2023-08-03 19:34:37 +00:00
alu ea94d31b0c add cli arg for localdb path 2023-08-03 19:31:11 +00:00
alu ab3bf15efe route cluster routes to /api/cluster 2023-08-03 00:36:18 +00:00
alu 9f22d76b5f finish moving routes to files 2023-08-01 19:07:45 +00:00
alu 8acaba3911 fix linting errors,
group more routes,
use mergeParams in router init
2023-07-31 19:23:22 +00:00
alu 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
alu ae58a18c9a update localdb template 2023-07-25 19:26:14 +00:00
alu 2b27a7751c add cluster iso route 2023-07-25 00:03:13 +00:00