Commit Graph

439 Commits

Author SHA1 Message Date
Tsu-ba-me
a16d5160d4 feat(striker-ui-api): add insert or update user to access module 2023-07-03 04:46:06 -04:00
Tsu-ba-me
d9e6061b6e fix(striker-ui-api): replace get anvil shared storage summary 2023-07-03 04:46:06 -04:00
Tsu-ba-me
0360b39598 fix(striker-ui-api): replace get anvil network summary endpoint 2023-07-03 04:46:06 -04:00
Tsu-ba-me
ab4a4cee9a refactor(striker-ui-api): organize middlewares 2023-07-03 04:46:06 -04:00
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
Tsu-ba-me
7575bf8aed fix(striker-ui-api): add function to disassemble entity id 2023-06-19 15:15:32 -04:00
Tsu-ba-me
9e9b84604f fix(striker-ui-api): add /manifest/template 2023-06-19 15:15:32 -04:00
Tsu-ba-me
db248efd96 fix(striker-ui-api): consolidate disassemble host name functions 2023-06-19 15:15:32 -04:00
Tsu-ba-me
7b0a7e711d fix(striker-ui-api): add get host name to access module 2023-06-19 15:15:32 -04:00
Tsu-ba-me
6cdca8ee5f feat(striker-ui-api): add /manifest 2023-06-19 15:15:31 -04:00
Tsu-ba-me
58549eb3ed fix(striker-ui-api): extract link from UPS type description 2023-04-04 00:23:00 -04:00
Tsu-ba-me
ddb1cd61f1 fix(striker-ui-api): add GET UPS overviews 2023-04-04 00:23:00 -04:00
Tsu-ba-me
288597a95f fix(striker-ui-api): limit UPS types to APC 2023-04-04 00:23:00 -04:00
Tsu-ba-me
f3a2a9355e feat(striker-ui-api): add /ups 2023-04-04 00:23:00 -04:00
Tsu-ba-me
508c7aa1f5 fix(striker-ui-api): make getAnvilData generic to identify return value 2023-04-04 00:23:00 -04:00
Tsu-ba-me
92a38374cb fix(striker-ui-api): add /fence 2023-04-03 13:13:59 -04:00
dependabot[bot]
b0ada6fba5
build(deps-dev): bump webpack from 5.70.0 to 5.76.0 in /striker-ui-api
Bumps [webpack](https://github.com/webpack/webpack) from 5.70.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.70.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 22:20:16 +00:00
Tsu-ba-me
271b33eaf7 fix(striker-ui-api): filter /host with host type(s) 2023-02-14 22:42:50 -05:00
Tsu-ba-me
58c9e05a9b fix(striker-ui-api): add hostType to /host/:hostUUID 2023-02-14 22:42:50 -05:00
Tsu-ba-me
32c32350bd fix(striker-ui-api): get NICs on specified host 2023-02-14 22:42:50 -05:00
Tsu-ba-me
18ad881ff8 build(striker-ui-api): rebuild UI API 2023-02-02 23:24:51 -05:00
Tsu-ba-me
950a98558f fix(striker-ui-api): improve receive server screenshot from named pipe 2023-02-02 19:25:40 -05:00
dependabot[bot]
a24618f15e
build(deps): bump json5 from 1.0.1 to 1.0.2 in /striker-ui-api
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-08 02:40:33 +00:00
Digimer
590879a47b
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui-api/qs-and-express-6.11.0 2022-12-13 19:32:01 -05:00
dependabot[bot]
d4680dbbd8
build(deps): bump qs and express in /striker-ui-api
Bumps [qs](https://github.com/ljharb/qs) to 6.11.0 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `qs` from 6.7.0 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.7.0...v6.11.0)

Updates `express` from 4.17.1 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 06:21:59 +00:00
dependabot[bot]
93d22abde5
build(deps): bump loader-utils from 1.4.0 to 1.4.2 in /striker-ui-api
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 06:21:56 +00:00
Tsu-ba-me
97b94eae50 build: rebuild both front-end and back-end 2022-11-28 14:37:22 -05:00
Tsu-ba-me
9d52213ef9 fix(striker-ui-api): add short name and rename to installTarget in GET /host/:hostUUID 2022-11-28 14:37:21 -05:00
Tsu-ba-me
81974ef626 fix(striker-ui-api): add short host name to GET /host 2022-11-28 14:37:21 -05:00
Tsu-ba-me
6d114b6d99 fix(striker-ui-api): add enterpriseUUID to prepareHost 2022-11-28 14:37:21 -05:00
Tsu-ba-me
099b2c9470 feat(striker-ui-api): add POST, DELETE /host/connection 2022-11-28 14:37:21 -05:00
Tsu-ba-me
e20a3a4af1 fix(striker-ui-api): add optional local host UUID in toHostUUID() 2022-11-28 14:37:21 -05:00
Tsu-ba-me
e394b0736e fix(striker-ui-api): add getPeerData() to accessModule 2022-11-28 14:37:21 -05:00
Tsu-ba-me
0a3d36c340 fix(striker-ui-api): add stdoutVar() 2022-11-28 14:37:21 -05:00
Tsu-ba-me
5e9c38b008 fix(striker-ui-api): add PUT /host/prepare and revise PUT /host/:hostUUID 2022-11-28 14:37:20 -05:00
Tsu-ba-me
54b78e9f25 fix(striker-ui-api): make return type in sanitize required 2022-11-28 14:37:20 -05:00
Tsu-ba-me
fcf999b11b fix(striker-ui-api): add prepareHost() 2022-11-28 14:37:20 -05:00
Tsu-ba-me
7033b64bb3 fix(striker-ui-api): add bad SSH keys to /command/inquire-host 2022-11-28 14:37:20 -05:00
Tsu-ba-me
5424fc3858 feat(striker-ui-api): add /command/inquire-peer 2022-11-28 14:37:20 -05:00
Tsu-ba-me
e67e732fd8 fix(striker-ui-api): split /ssh-key and /ssh-key/conflict 2022-11-28 14:37:20 -05:00
Tsu-ba-me
14a5b178dd fix(striker-ui-api): add PUT /update-system 2022-11-28 14:37:20 -05:00
Tsu-ba-me
00aa2c02df fix(striker-ui-api): wrap missed job calls in try-catch 2022-11-28 14:37:20 -05:00
Tsu-ba-me
3a01052e03 feat(striker-ui-api): add PUT /host/:hostUUID 2022-11-28 14:37:20 -05:00
Tsu-ba-me
1b6f1c2a2e refactor(striker-ui-api): replace 'local' with constant 2022-11-28 14:37:20 -05:00
Tsu-ba-me
f9bd775ed6 fix(striker-ui-api): add install-target state to GET /host/:hostUUID 2022-11-28 14:37:20 -05:00
Tsu-ba-me
0aec411e1a feat(striker-ui-api): add GET /ssh-key 2022-11-28 14:37:20 -05:00
Tsu-ba-me
c023c08310 fix(striker-ui-api): allow direct destructure from match() result 2022-11-28 14:37:20 -05:00
Tsu-ba-me
e3d4c243b9 feat(striker-ui-api): add /ssh-key WIP 2022-11-28 14:37:20 -05:00
Tsu-ba-me
6afa296858 refactor(striker-ui-api): relocate getLocalHostUUID try-catch 2022-11-28 14:37:20 -05:00
Tsu-ba-me
be1332b4f3 fix(striker-ui-api): prioritize /host/connection over /host/:hostUUID 2022-11-28 14:37:20 -05:00
Tsu-ba-me
df77899be1 fix(striker-ui-api): add /user 2022-11-28 14:37:20 -05:00
Tsu-ba-me
884742cb0a fix(striker-ui-api): remove excess from GET /host detail 2022-11-28 14:37:20 -05:00
Tsu-ba-me
59ddc232e7 feat(striker-ui-api): add cap function 2022-11-28 14:37:20 -05:00
Tsu-ba-me
e31d4564ee fix(striker-ui-api): add /host/:hostUUID WIP 2022-11-28 14:37:20 -05:00
Tsu-ba-me
72e070bc38 fix(striker-ui-api): remove empty functions in buildCondition functions 2022-11-28 14:37:20 -05:00
Tsu-ba-me
28e12251d6 fix(striker-ui-api): simplify modify query result 2022-11-28 14:37:20 -05:00
Tsu-ba-me
1fec480af7 fix(striker-ui-api): rename buildCondition functions 2022-11-28 14:37:20 -05:00
Tsu-ba-me
e38864e256 fix(striker-ui-api): allow replace modifier in sanitizeQS 2022-11-28 14:37:20 -05:00
Tsu-ba-me
bbb0fa503e fix(striker-ui-api): replace empty function with call in join 2022-11-28 14:37:20 -05:00
Tsu-ba-me
ca7288cbdd fix(striker-ui-api): simplify build ID condition 2022-11-28 14:37:20 -05:00
Tsu-ba-me
58ef1c04c7 fix(striker-ui-api): add JoinFunction type 2022-11-28 14:37:20 -05:00
Tsu-ba-me
e412d615d1 fix(striker-ui-api): relocate sanitize input for SQL query 2022-11-28 14:37:20 -05:00
Tsu-ba-me
3cb7c0f7ee fix(striker-ui-api): add onEach callback to join 2022-11-28 14:37:20 -05:00
Tsu-ba-me
107b119d52 fix(striker-ui-api): reduce required variables when creating jobs 2022-11-28 14:37:20 -05:00
Tsu-ba-me
3e14c20f75 fix(striker-ui-api): move /initialize-striker->POST /host?hostType=striker 2022-11-28 14:37:20 -05:00
Tsu-ba-me
403bdaddbc fix(striker-ui-api): revise std outputs in accessModule 2022-11-28 14:37:20 -05:00
Tsu-ba-me
d5ee937a9e fix(striker-ui-api): add commands to manage host power actions 2022-11-28 14:37:20 -05:00
Tsu-ba-me
28596e15dd fix(striker-ui-api): add print functions to shell 2022-11-28 14:37:19 -05:00
Tsu-ba-me
d6e32c6c89 fix(striker-ui-api): simplify insert or update job 2022-11-28 14:37:19 -05:00
Tsu-ba-me
5d81d4934d fix(striker-ui-api): correct sanitize number query param 2022-11-28 14:37:19 -05:00
Tsu-ba-me
25f1e1e206 fix(striker-ui-api): rename /job query param to "start" 2022-11-28 14:37:19 -05:00
Tsu-ba-me
3d6f051a7d fix(striker-ui-api): output SQL query when debug 2022-11-28 14:37:19 -05:00
Tsu-ba-me
3bbc9c03c7 fix(striker-ui-api): allow multiple host views in GET /host/connection 2022-11-28 14:37:19 -05:00
Tsu-ba-me
e1db471366 refactor(striker-ui-api): reorder imports in getJob 2022-11-28 14:37:19 -05:00
Tsu-ba-me
bc91fcd88b fix(striker-ui-api): add /job 2022-11-28 14:37:19 -05:00
Tsu-ba-me
76e5f5f925 fix(striker-ui-api): add date to shell 2022-11-28 14:37:19 -05:00
Tsu-ba-me
43d7662c4d fix(striker-ui-api): sanitize query string as number 2022-11-28 14:37:19 -05:00
Tsu-ba-me
b576e799e2 feat(striker-ui-api): add /host, /host/connection 2022-11-28 14:37:19 -05:00
Tsu-ba-me
5a9f936913 feat(striker-ui-api): add getAnvilData to accessModule 2022-11-28 14:37:19 -05:00
Tsu-ba-me
0e31e31786 fix(striker-ui-api): specify return type in call() 2022-11-28 14:37:19 -05:00
Tsu-ba-me
8a8b3d798f fix(striker-ui-api): assert init striker input data 2022-11-28 14:37:19 -05:00
Tsu-ba-me
06c3b9bae4 fix(striker-ui-api): ignore empty body when create server 2022-11-28 14:37:19 -05:00
Tsu-ba-me
00ef2142a1 feat(striker-ui-api): add command/initialize-striker endpoint 2022-11-28 14:37:19 -05:00
Tsu-ba-me
a37e0e2b8a fix(striker-ui-api): simplify get local host UUID 2022-11-28 14:37:19 -05:00
Tsu-ba-me
439a7dfdc7 fix(striker-ui-api): limit NICs by host UUID and not DELETED 2022-11-28 14:37:18 -05:00
Tsu-ba-me
c424980bb7 feat(striker-ui-api): add /network-interface endpoint 2022-11-28 14:37:18 -05:00
Tsu-ba-me
4a268c4b57 fix(striker-ui-api): add anvil node pair info to /server 2022-11-28 14:37:18 -05:00
Tsu-ba-me
1d39e4d918 fix(striker-ui-api): use separate fifo for each server screenshot request and read all data chunks 2022-11-28 14:37:18 -05:00
Tsu-ba-me
90c3004e90 fix(striker-ui-api): consolidate system calls into shell module 2022-11-28 14:37:18 -05:00
Tsu-ba-me
4c4ce1834b feat(striker-ui-api): add fetch server screenshot endpoint logic 2022-11-28 14:37:18 -05:00
Tsu-ba-me
d3cd671288 fix(striker-ui-api): handle empty query params 2022-11-28 14:37:18 -05:00
Tsu-ba-me
f88ac0387d fix(striker-ui-api): hoist regex patterns 2022-11-28 14:37:18 -05:00
Tsu-ba-me
f476524461 fix(striker-ui-api): get anvil UUIDs from query params in GET /server 2022-11-28 14:37:18 -05:00
Tsu-ba-me
26a64ecb2f fix(striker-ui-api): change response format for GET /server 2022-11-28 14:37:18 -05:00
Tsu-ba-me
1c0ddd59b0 chore(striker-ui-api): rebuild to include changes 2022-11-28 14:37:18 -05:00
Tsu-ba-me
a3143ce172 fix(striker-ui): assert input data in provision server 2022-11-28 14:37:18 -05:00
Tsu-ba-me
e50d181a0d fix(striker-ui-api): build OS list once on server load 2022-11-28 14:37:18 -05:00
Tsu-ba-me
ad864c3a21 fix(striker-ui-api): replace Cluster->get_primary_host_uuid() with query 2022-11-28 14:37:18 -05:00
Tsu-ba-me
5325a4f7eb fix(striker-ui-api): remove 'os_list_' from key of OS 2022-11-28 14:37:18 -05:00
Tsu-ba-me
b553e880c9 fix(striker-ui-api): correct os and driver_iso fields when registering provision server job 2022-11-28 14:37:18 -05:00
Tsu-ba-me
c413e62798 fix(striker-ui-api): pass Remote->test_access() user to Cluster->get_primary_host_uuid() 2022-11-28 14:37:18 -05:00
Tsu-ba-me
011615e68f fix(striker-ui-api): allow using all or * as condition file/anvil UUIDs 2022-11-28 14:37:18 -05:00
Tsu-ba-me
2c4a025cf8 fix(striker-ui-api): use query strings instead of body for GETs 2022-11-28 14:37:17 -05:00
Tsu-ba-me
8e64a9a185 feat(striker-ui-api): add provision server endpoint 2022-11-28 14:37:17 -05:00
Tsu-ba-me
8310a6edbb fix(striker-ui-api): revise accessDB->accessModule to reflect anvil-access-module changes 2022-11-28 14:37:17 -05:00
Tsu-ba-me
d1f7a731bd fix(striker-ui-api): add anvil description to anvil detail for provision server 2022-11-28 14:37:17 -05:00
Tsu-ba-me
b0b9314a08 feat(striker-ui-api): handle fetch Anvil details for provision server 2022-11-28 14:37:17 -05:00
Tsu-ba-me
cf5cba3950 fix(striker-ui-api): include missed hosts in /anvil GET 2022-11-28 14:37:17 -05:00
Tsu-ba-me
de8d2ddd50 feat(striker-ui-api): add /anvil route and migrate to singular routes 2022-11-28 14:37:17 -05:00
Tsu-ba-me
c352fc5f0e feat(striker-ui-api): add /servers route 2022-11-28 14:37:17 -05:00
Tsu-ba-me
49fdc9cad4 fix(striker-ui-api): hoist and enhance join logic 2022-11-28 14:37:17 -05:00
Tsu-ba-me
035727b2e0 refactor(striker-ui-api): relocate buildGetRequestHandler 2022-11-28 14:37:17 -05:00
Tsu-ba-me
b583035630 fix(striker-ui-api): allow GET multiple files' detail 2022-11-28 14:37:17 -05:00
Tsu-ba-me
411fd01a20 chore(striker-ui-api): enable clean on rebuild in webpack 2022-11-28 14:37:17 -05:00
Tsu-ba-me
94dee357d8 chore(striker-ui-api): switch to TypeScript 2022-11-28 14:37:09 -05:00
Tsu-ba-me
4af65abe8e build(striker-ui-api): move all source to src folder 2022-11-28 14:29:14 -05:00
dependabot[bot]
250c493292 build(deps): bump terser from 5.12.1 to 5.14.2 in /striker-ui-api
Bumps [terser](https://github.com/terser/terser) from 5.12.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-26 20:30:36 -04:00
dependabot[bot]
0c37c36cea
build(deps): bump minimist from 1.2.5 to 1.2.6 in /striker-ui-api
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 19:33:45 +00:00
Tsu-ba-me
10c0d7a144 build(striker-ui-api): use webpack + babel (transpile) to generate output for nodejs 10 2022-03-18 22:50:41 -04:00
Tsu-ba-me
409df04366 fix(striker-ui-api): relocate API resources during installation 2022-03-18 22:50:41 -04:00
Tsu-ba-me
a951ac3892 fix(striker-ui-api): compile API to single script 2022-03-18 22:50:41 -04:00
Tsu-ba-me
8a2b96bffa build(striker-ui-api): add compressed API executable and its install logic to Makefile 2022-03-18 22:50:41 -04:00
Tsu-ba-me
fb21cad83c chore(striker-ui-api): add scripts to compress and decompress build output 2022-03-18 22:50:41 -04:00
Tsu-ba-me
d764366fe8 chore(striker-ui-api): fix package vulnerabilities 2022-03-18 22:50:41 -04:00
Tsu-ba-me
b2b347fc72 fix(striker-ui-api): complete file upload endpoint 2022-03-18 22:50:40 -04:00
Tsu-ba-me
c767daa9c4 fix(striker-ui-api): omit deleted file records in file GET endpoints 2022-03-18 22:50:40 -04:00
Tsu-ba-me
462ec6d903 fix(striker-ui-api): complete delete file endpoint 2022-03-18 22:50:40 -04:00
Tsu-ba-me
eb840b3d9c fix(striker-ui-api): complete edit file endpoint 2022-03-18 22:50:40 -04:00
Tsu-ba-me
3d202d4f32 fix(striker-ui-api): draft edit file endpoint 2022-03-18 22:50:40 -04:00
Tsu-ba-me
e6d20b1d51 chore(striker-ui-api): add script to style files 2022-03-18 22:50:40 -04:00
Tsu-ba-me
33f783d6b6 fix(striker-ui-api): simplify calls to striker-access-database and /files GETs 2022-03-18 22:50:40 -04:00
Tsu-ba-me
eee01ce3d3 fix(striker-ui-api): handle POST to upload files 2022-03-18 22:50:40 -04:00
Tsu-ba-me
80c089a8c5 chore(striker-ui-api): install multer 2022-03-18 22:50:40 -04:00
Tsu-ba-me
5d0dbe3c5f fix(striker-ui-api): enable CORS for all origins 2022-03-18 22:50:40 -04:00
Tsu-ba-me
3b123dd671 chore(striker-ui-api): install cors 2022-03-18 22:50:40 -04:00
Tsu-ba-me
ca1a9b1f1b feat(striker-ui-api): add handler for files GET one 2022-03-18 22:50:40 -04:00
Tsu-ba-me
de0783909d fix(striker-ui-api): complete GET all files 2022-03-18 22:50:40 -04:00
Tsu-ba-me
18a02a68ff feat(striker-ui-api): add files route 2022-03-18 22:50:40 -04:00
Tsu-ba-me
7cea704fbb chore(striker-ui-api): add script to run in dev mode 2022-03-18 22:50:40 -04:00
Tsu-ba-me
b89953dbe8 feat: add API skeleton for striker-ui 2022-03-18 22:50:40 -04:00