Commit Graph
5 Commits
Author SHA1 Message Date
ssbg04 13bbdf9e26 feat(bulk-import): add live CSV input, format guides, and validation preview for students and academic structure 2026-09-27 01:05:59 +08:00
ssbg04 bf1e27426a feat: implement active academic year schedule, auto-graduation service, and settings screen UI updates 2026-08-01 02:29:32 +08:00
ssbg04 382d8129c7 fix(ui): layout fixes for documents screen header and mobile rendering 2026-07-23 20:41:54 +08:00
ssbg04 d983c0d2d8 feat: teacher section scoping, session expiry fix, and notification timeline sorting
Backend:
- studentController: scope teacher student list/count by timeline-latest enrollment
  (ORDER BY ay.year_range DESC, e.grade_level DESC, e.id DESC) instead of MAX(id)
- documentController: same timeline-based scoping for teacher document access
- folderController: same timeline-based scoping for teacher folder access
- dashboardController: same timeline-based scoping for teacher dashboard stats
- archiveController: same timeline-based scoping for teacher archive view
- notificationController: replace MAX(id) enrollment subqueries with timeline sort;
  add broadcast notification support (entity_type IS NULL, category IN (student/document/system))
- schema, routes, reports, requirements, users: various supporting updates

Frontend:
- auth_repository: restore FlutterSecureStorage for JWT token storage
  (was broken: migrated to SharedPreferences while all other repos read from FlutterSecureStorage,
  causing all API calls to send null token silently)
- student_model: add latestEnrollment getter computed dynamically from enrollments list;
  expose latestGradeLevel/latestSection as getters with fallback to server-supplied values
- student_provider: invalidate studentDetailProvider on update/bulkEnroll/bulkGraduate
- inactivity_wrapper: fix timeout 3000s -> 300s (5 min); improve _handleInactivity guard
- dashboard, documents, settings, students, users screens: various UI updates

Chore:
- .gitignore: add .env, *.db, student uploads, debug/scratch scripts, flutter build artifacts
- remove tis_rms.db from git tracking (runtime data, should never be committed)
2026-06-23 01:13:00 +08:00
ssbg04 c99ad4bce1 major update:large codebase changed 2026-06-03 19:51:44 +08:00