Commit Graph

14 Commits

Author SHA1 Message Date
schroda
b062871163 Skip gql subscriptions until auth is properly set up 2025-11-06 21:38:00 +01:00
schroda
18deca32f6 Simplify session context usage
Most cases were preventing some requests from getting triggered. However, this is not necessary anymore since with 6636cc66b1, this is handled globally now
2025-10-19 17:38:37 +02:00
schroda
258d1a496a Remove "auth required flag" from session storage
With 12ef012e4b this has no benefit anymore, because the app now always checks if authentication is enabled by the server first before any other request can be sent.
2025-10-16 22:46:03 +02:00
schroda
f36b39c685 Reset "auth required flag" on initial app load 2025-10-15 23:39:56 +02:00
schroda
12ef012e4b Block requests until successful login 2025-10-15 22:50:28 +02:00
schroda
0ffb54e2cc Fix infinite loading
- Reset "requires auth" flag in session storage for reset on tab refresh
- Fix context los for resolving, rejecting queued request
- Process queued requests after successful login

Regression 6636cc66b1

fixes #1028
2025-10-15 22:50:27 +02:00
schroda
6636cc66b1 Prevent sending requests that are known to fail
In case it's still unknown if auth is set up on the server, only the initial request to detect this should be sent. Since all other requests will also just fail, they should be blocked until the auth initialization is completed.

While the access token is getting refreshed, no request will succeed since the access token is expired; thus, they should not be sent.
2025-10-15 03:06:46 +02:00
schroda
b13bb86f40 Move app theme related types to dedicated file
Fixes circular dependency.
2025-09-21 01:16:42 +02:00
schroda
792aca1b28 Fix login page redirection when already authenticated 2025-09-10 12:55:23 +02:00
schroda
98e1cb2eff Reuse SplashScreen on LoginPage 2025-09-10 00:56:44 +02:00
schroda
3d023abc6c Always show server address input on LoginPage
In case the webUI wasn't hosted on the same domain as the server, the ui was stuck on the login page, due to the inferred server address being wrong.
2025-09-10 00:56:44 +02:00
schroda
9486bf1a81 Always show server address input on SplashScreen
In case the webUI wasn't hosted on the same domain as the server, the ui was stuck on the splash screen, due to the inferred server address being wrong.
2025-09-10 00:56:41 +02:00
schroda
e138229832 Fix SplashScreen light mode logo color 2025-09-10 00:55:41 +02:00
schroda
4aad410957 Add "ui login" support 2025-08-26 23:06:44 +02:00