Commit Graph

1639 Commits

Author SHA1 Message Date
Digimer
36db7c8239
Merge pull request #182 from Tsu-ba-me/issues/180-to-nextjs-11
Web UI: upgrade to Next.js major version 11
2021-08-25 15:37:44 -04:00
Tsu-ba-me
37926daca6 chore: rebuild web UI 2021-08-25 11:43:53 -04:00
Tsu-ba-me
2808fdd123 style(striker-ui): fix styling to make build succeed 2021-08-25 11:43:53 -04:00
Tsu-ba-me
34f7ece2f9 build(striker-ui): ignore out/ when linting 2021-08-25 11:43:53 -04:00
Josue
ed3a058937 chore(front-end): add ESlint next.js integration 2021-08-25 11:43:53 -04:00
Josue
89318d2617 chore(front-end): migrate to Next.js v11.1.0 2021-08-25 11:43:53 -04:00
Digimer
cd10a8850e
Merge pull request #181 from ClusterLabs/anvil-tools-dev
Fixed a bug where corosync's configuration of a backup ring was broken.
2021-08-24 16:16:40 -04:00
Digimer
6cbdc388d4 Fixed a bug where corosync's configuration of a backup ring was broken.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-24 15:52:44 -04:00
Digimer
789ac6e8ad
Merge pull request #179 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-08-19 01:18:36 -04:00
Digimer
bc2671c758
Merge branch 'master' into anvil-tools-dev 2021-08-19 01:00:34 -04:00
Digimer
04cb116c1b Updated anvil-parse-fence-agents to validate each fence agent's metadata is valid before adding it to the unified XML.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-19 00:58:26 -04:00
Digimer
8abb5b46e0 * Added support for setting per-agent log-level and log secure values in amvil.conf.
* Moved the check for an agent being disabled into ScanCore->agent_startup()

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-18 23:07:15 -04:00
Digimer
3674a47179 WIP - Working a tool to manually load updated server definition files.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-16 11:39:16 -04:00
Digimer
9e0f9d1d39
Merge pull request #176 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/path-parse-1.0.7
chore: bump path-parse from 1.0.6 to 1.0.7 in /striker-ui
2021-08-12 16:36:43 -04:00
Digimer
c449e2edf0 Resetting scan agent timeout to 30 seconds, 60 didn't help with a random
hang issue.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-12 15:11:46 -04:00
dependabot[bot]
5e54c65d1d
chore: bump path-parse from 1.0.6 to 1.0.7 in /striker-ui
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 17:58:57 +00:00
Digimer
38f95870bb Changed the agent runtime timeout to 60 seconds.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-11 22:39:23 -04:00
Digimer
15d8309095 This commit adds scan agent DB connection info caching to help minimize the number of unnecessary DB resync checks that happen.
* Created ScanCore->agent_shutdown() that writes out the time the scan agent last ran, and how many databases were available when it last ran.
* Updated ScanCore->agent_startup() to read the the last run data created above.
* Updated Database->connect() to set 'sys::database::last_db_count' to the scan agent's recorded last DB count.
* Updated all agents to call ScanCore->agent_shutdown() at the end of their run.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-11 21:14:35 -04:00
Digimer
f5f55d70b3
Merge pull request #177 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-08-11 21:14:08 -04:00
Digimer
b0b080a8c4
Merge branch 'master' into anvil-tools-dev 2021-08-11 20:42:46 -04:00
Digimer
f1af3d4e14
Merge pull request #175 from Tsu-ba-me/issues/151-vnc-frontend
Web UI: add the front-end counterpart for VNC
2021-08-11 18:25:46 -04:00
Tsu-ba-me
fb2aefa0a8 chore: rebuild web UI 2021-08-11 15:20:46 -04:00
Tsu-ba-me
8fd284ee86 fix(striker-ui): resolve createMuiTheme import error 2021-08-11 14:17:41 -04:00
Tsu-ba-me
6d18e80b98 build(striker-ui): change makefile to include server page 2021-08-11 12:44:21 -04:00
Tsu-ba-me
f7ccfbf600 build(striker-ui): include server page in release 2021-08-11 12:30:31 -04:00
つばめ
933bbfa155
Merge pull request #14 from Seneca-CDOT/vnc-with-scaling
Add vnc connection and UI inprovements
2021-08-11 12:24:35 -04:00
Digimer
aec22bb79c Added a check in scan-network that finds/removes duplicate network interface names.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-11 12:17:01 -04:00
Josue
e2a226db9c refactor(front-end): use novnc npm package instead of partially cloned novnc repo 2021-08-10 17:07:10 -04:00
Josue
079d89fedc refactor(front-end): rename styles to avoid ambiguity 2021-08-10 17:07:10 -04:00
Josue
8afc1feac5 chore(front-end): install novnc npm package and types 2021-08-10 17:07:10 -04:00
Josue
c72dba3901 refactor(front-end): use appropriate types for the novnc npm package 2021-08-10 17:07:10 -04:00
Josue
1278cc3f91 style(front-end): move the VncDisplay component to the center of the server page in fullDisplay mode 2021-08-10 17:07:10 -04:00
Josue
a2949c3453 style(front-end): expand VncDisplay component to 100% 2021-08-10 17:07:10 -04:00
Josue
50dff00d13 style(front-end): fix scrollbar track colour 2021-08-10 17:07:10 -04:00
Josue
fea3ae94fc refactor(front-end): remove handler for when the mouse pointer leaves the vnc container 2021-08-10 17:07:10 -04:00
Josue
1a64ada0c3 refactor(front-end): implement a new version of a vnc display using a different rfb type 2021-08-10 17:07:10 -04:00
Josue
bd04b91e3e chore: remove not needed dependencies 2021-08-10 17:07:10 -04:00
Josue
21c90c6224 feat(front-end): add a fetcher with timeout and controlls to reconnect to the server 2021-08-10 17:07:10 -04:00
Josue
92601e532e refactor(font-end): rename fetcher 2021-08-10 17:07:10 -04:00
Josue
ae628edb24 style(front-end): display message while the front-end fetches vnc connection configs 2021-08-10 17:07:10 -04:00
Josue
9d9be36447 refactor(front-end): add Keep-Alive header in the put fetcher so the striker has time to answer 2021-08-10 17:07:10 -04:00
Josue
9f47f7c45e style(front-end): add proper title to the dashboard and server pages 2021-08-10 17:07:10 -04:00
Josue
c53b1f8490 fix(front-end): set dashboard button to /index.html 2021-08-10 17:07:10 -04:00
Josue
22bf614809 fix(front-end): remove extracting url from env variable 2021-08-10 17:07:10 -04:00
Josue
65a89b4ad7 fix(front-end): remove trailing slash setting 2021-08-10 17:07:10 -04:00
Josue
3e3e7fba12 fix(front-end): get domain from window and add spinner 2021-08-10 17:07:10 -04:00
Josue
cdab38f4c0 refactor(front-end): remove unnecesary layer wrapping the appbar 2021-08-10 17:07:10 -04:00
Josue
fac15493ba style: add server label and name to the preview and full size components 2021-08-10 17:07:10 -04:00
Josue
421f1d5439 refactor(front-end): add a placeholder for the vnc preview 2021-08-10 17:07:10 -04:00
Josue
ee2bf4da09 refactor(front-end): add button in the drawer to go the dashboard/home page 2021-08-10 17:07:10 -04:00