Commit Graph

3742 Commits

Author SHA1 Message Date
Tsu-ba-me
393afaee41 fix(striker-ui): correct filter logic based on 3 max values 2022-11-28 14:37:17 -05:00
Tsu-ba-me
19a6777512 fix(striker-ui): correct colours in MenuItem when focused 2022-11-28 14:37:17 -05:00
Tsu-ba-me
03ef7154cf fix: export SelectProps type 2022-11-28 14:37:17 -05:00
Tsu-ba-me
e1075c131f fix: export OutlinedInputProps type in barrel 2022-11-28 14:37:17 -05:00
Tsu-ba-me
ef562b8082 fix: style difference between w/ and w/o text input in Slider 2022-11-28 14:37:17 -05:00
Tsu-ba-me
131b601e55 fix: correct memory slider WIP 2022-11-28 14:37:17 -05:00
Tsu-ba-me
746747d075 fix(striker-ui): enable text input for Slider and add max/min 2022-11-28 14:37:17 -05:00
Tsu-ba-me
d867cd30f3 fix(striker-ui): export props type in OutlinedInput 2022-11-28 14:37:17 -05:00
Tsu-ba-me
85314c9367 fix(striker-ui): hoist Select and MenuItem 2022-11-28 14:37:17 -05:00
Tsu-ba-me
910fc4a881 chore(striker-ui): allow param-reassign on object props 2022-11-28 14:37:17 -05:00
Tsu-ba-me
70aa5bcdfb feat(striker-ui): add ProvisionServerDialog WIP 2022-11-28 14:37:17 -05:00
Tsu-ba-me
b66666a087 feat(striker-ui): add Slider 2022-11-28 14:37:17 -05:00
Tsu-ba-me
88770462ab fix(striker-ui): allow OutlinedInputLabel style override 2022-11-28 14:37:17 -05:00
Tsu-ba-me
3967fc70d0 fix(striker-ui): pass CSS styles from Dialog down to Panel 2022-11-28 14:37:17 -05:00
Tsu-ba-me
c1f783286e fix(striker-ui): allow OutlinedInput style override 2022-11-28 14:37:17 -05:00
Tsu-ba-me
0c41c45903 fix(striker-ui): upgrade swr from 0.5.7->1.2.2
There's a bug where the onSuccess property of SWRConfiguration
causes a crashed when it is undefined. Seems to be fixed in later
versions, so doing a simple upgrade patches the problem.

This issue caused the Dashboard to show nothing.
2022-11-28 14:37:17 -05:00
Tsu-ba-me
012a1828f8 fix(striker-ui): rename endpoint /files->/file to match back-end 2022-11-28 14:37:17 -05:00
Tsu-ba-me
b0b9314a08 feat(striker-ui-api): handle fetch Anvil details for provision server 2022-11-28 14:37:17 -05:00
Tsu-ba-me
cf5cba3950 fix(striker-ui-api): include missed hosts in /anvil GET 2022-11-28 14:37:17 -05:00
Tsu-ba-me
de8d2ddd50 feat(striker-ui-api): add /anvil route and migrate to singular routes 2022-11-28 14:37:17 -05:00
Tsu-ba-me
c352fc5f0e feat(striker-ui-api): add /servers route 2022-11-28 14:37:17 -05:00
Tsu-ba-me
49fdc9cad4 fix(striker-ui-api): hoist and enhance join logic 2022-11-28 14:37:17 -05:00
Tsu-ba-me
035727b2e0 refactor(striker-ui-api): relocate buildGetRequestHandler 2022-11-28 14:37:17 -05:00
Tsu-ba-me
b583035630 fix(striker-ui-api): allow GET multiple files' detail 2022-11-28 14:37:17 -05:00
Tsu-ba-me
411fd01a20 chore(striker-ui-api): enable clean on rebuild in webpack 2022-11-28 14:37:17 -05:00
Tsu-ba-me
94dee357d8 chore(striker-ui-api): switch to TypeScript 2022-11-28 14:37:09 -05:00
Tsu-ba-me
4af65abe8e build(striker-ui-api): move all source to src folder 2022-11-28 14:29:14 -05:00
Digimer
5d323c3ddf
Merge pull request #257 from ClusterLabs/anvil-tools-dev
Formatted the output of anvil-manage-alerts data (not yet machines) t…
2022-11-22 11:15:36 -05:00
Digimer
ee3bc3eb10 Updated the man page for anvil-manage-alerts.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-22 01:15:27 -05:00
Digimer
6eb99a2168 * FInished the anvil-manage-alerts tool. It can now send test alerts at a user-requested alert level.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-22 01:10:53 -05:00
Digimer
8b7a44cf75 * Finished cleaning up the output of Machines.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-22 00:19:00 -05:00
Digimer
3e53c87a6b Formatted the output of anvil-manage-alerts data (not yet machines) to be more presentable.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-17 23:28:50 -05:00
Digimer
90c7865012
Merge pull request #256 from ClusterLabs/anvil-tools-dev
* Renamed the 'notifications' table to 'alert-override', better refle…
2022-11-17 11:34:51 -05:00
Digimer
622fb84652 * Renamed the 'notifications' table to 'alert-override', better reflecting what it does.
* Got anvil-manage-alerts managing alert overrides.
* Created, but for now commented out, the new 'audit' table.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-17 00:34:52 -05:00
Digimer
753ea7518f
Merge pull request #255 from ClusterLabs/anvil-tools-dev
* Updated System->check_ram_use() to set the maximum RAM based on the…
2022-11-15 23:44:42 -05:00
Digimer
586ce6e5b9 * Got recipints working in anvil-manage-alerts().
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-15 22:17:12 -05:00
Digimer
35cf0c37fb * Updated System->check_ram_use() to set the maximum RAM based on the host type, and set those values in _set_default() so that the user can override if they want.
* Got anvil-manage-alerts to the point where you can add, edit and delete mail servers.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-14 17:17:30 -05:00
Digimer
8bfab0d0ac
Merge pull request #252 from ylei-tsubame/install-striker-access-db
Build: add striker-access-db to tools/Makefile.am
2022-10-29 09:07:08 -04:00
Digimer
1fba964a24
Merge branch 'main' into install-striker-access-db 2022-10-28 22:36:41 -04:00
Digimer
c65764a2a5
Merge pull request #253 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2022-10-28 22:36:06 -04:00
Digimer
a6cd5c6604 * Starting work in the new anvil-manage-alerts, which will (when done), allow for management of mail servers, alert recipients, notification over-rides and to trigger test alerts.
* Updated Database->get_recipients() to record recipients by name for better sorting.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-10-28 20:00:53 -04:00
Tsu-ba-me
0e2f119fef build(tools): add striker-access-db to tools/Makefile.am 2022-10-24 16:32:49 -04:00
Digimer
76f95d8e53 * Added a check to ignore IPMI sensors reporting "No Reading" in scan-ipmitool.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-10-24 14:38:21 -04:00
Digimer
7c0b0edc68
Merge pull request #251 from ClusterLabs/anvil-tools-dev
* Fixed a bug where deleting ports from a fence device in an Install …
2022-10-21 00:15:42 -04:00
Digimer
bde0b2e7ec * Fixed a bug where deleting ports from a fence device in an Install Manifest would not cause the fence methods to be removed from the associated cluster.
* Created Get->anvil_from_switch and Get->server_from_switch() (both need testing) that takes a string that could be either a name or UUID, figures out which it is, finds the entry in the DB and started the X_uuid and X_name switch variables.
* Started work on a second attempt at anvil-manage-server.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-10-20 22:33:41 -04:00
Digimer
9556915cac
Merge pull request #250 from ClusterLabs/anvil-tools-dev
* Updated Get->switches() to always support job-uuid.
2022-10-19 10:36:26 -04:00
Digimer
9239961044
Merge branch 'main' into anvil-tools-dev 2022-10-18 19:18:17 -04:00
Digimer
93427a7a38 * Updated Get->switches() to always support job-uuid.
* Updated striker-initialize-host to support calls from command line switches, and wrote the man page for it.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-10-18 19:16:32 -04:00
digimer-bot
f6b23de2eb
Merge pull request #249 from ClusterLabs/anvil-tools-dev
* Added variables to record when pacemaker and DRBD are configured.
2022-10-18 12:59:43 -04:00
Digimer
c23c79cdf0 Added 'system::all::configured' to anvil-join-anvil to mark an explicit end of config.
Started updating striker-initialize-host to handle the new anvil repo config.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-10-18 10:56:58 -04:00