Commit Graph

416 Commits

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