234 Commits

Author SHA1 Message Date
23e0b33b43 Use basic-jwt crate to sign / validate JWT 2024-04-20 13:33:32 +02:00
9432b3a8fd Remove "None" variant for JWT public key 2024-04-20 11:56:36 +02:00
c81df0e6f7 Merge branch 'master' into api 2024-04-20 09:43:49 +00:00
f1b700f832 Rename /api/tokens -> /api/token 2024-04-20 11:38:45 +02:00
ff35da5639 Add API tokens management 2024-04-20 11:35:26 +02:00
43382991eb Add network filter management 2024-04-20 11:28:10 +02:00
f404018392 Networks management 2024-04-20 11:17:49 +02:00
c0b50c75fd Can set VM rights for API tokens 2024-04-20 10:57:08 +02:00
e68569b9b4 Add basic token rights editor 2024-04-20 09:46:25 +02:00
149e3f4d72 Update Rust crate sysinfo to 0.30.11 2024-04-20 00:33:45 +00:00
f1ba3bc5ab Update Rust crate reqwest to 0.12.4 2024-04-20 00:13:11 +00:00
c7f72882a7 Add raw API token rights editor 2024-04-19 22:42:01 +02:00
ec25b6e4f1 Can configure maximum inactivity of token 2024-04-19 18:52:28 +02:00
89b9f7c292 Fix error 2024-04-18 22:45:31 +02:00
5e134ffba6 Show private key after API key creation 2024-04-18 22:44:34 +02:00
3f64cd3259 Fix API tokens routes 2024-04-18 19:39:41 +02:00
84e293bddb Start to build routes to create, view and edit API token 2024-04-18 19:38:25 +02:00
6ebff3ac0c Attempt to fix dependency conflict 2024-04-17 22:22:22 +02:00
91127ea61f List the tokens from the WebUI 2024-04-17 22:20:01 +02:00
f03b631b6c Add path globbing 2024-04-17 21:41:58 +02:00
1d12d5c9be Merge branch 'master' into api 2024-04-17 19:23:04 +00:00
cea123f5b0 Merge pull request 'Update Rust crate anyhow to 1.0.82' () from renovate/anyhow-1.x into master
Reviewed-on: 
2024-04-17 05:57:45 +00:00
927414dbaf Merge branch 'master' into renovate/anyhow-1.x 2024-04-17 05:57:32 +00:00
2ac16fd1cb Merge pull request 'Update Rust crate num to 0.4.2' () from renovate/num-0.x into master
Reviewed-on: 
2024-04-17 05:57:12 +00:00
59c64e4633 Merge pull request 'Update Rust crate serde_json to 1.0.116' () from renovate/serde_json-1.x into master
Reviewed-on: 
2024-04-17 05:56:29 +00:00
74924cff88 Update Rust crate serde_json to 1.0.116 2024-04-17 00:13:54 +00:00
f0328a8912 Update Rust crate num to 0.4.2 2024-04-13 00:13:11 +00:00
afc1b5cca6 Update Rust crate sysinfo to 0.30.10 2024-04-11 00:13:13 +00:00
b0ca64b2ff Update Rust crate anyhow to 1.0.82 2024-04-11 00:13:07 +00:00
d8e5aa17f3 Update README.md 2024-04-10 20:04:17 +00:00
cbef5f2a78 Enforce IP restriction 2024-04-10 21:35:53 +02:00
d5eee04d7a Can block token unauthorized to access a specific route 2024-04-10 21:22:15 +02:00
579e54f7d3 Update last activity of token 2024-04-10 21:10:00 +02:00
b1937d42a2 Create a basic API client 2024-04-10 21:03:05 +02:00
23fc10bb60 Merge branch 'master' into api 2024-04-10 16:47:31 +00:00
9002b0c4b1 Update node Docker tag to v21 2024-04-10 00:36:27 +00:00
33eaaf2e6b Update dependency typescript to v5 2024-04-10 00:12:13 +00:00
631cc96537 Give more appropriate name to define authorized route for API token 2024-04-09 21:53:11 +02:00
fd3df3d214 Start to implement API tokens checks 2024-04-09 21:49:26 +02:00
418055a640 Forgot to save new tokens... 2024-04-09 19:41:33 +02:00
0ee2c41f3c Can update and delete API tokens 2024-04-09 19:39:41 +02:00
e938b5a423 Merge branch 'master' into api 2024-04-09 17:06:18 +00:00
0c5a232a25 Can get a single API token 2024-04-09 19:04:49 +02:00
f56e9c14b2 Can get the list of tokens 2024-04-09 18:56:12 +02:00
60a3cb3d10 Can create API tokens 2024-04-09 18:36:18 +02:00
bab34b7c7f Add more test to validate JWTs 2024-04-09 18:04:00 +02:00
bdb15e16af Update dependency @types/react to v18.2.75 2024-04-09 00:55:02 +00:00
0ec491bf3e Update Rust crate sysinfo to 0.30.9 2024-04-09 00:15:39 +00:00
0217d1c53d WIP 2024-04-08 22:46:17 +02:00
ab7907d947 WIP 2024-04-08 22:19:28 +02:00