Commit Graph

366 Commits

Author SHA1 Message Date
Tsu-ba-me
98eec8a10c fix(striker-ui-api): add function to build job data from object 2023-08-09 15:03:07 -04:00
Tsu-ba-me
b31da693a5 fix(striker-ui-api): use common function to build job data for create host connection 2023-08-09 15:03:07 -04:00
Tsu-ba-me
12e257357d fix(striker-ui-api): trim peer database echo output in create host connection 2023-08-09 15:03:07 -04:00
Tsu-ba-me
a5fc7d499e fix(striker-ui-api): write .pgpass with nodejs 'fs' module 2023-08-09 15:03:07 -04:00
Tsu-ba-me
eeab34059b fix(striker-ui-api): call psql directly to test peer database connection 2023-08-09 15:03:07 -04:00
Tsu-ba-me
4182219e86 fix(striker-ui-api): revert database user to 'admin' in create host connection 2023-08-09 15:03:07 -04:00
dependabot[bot]
a78e35457c build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /striker-ui-api
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 13:12:22 -04:00
Tsu-ba-me
d7a5ce7471 build(striker-ui-api): rebuild 2023-08-07 01:49:27 -04:00
Tsu-ba-me
7160450c80 fix(striker-ui-api): revert debug code in create host connection 2023-08-07 01:47:35 -04:00
Tsu-ba-me
d04fef2372 fix(striker-ui-api): correct sanitize boolean 2023-08-07 01:47:35 -04:00
Tsu-ba-me
c8e0ed35c8 fix(striker-ui-api): handle access unordered outputs 2023-08-07 01:47:35 -04:00
Tsu-ba-me
d1bc6c0ce3 fix(striker-ui-api): avoid blank inputs by using sanitize fallback in create host connection 2023-08-07 01:47:35 -04:00
Tsu-ba-me
4a8f6b27dc fix(striker-ui-api): log request method, path 2023-08-07 01:47:35 -04:00
Tsu-ba-me
29f907f003 fix(striker-ui-api): default to root user when add peer striker 2023-08-07 01:47:35 -04:00
Tsu-ba-me
c8a6c09627 build(striker-ui-api): rebuild 2023-07-20 22:28:04 -04:00
Tsu-ba-me
01addb706e fix(striker-ui-api): forward ws connections to /api/server/vnc/* 2023-07-20 22:28:04 -04:00
Tsu-ba-me
9192212bde chore(striker-ui-api): install http-proxy-middleware 2023-07-20 22:28:04 -04:00
Tsu-ba-me
d70c4cdc35 fix(striker-ui-api): correct reversed check on get server VNC info 2023-07-20 22:28:04 -04:00
Tsu-ba-me
7058ef0f4a fix(striker-ui-api): disconnect vnc-related management, only fetch vnc info 2023-07-20 22:28:04 -04:00
Tsu-ba-me
f08319f41b chore: rename striker-manage-vnc-pipes->anvil-manage-vnc-pipe 2023-07-20 22:28:04 -04:00
Tsu-ba-me
e072f9ecf6 build(striker-ui-api): rebuild 2023-07-13 02:11:27 -04:00
Tsu-ba-me
4b3343c421 fix(striker-ui-api): convert, read server screenshot in get server detail 2023-07-13 02:09:06 -04:00
Tsu-ba-me
9009fd23cb build(striker-ui-api): rebuild web UI API 2023-07-03 04:54:18 -04:00
Tsu-ba-me
f7350bef9f fix(striker-ui-api): correct update file location (pre an to per host) 2023-07-03 04:46:07 -04:00
Tsu-ba-me
750b0ac7c0 fix(striker-ui-api): create bridge for node's bcn/ifn with 2 ifaces 2023-07-03 04:46:07 -04:00
Tsu-ba-me
103474a4e2 fix(striker-ui-api): add create_bridge to build network config 2023-07-03 04:46:07 -04:00
Tsu-ba-me
d2cd24be44 fix(striker-ui-api): add string boolean type 2023-07-03 04:46:07 -04:00
Tsu-ba-me
c35bc358b9 fix(striker-ui-api): add prepare subnode network, hoist utils from config striker 2023-07-03 04:46:07 -04:00
Tsu-ba-me
d90d2bc7c5 fix(striker-ui-api): ignore vnet/virbr when selecting network interfaces 2023-07-03 04:46:07 -04:00
Tsu-ba-me
6874218e3c fix(striker-ui-api): include network type, link uuid in host detail response 2023-07-03 04:46:07 -04:00
Tsu-ba-me
c1589eba3c fix(striker-ui-api): organize networks in host detail response 2023-07-03 04:46:07 -04:00
Tsu-ba-me
b24021ebdc feat(striker-ui-api): add function to combine string parts into camelcase 2023-07-03 04:46:07 -04:00
Tsu-ba-me
1665c7efec fix(striker-ui-api): correct response status code in create ups, fence 2023-07-03 04:46:07 -04:00
Tsu-ba-me
5ca88141d2 fix(striker-ui-api): handle fence param sanitization based on type 2023-07-03 04:46:07 -04:00
Tsu-ba-me
203c852518 fix(striker-ui-api): don't get deleted fence(s) 2023-07-03 04:46:07 -04:00
Tsu-ba-me
753ae24098 fix(striker-ui-api): add create, update handlers for /fence 2023-07-03 04:46:07 -04:00
Tsu-ba-me
09b69820b4 fix(striker-ui-api): add anvil data fence hash type 2023-07-03 04:46:07 -04:00
Tsu-ba-me
4bbacab09f fix(striker-ui-api): no response body, unspecific fail assert message in create/update UPS 2023-07-03 04:46:07 -04:00
Tsu-ba-me
78d7ce90b9 fix(striker-ui-api): add delete endpoint for /fence 2023-07-03 04:46:07 -04:00
Tsu-ba-me
830e07d30c fix(striker-ui-api): add create, update UPS(es) 2023-07-03 04:46:07 -04:00
Tsu-ba-me
63dafe0e6a fix(striker-ui-api): add delete UPS(es), don't get deleted UPS(es) 2023-07-03 04:46:07 -04:00
Tsu-ba-me
58a867f010 fix(striker-ui-api): add delete request builder 2023-07-03 04:46:07 -04:00
Tsu-ba-me
ac8e4633dc build(striker-ui-api): rebuild web UI API 2023-07-03 04:46:06 -04:00
Tsu-ba-me
bc1b8bec20 fix(striker-ui-api): expose job endpoint for init, filter job by command 2023-07-03 04:46:06 -04:00
Tsu-ba-me
2db17c9d1b fix(striker-ui-api): correct config to job data, allow flexible org name in config striker 2023-07-03 04:46:06 -04:00
Tsu-ba-me
c417de89e7 fix(striker-ui-api): correct request body in config striker 2023-07-03 04:46:06 -04:00
Tsu-ba-me
50a1160f1d fix(striker-ui-api): match method, path pattern for config striker 2023-07-03 04:46:06 -04:00
Tsu-ba-me
d64ad303e8 fix(striker-ui-api): redirect /init/* to protected endpoints post striker init 2023-07-03 04:46:06 -04:00
Tsu-ba-me
8403d7315b fix(striker-ui-api): assert host configured before authentication 2023-07-03 04:46:06 -04:00
Tsu-ba-me
c33a7e27b6 fix(striker-ui-api): make required endpoints public when striker is not configured 2023-07-03 04:46:06 -04:00
Tsu-ba-me
5067ca04da fix(striker-ui-api): allow set map network to be requested without UUID 2023-07-03 04:46:06 -04:00
Tsu-ba-me
a3491a1a9a fix(striker-ui-api): record config striker data as form::config_step... variables 2023-07-03 04:46:06 -04:00
Tsu-ba-me
252c552771 fix(striker-ui-api): clear cookies on logout 2023-07-03 04:46:06 -04:00
Tsu-ba-me
09029d5e7b style(striker-ui-api): adjust spacing in access module 2023-07-03 04:46:06 -04:00
Tsu-ba-me
820b413d86 fix(striker-ui-api): change session cookie name, set user cookie 2023-07-03 04:46:06 -04:00
Tsu-ba-me
4c783673af fix(striker-ui-api): remove unused guard API env variable 2023-07-03 04:46:06 -04:00
Tsu-ba-me
4e03e62dd4 fix(striker-ui-api): add endpoint for delete server(s) 2023-07-03 04:46:06 -04:00
Tsu-ba-me
9067791e38 fix(striker-ui-api): add commands for server VM power management 2023-07-03 04:46:06 -04:00
Tsu-ba-me
993c2350e5 fix(striker-ui-api): add get all anvil node pair summary 2023-07-03 04:46:06 -04:00
Tsu-ba-me
6c1910d6e3 chore(striker-ui-api): un-verbose building vnc pipes 2023-07-03 04:46:06 -04:00
Tsu-ba-me
911f0322cb fix(striker-ui-api): don't include deleted users in GET /user 2023-07-03 04:46:06 -04:00
Tsu-ba-me
73e567b0dc fix(striker-ui-api): manage vnc with higher permissions 2023-07-03 04:46:06 -04:00
Tsu-ba-me
9b13c77752 fix(striker-ui-api): add flag to toggle API endpoint guard 2023-07-03 04:46:06 -04:00
Tsu-ba-me
aa1ea8d796 fix(striker-ui-api): add endpoint to manage VNC SSH tunnel 2023-07-03 04:46:06 -04:00
Tsu-ba-me
f56f931599 fix(striker-ui-api): add set host config::map_network variable command endpoint 2023-07-03 04:46:06 -04:00
Tsu-ba-me
322f1c4607 refactor(striker-ui-api): rearrange GET network-interface handler 2023-07-03 04:46:06 -04:00
Tsu-ba-me
8b828f81a5 fix(striker-ui-api): read server screenshot from memory instead of through job 2023-07-03 04:46:06 -04:00
Tsu-ba-me
7465a3ab4e fix(striker-ui-api): make only admin can see all users 2023-07-03 04:46:06 -04:00
Tsu-ba-me
61deceb849 fix(striker-ui-api): avoid single quotes in access interact 2023-07-03 04:46:06 -04:00
Tsu-ba-me
710f076d04 fix(striker-ui-api): protect mod user endpoints based on account 2023-07-03 04:46:06 -04:00
Tsu-ba-me
a9d0ae4ae7 fix(striker-ui-api): don't consider name of deleted users as used 2023-07-03 04:46:06 -04:00
Tsu-ba-me
e93c48bec4 fix(striker-ui-api): don't allow admin to change username 2023-07-03 04:46:06 -04:00
Tsu-ba-me
cbfbc38f10 fix(striker-ui-api): remove slashes from rand password in create user 2023-07-03 04:46:06 -04:00
Tsu-ba-me
75068c1957 fix(striker-ui-api): identify current user when getting users 2023-07-03 04:46:06 -04:00
Tsu-ba-me
c1fcaf5161 fix(striker-ui-api): reverse chrono order users when getting for passport 2023-07-03 04:46:06 -04:00
Tsu-ba-me
c5015bf43f fix(striker-ui-api): add create and update user endpoints 2023-07-03 04:46:06 -04:00
Tsu-ba-me
b080d319af refactor(striker-ui-api): hoist encrypt password 2023-07-03 04:46:06 -04:00
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