Commit Graph

398 Commits

Author SHA1 Message Date
Tsu-ba-me
6e615bce7a fix(striker-ui): auto-fix vulnerability in hosted-git-info package 2021-06-09 16:48:10 -04:00
dependabot[bot]
afaa452966 chore: bump @types/styled-components from 5.1.7 to 5.1.10 in /striker-ui
Bumps [@types/styled-components](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/styled-components) from 5.1.7 to 5.1.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/styled-components)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
0ebaf45dcf 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.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/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/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-06-09 16:48:10 -04:00
dependabot[bot]
a4184265e0 chore: bump @material-ui/styles from 4.11.3 to 4.11.4 in /striker-ui
Bumps [@material-ui/styles](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui-styles) 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-styles)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
4368f2fdc8 chore: bump @commitlint/cli from 11.0.0 to 12.1.4 in /striker-ui
Bumps [@commitlint/cli](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/cli"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
7b4acd07ad 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-06-09 16:48:10 -04:00
dependabot[bot]
0e160e582f 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-06-09 16:48:10 -04:00
dependabot[bot]
1c5c073a19 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-06-09 16:48:10 -04:00
dependabot[bot]
ffa394b30f 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-06-09 16:48:10 -04:00
dependabot[bot]
e1429d8c7a chore: bump prettier from 2.2.1 to 2.3.1 in /striker-ui
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
f7e03939e1 chore: bump @types/react from 17.0.3 to 17.0.9 in /striker-ui
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.3 to 17.0.9.
- [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-06-09 16:48:10 -04:00
dependabot[bot]
a1172d7971 fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:48:10 -04:00
dependabot[bot]
265cc5d91e fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:48:10 -04:00
dependabot[bot]
65f461132f fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:48:09 -04:00
dependabot[bot]
d4681cf80f fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:39:36 -04:00
dependabot[bot]
a2ad0c26fb fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:39:36 -04:00
Tsu-ba-me
81d00fd780 build(striker-ui): remove distclean-local and maintainer-clean-local; already implicitly triggers clean-local 2021-06-09 13:45:09 -04:00
Tsu-ba-me
444a901f53 build(striker-ui): re-include all usable source files in release tarball 2021-06-09 12:23:16 -04:00
Tsu-ba-me
f8b8a6186e build(striker-ui): remove git calls from clean hooks 2021-06-09 12:23:16 -04:00
Tsu-ba-me
cf5abee7bd build(striker-ui): rename target clean->clean-build to avoid conflict with default clean 2021-06-09 12:23:16 -04:00
Tsu-ba-me
49d896037a build(striker-ui): don't use build output directory path as target; use its name 2021-06-09 12:23:16 -04:00
Tsu-ba-me
115c3557d2 build(striker-ui): add blank out target 2021-06-09 12:23:16 -04:00
Tsu-ba-me
3a515b7392 build(striker-ui): don't preserve permissions when copying from source 2021-06-09 12:23:16 -04:00
Tsu-ba-me
16e6fdfdd0 build(striker-ui): break down build process to enable proper cleaning 2021-06-09 12:23:16 -04:00
Tsu-ba-me
281e9f850d build(striker-ui): change status message before 'npm run build' 2021-06-09 12:23:16 -04:00
Tsu-ba-me
79d1622f93 chore: rebuild web UI 2021-06-09 12:23:16 -04:00
Tsu-ba-me
81cb1a10f9 build(striker-ui): include minimal build output files into repo 2021-06-09 12:23:16 -04:00
Tsu-ba-me
a4d0bcee5f build(striker-ui): add maintainer-clean-local to remove node modules 2021-06-09 12:23:16 -04:00
Tsu-ba-me
9fc2facf35 build(striker-ui): add default API URL in .env 2021-06-09 12:23:16 -04:00
Tsu-ba-me
d0048ae235 build(striker-ui): remove web UI build steps from 'make all' 2021-06-09 12:23:16 -04:00
Tsu-ba-me
0d143df8a8 build(striker-ui): only include build output in make dist 2021-06-09 12:23:16 -04:00
Josue
f2ef6123b4 chore: include package-lock latest changes 2021-06-09 10:33:46 -04:00
Josue
ffc315e2dc chore: commit husky changes to .gitignore file 2021-06-09 10:33:46 -04:00
Josue
b879377800 chore: upgrade nextjs and fix moderate vulnerabilities 2021-06-09 10:33:46 -04:00
Tsu-ba-me
87ad87e60d build(striker-ui): include dot/hidden entries in clean-up 2021-06-04 17:48:49 -04:00
Tsu-ba-me
9abb468d79 build(striker-ui): include pwd when unlocking files for building web UI 2021-06-04 17:21:35 -04:00
Tsu-ba-me
335cd5d4c7 build(striker-ui): change clean-local target to rm accordingly (depends on pwd) 2021-06-04 17:01:38 -04:00
Tsu-ba-me
4c215e404d build(striker-ui): don't copy make-related files and add distclean-local target 2021-06-04 16:44:42 -04:00
Tsu-ba-me
7c1598575b build(striker-ui): copy files from srcdir for building 2021-06-04 15:49:28 -04:00
Tsu-ba-me
73d4a32d01 build(striker-ui): npm ci->install and don't generate package-lock 2021-06-04 15:27:53 -04:00
Tsu-ba-me
c571a3efda build(striker-ui): rename target build->out to match build output directory name 2021-06-04 15:26:35 -04:00
Tsu-ba-me
0c2952a1c7 build(striker-ui): remove debug pwd calls in Makefile.am 2021-06-04 12:12:38 -04:00
Tsu-ba-me
79fa324f9d build(striker-ui): remove excess call in specfile to build web UI 2021-06-04 12:11:50 -04:00
Tsu-ba-me
b46042aede build(striker-ui): add uninstall steps for web UI 2021-06-04 12:11:50 -04:00
Tsu-ba-me
88590e3e17 build(striker-ui): add install steps for web UI 2021-06-04 12:11:50 -04:00
Tsu-ba-me
23b92cc30f build(striker-ui): ignore npm scripts (including husky config on postinstall) 2021-06-04 12:11:50 -04:00
Tsu-ba-me
f772da5324 build(striker-ui): remove husky related files from tarball 2021-06-04 12:11:49 -04:00
Tsu-ba-me
ce646e086b build(striker-ui): relocate rule comment to pre-section 2021-06-04 12:11:49 -04:00
Tsu-ba-me
8ff9311268 build(striker-ui): add build step to generate .env.local 2021-06-04 12:11:49 -04:00
Tsu-ba-me
e0c5c3bed2 build(striker-ui): add files to include in tarball for building 2021-06-04 12:11:49 -04:00
Tsu-ba-me
2bfcb09672 build(striker-ui): correct Makefile separators 2021-06-04 12:11:49 -04:00
Tsu-ba-me
6cdd216b9c build(cgi-bin): add front-end build process 2021-06-04 12:11:49 -04:00
Josue
9945915f5a refactor: filter out empty nodes before rendering a component 2021-06-04 12:11:49 -04:00
Josue
6611d9f91b refactor: remove unnecessary comment 2021-06-04 12:11:49 -04:00
Josue
8e78ed2fea refactor: sanitize hosts data to avoid using empty nodes 2021-06-04 12:11:49 -04:00
Josue
284d536f7f style: add dividers between nodes and links 2021-06-04 12:11:49 -04:00
Josue
c31cdeec11 style: remove searchbar and add red bottom border 2021-06-04 12:11:49 -04:00
Josue
341a4ad50a fix: change data types in fileSystem to avoid crashing during building process 2021-06-04 12:11:49 -04:00
Josue
cbad6a52a0 refactor: rename filesystems datatype 2021-06-04 12:11:49 -04:00
Josue
227685983f fix: use colour from the palette for the spinner 2021-06-04 12:11:49 -04:00
Josue
029714112b fix: remove unnecessary comment 2021-06-04 12:11:49 -04:00
Josue
440b5c81ef refactor: use online instead of is_removable 2021-06-04 12:11:49 -04:00
Josue
4f88f0113b refactor: turn drawer icons and header icons into buttons and add URIs 2021-06-04 12:11:49 -04:00
Josue
89313de042 refactor: modify SharedStorage to match latest chagnes in specs 2021-06-04 12:11:49 -04:00
Josue
ee063c9f43 feat: add FileSystems component and types 2021-06-04 12:11:49 -04:00
Josue
117fd8a78d style: change CPU component to match latest changes in the design 2021-06-04 12:11:49 -04:00
Josue
1852c68454 fix: filter out nodes with no uuid 2021-06-04 12:11:49 -04:00
Josue
e8693e7ef8 fix: hide progress bar and message if a node is offline 2021-06-04 12:11:49 -04:00
Josue
936057f39e fix: change server status value to match what's in the specs 2021-06-04 12:11:49 -04:00
Josue
64f0c2d756 feat: add spinner 2021-06-04 12:11:49 -04:00
Josue
0e1098d893 refactor: update host state following specs 2021-06-04 12:11:49 -04:00
Josue
7199e1899e refactor: update valid values for link_state 2021-06-04 12:11:49 -04:00
Josue
6b2d3700f9 fix: use host_uuid instead of index number to determine server's host 2021-06-04 12:11:49 -04:00
Josue
24e4509c8d refactor: add reserved prop to Memory component 2021-06-04 12:11:49 -04:00
Josue
a3a4e4c72d fix: use correct endpoint for network 2021-06-04 12:11:49 -04:00
Josue
0e09683d61 fix: use prop names from the specs 2021-06-04 12:11:49 -04:00
Josue
c3f0a948a6 fix: remove subdirectory from URIs 2021-06-04 12:11:49 -04:00
Josue
f79b9e3f04 refactor: adopt back-end naming in all the components 2021-06-04 12:11:49 -04:00
Josue
ff9460cc49 refactor: use node status to determine Anvil status, and add set_power for an anvil 2021-06-04 12:11:49 -04:00
Josue
982a8e4f00 fix: use AnvilStatus type for hosts info instead of Anvil type 2021-06-04 12:11:49 -04:00
Josue
1255ca2599 refactor: translate and display node state messages 2021-06-04 12:11:49 -04:00
Josue
e775b4ac16 refactor: use regex instead of a map to display node state 2021-06-04 12:11:49 -04:00
Josue
431b88aa11 refactor: rewrite function using es6 for consistency 2021-06-04 12:11:49 -04:00
Josue
73af9f6e57 refactor: add sending a request to the backend when switches change state for power and memebership 2021-06-04 12:11:49 -04:00
Josue
2fe146d58c refactor: add types to handle setting a node's power and memebership 2021-06-04 12:11:49 -04:00
Josue
65677c0bfb refactor: add border radius to constants 2021-06-04 12:11:49 -04:00
Josue
fa075598b8 refactor: remove unused style class 2021-06-04 12:11:49 -04:00
Josue
a2809556c1 style: add disable colour to pallete and include it in MUI style 2021-06-04 12:11:49 -04:00
Josue
894558d177 refactor: allow disabling membership switch for nodes in Nodes component 2021-06-04 12:11:49 -04:00
Josue
b70984f5e5 feat: add removable prop to nodes in anvil status 2021-06-04 12:11:49 -04:00
Josue
e557758983 refactor: remove unused styles in the drawer component 2021-06-04 12:11:49 -04:00
Josue
162831ebf2 refactor: move eslint disable rule to a better place 2021-06-04 12:11:49 -04:00
Josue
9cdb9fc0fa style: use Headertext for admin header 2021-06-04 12:11:49 -04:00
Josue
5aa9873f44 fix: use ems with icon sizes 2021-06-04 12:11:49 -04:00
Josue
7209d47aa2 style: hide legacy icons in mobile layout and center search bar 2021-06-04 12:11:49 -04:00
Josue
10650e8bb2 refactor: add legacy icons and text to AnvilDrawer 2021-06-04 12:11:49 -04:00
Josue
45d0368d6f refactor: add icons and text to the drawer 2021-06-04 12:11:49 -04:00
Josue
acd6052b71 feat: add initial implementation of drawer menu 2021-06-04 12:11:49 -04:00
Josue
05786d444b refactor: use better naming for colours 2021-06-04 12:11:49 -04:00
Josue
46e9661152 refactor: remove old dependency 2021-06-04 12:11:49 -04:00
Josue
1ef0b01118 feat: allow setting a differnt origin using an .env file 2021-06-04 12:11:49 -04:00
Josue
27c34cbb01 fix: typos in px to em switch 2021-06-04 12:11:49 -04:00
Josue
434fdd38bc style: fix left padding in serer list 2021-06-04 12:11:49 -04:00
Josue
f52669160c refactor: remove unused version of ReplicatedStorage 2021-06-04 12:11:49 -04:00
Josue
93b6b269e3 refactor: remove next/image to avoid errors during export 2021-06-04 12:11:49 -04:00
Josue
a0fb8bd151 refactor: add export to scripts in package.json 2021-06-04 12:11:49 -04:00
Josue
17c52d562b refactor: remove files from previous demo 2021-06-04 12:11:49 -04:00
Josue
1ed509e497 fix: typos in Anvils and fetcher 2021-06-04 12:11:49 -04:00
Josue
4d2c140234 refactor: use em instead of px 2021-06-04 12:11:49 -04:00
Josue
8df08e6e2c refactor: use Decorator component in SelectedAnvil 2021-06-04 12:11:49 -04:00
Josue
8367a421c1 refactor: remove unnecessary parameter in the fetching tool 2021-06-04 12:11:49 -04:00
Josue
231c6dfdda refactor: add Decorator component 2021-06-04 12:11:49 -04:00
Josue
844e201c0b refactor: move Network to its own module 2021-06-04 12:11:49 -04:00
Josue
cfff53bf1a refactor: move SharedStorage to their own module 2021-06-04 12:11:49 -04:00
Josue
cf40057e97 refactor: move panels to their own module 2021-06-04 12:11:49 -04:00
Josue
5efd3938e2 refactor: include SELECTED_ANVIL colour in the theme 2021-06-04 12:11:49 -04:00
Josue
09f30eba37 refactor: set scrolling depending on screen size 2021-06-04 12:11:49 -04:00
Josue
04b5f6e9fd fix: add padding for better header display, and change overflow depending on screen size 2021-06-04 12:11:49 -04:00
Josue
c7d2d6c925 refactor: remove margin added to main containers in the general layout 2021-06-04 12:11:49 -04:00
Josue
f61d14de0b fix: move margin prop from paper to container 2021-06-04 12:11:49 -04:00
Josue
11ce038344 refactor: switch from pseudo elements to regular elements for square decorator implementation 2021-06-04 12:11:49 -04:00
Josue
e1802e9ab6 style: increase margin in main layout to allow more precision with decorators 2021-06-04 12:11:49 -04:00
Josue
0e5a728dcc refactor: connect switch to Node state 2021-06-04 12:11:49 -04:00
Josue
334623e3bf refactor: change data type to match the specs in the design document 2021-06-04 12:11:49 -04:00
Josue
cd4a42d295 refactor: improve responsive capabilities 2021-06-04 12:11:49 -04:00
Josue
0bf3e6cd38 refactor: fix paths to constanst 2021-06-04 12:11:49 -04:00
Josue
4861bbd91a refactor: change server states to match values defined in the design document 2021-06-04 12:11:49 -04:00
Josue
514755c559 feat: add constants for handling states and decorators 2021-06-04 12:11:49 -04:00
Josue
965a50ddf5 refactor: move setting selected anvil to child components 2021-06-04 12:11:49 -04:00
Josue
4fbb61dede fix: improve anvil default selection at launch 2021-06-04 12:11:49 -04:00
Josue
3d837a3ea7 fix: provide default value for undefined string 2021-06-04 12:11:49 -04:00
Josue
a3244fc58b fix: change the nesting of the components to fix problem with the AppBar 2021-06-04 12:11:49 -04:00
Josue
6a2433878f refactor: handle overflow in the Nodes component 2021-06-04 12:11:49 -04:00
Josue
a5ba0a7c50 refactor: use Context in the SelectedAnvil component 2021-06-04 12:11:49 -04:00
Josue
ed79116296 style: add padding to the box containing the mount point 2021-06-04 12:11:49 -04:00
Josue
85f13e4ab9 refactor: use a real element instead of a pseudo element to create the panel header 2021-06-04 12:11:49 -04:00
Josue
14d8dd1683 refactor: remove Grid and use Box in the header 2021-06-04 12:11:49 -04:00
Josue
f3b5a8cfbb style: add new colours to consts 2021-06-04 12:11:49 -04:00
Josue
5ffdd3b0f9 refactor: add context to Anvils component 2021-06-04 12:11:49 -04:00
Josue
36c4bae2bd refactor: change the home page to take advantage of React context 2021-06-04 12:11:49 -04:00
Josue
bd4d5a1dda style: change dividers' and borders' colour to match design 2021-06-04 12:11:49 -04:00
Josue
bfbefa74c6 refactor: use context to display anvil info in CPU, Memory, Network, Storage and Nodes components 2021-06-04 12:11:49 -04:00
Josue
2c795383d2 refactor: switch from Grid to Box for more flexible layout using flexbox 2021-06-04 12:11:49 -04:00
Josue
ec28e8750a refactor: move the Header component to the home page 2021-06-04 12:11:49 -04:00
Josue
d416ec2980 feat: add tool for anvil sorting 2021-06-04 12:11:49 -04:00
Josue
54d777b989 refactor: add propper decorator selector for selected anvil 2021-06-04 12:11:49 -04:00
Josue
b3756cbe20 refactor: modify Network to use useContext for selected anvil 2021-06-04 12:11:49 -04:00
Josue
d765e858af refactor: modify Network to use useContext for selected anvil 2021-06-04 12:11:49 -04:00
Josue
6d150f75f8 feat: add react context to handle selected anvils 2021-06-04 12:11:49 -04:00
Josue
2a756e152d refactor: add bond speed and state to processed network data 2021-06-04 12:11:49 -04:00