Commit graph

132 commits

Author SHA1 Message Date
Peter Vacho 19e097e88f
feat: Add support for moving between months 2024-12-24 17:26:07 +01:00
Peter Vacho a1d96a4d01
feat: Add show day names in calendar 2024-12-24 17:26:07 +01:00
Peter Vacho 86bbde2f29
feat: Visually distinguish days with events 2024-12-24 17:26:07 +01:00
Peter Vacho 40ca0eaa13
feat: Show the calendar for current month 2024-12-24 17:26:06 +01:00
Peter Vacho bcebaede91
refactor: Improve file structure 2024-12-24 15:35:03 +01:00
Peter Vacho 9d9295af7e
chore: Remove ui from main activity, moving it calendar act
This removes the layout & any graphical elements that were used in the
main activity, making it purely a transitional activity (either leading
to the login activity, or to the calendar activity).
2024-12-24 15:02:13 +01:00
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 8d5242d780
chore: Add GPL license 2024-12-22 20:28:51 +01:00
Peter Vacho d2f8b75267
feat: Add splashscreen 2024-12-22 20:24:49 +01:00
Peter Vacho 61ca940b52
build: Downgrade coreKtx to 1.12.0 to fix building 2024-12-22 20:24:49 +01:00
Peter Vacho c7b91130a9
build: Move to kotlin 2.1.0 2024-12-22 20:24:47 +01:00
Peter Vacho e2098ff2a5
feat: Add idea config 2024-12-22 18:21:27 +01:00
Peter Vacho 80a3af5967
feat: Initial commit 2024-12-22 15:35:56 +01:00