Commit Graph
16 Commits
Author SHA1 Message Date
ssbg04 502b2ea9f1 feat(dashboard): isolate needs attention into dedicated endpoint and provider 2026-10-11 20:13:27 +08:00
ssbg04 2527cccc9f feat(dashboard,settings): sync needs attention operational data, report issue modal, and ip locations 2026-10-11 17:27:15 +08:00
ssbg04 13abad6563 feat(security,audit): fix platform tracking for history and settings, collapse logged-in devices in security tab 2026-09-25 09:34:14 +08:00
ssbg04 689dbc48e7 fix: self-deactivation, UI overflow, Open With, archive nav, schedule modal
Settings - Delete Account -> Self Deactivate:
- backend: add POST /api/auth/self-deactivate (immediate, no email link)
  Guards against last-admin and hidden super-admin. Revokes FCM tokens,
  sends notification email, logs activity
- auth.js route: add /self-deactivate route
- auth_repository.dart: add requestSelfDeactivation()
- auth_provider.dart: add requestSelfDeactivation() (calls logout() after)
- settings_screen.dart: 2-step _handleDeactivateAccount: Step 1 confirm,
  Step 2 type DEACTIVATE. Danger zone card updated to deactivation theme

Report screen - compliance filter button label overflow:
- Wrap label Text in Flexible to ellipsize instead of clip

Settings - Edit Schedule Dates modal button overflow:
- Column layout on narrow screens so buttons are never squished

Document screen - Open With not working on Windows:
- Use openwith.exe (Windows 8+) with fallback to rundll32 OpenAs_RunDLL

Windows sidebar - Archive tab:
- Move Archives from ACCOUNT group to OVERVIEW group
2026-09-21 17:51:33 +08:00
ssbg04 05e11068f4 feat: add account self-deletion, hidden super admin, and selection morph animations 2026-09-17 09:26:56 +08:00
ssbg04 175b959eac fix(system): enhance student folders scoping, modal responsive sizing, reports scrollbar and clean password reset requests 2026-08-30 15:06:18 +08:00
ssbg04 95671e39b7 fix(auth): revoke JWT on user deactivation, unregister FCM token on logout, and purge tokens on password reset 2026-08-30 00:49:08 +08:00
ssbg04 0725f4ecf9 feat(flutter): FCM real-time push notifications
- firebase_core + firebase_messaging added to pubspec.yaml
- google-services gradle plugin wired in settings.gradle.kts + app/build.gradle.kts
- fcm_service.dart: initialize FCM, handle foreground messages, register token with backend
- main.dart: Firebase.initializeApp (graceful no-op until google-services.json added)
- auth_provider.dart: FcmService.registerToken() on login and auto-login
- AndroidManifest.xml: FCM default notification channel metadata
2026-08-18 13:56:29 +08:00
ssbg04 4487f2872f feat: implement Android Foreground Service for real-time LAN background notifications 2026-08-18 11:29:24 +08:00
ssbg04 db42cf3050 fix: resolve Sheetifye Excel viewer integration, Riverpod autoDispose type bounds, and Dashboard initState error 2026-08-18 10:30:34 +08:00
ssbg04 5c9f81f0c9 fix: gate frontend polling timers and intercept unauthenticated requests to prevent 403 errors on login screen 2026-07-28 22:36:16 +08:00
ssbg04 750cfba699 feat: add connected users monitoring and update student modal 2026-07-27 18:52:38 +08:00
ssbg04 382d8129c7 fix(ui): layout fixes for documents screen header and mobile rendering 2026-07-23 20:41:54 +08:00
ssbg04 dad079db78 Fix: many 2026-06-20 15:27:27 +08:00
ssbg04 c99ad4bce1 major update:large codebase changed 2026-06-03 19:51:44 +08:00
ssbg04 654104cbed first commit 2026-05-17 00:12:57 +08:00