Commit Graph

3908 Commits

Author SHA1 Message Date
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
Tsu-ba-me
fd3b20e8bd build(striker-ui): rebuild 2023-08-20 19:59:48 -04:00
Tsu-ba-me
2d919a23b0 build(striker-ui-api): rebuild 2023-08-20 19:58:01 -04:00
Tsu-ba-me
7d98119abe fix(striker-ui&api): provide formatted os list to provision form 2023-08-20 19:56:17 -04:00
Tsu-ba-me
ce1c1c6475 fix(striker-ui-api): adjust os list extraction to match new format from tool output 2023-08-20 19:44:42 -04:00
Digimer
644953135a
Merge pull request #445 from ylei-tsubame/tmp/rebuild
Web UI: patch #441, #432, security #12, and file upload progress
2023-08-20 11:01:18 -04:00
Tsu-ba-me
34d1693698 build(striker-ui): rebuild 2023-08-19 04:40:33 -04:00
Tsu-ba-me
7e52f4c439 build(striker-ui-api): rebuild 2023-08-19 04:40:33 -04:00
Tsu-ba-me
54d92f0c21 fix(striker-ui): correct file upload progress display
The upload progress was all modifying the last uploading file in the
list. This commit corrects it such that each progress event matches the
file uplaoding.

In addition, this commit alos prevents the pregress bar from reaching
100 before the request completes.
2023-08-19 04:40:33 -04:00
Tsu-ba-me
5b3ff87c1f fix(striker-ui-api): replace multer with busboy for file upload 2023-08-19 04:40:33 -04:00
Tsu-ba-me
686f61969c fix(striker-ui): rename node->subnode in manifest form fields 2023-08-19 04:40:33 -04:00
Tsu-ba-me
abf5429c3b fix(striker-ui-api): don't check anvil name if doesn't exist when add host in run manifest 2023-08-19 04:40:33 -04:00
Digimer
3d857d7700
Merge pull request #444 from ClusterLabs/prep-release
Update release script to use correct gpg and release url
2023-08-18 21:15:50 -04:00
Digimer
15176c9614
Merge branch 'main' into prep-release 2023-08-18 10:16:20 -04:00
Digimer
5e95b2e8b4
Merge pull request #430 from ClusterLabs/beta-fixes
* Improved log messaging to not log of a potential boot failure when …
2023-08-18 10:16:08 -04:00
Fabio M. Di Nitto
ffe48a8b26 Update release script to use correct gpg and release url
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2023-08-18 05:32:26 +02:00
digimer
d255adc7b4 * Updated anvil-daemon to set the mode of /mnt/shared/* to 0777 during creation and to check that that mode is set for existing sub-directories. This resolves issue #443.
* Cleaned up anvil-manage-dr.8 hyphen escapes.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-17 22:14:40 -04:00
digimer
f23768ac32 * Updated Striker->generate_manifest() to remove integral DR support and add migration-network support. This helps address issue #440.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-17 18:58:12 -04:00
Digimer
4f2e766bab
Merge branch 'main' into beta-fixes 2023-08-17 18:56:49 -04:00
Digimer
606b33c5d6
Merge pull request #438 from ylei-tsubame/tmp/rebuild
Web UI: patch #423, #431, #437, and extra
2023-08-17 10:42:11 -04:00
Tsu-ba-me
f7ba805b95 build(striker-ui-api): rebuild 2023-08-17 02:00:00 -04:00
Tsu-ba-me
3374ca6a4b build(striker-ui): rebuild 2023-08-17 01:58:04 -04:00
Tsu-ba-me
fa70667711 fix(striker-ui-api): exclude deleted fences, upses, manifests from manifest template 2023-08-17 01:57:08 -04:00
Tsu-ba-me
27ab8f2900 fix(striker-ui-api): allow keyword 'new' as manifest UUID in manifest creation 2023-08-17 01:40:36 -04:00
Tsu-ba-me
07e04a970a fix(striker-ui): add form summary to manage manifest forms 2023-08-17 01:21:24 -04:00
Tsu-ba-me
382640bad0 fix(striker-ui): add optional close button to form dialog 2023-08-17 00:58:34 -04:00
Tsu-ba-me
ade881f0d3 fix(striker-ui): remove custom sort comparator for network ifaces 2023-08-16 16:42:15 -04:00
Tsu-ba-me
8846a09a2c fix(striker-ui): sort network ifaces by name initially 2023-08-16 16:23:57 -04:00
digimer
02de75a6ab * Improved log messaging to not log of a potential boot failure when the local DRBD volume(s) are all UpToDate and the peer is offline.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-08-14 12:58:00 -04:00
Digimer
2c747600b7
Merge pull request #427 from ylei-tsubame/tmp/rebuild
Web UI: fixes to resolve #410, #418, #421, #426, and #429
2023-08-13 11:39:45 -04:00
Digimer
99829fce6e
Merge branch 'main' into tmp/rebuild 2023-08-12 23:51:36 -04:00
Tsu-ba-me
71f1247b95 fix(striker-ui): rebuild 2023-08-12 23:50:11 -04:00
Digimer
ede910b505
Merge pull request #408 from ClusterLabs/beta-fixes
* Added PID logging as an option, and enabled it in ocf:alteeve:server
2023-08-12 23:49:52 -04:00
Tsu-ba-me
3a5a747d3e fix(striker-ui-api): rebuild 2023-08-12 23:46:34 -04:00
Tsu-ba-me
fd3596e4ab fix(striker-ui): reduce restrictions on valid UUIDv4 2023-08-12 23:43:40 -04:00