Commit Graph

341 Commits

Author SHA1 Message Date
Horváth Gergely
d06a3dee69 Improve iOS widgets: UI, timeline and JSON fixes
Multiple widget improvements and bug fixes:

- Models: WidgetGrade now exposes subjectNameWithWeight and teacherName for display.
- AveragesProvider: added isFiltered flag, improved subject filtering logic and propagated flag to entries.
- Averages views: show filtered count badge, use configurable max visible items, and respect isFiltered.
- Grades views: display subject name with weight, show teacher in grade rows (renamed flag to showTeacher) and preserve topic display.
- TimetableProvider: build unique transition times for timeline updates, sort entries, and determine current lesson using the provided date instead of Date().
- Timetable views: compute visibleLessons window around the current lesson based on entry.date and use isLessonActive checks against entry.date.
- iOS widget JSON helper: fix subject.category serialization structure, use grade.creationDate for recordDate, and use grade.teacher for teacherName.

These changes fix incorrect JSON exports, improve timeline accuracy, and enhance widget UX when subjects are filtered or when showing teacher/weight info.
2026-02-27 23:23:56 +01:00
Horváth Gergely
d617efec80 Add deep link handling for widgets; implement navigation from widget links 2026-02-27 23:23:56 +01:00
Horváth Gergely
beb4127ef8 Add iOS Home Widgets Extension with timetable, grades, and averages
Introduces a new HomeWidgetsExtension for iOS, including widgets for timetable, recent grades, and subject averages. Adds widget models, providers, intents, localization, and SwiftUI views. Updates project files and main app to support widget data sharing and communication. Also includes new Dart helper for widget data and updates to relevant Flutter screens.
2026-02-27 23:23:56 +01:00
Horváth Gergely
1f57281004 Add tokenExpired property and update warning display logic in live activity 2026-02-27 23:23:56 +01:00
Horváth Gergely
f866052905 Add user-specific bell delay settings; implement retrieval and storage in SharedPreferences 2026-02-27 23:23:56 +01:00
Horváth Gergely
deb013a30e Add morning notification settings; implement user-specific preferences for time and enabled state 2026-02-27 23:23:56 +01:00
Horváth Gergely
8a3f77d565 Implement token expiration handling and reauthentication UI; add reauth toast and update seasonal icon logic 2026-02-27 23:23:56 +01:00
Horváth Gergely
1ea46ede0a Refactor logging in live activity manager and backend client; streamline lesson data handling and improve break event detection logic 2026-02-27 23:23:56 +01:00
Horváth Gergely
79f59b6938 Refactor lesson filtering and add logic to handle break events in live activity manager 2026-02-27 23:23:56 +01:00
Horváth Gergely
e2b98125fc Enhance time formatting by adding language detection for compact time and seasonal break methods 2026-02-27 23:23:56 +01:00
Horváth Gergely
8c877e43db Add time formatting helper and update seasonal display logic 2026-02-27 23:23:56 +01:00
Horváth Gergely
02acf0e59b Add morning notification settings and debounce handling for Live Activities 2026-02-27 23:23:56 +01:00
Horváth Gergely
04870205f9 Refactor date calculations for start of the week in live activity service 2026-02-27 23:23:56 +01:00
Horváth Gergely
bcc95ed0af Reduce bellDelay debounce interval from 5 seconds to 3 seconds;
Enhance lesson fetching logic for improved notification scheduling
2026-02-27 23:23:56 +01:00
88fd491281 Update project settings and entitlements for improved configuration
- Bump object version in project.pbxproj
- Refactor TimetableWidget folder exceptions in project.pbxproj
- Add BGTaskSchedulerPermittedIdentifiers to Info.plist
- Update development team and product bundle identifiers in entitlements
- Mark subproject as dirty in l10n
2026-02-27 23:23:56 +01:00
Horváth Gergely
9a435235b6 - Fixed UI/UX bugs in the Live Activities
- Fixed the unhandled language get, when the Live Activity is turned off
- Fixed bellDelay bugs
2026-02-27 23:23:56 +01:00
Horváth Gergely
e583c77a7e - Added bellDelay support for Live Activities; both standard push notifications and Live Activities now use the bellDelay value (default: 0). IMPORTANT: Holidays and school break(spring,summer,autumn,winter) activities do not apply bellDelay.
- Implemented background fetch on iOS: the app now refreshes every 30 minutes in the background and sends timetable changes to the backend if any are detected.
2026-02-27 23:23:56 +01:00
Horváth Gergely
8dbcc1e2a9 - Fixed user switching so previous user data is now properly cleared.
- Fixed re-login behavior: after every new login, the Live Activities privacy notice is shown as intended.
- Made the Live Activity toggle user-specific to prevent settings from carrying over after switching accounts.
- Fixed user logout so the backend now correctly removes all related data.
- Fixed first-install behavior so the Live Activities privacy notice no longer appears on the public beta screen; it now only appears after reaching the home page.
2026-02-27 23:23:56 +01:00
Horváth Gergely
f631d52d5a - Fixed lesson language data; backend now passes the correct values.
- Updated handling of cancelled lessons: removed timer and now displaying the localized “Cancelled” text.
- Aligned the icon and lesson number in the Dynamic Island so they are now level with the label text.
2026-02-27 23:23:56 +01:00
Horváth Gergely
768d0904a8 Add data privacy consent dialog for Live Activity
A new data privacy consent dialog has been added to the Live Activity feature. Users must accept this dialog to use Live Activity. If they decline, all their data will be immediately deleted from the database, and cannot use the Live Activities feature. Additionally, users receive a detailed description explaining what data we store, for how long, and their GDPR rights.
2026-02-27 23:23:56 +01:00
Horváth Gergely
c21ff3e15f Added an example of the .env file. 2026-02-27 23:23:56 +01:00
0e08919209 feat: add logging for device registration and timetable updates 2025-11-19 15:58:53 +01:00
e651552dec fix: enable iOS platform and update build settings for arm64 architecture 2025-11-19 15:49:28 +01:00
8f683561b9 fix: update version number to 1.0.9+1030 2025-11-19 15:46:25 +01:00
519c9a4043 fix: update development team and bundle identifiers 2025-11-19 13:41:11 +01:00
Horváth Gergely
887d765f65 Live activity support added!
I have merged the latest repo myself and decided to publish my version to the repo.
2025-11-19 01:57:24 +01:00
Pearoo
34cf77f216 feat: add error page 2025-11-07 15:25:48 +01:00
7b382563ba Jenkinsfile: fdroid -> artifacts 2025-10-26 09:14:10 +01:00
667a8e0e4d refactor: use streams for fetching data 2025-10-26 09:08:05 +01:00
147dff3696 fix: payload cast 2025-10-12 16:53:56 +02:00
0fd36de4a3 Increment base build number
Since we rebased the commit count is smaller
2025-10-12 15:50:53 +02:00
d4fe91860a cast jwt payload to Map<String, dynamic> 2025-10-12 13:57:20 +02:00
45d0b298c4 settings/licenses: fix text & spinner style 2025-10-11 20:14:13 +02:00
c812b0721f update l10n module 2025-10-11 20:07:18 +02:00
b62140c0d0 Fordítás hozzáadása 2025-10-09 22:21:28 +02:00
f55cc65f07 License menü 2025-10-09 20:57:55 +02:00
3690cf0462 Fordítás, License menü 2025-10-09 20:57:23 +02:00
233f0c9ed0 Órarend kinézet javítás 2025-10-09 20:56:59 +02:00
6912e44b7e Órarenden igazítás 2025-10-08 20:50:13 +02:00
369febba91 Discord, PP átirányítás 2025-10-08 20:50:01 +02:00
2ca5e8c54b Helyettesítések elrejtése, Discord + PP átirányítás 2025-10-08 20:49:35 +02:00
dd515955ba Helyettesítések elrejtése 2025-10-08 20:48:31 +02:00
97d1f005b4 Amennyiben nem írt dolgozatot/szöveges értékelés stb, nem 0-val jelzi, hanem szöveges értékelést mutatja. 2025-10-07 22:06:37 +02:00
92e94f60c5 Időformátum szebbítése 2025-10-07 22:05:46 +02:00
ba53f30cce kicsi hiba fix 2025-10-07 20:48:03 +02:00
a34c8e23d3 Funkció hozzáadása: Dolgozat popup 2025-10-07 20:39:22 +02:00
ab1208999d Amennyiben nincs jegy 1 tantárgyból, jelzi dave svg-vel 2025-10-06 21:03:58 +02:00
2b51523eb1 Tantárgy név átvitele 2025-10-06 21:03:29 +02:00
9f3190495b Felesleges import törlése 2025-10-06 21:03:12 +02:00
14fdf00259 Felesleges import törlése + tantárgy név átvitel 2025-10-06 21:02:37 +02:00