Tsu-ba-me
de6038a3d5
refactor(striker-ui): migrate MUI v4->5 on CPU
3 years ago
Tsu-ba-me
21dd7577b2
refactor(striker-ui): migrate MUI v4->5 on AnvilDrawer
3 years ago
Tsu-ba-me
d7bed986ae
refactor(striker-ui): migrate MUI v4->5 on Anvils/SelectedAnvil
3 years ago
Tsu-ba-me
901df0f5d3
fix(striker-ui): resolve MUI breaking changes on Typography
3 years ago
Tsu-ba-me
9025f109eb
fix(striker-ui): switch from JSS to Emotion engine (MUI v4 to v5)
3 years ago
Tsu-ba-me
237d73f673
chore(striker-ui): switch to fontsource
3 years ago
Tsu-ba-me
5e21988f41
chore(striker-ui): install MUI v5 related packages
3 years ago
Tsu-ba-me
1cce35ab84
chore(striker-ui): remove all styled-component related packages
3 years ago
Tsu-ba-me
19d29a678e
fix(striker-ui): fetch file list data from files endpoint
3 years ago
Tsu-ba-me
f9fdb821c8
chore(striker-ui): remove unused eslint disable line
3 years ago
Tsu-ba-me
5d0dbe3c5f
fix(striker-ui-api): enable CORS for all origins
3 years ago
Tsu-ba-me
3b123dd671
chore(striker-ui-api): install cors
3 years ago
Tsu-ba-me
c268d345fc
fix(tools): allow striker-access-database to process and execute DB subs
3 years ago
Tsu-ba-me
3e8baf4b3e
chore: add dev tool to generate dispatch table from perl modules
3 years ago
Tsu-ba-me
ca1a9b1f1b
feat(striker-ui-api): add handler for files GET one
3 years ago
Tsu-ba-me
de0783909d
fix(striker-ui-api): complete GET all files
3 years ago
Tsu-ba-me
18a02a68ff
feat(striker-ui-api): add files route
3 years ago
Tsu-ba-me
7cea704fbb
chore(striker-ui-api): add script to run in dev mode
3 years ago
Tsu-ba-me
e909a715a3
feat(tools): add cli tool for accessing database with SQL query
3 years ago
Tsu-ba-me
b89953dbe8
feat: add API skeleton for striker-ui
3 years ago
Tsu-ba-me
6692c96835
fix(striker-ui): duck-tape AnvilHost to avoid crash when processing undefined host
3 years ago
Tsu-ba-me
0db0a94a05
style(striker-ui): fix style linting errors in components
3 years ago
Tsu-ba-me
c2f38a3f00
fix(striker-ui): trigger file input field with icon button
3 years ago
Tsu-ba-me
ed723734c4
fix(striker-ui): add button to upload files
3 years ago
Tsu-ba-me
96e7af8949
feat(striker-ui): add file-manager page
3 years ago
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…
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
Fabio M. Di Nitto
0ebe589c93
Ship striker-db-status
...
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
3 years ago
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>
3 years ago
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>
3 years ago
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 …
3 years ago
Digimer
b234b79544
Updated anvil-daemon to check if anvil-sync-shared is running if the reported RAM use is too high. If so, it doesn't exit. This fixes an issue where anvil-sync-shared would loop forever as it would constantly be killed when downloading large files.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
da0b1f6db1
Merge pull request #221 from Tsu-ba-me/post-pr188-rebuild
...
Web UI: repair crash upon loading Dashboard
3 years ago
Digimer
4f4a2fb847
Merge branch 'main' into post-pr188-rebuild
3 years ago
digimer-bot
8432edd4bb
Merge pull request #220 from ClusterLabs/anvil-tools-dev
...
Further improved startup DRBD logic in ocf:alteeve:server. Specifical…
3 years ago
Digimer
68b1d12545
Updated anvil-daemon to not shutdown a striker DB until the striker host has been running for at least an hour.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
763821a21d
Fixed a variable substitution bug.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Tsu-ba-me
33438aa9eb
chore: rebuild web UI
3 years ago
Tsu-ba-me
1c675b01b1
chore(striker-ui): regenerate next-env.d.ts
3 years ago
Tsu-ba-me
788740f7d4
chore(striker-ui): re-run npm install; re-generate package-lock
3 years ago
Tsu-ba-me
7d4e791565
fix(striker-ui): remove undefined hosts after host sanitize
...
The back-end is currently ignoring requests for status on the DR
host(s) because we don't need to show DR status in the UI (for now).
The front-end gets undefined when trying to match a DR host array index
to the AnvilStatusHost[].
This change filters out the undefined item(s) to prevent crashing.
3 years ago
Tsu-ba-me
071ba8f099
chore(striker-ui): config lint-staged to ignore out/
3 years ago
Tsu-ba-me
5f702f6a15
chore(striker-ui): enable 'incremental' in tsconfig
3 years ago
Digimer
f7930f24ac
Merge branch 'main' into anvil-tools-dev
3 years ago
Digimer
7023ffb56b
Further improved startup DRBD logic in ocf:alteeve:server. Specifically, it will startup if a local resource/volume is sync'ing.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
7fe1bbfbf4
Merge pull request #218 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/trim-off-newlines-1.0.3
...
chore: bump trim-off-newlines from 1.0.1 to 1.0.3 in /striker-ui
3 years ago
Digimer
fb7293f819
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui/trim-off-newlines-1.0.3
3 years ago