Commit Graph

2957 Commits

Author SHA1 Message Date
Tsu-ba-me
414c4d64c6 fix(striker-ui-api): add delete user request handler 2023-06-20 00:48:21 -04:00
Tsu-ba-me
d9e38d87e2 fix(striker-ui-api): include write code in async database write close handler args 2023-06-20 00:48:21 -04:00
Tsu-ba-me
5c7ddbfb5e refactor(striker-ui-api): group API-related types by endpoint 2023-06-20 00:48:21 -04:00
Tsu-ba-me
46891f322b refactor(striker-ui-api): rename session->expressSession, sessionHandler->session 2023-06-20 00:48:21 -04:00
Tsu-ba-me
74175c538a refactor(striker-ui-api): remove unused import in passport 2023-06-20 00:48:21 -04:00
Tsu-ba-me
cbf6ac0ff9 refactor(striker-ui-api): rename authenticationHandler->guardApi 2023-06-20 00:48:21 -04:00
Tsu-ba-me
9170f78650 fix(striker-ui-api): make static files available through root 2023-06-20 00:48:21 -04:00
Tsu-ba-me
d8a2c77cf0 fix(striker-ui-api): add default authentication handler for private /api/* 2023-06-20 00:48:21 -04:00
Tsu-ba-me
193727b93f fix(striker-ui-api): add assert authentication 2023-06-20 00:48:21 -04:00
Tsu-ba-me
4a1cc577b5 fix(striker-ui-api): correct extend handler list in register routers 2023-06-20 00:48:21 -04:00
Tsu-ba-me
a4524b6d27 fix(striker-ui-api): add /auth/logout 2023-06-20 00:48:21 -04:00
Tsu-ba-me
ffe3c0853f fix(striker-ui-api): make all writes in session store async to reduce response time 2023-06-20 00:48:21 -04:00
Tsu-ba-me
9b750c57f9 fix(striker-ui-api): add async database write function 2023-06-20 00:48:21 -04:00
Tsu-ba-me
a1c7be94d6 fix(striker-ui-api): add isObject() 2023-06-20 00:48:21 -04:00
Tsu-ba-me
17583ad4b9 fix(striker-ui-api): add formatSql() 2023-06-20 00:48:21 -04:00
Tsu-ba-me
410a5de48d fix(striker-ui-api): generate db timestamp from date 2023-06-20 00:48:21 -04:00
Tsu-ba-me
b0e7859d2d fix(striker-ui-api): simplify local host name/uuid getter 2023-06-20 00:48:21 -04:00
Tsu-ba-me
448a956313 refactor(striker-ui-api): merge Express.User and SessionData declarations 2023-06-20 00:48:21 -04:00
Tsu-ba-me
0fa614ca07 fix(striker-ui-api): output user name when login succeed 2023-06-20 00:48:21 -04:00
Tsu-ba-me
1c8050caa9 feat(striker-ui-api): apply session handler and add /auth/login 2023-06-20 00:48:21 -04:00
Tsu-ba-me
38181ac301 feat(striker-ui-api): add session handler 2023-06-20 00:48:21 -04:00
Tsu-ba-me
eb2c66de9f fix(striker-ui-api): add de/serialize user functions to passport 2023-06-20 00:48:21 -04:00
Tsu-ba-me
de2e8e45e1 fix(striker-ui-api): add function to get session secret 2023-06-20 00:48:21 -04:00
Tsu-ba-me
180aa54800 refactor(striker-ui-api): simplify DB refresh timestamp function name 2023-06-20 00:48:21 -04:00
Tsu-ba-me
7c657dfbd5 fix(striker-ui-api): add uuidgen to shell 2023-06-20 00:48:21 -04:00
Tsu-ba-me
f911a335ac fix(striker-ui-api): add openssl to shell 2023-06-20 00:48:21 -04:00
Tsu-ba-me
2746e500de chore(striker-ui-api): install express-session package 2023-06-20 00:48:21 -04:00
Tsu-ba-me
617998e22b fix(striker-ui-api): add passport login strategy 2023-06-20 00:48:21 -04:00
Tsu-ba-me
c40b7ff7d4 fix(striker-ui-api): allow customize handlers per route batch in register routers function 2023-06-20 00:48:21 -04:00
Tsu-ba-me
73fa311272 chore(units): start striker UI API as root and drop privileges later 2023-06-20 00:48:21 -04:00
Tsu-ba-me
67b292dd95 fix(striker-ui-api): change process ownership after port binding 2023-06-20 00:48:21 -04:00
Tsu-ba-me
fc73f4ec15 build: fully replace apache with nodejs back-end 2023-06-20 00:48:21 -04:00
Tsu-ba-me
aacbf3003a chore(striker-ui-api): install passport and local strategy 2023-06-20 00:48:21 -04:00
Tsu-ba-me
f15391010c fix(striker-ui-api): organize routes into map 2023-06-20 00:48:21 -04:00
Tsu-ba-me
aadc84ea70 feat(striker-ui-api): add initial login request handler 2023-06-20 00:48:21 -04:00
Tsu-ba-me
b3f2644d07 fix: allow parameter to overwrite cgi input in Account->login 2023-06-20 00:48:21 -04:00
Tsu-ba-me
4fc2655a44 fix(striker-ui): reflect GateForm changes in PrepareHostForm 2023-06-20 00:48:21 -04:00
Tsu-ba-me
7f826132a4 fix(striker-ui): pass input values to submit append in GateForm 2023-06-20 00:48:21 -04:00
Tsu-ba-me
305968e5e9 fix(striker-ui): don't reset (re-render) form element in GateForm 2023-06-20 00:48:21 -04:00
Tsu-ba-me
f8b6520da8 fix(striker-ui): inherit colour in input test messages 2023-06-20 00:48:21 -04:00
Tsu-ba-me
95ce723b86 fix(striker-ui): revise GateForm to use form event 2023-06-20 00:48:21 -04:00
Tsu-ba-me
9878d03ee5 fix(striker-ui): add event handler append props in InputWithRef 2023-06-20 00:48:21 -04:00
Tsu-ba-me
c4704aa298 fix(striker-ui): rename message id in manage manifest 2023-06-20 00:48:21 -04:00
Digimer
fa693dbd0d
Merge branch 'main' into anvil-tools-dev 2023-06-19 21:52:11 -04:00
Digimer
bdbba0d59d
Merge pull request #343 from ylei-tsubame/manage-manifest
Web UI: add manifests manager
2023-06-19 21:47:01 -04:00
digimer
c9e11fbbfc * Added checks to anvil-provision-server to fail out if either of the SN IPs are not found when generating a DRBD resource config.
* Added logging to anvil-provision-server and anvil-daemon to try to find the cause of jobs being re-run after completing. May have fixed with a fix to job_progress updates going to 100 too early in some cases.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-06-19 21:44:45 -04:00
Tsu-ba-me
594062e823 fix(striker-ui): add IPMI IP to host inputs in manage manifest 2023-06-19 15:15:33 -04:00
Tsu-ba-me
84f708f5d1 fix(striker-ui-api): correct ntp and network gateway asserts in build manifest 2023-06-19 15:15:33 -04:00
Tsu-ba-me
3ab1fe88d2 fix(striker-ui): connect manifest-related forms submission with confirm dialog 2023-06-19 15:15:33 -04:00
Tsu-ba-me
39e3623085 fix(striker-ui): enable confirm dialog for submit run manifest 2023-06-19 15:15:33 -04:00