Commit graph

125 commits

Author SHA1 Message Date
Peter Vacho 336b15e030
feat: Add (blank) settings activit & bar showing it 2025-01-02 16:58:08 +01:00
Peter Vacho 86f4e66215
feat: Add support for inviting users to join events 2025-01-02 16:43:15 +01:00
Peter Vacho f51a25d46f
fix: Make the next/prev months buttons more visible 2025-01-02 15:10:28 +01:00
Peter Vacho 48d24ac10a
feat(eventCard): Add support for leaving invited events 2025-01-02 15:07:46 +01:00
Peter Vacho d434a533bf
feat(eventCard): Show event leave button on invited events 2025-01-02 14:58:39 +01:00
Peter Vacho 1a09a163e0
feat: Handle showing invited events 2025-01-02 14:50:53 +01:00
Peter Vacho c1e3e09bf4
feat: Add support for editing events 2025-01-02 14:33:55 +01:00
Peter Vacho a6579e6434
chore: Add some more logging to global exc handler 2025-01-02 14:33:28 +01:00
Peter Vacho 7d143e2f60
chore: Specify a default bg tint for removable categories 2025-01-02 12:13:49 +01:00
Peter Vacho 7efaf40207
chore(createEvent): Use cancel instead of close 2025-01-02 12:13:28 +01:00
Peter Vacho 18325d87ad
fix: Show the category color on removable chips 2025-01-02 12:04:37 +01:00
Peter Vacho 908bf293b0
feat(createEvent): Implement category adding 2025-01-02 11:56:53 +01:00
Peter Vacho 95c4211e08
chore(createEvent): Use consistent naming for button attrs 2025-01-02 11:36:30 +01:00
Peter Vacho d85b685407
feat(createEvent): Make the close button funtional 2025-01-02 11:35:43 +01:00
Peter Vacho 24b6791a76
feat(createEvent): Add ui for category adding 2025-01-02 11:30:25 +01:00
Peter Vacho 82de68633d
feat: Add support for removing categories 2025-01-02 10:48:11 +01:00
Peter Vacho 078a8e9239
fix: Don't specify alpha for default event color 2025-01-01 19:31:03 +01:00
Peter Vacho f20ee98c39
chore: Handle validation errors from event creation 2025-01-01 19:30:38 +01:00
Peter Vacho e8f7bf372a
fix: Fix fetching user events & note a bug 2025-01-01 19:29:55 +01:00
Peter Vacho ce1374bee4
chore: Make day numbers with event bg more visible 2025-01-01 19:02:17 +01:00
Peter Vacho a70c14634f
feat: Add color picking support for event creation 2025-01-01 18:56:52 +01:00
Peter Vacho 3df1faa17c
feat: Add support for creating events 2025-01-01 18:07:04 +01:00
Peter Vacho 82f300fdd9
chore: Handle http 401 exc from global exc handler 2025-01-01 14:30:40 +01:00
Peter Vacho 5358051034
feat(day-activity): Add back button 2024-12-31 15:04:27 +01:00
Peter Vacho 5ec0dbe7b7
feat(day-activity): Add new event ui button 2024-12-31 14:56:03 +01:00
Peter Vacho 7b73395c08
feat: Add support for event deletion 2024-12-31 14:50:47 +01:00
Peter Vacho 5abe270b46
fix(event-card): Allow wrapping event title up to 2 lines 2024-12-31 14:15:12 +01:00
Peter Vacho a4ddb2709d
feat(event-card): Add edit & delete buttons 2024-12-31 14:14:37 +01:00
Peter Vacho 8c7fffca6f
feat: Fetch categories from the API 2024-12-31 01:24:07 +01:00
Peter Vacho 7dffeda7a6
chore: Use proper fragment container views 2024-12-31 00:50:08 +01:00
Peter Vacho b9d64cc1cf
feat: Properly handle api unreachable scenarios 2024-12-31 00:50:08 +01:00
Peter Vacho fb3d7785ba
feat: Rework the event card UI significantly 2024-12-31 00:50:00 +01:00
Peter Vacho 58957c1792
feat: Add a proper color parser 2024-12-30 18:31:55 +01:00
Peter Vacho c6c64bfa3f
fix: Account for local timezone when fetching month events 2024-12-30 15:01:49 +01:00
Peter Vacho b3d9e426a2
feat: Improve the CalendarDay class & surrounding logic 2024-12-30 14:58:03 +01:00
Peter Vacho 5620bd4277
feat: Very basic day view with the day's events 2024-12-30 14:40:50 +01:00
Peter Vacho 0b6546c269
feat: Also show invited events 2024-12-30 03:00:19 +01:00
Peter Vacho b3c386a9dc
feat: Fetch calendar events from api 2024-12-30 03:00:19 +01:00
Peter Vacho 82b3614920
fix(auth-interceptor): Close requests & various improvements 2024-12-30 03:00:19 +01:00
Peter Vacho bd43bc7958
feat: Store user id with the refresh token 2024-12-30 03:00:19 +01:00
Peter Vacho 1ba9a2b0ba
feat: Utilize java.time in CalendarActivity 2024-12-30 03:00:19 +01:00
Peter Vacho 415a8e60ff
feat: Deserialize directly to OffsetDateTime, not String 2024-12-30 03:00:19 +01:00
Peter Vacho e81d2b9a03
build!: Bump min android sdk to 26
This is required to get access to the new java.time classes, which are
pretty nice and we don't need to care about supporting these really old
sdks anyways here, so it's worth to drop this support.
2024-12-30 03:00:15 +01:00
Peter Vacho a416f1cfda
fix: Add an early return if login check fails
Previously, even after redirecting to the login activity on failed login
check, the code in the initialize function kept running, eventually
getting to the function that navigates to the calendar activity,
bypassing login.
2024-12-30 00:13:55 +01:00
Peter Vacho e481bb70fc
chore: Improve file structure 2024-12-24 20:25:53 +01:00
Peter Vacho c68515a42c
fix: Make the days names match the day columns 2024-12-24 17:41:25 +01:00
Peter Vacho 7dc81471b2
chore: Tender the day items properly in dev preview 2024-12-24 17:28:41 +01:00
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 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