Commit Graph

285 Commits

Author SHA1 Message Date
Tsu-ba-me
9337b3c881 fix(striker-ui-api): prefer original url over url/path of request 2023-07-03 04:46:06 -04:00
Tsu-ba-me
e460986e7c docs(striker-ui-api): adjust spacing in session logs 2023-07-03 04:46:06 -04:00
Tsu-ba-me
b72283a06c fix(striker-ui-api): set query param returnTo in assert authentication 2023-07-03 04:46:06 -04:00
Tsu-ba-me
5a51f9a31a fix(striker-ui-api): don't list get server screenshot jobs 2023-07-03 04:46:06 -04:00
Tsu-ba-me
db5d98d9d6 fix(striker-ui-api): add timeout to get server screenshot 2023-07-03 04:46:06 -04:00
Tsu-ba-me
4d9c2e79f0 fix(striker-ui-api): replace handle subnode cluster membership endpoint 2023-07-03 04:46:06 -04:00
Tsu-ba-me
8fff0f8624 fix(striker-ui-api): apply default job progress ENV variable 2023-07-03 04:46:06 -04:00
Tsu-ba-me
f49c510468 fix(striker-ui-api): add replacement for power control nodes, subnodes 2023-07-03 04:46:06 -04:00
Tsu-ba-me
408e3ba78e fix(striker-ui-api): consolidate config-able constants 2023-07-03 04:46:05 -04:00
Tsu-ba-me
dc6eb4a6d2 fix(striker-ui-api): correct hex regexp pattern 2023-07-03 04:46:05 -04:00
Tsu-ba-me
a56a38f4e6 fix(striker-ui-api): complete get anvil memory summary 2023-07-03 04:46:05 -04:00
Tsu-ba-me
1978983340 fix(striker-ui-api): convert server memory outside SQL in get anvil detail for provision server 2023-07-03 04:46:05 -04:00
Tsu-ba-me
7d79d9a2ce chore(striker-ui-api): install format-data-size 2023-07-03 04:46:05 -04:00
Tsu-ba-me
4e335f49f3 fix(striker-ui-api): add types for query field, row, and result 2023-07-03 04:46:05 -04:00
Tsu-ba-me
fc075d778a fix(striker-ui-api): add get anvil memory summary WIP 2023-07-03 04:46:05 -04:00
Tsu-ba-me
d4eeb2eb89 fix(striker-ui-api): add get anvil CPU summary 2023-07-03 04:46:05 -04:00
Tsu-ba-me
e35f326573 fix(striker-ui-api): file_location_anvil_uuid->_host_uuid in file/anvil request handlers 2023-07-03 04:46:05 -04:00
Tsu-ba-me
039d755e89 refactor(striker-ui-api): reduce repeat in get all servers 2023-07-03 04:46:05 -04:00
Tsu-ba-me
192e1b82cc fix(striker-ui-api): add type number boolean 2023-07-03 04:46:05 -04:00
Tsu-ba-me
83d572530b fix(striker-ui-api): allow get anvil status 2023-07-03 04:46:05 -04:00
Tsu-ba-me
27b11849e8 fix(striker-ui-api): allow get anvil data from access daemon 2023-07-03 04:46:05 -04:00
Tsu-ba-me
c6bcbc952b fix(striker-ui-api): handle static file requests with file extension 2023-06-20 00:48:22 -04:00
Tsu-ba-me
bfadd3bacb fix(striker-ui-api): use default cors origin handler 2023-06-20 00:48:21 -04:00
Tsu-ba-me
32ae8dd416 fix(striker-ui-api): handle set session without user 2023-06-20 00:48:21 -04:00
Tsu-ba-me
5d54b5d855 fix(striker-ui-api): protect static files 2023-06-20 00:48:21 -04:00
Tsu-ba-me
feae630370 fix(striker-ui-api): allow override fail/succeed in assert authentication 2023-06-20 00:48:21 -04:00
Tsu-ba-me
4bbdcc1687 fix(striker-ui-api): enable credentials in cors middleware 2023-06-20 00:48:21 -04:00
Tsu-ba-me
dc765b3719 fix(striker-ui-api): set session cookie options
* Set 'secure' because we don't have a certificate yet
* Set 'httpOnly' to avoid exposing the cookie in 'document'
2023-06-20 00:48:21 -04:00
Tsu-ba-me
2eb5b8a094 fix(striker-ui-api): make login respond with no-content (204) 2023-06-20 00:48:21 -04:00
Tsu-ba-me
9a0ca2f159 docs(striker-ui-api): label anvil-access-module daemon start sequence 2023-06-20 00:48:21 -04:00
Tsu-ba-me
82f4bdff04 refactor(striker-ui-api): organize types after complete migrate to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
d8cc7d9979 fix(striker-ui-api): migrate job to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
7d73fc931e fix(striker-ui-api): migrate insert or update variable to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
3608d6e56e fix(striker-ui-api): accept manifest UUID as URI param in DELETE /manifest 2023-06-20 00:48:21 -04:00
Tsu-ba-me
aa49de761a fix(striker-ui-api): migrate sub to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
f9d7449b7d fix(striker-ui-api): migrate get anvil data to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
66b02d4a77 fix(striker-ui-api): allow async callback in GET request builder 2023-06-20 00:48:21 -04:00
Tsu-ba-me
f075e219de feat(striker-ui-api): add initial traverse function 2023-06-20 00:48:21 -04:00
Tsu-ba-me
bc42b40a5a fix(striker-ui-api): set cookie max age to 8 hours 2023-06-20 00:48:21 -04:00
Tsu-ba-me
1e84641157 fix(striker-ui-api): migrate getPeerData to use access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
cb6a699fc7 fix(striker-ui-api): connect data, subroutine wrappers to access interact 2023-06-20 00:48:21 -04:00
Tsu-ba-me
ea78090ac0 fix(striker-ui-api): remove not-implemented <array>.at() 2023-06-20 00:48:21 -04:00
Tsu-ba-me
3efc5d8bfa fix(striker-ui-api): mark session as deleted on destroy 2023-06-20 00:48:21 -04:00
Tsu-ba-me
da785218ec fix(striker-ui-api): migrate a/dbWrite to daemon write 2023-06-20 00:48:21 -04:00
Tsu-ba-me
dc4a49a94c fix(striker-ui-api): sanitize config striker input, rename rqbody->body 2023-06-20 00:48:21 -04:00
Tsu-ba-me
c4232916f9 fix(striker-ui-api): remove console calls 2023-06-20 00:48:21 -04:00
Tsu-ba-me
32ecfec762 fix(striker-ui-api): migrate dbQuery->query in access module 2023-06-20 00:48:21 -04:00
Tsu-ba-me
06ad2a5353 chore(striker-ui-api): add core-js and regenerator-runtime enable promises and async/await 2023-06-20 00:48:21 -04:00
Tsu-ba-me
60b2b36e6b fix(striker-ui-api): simplify POST /echo 2023-06-20 00:48:21 -04:00
Tsu-ba-me
2812b21f31 fix(striker-ui-api): export string regex patterns 2023-06-20 00:48:21 -04:00
Tsu-ba-me
ab5ded03cf fix(striker-ui-api): add label to stdoutVar, simplify uuidgen 2023-06-20 00:48:21 -04:00
Tsu-ba-me
efc8832321 fix(striker-ui-api): add fallback to sanitize 2023-06-20 00:48:21 -04:00
Tsu-ba-me
d1b53b4a2c fix(striker-ui-api): apply getent to resolve uid:gid 2023-06-20 00:48:21 -04:00
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
67b292dd95 fix(striker-ui-api): change process ownership after port binding 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
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
d8c6c2bec9 fix(striker-ui-api): set host list from anvil data hash in /run-manifest 2023-06-19 15:15:33 -04:00
Tsu-ba-me
88077810bc fix(striker-ui-api): remove computed props from host entry of manifest execution 2023-06-19 15:15:33 -04:00
Tsu-ba-me
2ca1277b3f fix(striker-ui-api): only include node(s) in manifest detail 2023-06-19 15:15:32 -04:00
Tsu-ba-me
f7dea00ae6 fix(striker-ui-api): include host name in manifest detail 2023-06-19 15:15:32 -04:00
Tsu-ba-me
a50321eb9f fix(striker-ui-api): add command to run manifest 2023-06-19 15:15:32 -04:00
Tsu-ba-me
b7b4e13028 fix(striker-ui-api): add POST (create) and PUT (update) for /manifest 2023-06-19 15:15:32 -04:00
Tsu-ba-me
5de6046715 fix(striker-ui-api): add install manifest builder 2023-06-19 15:15:32 -04:00
Tsu-ba-me
2e599971cc fix(striker-ui-api): add DELETE one or more manifest 2023-06-19 15:15:32 -04:00
Tsu-ba-me
d368f8dd7b fix(striker-ui-api): ignore deleted manifest(s) when listing 2023-06-19 15:15:32 -04:00
Tsu-ba-me
a4359b1fa4 docs(striker-ui-api): explain sorting networks in GET manifest detail 2023-06-19 15:15:32 -04:00
Tsu-ba-me
340a04de47 fix(striker-ui-api): change sequence number type in manifest detail 2023-06-19 15:15:32 -04:00
Tsu-ba-me
4104b87b2d fix(striker-ui-api): add next sequence number to manifest template 2023-06-19 15:15:32 -04:00
Tsu-ba-me
a066fb7ede fix(striker-ui-api): allow get manifest detail 2023-06-19 15:15:32 -04:00