Commit Graph

3220 Commits

Author SHA1 Message Date
Josue
23cdfd10b2 style(front-end): remove component header and add close button to full display mode 2021-08-10 17:07:10 -04:00
Josue
b572f19d2c refactor: modify server page to allow different types of display depending on user input 2021-08-10 17:07:10 -04:00
Josue
783a0d99b6 refactor: create component for preview and move display views to their own directory 2021-08-10 17:07:10 -04:00
Josue
6e380fe11c refactor: rename display component to FullSize so it's only used for vnc stream full display 2021-08-10 17:07:10 -04:00
Josue
e4f617ffc0 refactor: remove unnecessary setup for displaying vnc feed 2021-08-10 17:07:10 -04:00
Josue
96576f5055 refactor: remove react-vnc and add react-vnc-display for vnc connection in the server page 2021-08-10 17:07:10 -04:00
Josue
35e672a21b feat: add react-vnc 2021-08-10 17:07:10 -04:00
Josue
c1d8cf3a48 style: remove bottom padding from inner pannel 2021-08-10 17:07:10 -04:00
Josue
e523ad01ce fix: change url to fetch server info using latest changes in the specs 2021-08-10 17:07:10 -04:00
Josue
bf93f5a5db refactor: add condition to render divider 2021-08-10 17:07:10 -04:00
Josue
57c891bfdf refactor: add anchors to list items in server list 2021-08-10 17:07:10 -04:00
Josue
32b3b6a1f8 refactor: add better alignment and a divider to the resource component 2021-08-10 17:07:10 -04:00
Josue
fa7950057c refactor: include link icon and decorator in the resource component 2021-08-10 17:07:10 -04:00
Josue
0cfe18904f refactor: move volumes and nested data to their own component 2021-08-10 17:07:10 -04:00
Josue
90e6abee2b refactor: fix ReplicatedStorage type to handle one resource instead of a list 2021-08-10 17:07:10 -04:00
Josue
7608d643fd refactor: pass fetched server into Resource component 2021-08-10 17:07:10 -04:00
Josue
e728e3b5f9 refactor: use server_uuid to fetch a resource 2021-08-10 17:07:10 -04:00
Josue
8f353679bb feat: add server page and boilerplate code for the components 2021-08-10 17:07:10 -04:00
dependabot[bot]
ea38f991d8 chore: bump @typescript-eslint/eslint-plugin in /striker-ui
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.26.1 to 4.27.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.27.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  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]
df4b1b727f 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.26.1 to 4.27.0.
- [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.27.0/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:10 -04:00
dependabot[bot]
6cb1d29a08 chore: bump eslint-plugin-prettier from 3.3.1 to 3.4.0 in /striker-ui
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  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]
ddf3b4085c chore: bump eslint-config-prettier from 7.2.0 to 8.3.0 in /striker-ui
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.2.0 to 8.3.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.2.0...v8.3.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  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]
bbfa20a13a chore: bump eslint-plugin-import from 2.22.1 to 2.23.4 in /striker-ui
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.4.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  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]
15f76adeec chore: bump typescript from 4.2.3 to 4.3.2 in /striker-ui
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.3 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.3...v4.3.2)

---
updated-dependencies:
- dependency-name: typescript
  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]
829db8d165 chore: bump swr from 0.4.2 to 0.5.6 in /striker-ui
Bumps [swr](https://github.com/vercel/swr) from 0.4.2 to 0.5.6.
- [Release notes](https://github.com/vercel/swr/releases)
- [Commits](https://github.com/vercel/swr/compare/0.4.2...0.5.6)

---
updated-dependencies:
- dependency-name: swr
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 17:07:10 -04:00
dependabot[bot]
96e603db78 chore: bump @commitlint/config-conventional in /striker-ui
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint) from 11.0.0 to 12.1.4.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.1.4)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  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]
a335a5c624 chore: bump @material-ui/core from 4.11.3 to 4.11.4 in /striker-ui
Bumps [@material-ui/core](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui) from 4.11.3 to 4.11.4.
- [Release notes](https://github.com/mui-org/material-ui/releases)
- [Changelog](https://github.com/mui-org/material-ui/blob/v4.11.4/CHANGELOG.md)
- [Commits](https://github.com/mui-org/material-ui/commits/v4.11.4/packages/material-ui)

---
updated-dependencies:
- dependency-name: "@material-ui/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 17:07:10 -04:00
dependabot[bot]
f146108d38 chore: bump eslint from 7.21.0 to 7.28.0 in /striker-ui
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.28.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.28.0)

---
updated-dependencies:
- dependency-name: eslint
  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]
6228a5f08a chore: bump husky from 5.1.3 to 6.0.0 in /striker-ui
Bumps [husky](https://github.com/typicode/husky) from 5.1.3 to 6.0.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v5.1.3...v6.0.0)

---
updated-dependencies:
- dependency-name: husky
  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]
3c64d38fc4 chore: bump @types/node from 14.14.33 to 15.12.2 in /striker-ui
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.33 to 15.12.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  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]
eb00d0dc03 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:10 -04:00
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