Commit Graph

63 Commits

Author SHA1 Message Date
f86bce4877 Enhance demo mode to load demo data into providers without API calls 2026-03-18 22:11:42 +01:00
5210106032 Refactor LiveCardProvider to track previous state and lesson ID for updates 2026-03-18 09:48:32 +01:00
90165f257c Update lesson filtering logic to include substitute teachers in ServerSyncProvider 2026-03-17 12:05:10 +01:00
10f24af7e4 Update lesson start time check to 2 hours in LiveCardProvider for improved activity termination logic 2026-03-15 22:38:00 +01:00
5cc3d3d38a Refactor lesson display logic in LockScreenLiveActivityView for improved clarity and efficiency 2026-03-15 22:38:00 +01:00
9bafd2647f Enhance lesson end detection logic in LiveCardProvider to ensure proper activity termination 2026-03-15 22:38:00 +01:00
225e75e8d2 Add forceUnregister call on activity dismissal to ensure proper cleanup 2026-03-15 22:38:00 +01:00
649381ebbf Remove redundant debug print statements in LiveCardProvider to streamline logging 2026-03-15 22:38:00 +01:00
f524019779 Add break entry fields in lesson filtering and remove unused imports in sync provider 2026-03-15 22:38:00 +01:00
70ada25915 Remove unused activity creation flag and simplify dismissal logic in LiveCardProvider 2026-03-15 22:38:00 +01:00
0a3d0183f2 Add activity creation state management to prevent dismiss notifications during creation 2026-03-15 22:38:00 +01:00
7e254654d1 Update debug message for activity dismissal to clarify user action 2026-03-15 22:38:00 +01:00
439c98dfd9 Refactor lesson data handling in ServerSyncProvider to include breaks between lessons and improve clarity 2026-03-15 22:38:00 +01:00
1ce961eaaa Add debug print statement for live activity state and settings 2026-03-15 22:38:00 +01:00
0046d18f3a Update activity start condition message for clarity and add time constraint 2026-03-15 22:38:00 +01:00
36637e889b Refactor activity start condition message for clarity 2026-03-15 22:38:00 +01:00
aea12d20fc Add Live Activity feature with consent dialog and settings integration 2026-03-15 22:38:00 +01:00
5d95e1e1d7 Implement developer mode for Live Activity with fake lessons and immediate updates 2026-03-15 22:38:00 +01:00
7720cbd07d Add developer settings for fake lessons and update localization
- Introduced `dev_live_fake_lessons` setting in the database schema.
- Updated `SettingsProvider` to manage the new `devLiveFakeLessons` property.
- Enhanced `LiveCardProvider` to generate fake lessons based on the new setting.
- Added UI toggle for fake lessons in the settings screen with appropriate localization.
2026-03-15 22:38:00 +01:00
55035b535c Refactor Live Activity creation to return success status and handle push token updates asynchronously 2026-03-15 22:37:47 +01:00
fe33bb2db0 Enhance Live Activity dismissal handling by passing deviceId and updating server unregistration logic 2026-03-15 22:37:47 +01:00
e857f10073 Add user dismissal handling and clean up previous activities in LiveActivityManager 2026-03-15 22:37:47 +01:00
70a1c99ea7 Refactor HTTP requests in ServerSyncProvider to use http package 2026-03-15 22:37:47 +01:00
340d9d1d8e Implement Live Activity dismissal handling and server unregistration 2026-03-15 22:37:47 +01:00
280d3561cf Refactor ServerSyncProvider usage in LiveCardProvider and add unregister method 2026-03-15 22:37:47 +01:00
4ec24aa69f Update base URL in ServerSyncProvider to point to legacy server 2026-03-15 22:37:47 +01:00
556a49646d Update base URL in ServerSyncProvider to point to the correct server 2026-03-15 22:37:47 +01:00
a661098855 Implement live activity token rotation and server synchronization for push notifications 2026-03-15 22:37:47 +01:00
1e2a8f787d Update MethodChannel identifier for live activity integration 2026-02-28 11:49:23 +01:00
e4844fef38 Add demo mode functionality to user provider and login screen 2026-02-27 11:52:52 +01:00
Balázs
c1d9da6c58 Update status_provider.dart 2025-04-03 07:35:55 +02:00
BalazsManus
f7caa6118b silly me 2025-03-04 20:10:04 +01:00
balazsmanus@chameleon
c3753b925a run dart fix 2025-02-23 13:26:07 +01:00
BalazsManus
8a3002ade1 remove random slashes 2025-02-20 14:07:29 +01:00
dd787effbc Hibás merge visszavonása 2025-02-19 21:23:36 +01:00
BalazsManus
1460f2aa4e merge #144 2025-02-15 13:37:05 +01:00
BalazsManus
cc4091e165 fuck ads 2025-02-14 08:04:01 +01:00
Marton Kiss
9cfbcc932b remove unused imports 2025-02-04 11:03:01 +01:00
Marton Kiss
b5ee1afe05 fixed deprecated warnings 2025-01-31 10:24:37 +01:00
Marton Kiss
67649cc5fd fixed live activity coloring 2025-01-31 10:20:52 +01:00
Marton Kiss
739e75160d maybe optimized shit 2025-01-21 13:37:42 +01:00
Kima
521f609707 forgot to push lol 2024-11-14 17:12:38 +01:00
Kima
414755c777 okay that's it bye 2024-11-13 20:51:24 +01:00
Kima
3708b917c4 finished qr scanner (test) 2024-11-13 20:25:13 +01:00
Kima
38d9b5f3b2 fixed login finally 2024-11-13 19:10:48 +01:00
Kima
2dafe5ed02 updated packages, did things and maybe finally fixed login issue 2024-11-12 23:27:14 +01:00
Kima
7919d0e284 added grade delay to details and other small shit 2024-09-27 23:07:18 +02:00
Kima
506fb82dd0 changed lots of thing bc pub upgrade 2024-06-20 13:53:10 +02:00
Kima
540e4d2812 started grade streak 2024-05-13 22:35:20 +02:00
Geryy
f579270886 liveactivities bug fix
- Forget to add LiveCardState check to the end, so to avoid create-end activity loop, I added currentstate check.
2024-05-13 19:06:25 +02:00