Commit Graph

1639 Commits

Author SHA1 Message Date
dependabot[bot]
7e2d751c89 chore: bump eslint-plugin-react from 7.22.0 to 7.24.0 in /striker-ui
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.22.0 to 7.24.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.22.0...v7.24.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 17:07:10 -04:00
dependabot[bot]
1f45c2886e chore: bump lint-staged from 10.5.4 to 11.0.0 in /striker-ui
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.5.4 to 11.0.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.5.4...v11.0.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 17:07:10 -04:00
dependabot[bot]
b23242b983 chore: bump @types/react from 17.0.3 to 17.0.11 in /striker-ui
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.3 to 17.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 17:07:09 -04:00
dependabot[bot]
293bb00452 chore: bump eslint-plugin-react from 7.22.0 to 7.24.0 in /striker-ui
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.22.0 to 7.24.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.22.0...v7.24.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 17:07:09 -04:00
dependabot[bot]
b351b51502 chore: bump @typescript-eslint/parser in /striker-ui
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.17.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 17:07:09 -04:00
dependabot[bot]
179e22ff08 fix(striker-ui): use iso-8601 date format in Anvil status 2021-08-10 17:07:09 -04:00
dependabot[bot]
7f24d6b88c fix(striker-ui): use iso-8601 date format in Anvil status 2021-08-10 17:07:09 -04:00
Josue
3344c87897 chore(front-end): fix eslint-prettier conflict 2021-08-10 17:07:09 -04:00
Josue
159c02e0ab style(front-end): modify scrollbar style for panels to match design 2021-08-10 17:07:09 -04:00
Josue
6d1f4f8025 fix(front-end): adjust padding and breakpoint when showing scrollbars 2021-08-10 17:07:09 -04:00
Josue
ea91b36291 refactor(front-end): use 2 columns for wider layout and display server at the top 2021-08-10 17:07:09 -04:00
Josue
9f8303ed61 refactor(front-end): use custom breakpoint to define wider mobile layout 2021-08-10 17:07:09 -04:00
Josue
f51f6acb4d feat(front-end): add hook to access innerWidth whenever the viewport is resized 2021-08-10 17:07:09 -04:00
Digimer
4800f7181f * Updated ScanCore to boot a node that is off without a stop reason.
* Fixed a bug where anvil-safe-stop was not recording the stop-reason. Also made '--poweroff' an alias for '--power-off'.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-07 14:01:14 -04:00
Digimer
acaacd9a86 * Created Storage->get_size_of_block_device() that takes a block device path and returns the size of the path, if it's found in the database.
* More work on the storage management of anvil-manage-server.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-06 22:46:02 -04:00
digimer-bot
dc34e6e3b6
Merge pull request #173 from ClusterLabs/anvil-tools-dev
Continuing work on anvil-manage-server.
2021-08-06 14:54:47 -04:00
Digimer
7a504467ef
Merge branch 'master' into anvil-tools-dev 2021-08-06 14:51:44 -04:00
Digimer
606bd8f1f0 Continuing work on anvil-manage-server.
Created Storage->get_storage_group_from_path() that takes a block device path and tried to find the Storage Group it belongs to.
Updated Storage->get_storage_group_data() to make it possible to look up a storage group UUID using the SG's name.
Updated DRBD->gather_data() to take a pre-generated XML via the new 'xml' parameter.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-08-06 14:21:11 -04:00
Digimer
18839f5b7b
Merge pull request #162 from Tsu-ba-me/issues/151-vnc-on-ws
Web UI: add endpoint to handle building pipes from client (in browser) to server VMs' VNC server
2021-08-04 14:07:51 -04:00
Tsu-ba-me
063840ecb6 fix(tools): correct message_* string keys in striker-manage-vnc-pipes 2021-08-04 13:53:44 -04:00
Tsu-ba-me
70075ba690 fix(cgi-bin): add login cookie guard to manage_vnc_pipes endpoint 2021-08-04 13:40:02 -04:00
Tsu-ba-me
8da318c933 fix(tools): patch failure to fix 2nd pipe after server migration 2021-08-04 13:40:02 -04:00
Tsu-ba-me
0f1c3d2435 chore(tools): remove unused function from striker-manage-vnc-pipes 2021-08-04 13:40:02 -04:00
Tsu-ba-me
5f6bc3d3b1 build(cgi-bin): require websockify on server VM hosts in specfile 2021-08-04 13:40:02 -04:00
Tsu-ba-me
cdb66019d3 fix(tools): avoid port conflict 2021-08-04 13:40:02 -04:00
Tsu-ba-me
214ef00647 fix(cgi-bin): allow VNC pipes for different servers to be managed in parallel 2021-08-04 13:40:02 -04:00
Tsu-ba-me
7e447000b4 fix(cgi-bin): use unspecified instead of loopback address in SSH tunnel 2021-08-04 13:40:02 -04:00
Tsu-ba-me
b3b6da8259 chore(cgi-bin): remove debug log level from manage_vnc_pipes and its support scripts 2021-08-04 13:40:02 -04:00
Tsu-ba-me
549758b2f2 build(tools): include support scripts for manager_vnc_pipes endpoint into makefile 2021-08-04 13:40:02 -04:00
Tsu-ba-me
1f8e35ad0a build(cgi-bin): include manage_vnc_pipes endpoint into makefile 2021-08-04 13:40:02 -04:00
Tsu-ba-me
e50bfc7308 fix(tools): correct typo in passing server_uuid to get_vnc_info() 2021-08-04 13:40:02 -04:00
Tsu-ba-me
2b6e1bb51b chore(share): add missing labels to error messages 2021-08-04 13:40:02 -04:00
Tsu-ba-me
3a8f4c339b fix(tools): use VNC port in variables table if available 2021-08-04 13:40:02 -04:00
Tsu-ba-me
e4436be17b fix(tools): do checks and kills as root 2021-08-04 13:40:02 -04:00
Tsu-ba-me
f8b45f5a74 fix(cgi-bin): avoid concat blank to job_data in manage_vnc_pipes endpoint 2021-08-04 13:40:02 -04:00
Tsu-ba-me
e79a3989eb fix(cgi-bin): repair wait until job is complete before responding 2021-08-04 13:40:02 -04:00
Tsu-ba-me
bb155a5786 fix(tools): update job progress in catch-all case 2021-08-04 13:40:00 -04:00
Tsu-ba-me
ffc1fb096a fix(tools): correct switch name typo in striker-manage-vnc-pipes 2021-08-04 13:38:28 -04:00
Tsu-ba-me
b2555f2337 fix(cgi-bin): correct typo in job data in manage_vnc_pipes endpoint 2021-08-04 13:38:28 -04:00
Tsu-ba-me
2bef084118 fix(cgi-bin): always wait until job is done before responding 2021-08-04 13:38:28 -04:00
Tsu-ba-me
64de564472 fix(cgi-bin): avoid concat error on undefined --is-open 2021-08-04 13:38:28 -04:00
Tsu-ba-me
1fec288ad0 fix(tools): make striker-manage-vnc-pipes executable 2021-08-04 13:38:28 -04:00
Tsu-ba-me
1d61c8fff7 fix(cgi-bin): modify manage_vnc_pipes endpoint to trigger a job 2021-08-04 13:38:28 -04:00
Tsu-ba-me
7d9013a60b fix(tools): allow striker-manage-vnc-pipes to be executed as a job 2021-08-04 13:38:26 -04:00
Tsu-ba-me
0935b9a990 feat(tools): move manage_vnc_pipes endpoint core logic to separate script 2021-08-04 13:34:58 -04:00
Tsu-ba-me
5cceb09f2a fix(cgi-bin): insert record on new of either websockify or ssh tunnel 2021-08-04 13:34:58 -04:00
Tsu-ba-me
5459e610aa fix(tools): auto-end tunnel script when connection breaks 2021-08-04 13:34:58 -04:00
Tsu-ba-me
fa15c715e4 fix(cgi-bin): revise is process checks to match tunnel script 2021-08-04 13:34:58 -04:00
Tsu-ba-me
d5724c1457 chore(tools): rename striker-start-ssh-tunnel->striker-open-ssh-tunnel 2021-08-04 13:34:58 -04:00
Tsu-ba-me
23d818cfff fix(cgi-bin): avoid direct SSH calls 2021-08-04 13:34:58 -04:00