Commit Graph

3492 Commits

Author SHA1 Message Date
digimer
8925dabb9d * Updated anvil-shutdown-server to take the new '--immediate' switch which forces a server to shut down immediately (akin to pulling the power on a traditional machine). This is needed to allow a user to recover a crash or hung server.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-09-21 18:56:12 -04:00
digimer
122816255d * Fixed a bug where a sensor value of '0' was being interpretted as the value not existing.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-09-21 17:33:01 -04:00
digimer
4646f4a030 * Quieted logging.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-09-21 16:39:18 -04:00
digimer
580980717d This commit covers the convertion of 'virsh' shell calls to using 'Sys::Virt' module, and fixes several small bugs related to scan-server;
* Switched all calls to virsh to use Sys::Virt to deal with contention of simultaneous virsh calls.
* Removed collecting screenshots from scan-server.
* Fixed a bad variable substitution in an alert.
* Fixed a bug where a server's boot time wasn't being recorded properly.
* Reworked how we determine which server definition was most recently updated and propogated.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-09-21 15:59:43 -04:00
Digimer
74d8e6d76a
Merge pull request #473 from ylei-tsubame/replace-form-validation
Web UI: replace file manager with external form management and validation libraries
2023-09-21 10:32:19 -04:00
Tsu-ba-me
5ab2362f75 build(striker-ui): rebuild 2023-09-21 03:41:15 -04:00
Tsu-ba-me
fe0d9de28c fix(striker-ui): correct types in file input group 2023-09-21 03:41:15 -04:00
Tsu-ba-me
8b98c5fe6c build(striker-ui-api): rebuild 2023-09-21 03:41:15 -04:00
Tsu-ba-me
45ea421724 fix(striker-ui): prepare handle error in add file form 2023-09-21 03:41:15 -04:00
Tsu-ba-me
a32bbb838e fix(striker-ui): replace file manager 2023-09-21 03:41:15 -04:00
Tsu-ba-me
7d0dab6bb2 fix(striker-ui): show request error, show submitting in edit file form 2023-09-21 03:41:15 -04:00
Tsu-ba-me
f0189b4949 fix(striker-ui): move loading spinner from Dialog actions to ActionGroup 2023-09-21 03:41:15 -04:00
Tsu-ba-me
689734b293 fix(striker-ui): close on proceed when confirm in manage files 2023-09-21 03:41:15 -04:00
Tsu-ba-me
34fc75b3d7 fix(striker-ui): add new file management components 2023-09-21 03:41:15 -04:00
Tsu-ba-me
d8e214715a fix(striker-ui-api): add host type to file detail 2023-09-21 03:41:15 -04:00
Tsu-ba-me
37a096563b fix(striker-ui-api): add info to /api/anvil 2023-09-21 03:41:15 -04:00
Tsu-ba-me
4823b7aeb5 fix(striker-ui): use normal colour on close dialog button 2023-09-21 03:41:15 -04:00
Tsu-ba-me
13994880ac fix(striker-ui): add file related schemas 2023-09-21 03:41:15 -04:00
Tsu-ba-me
2e2450b8b9 fix(striker-ui): add yup dynamic object builder 2023-09-21 03:41:15 -04:00
Tsu-ba-me
990dfbb375 fix(striker-ui): add formik errors converter 2023-09-21 03:41:15 -04:00
Tsu-ba-me
41055cc626 fix(striker-ui): relocate Message(s) types 2023-09-21 03:41:15 -04:00
Tsu-ba-me
da491ab814 fix(striker-ui): add fetch hook 2023-09-21 03:41:15 -04:00
Tsu-ba-me
a7d97c88fd fix(striker-ui): add /api/file response types 2023-09-21 03:41:15 -04:00
Tsu-ba-me
c1d6990070 fix(striker-ui): add /api/anvil response type 2023-09-21 03:41:15 -04:00
Tsu-ba-me
b88f90c315 fix(striker-ui): allow pass messages from parent(s) in MessageGroup 2023-09-21 03:41:15 -04:00
Tsu-ba-me
cfa6fd9539 fix(striker-ui): add tree type 2023-09-21 03:41:15 -04:00
Tsu-ba-me
94db04ede7 fix(striker-ui): add dialog with header, add wide option to dialog 2023-09-21 03:41:15 -04:00
Tsu-ba-me
c05932c261 fix(striker-ui): prioritize parent open state in Dialog 2023-09-21 03:41:15 -04:00
Tsu-ba-me
e8fe92321e fix(striker-ui): break dialog action group 2023-09-21 03:41:15 -04:00
Tsu-ba-me
414987ef3e fix(striker-ui): decompose dialog scroll box 2023-09-21 03:41:15 -04:00
Tsu-ba-me
a8f5170264 fix(striker-ui): decompose confirm dialog 2023-09-21 03:41:15 -04:00
Tsu-ba-me
c03ad02738 fix(striker-ui): move type to extendable event handler 2023-09-21 03:41:15 -04:00
Tsu-ba-me
bbbdb42d59 fix(striker-ui): add string wrapper function 2023-09-21 03:41:15 -04:00
Tsu-ba-me
e2c264a40f fix(striker-ui): add colour presets in ContainedButton 2023-09-21 03:41:15 -04:00
Tsu-ba-me
f064623dd3 fix(striker-ui): adjust combine scroll box branching in ConfirmDialog 2023-09-21 03:41:15 -04:00
Tsu-ba-me
3431cac5dd chore(striker-ui): install lodash 2023-09-21 03:41:15 -04:00
Tsu-ba-me
782bbd2bfa fix(striker-ui): add UncontrolledInput 2023-09-21 03:41:15 -04:00
Tsu-ba-me
f941496c98 chore(striker-ui): install formik, yup 2023-09-21 03:41:15 -04:00
Digimer
59c96f59ee
Merge pull request #467 from ClusterLabs/manage-storage
Manage storage ready for web-ui
2023-09-08 11:51:04 -04:00
digimer
3c9086d1f3 Fixed bugs related to running jobs.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-09-07 20:06:00 -04:00
digimer
e8a84e1c97 Added job handling to anvil-manage-server-storage (needs more testing though).
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-09-07 15:37:31 -04:00
digimer
2f429d2bc7 Fixed bugs related to adding drives and extending drives to servers.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-09-05 22:53:52 -04:00
digimer
e895e1f264 * Finished writting the anvil-manage-server-storage.
* Fixed handling --eject and --insert to work without a device target specified when only one exists, or to find the file path when only the file name is given.
* Updated anvil-manage-server-storage to show files when processing an optical devices without a file being passed.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-09-05 16:53:08 -04:00
digimer
17078347ee Reworked anvil-manage-server-storage to use the translation system.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-09-03 16:02:47 -04:00
Fabio M. Di Nitto
610bad6037
Merge pull request #460 from ylei-tsubame/issues/459-second-manifest
Web UI: patch #459 (double occurences of `Striker->generate_manifest`)
2023-08-22 16:16:15 +02:00
Tsu-ba-me
adcf5ec818 fix(tools): enhance logging in access module 2023-08-21 20:57:31 -04:00
Tsu-ba-me
7845f8c170 fix(tools): correct key check in access_chain of access module
The old check evaluates the expression before determining whether the
resulting value is defined. However, when the expression refers to a
subroutine, it gets executed; if the subroutine doesn't protect against
missing parameters, it'll cause executions with bad input, i.e., the
Striker->generate_manifest subroutine without parameters.

The new check uses can(), which correctly determines whether the key
"exists" on the blessed object; although it doesn't strictly mean
"exists", but it does the job.
2023-08-21 20:50:24 -04:00
Tsu-ba-me
ee259f5a3a fix(tools): reduce UUIDv4 check strictness in access module 2023-08-21 18:59:32 -04:00
Tsu-ba-me
7a2d1776f7 fix(striker-ui-api): refine logs in access module 2023-08-21 18:21:08 -04:00
Digimer
d0c1de9c5f
Merge pull request #450 from ylei-tsubame/tmp/rebuild
Web UI: patch #449
2023-08-21 10:08:40 -04:00