Commit Graph

89 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
b107a9a800 Update client.dart 2025-04-03 12:00:57 +02:00
Balázs
ed5f1d3e05 commit arson 2025-04-03 09:06:03 +02:00
Balázs
c1d9da6c58 Update status_provider.dart 2025-04-03 07:35:55 +02:00
Balázs
4e7fbab6ce new api endp 2025-04-02 10:49:20 +02:00
BalazsManus
f7caa6118b silly me 2025-03-04 20:10:04 +01:00
balazsmanus@chameleon
22dd132c64 delete unnec imports 2025-03-02 16:35:03 +01:00
BalazsManus
1767875253 this may get the job done 2025-03-01 20:25:21 +01:00
balazsmanus@chameleon
fa3407785a new colors 2025-02-27 16:40:32 +01:00
balazsmanus@chameleon
6183589cbe small changes 2025-02-26 16:44:02 +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
ce91b47ad1 oopsie 2025-02-14 14:35:58 +01:00
BalazsManus
250ed2f105 edit stuff, maybe it workie now 2025-02-14 14:30:31 +01:00
BalazsManus
4cde28cd72 utf9 bruh 2025-02-14 14:14:51 +01:00
BalazsManus
df63c258b3 fixes news? 2025-02-14 14:13:56 +01:00
BalazsManus
cc4091e165 fuck ads 2025-02-14 08:04:01 +01:00
BalazsManus
1f05f1d091 nuke out cloud sync 2025-02-14 08:03:54 +01:00
BalazsManus
cc04293ead update sum, idk 2025-02-14 07:54:31 +01:00