51 Commits

Author SHA1 Message Date
579ee6dffb Merge pull request 'Update dependency filesize to ^11.0.1' () from renovate/filesize-11.x into master 2025-07-15 02:25:13 +00:00
a1bfbdd2a3 Update dependency filesize to ^11.0.1 2025-07-15 00:19:14 +00:00
1378ee88f1 Merge pull request 'Update Node.js to v24' () from renovate/node-24.x into master 2025-07-14 02:43:22 +00:00
0afe6ebace Merge pull request 'Update dependency filesize to v11' () from renovate/filesize-11.x into master 2025-07-14 02:39:39 +00:00
edf935cf2c Update Node.js to v24 2025-07-14 00:19:19 +00:00
ed740901d0 Update dependency filesize to v11 2025-07-14 00:19:15 +00:00
1ee27d721d Merge pull request 'Update dependency @eslint/js to ^9.31.0' () from renovate/eslint-js-9.x into master 2025-07-13 02:48:06 +00:00
6fa842eecd Merge pull request 'Update dependency @fluentui/react-icons to ^2.0.306' () from renovate/fluentui-react-icons-2.x into master 2025-07-13 02:44:15 +00:00
dd307ba7d5 Update dependency @eslint/js to ^9.31.0 2025-07-13 00:19:09 +00:00
a79b259df1 Update dependency @fluentui/react-icons to ^2.0.306 2025-07-13 00:19:03 +00:00
8276b04452 Merge pull request 'Update dependency @fluentui/react-components to ^9.66.7' () from renovate/fluentui-react-components-9.x into master 2025-07-12 02:46:44 +00:00
ef8bf9d6bd Update dependency @fluentui/react-components to ^9.66.7 2025-07-12 00:19:17 +00:00
c1c8761da2 Merge pull request 'Update dependency vite to v7' () from renovate/vite-7.x into master 2025-07-11 02:45:55 +00:00
9970f70aaa Merge pull request 'Update Rust crate uuid to 1.17.0' () from renovate/uuid-1.x into master 2025-07-11 02:42:18 +00:00
0e8aeeb8ca Update dependency vite to v7 2025-07-11 00:19:35 +00:00
6f05b97a9a Update Rust crate uuid to 1.17.0 2025-07-11 00:19:30 +00:00
a0081c03ea Merge pull request 'Update dependency typescript-eslint to ^8.36.0' () from renovate/typescript-eslint-8.x into master 2025-07-10 03:10:49 +00:00
52ae7de998 Merge pull request 'Update Rust crate clap to 4.5.41' () from renovate/clap-4.x into master 2025-07-10 03:03:00 +00:00
9f919ab26d Update dependency typescript-eslint to ^8.36.0 2025-07-10 00:20:31 +00:00
661a74f632 Update Rust crate clap to 4.5.41 2025-07-10 00:20:25 +00:00
61072285cb Merge pull request 'Update dependency globals to ^16.3.0' () from renovate/globals-16.x into master 2025-07-09 02:49:28 +00:00
f9c14fa335 Merge pull request 'Update dependency @typescript-eslint/parser to ^8.36.0' () from renovate/typescript-eslint-parser-8.x into master 2025-07-09 02:41:50 +00:00
0f3225c8b0 Update dependency globals to ^16.3.0 2025-07-09 00:19:38 +00:00
77ee9773df Update dependency @typescript-eslint/parser to ^8.36.0 2025-07-09 00:19:33 +00:00
974fd928c7 Merge pull request 'Update dependency @typescript-eslint/eslint-plugin to ^8.36.0' () from renovate/typescript-eslint-eslint-plugin-8.x into master 2025-07-08 02:58:47 +00:00
44862d68ba Update dependency @typescript-eslint/eslint-plugin to ^8.36.0 2025-07-08 00:19:36 +00:00
70ef361c6c Merge pull request 'Update dependency @eslint/js to ^9.30.1' () from renovate/eslint-js-9.x into master 2025-07-07 02:26:09 +00:00
55053a2e37 Merge pull request 'Update Rust crate reqwest to 0.12.22' () from renovate/reqwest-0.x into master 2025-07-07 02:22:36 +00:00
18e336e12b Update dependency @eslint/js to ^9.30.1 2025-07-07 00:19:00 +00:00
98fe611be3 Update Rust crate reqwest to 0.12.22 2025-07-07 00:18:56 +00:00
11878d22e8 Merge pull request 'Update dependency @typescript-eslint/parser to ^8.35.1' () from renovate/typescript-eslint-parser-8.x into master 2025-07-06 02:25:31 +00:00
d09483098a Merge pull request 'Update dependency @fluentui/react-icons to ^2.0.305' () from renovate/fluentui-react-icons-2.x into master 2025-07-06 02:22:01 +00:00
a01a660f99 Update dependency @typescript-eslint/parser to ^8.35.1 2025-07-06 00:19:19 +00:00
caa33fdebf Update dependency @fluentui/react-icons to ^2.0.305 2025-07-06 00:19:13 +00:00
027fb1eecf Merge pull request 'Update dependency @fluentui/react-components to ^9.66.6' () from renovate/fluentui-react-components-9.x into master 2025-07-05 02:39:02 +00:00
68006504eb Update dependency @fluentui/react-components to ^9.66.6 2025-07-05 00:12:55 +00:00
8210cbfb4f Update dependency @typescript-eslint/eslint-plugin to ^8.35.1 2025-07-04 02:52:02 +00:00
a3959d7abc Update dependency @fluentui/react-components to ^9.66.5 2025-07-04 00:12:50 +00:00
9af843c287 Fix cargo clippy issue 2025-07-03 08:29:07 +02:00
adf7066ba0 Update dependency @typescript-eslint/parser to ^8.35.0 2025-06-26 00:12:27 +00:00
d4c3e40abf Update dependency @vitejs/plugin-react to ^4.6.0 2025-06-25 00:12:14 +00:00
78fc0b368c Update dependency @fluentui/react-components to ^9.66.3 2025-06-24 00:14:25 +00:00
0f2e072976 Fix VM memory size 2025-06-23 14:56:00 +00:00
a5d329eca8 Fix VM memory size 2025-06-23 14:55:09 +00:00
b0ee9288a6 Update Rust crate actix-web to 4.11.0 2025-06-23 00:24:53 +00:00
498ee9f861 Update dependency typescript-eslint to ^8.34.1 2025-06-22 00:23:12 +00:00
e1fd104fec Update dependency globals to ^16.2.0 2025-06-21 00:23:54 +00:00
c6bff2d793 Update dependency @fluentui/react-icons to ^2.0.304 2025-06-20 00:25:35 +00:00
f2626f9987 Update dependency @fluentui/react-components to ^9.66.2 2025-06-19 00:23:44 +00:00
39873cfa40 Update dependency @typescript-eslint/eslint-plugin to ^8.34.1 2025-06-18 00:25:02 +00:00
e3df9e63e6 Update dependency @typescript-eslint/parser to ^8.34.1 2025-06-17 00:30:49 +00:00
8 changed files with 863 additions and 778 deletions

@ -5,7 +5,7 @@ name: default
steps: steps:
- name: frontend_build - name: frontend_build
image: node:23 image: node:24
volumes: volumes:
- name: frontend_app - name: frontend_app
path: /tmp/frontend_build path: /tmp/frontend_build

@ -36,9 +36,9 @@ dependencies = [
[[package]] [[package]]
name = "actix-http" name = "actix-http"
version = "3.10.0" version = "3.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fa882656b67966045e4152c634051e70346939fced7117d5f0b52146a7c74c9" checksum = "44dfe5c9e0004c623edc65391dfd51daa201e7e30ebd9c9bedf873048ec32bc2"
dependencies = [ dependencies = [
"actix-codec", "actix-codec",
"actix-rt", "actix-rt",
@ -137,9 +137,9 @@ dependencies = [
[[package]] [[package]]
name = "actix-server" name = "actix-server"
version = "2.5.1" version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6398974fd4284f4768af07965701efbbb5fdc0616bff20cade1bb14b77675e24" checksum = "a65064ea4a457eaf07f2fba30b4c695bf43b721790e9530d26cb6f9019ff7502"
dependencies = [ dependencies = [
"actix-rt", "actix-rt",
"actix-service", "actix-service",
@ -191,9 +191,9 @@ dependencies = [
[[package]] [[package]]
name = "actix-web" name = "actix-web"
version = "4.10.2" version = "4.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2e3b15b3dc6c6ed996e4032389e9849d4ab002b1e92fbfe85b5f307d1479b4d" checksum = "a597b77b5c6d6a1e1097fddde329a83665e25c5437c696a3a9a4aa514a614dea"
dependencies = [ dependencies = [
"actix-codec", "actix-codec",
"actix-http", "actix-http",
@ -476,9 +476,9 @@ dependencies = [
[[package]] [[package]]
name = "brotli" name = "brotli"
version = "7.0.0" version = "8.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc97b8f16f944bba54f0433f07e30be199b6dc2bd25937444bbad560bcea29bd" checksum = "9991eea70ea4f293524138648e41ee89b0b2b12ddef3b255effa43c8056e0e0d"
dependencies = [ dependencies = [
"alloc-no-stdlib", "alloc-no-stdlib",
"alloc-stdlib", "alloc-stdlib",
@ -487,9 +487,9 @@ dependencies = [
[[package]] [[package]]
name = "brotli-decompressor" name = "brotli-decompressor"
version = "4.0.2" version = "5.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74fa05ad7d803d413eb8380983b092cbbaf9a85f151b871360e7b00cd7060b37" checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03"
dependencies = [ dependencies = [
"alloc-no-stdlib", "alloc-no-stdlib",
"alloc-stdlib", "alloc-stdlib",
@ -545,9 +545,9 @@ dependencies = [
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.5.40" version = "4.5.41"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f" checksum = "be92d32e80243a54711e5d7ce823c35c41c9d929dc4ab58e1276f625841aadf9"
dependencies = [ dependencies = [
"clap_builder", "clap_builder",
"clap_derive", "clap_derive",
@ -555,9 +555,9 @@ dependencies = [
[[package]] [[package]]
name = "clap_builder" name = "clap_builder"
version = "4.5.40" version = "4.5.41"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e" checksum = "707eab41e9622f9139419d573eca0900137718000c517d47da73045f54331c3d"
dependencies = [ dependencies = [
"anstream", "anstream",
"anstyle", "anstyle",
@ -567,9 +567,9 @@ dependencies = [
[[package]] [[package]]
name = "clap_derive" name = "clap_derive"
version = "4.5.40" version = "4.5.41"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce" checksum = "ef4f52386a59ca4c860f7393bcf8abd8dfd91ecccc0f774635ff68e92eeef491"
dependencies = [ dependencies = [
"heck", "heck",
"proc-macro2", "proc-macro2",
@ -2035,9 +2035,9 @@ dependencies = [
[[package]] [[package]]
name = "reqwest" name = "reqwest"
version = "0.12.20" version = "0.12.22"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eabf4c97d9130e2bf606614eb937e86edac8292eaa6f422f995d7e8de1eb1813" checksum = "cbc931937e6ca3a06e3b6c0aa7841849b160a90351d6ab467a8b9b9959767531"
dependencies = [ dependencies = [
"base64 0.22.1", "base64 0.22.1",
"bytes", "bytes",
@ -2537,9 +2537,9 @@ dependencies = [
[[package]] [[package]]
name = "tokio" name = "tokio"
version = "1.44.1" version = "1.45.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f382da615b842244d4b8738c82ed1275e6c5dd90c459a30941cd07080b06c91a" checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779"
dependencies = [ dependencies = [
"backtrace", "backtrace",
"bytes", "bytes",
@ -2751,12 +2751,14 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]] [[package]]
name = "uuid" name = "uuid"
version = "1.16.0" version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" checksum = "3cf4199d1e5d15ddd86a694e4d0dffa9c323ce759fea589f00fef9d81cc1931d"
dependencies = [ dependencies = [
"getrandom 0.3.2", "getrandom 0.3.2",
"js-sys",
"serde", "serde",
"wasm-bindgen",
] ]
[[package]] [[package]]

@ -8,20 +8,20 @@ edition = "2024"
[dependencies] [dependencies]
log = "0.4.27" log = "0.4.27"
env_logger = "0.11.8" env_logger = "0.11.8"
clap = { version = "4.5.40", features = ["derive", "env"] } clap = { version = "4.5.41", features = ["derive", "env"] }
serde = { version = "1.0.219", features = ["derive"] } serde = { version = "1.0.219", features = ["derive"] }
light-openid = { version = "1.0.4", features = ["crypto-wrapper"] } light-openid = { version = "1.0.4", features = ["crypto-wrapper"] }
basic-jwt = "0.3.0" basic-jwt = "0.3.0"
actix-web = "4.10.2" actix-web = "4.11.0"
actix-remote-ip = "0.1.0" actix-remote-ip = "0.1.0"
actix-session = { version = "0.10.1", features = ["cookie-session"] } actix-session = { version = "0.10.1", features = ["cookie-session"] }
actix-identity = "0.8.0" actix-identity = "0.8.0"
actix-cors = "0.7.1" actix-cors = "0.7.1"
lazy_static = "1.5.0" lazy_static = "1.5.0"
anyhow = "1.0.98" anyhow = "1.0.98"
reqwest = { version = "0.12.20", features = ["json"] } reqwest = { version = "0.12.22", features = ["json"] }
thiserror = "2.0.12" thiserror = "2.0.12"
uuid = { version = "1.16.0", features = ["v4", "serde"] } uuid = { version = "1.17.0", features = ["v4", "serde"] }
futures-util = "0.3.31" futures-util = "0.3.31"
lazy-regex = "3.4.1" lazy-regex = "3.4.1"
mime_guess = "2.0.5" mime_guess = "2.0.5"

@ -37,7 +37,7 @@ impl actix_web::error::ResponseError for HttpErr {
} }
} }
fn error_response(&self) -> HttpResponse<BoxBody> { fn error_response(&self) -> HttpResponse<BoxBody> {
log::error!("Error while processing request! {}", self); log::error!("Error while processing request! {self}");
HttpResponse::InternalServerError().body("Failed to execute request!") HttpResponse::InternalServerError().body("Failed to execute request!")
} }

File diff suppressed because it is too large Load Diff

@ -10,25 +10,25 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@fluentui/react-components": "^9.66.1", "@fluentui/react-components": "^9.66.7",
"@fluentui/react-icons": "^2.0.303", "@fluentui/react-icons": "^2.0.306",
"filesize": "^10.1.6", "filesize": "^11.0.1",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1" "react-dom": "^18.3.1"
}, },
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.29.0", "@eslint/js": "^9.31.0",
"@types/react": "^18.3.23", "@types/react": "^18.3.23",
"@types/react-dom": "^18.3.7", "@types/react-dom": "^18.3.7",
"@typescript-eslint/eslint-plugin": "^8.32.1", "@typescript-eslint/eslint-plugin": "^8.36.0",
"@typescript-eslint/parser": "^8.32.1", "@typescript-eslint/parser": "^8.36.0",
"@vitejs/plugin-react": "^4.4.1", "@vitejs/plugin-react": "^4.6.0",
"eslint": "^9.26.0", "eslint": "^9.26.0",
"eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20", "eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.1.0", "globals": "^16.3.0",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"typescript-eslint": "^8.32.1", "typescript-eslint": "^8.36.0",
"vite": "^6.3.5" "vite": "^7.0.4"
} }
} }

@ -123,7 +123,7 @@ function GroupInfo(p: { group: VMGroup }): React.ReactElement {
</TableCell> </TableCell>
<TableCell> <TableCell>
{item.architecture} &bull; RAM :{" "} {item.architecture} &bull; RAM :{" "}
{filesize(item.memory * 1000 * 1000)} &bull;{" "} {filesize(item.memory)} &bull;{" "}
{item.number_vcpu} vCPU {item.number_vcpu} vCPU
</TableCell> </TableCell>
<TableCell>{state?.[item.uuid] ?? ""}</TableCell> <TableCell>{state?.[item.uuid] ?? ""}</TableCell>

@ -107,7 +107,7 @@ function VMWidget(p: { vm: VMInfoAndCaps }): React.ReactElement {
} }
/> />
<p className={styles.caption1} style={{ margin: "0px auto" }}> <p className={styles.caption1} style={{ margin: "0px auto" }}>
{p.vm.architecture} &bull; RAM : {filesize(p.vm.memory * 1000 * 1000)}{" "} {p.vm.architecture} &bull; RAM : {filesize(p.vm.memory)}{" "}
&bull; {p.vm.number_vcpu} vCPU &bull; {p.vm.number_vcpu} vCPU
</p> </p>