Peter Vacho
8f20cabb33
refactor: Don't request a new access token unless needed
2024-12-24 00:38:26 +01:00
Peter Vacho
a4890a1bb3
fix(retrofit): fix base URL management and reinitialization
...
Refactor base URL handling to use a mutable `baseUrl` and reinitialize Retrofit instances on update.
2024-12-24 00:25:36 +01:00
Peter Vacho
916a42fb59
feat: Improve the design of the api unreachable page
2024-12-24 00:11:13 +01:00
Peter Vacho
e8f2c75e26
feat: Improve the design of login & register pages
2024-12-24 00:11:13 +01:00
Peter Vacho
0cf94a4736
feat: Allow changing base url dynamically
2024-12-24 00:03:59 +01:00
Peter Vacho
87e9af0bb0
feat: Handle api unreachable globally
2024-12-23 22:57:45 +01:00
Peter Vacho
0e5d52b66b
feat: Improve api error handling
2024-12-23 19:04:09 +01:00
Peter Vacho
ddf4468a7f
feat: Shoow validation errors properly
2024-12-23 18:56:52 +01:00
Peter Vacho
724d3486a9
feat(register-ui): Add register activity & ui
2024-12-23 18:09:22 +01:00
Peter Vacho
adc3e4d87f
feat(login-ui): Improve button UI & add arrow icon
2024-12-23 18:07:17 +01:00
Peter Vacho
db4fc34fe7
fix: Specify the bypassed urls properly, with method
2024-12-23 17:41:58 +01:00
Peter Vacho
29f63d85c1
feat: Use global instances for tokenManager & authRepository
2024-12-23 17:33:31 +01:00
Peter Vacho
07620e7875
fix: Return a proper 401 respnose on auth fail
2024-12-23 17:32:45 +01:00
Peter Vacho
ec86f48954
feat: Add logic for automatic token refreshing
2024-12-23 17:21:16 +01:00
Peter Vacho
afa253420a
feat: Add login activity
2024-12-23 15:50:35 +01:00
Peter Vacho
7f4de4cb30
fix: Login endpoint uses form-urlencoded not body
2024-12-23 15:48:54 +01:00
Peter Vacho
328c51bc82
feat: registration api support
2024-12-23 15:11:42 +01:00
Peter Vacho
32dce50a0a
refactor: Add logging & improve AuthRepository
2024-12-23 15:11:03 +01:00
Peter Vacho
0c0839a7d8
feat: Support connecting to the API on localhost
...
This is a temporary solution, which adds an exception for 10.0.2.2,
allowing access over HTTP (without TLS). Once the app is
production-ready, it should use a publically hosted API.
2024-12-22 23:26:46 +01:00
Peter Vacho
ec81d4ee12
feat: Add api interaction logic
2024-12-22 23:18:42 +01:00
Peter Vacho
d2f8b75267
feat: Add splashscreen
2024-12-22 20:24:49 +01:00
Peter Vacho
80a3af5967
feat: Initial commit
2024-12-22 15:35:56 +01:00