Commit Graph

285 Commits

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