Commit Graph

3453 Commits

Author SHA1 Message Date
Tsu-ba-me
1d5175b68f refactor(striker-ui): migrate MUI v4->5 on Hosts/AnvilHost 2022-03-18 22:50:40 -04:00
Tsu-ba-me
4417388bc9 refactor(striker-ui): migrate MUI v4->5 on SharedStorage/SharedStorage 2022-03-18 22:50:40 -04:00
Tsu-ba-me
bc5583657f refactor(striker-ui): migrate MUI v4->5 on SharedStorage/SharedStorageHost 2022-03-18 22:50:40 -04:00
Tsu-ba-me
82a0cc950d refactor(striker-ui): migrate MUI v4->5 on Network/Network 2022-03-18 22:50:40 -04:00
Tsu-ba-me
a162d04ff0 refactor(striker-ui): migrate MUI v4->5 on Panels/PanelHeader 2022-03-18 22:50:40 -04:00
Tsu-ba-me
f360abd58d refactor(striker-ui): migrate MUI v4->5 on Panels/InnerPanel 2022-03-18 22:50:40 -04:00
Tsu-ba-me
fd6978399b refactor(striker-ui): migrate MUI v4->5 on Text/BodyText 2022-03-18 22:50:40 -04:00
Tsu-ba-me
d925a7e44e refactor(striker-ui): migrate MUI v4->5 on Bars/* 2022-03-18 22:50:40 -04:00
Tsu-ba-me
2ae32014a8 refactor(striker-ui): migrate MUI v4->5 on Anvils/AnvilList 2022-03-18 22:50:40 -04:00
Tsu-ba-me
6b1cb44c70 refactor(striker-ui): migrate MUI v4->5 on Panels/Panel 2022-03-18 22:50:40 -04:00
Tsu-ba-me
9f3a987e3e refactor(striker-ui): migrate MUI v4->5 on Storage 2022-03-18 22:50:40 -04:00
Tsu-ba-me
b112f84210 refactor(striker-ui): migrate MUI v4->5 on Spinner 2022-03-18 22:50:40 -04:00
Tsu-ba-me
19eca2f79b refactor(striker-ui): migrate MUI v4->5 on Memory 2022-03-18 22:50:40 -04:00
Tsu-ba-me
f11fa889cf refactor(striker-ui): migrate MUI v4->5 on Header 2022-03-18 22:50:40 -04:00
Tsu-ba-me
24b0708284 refactor(striker-ui): remove extra root CSS class on Anvils/SelectedAnvil 2022-03-18 22:50:40 -04:00
Tsu-ba-me
96f1d0db59 refactor(striker-ui): migrate MUI v4->5 on Decorator 2022-03-18 22:50:40 -04:00
Tsu-ba-me
de6038a3d5 refactor(striker-ui): migrate MUI v4->5 on CPU 2022-03-18 22:50:40 -04:00
Tsu-ba-me
21dd7577b2 refactor(striker-ui): migrate MUI v4->5 on AnvilDrawer 2022-03-18 22:50:40 -04:00
Tsu-ba-me
d7bed986ae refactor(striker-ui): migrate MUI v4->5 on Anvils/SelectedAnvil 2022-03-18 22:50:40 -04:00
Tsu-ba-me
901df0f5d3 fix(striker-ui): resolve MUI breaking changes on Typography 2022-03-18 22:50:40 -04:00
Tsu-ba-me
9025f109eb fix(striker-ui): switch from JSS to Emotion engine (MUI v4 to v5) 2022-03-18 22:50:40 -04:00
Tsu-ba-me
237d73f673 chore(striker-ui): switch to fontsource 2022-03-18 22:50:40 -04:00
Tsu-ba-me
5e21988f41 chore(striker-ui): install MUI v5 related packages 2022-03-18 22:50:40 -04:00
Tsu-ba-me
1cce35ab84 chore(striker-ui): remove all styled-component related packages 2022-03-18 22:50:40 -04:00
Tsu-ba-me
19d29a678e fix(striker-ui): fetch file list data from files endpoint 2022-03-18 22:50:40 -04:00
Tsu-ba-me
f9fdb821c8 chore(striker-ui): remove unused eslint disable line 2022-03-18 22:50:40 -04:00
Tsu-ba-me
5d0dbe3c5f fix(striker-ui-api): enable CORS for all origins 2022-03-18 22:50:40 -04:00
Tsu-ba-me
3b123dd671 chore(striker-ui-api): install cors 2022-03-18 22:50:40 -04:00
Tsu-ba-me
c268d345fc fix(tools): allow striker-access-database to process and execute DB subs 2022-03-18 22:50:40 -04:00
Tsu-ba-me
3e8baf4b3e chore: add dev tool to generate dispatch table from perl modules 2022-03-18 22:50:40 -04:00
Tsu-ba-me
ca1a9b1f1b feat(striker-ui-api): add handler for files GET one 2022-03-18 22:50:40 -04:00
Tsu-ba-me
de0783909d fix(striker-ui-api): complete GET all files 2022-03-18 22:50:40 -04:00
Tsu-ba-me
18a02a68ff feat(striker-ui-api): add files route 2022-03-18 22:50:40 -04:00
Tsu-ba-me
7cea704fbb chore(striker-ui-api): add script to run in dev mode 2022-03-18 22:50:40 -04:00
Tsu-ba-me
e909a715a3 feat(tools): add cli tool for accessing database with SQL query 2022-03-18 22:50:40 -04:00
Tsu-ba-me
b89953dbe8 feat: add API skeleton for striker-ui 2022-03-18 22:50:40 -04:00
Tsu-ba-me
6692c96835 fix(striker-ui): duck-tape AnvilHost to avoid crash when processing undefined host 2022-03-18 22:50:40 -04:00
Tsu-ba-me
0db0a94a05 style(striker-ui): fix style linting errors in components 2022-03-18 22:50:40 -04:00
Tsu-ba-me
c2f38a3f00 fix(striker-ui): trigger file input field with icon button 2022-03-18 22:50:40 -04:00
Tsu-ba-me
ed723734c4 fix(striker-ui): add button to upload files 2022-03-18 22:50:40 -04:00
Tsu-ba-me
96e7af8949 feat(striker-ui): add file-manager page 2022-03-18 22:50:40 -04:00
Fabio M. Di Nitto
f45675d99c
Merge pull request #224 from ClusterLabs/anvil-tools-dev
* This rather heavily reworks how database shutdowns works. It adds m…
2022-03-17 05:31:43 +01:00
Digimer
8fbf594002 Updated striker-prep-database to stop -> start postgres post-configure, and to connect -> disconnect to run the schema load logic.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-03-16 13:59:21 -04:00
Digimer
edf51adaec * Changed 'anvil-manage-power' to no longer set the job progress to 50 prior to calling a reboot. It now sets to 100 immediately. Also reduced the uptime timer to five minutes from ten.
* Updated striker-auto-initialize-all() to reconnect to DBs during waits to better detect when a DB is marked as offline.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-03-16 00:35:26 -04:00
Digimer
422d248cbe * Updated Database->insert_or_update_states() to not actually record unless the state_host_uuid exists in all available databases.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-03-15 23:42:31 -04:00
Digimer
7b090e1623 * Updated Database->shutdown() to disconnect, stop the postgresql daemon, then reconnect.
* Updated anvil-daemon to not stop a database until both/all DB hosts are in both/all DB's hosts table.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-03-15 22:33:42 -04:00
Fabio M. Di Nitto
0ebe589c93 Ship striker-db-status
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2022-03-15 05:50:32 +01:00
Digimer
513ce3b74e Created 'striker-db-status' that reports the status of the databases to external tools. It's basic, but it works.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-03-14 16:41:37 -04:00
Digimer
3fd0db15bf * This rather heavily reworks how database shutdowns works. It adds much more intelligent shutdown, tracking who is using the database, being able to mark a database as "offline" and waiting for users of the database to disconnect before it shuts down.
* Also removed the variables for the database name and DB user name, setting them statically now.
* Created Database->shutdown() to more kindly stop a local database server.
* Added 'check_db_in_use_states()' to anvil-daemon to clean any stale entries marking a database as in use.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-03-14 16:41:37 -04:00
digimer-bot
6b3461bd66
Merge pull request #222 from ClusterLabs/anvil-tools-dev
Updated anvil-daemon to check if anvil-sync-shared is running if the …
2022-03-01 02:50:55 -05:00