Commit Graph

172 Commits

Author SHA1 Message Date
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
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