Commit Graph
146 Commits
Author SHA1 Message Date
ssbg04 b5402f34b5 feat: in-app updater and responsive csv enrollment UI 2026-10-05 15:16:29 +08:00
ssbg04 a8473c23b7 feat(students): add single-student multi-enrollment CSV import modal
- Add StudentCsvEnrollmentModal for bulk-adding multiple enrollment
  records across school years for one specific student via CSV input
- CSV format: School Year, Grade Level, Section, Track/Strand
- Features: editable monospace text area, Fill Example, Copy Template,
  file upload (.csv/.txt), and live backend progression verification
- Show row-by-row verification results with valid/error status chips
  and actionable error messages (section suggestions, available years)
- Admin-only: hidden from teacher role via _isTeacher guard
- Wire Bulk Enroll (CSV) button in edit_student_modal.dart to
  StudentCsvEnrollmentModal passing studentId, studentName, studentLrn
- Add Bulk CSV shortcut button in edit_enrollment_modal.dart Current
  Enrollments header for admins
- Backend: POST /api/students/:id/verify-enrollments for live per-row
  progression and section existence validation
- Backend: POST /api/students/:id/bulk-enrollments for transactional
  batch enrollment creation with activity logging and socket events
- Add verifyStudentEnrollments and bulkAddStudentEnrollments repository
  methods in student_repository.dart
2026-10-04 13:48:53 +08:00
ssbg04 3a3e0dc7b8 feat: enhance deped reports pdf/excel, dashboard rotation, user creation, and history search shortcut
- Reports: migrate compliance export to xlsx, fix android chart tooltip headroom, add deped collapsible section descriptions, and complete 3-page DepEd PDF export

- Dashboard: continuous document breakdown rotation on mobile, persistent setup banner

- Users: automated background password generation, standardized action button dimensions

- History: add Ctrl+F search shortcut with autofocus cursor in search dialog
2026-10-02 17:02:04 +08:00
ssbg04 a74e0dc7fe feat(docs): redesign documentation to clean minimalist standard format and update system features 2026-10-02 10:34:04 +08:00
ssbg04 79f4504694 fix(audit-trail): prevent timestamp and badge overflow on printed history cards 2026-10-02 10:24:35 +08:00
ssbg04 b04981d7fb feat(system): implement socket.io real-time sync, admin passwords, ocr adjustments, and shortcut fixes 2026-10-02 10:17:44 +08:00
ssbg04 f30faeecff feat(students): adapt filter dialog for enrolled vs all tabs
- Hide school year and status filters in student filter dialog on Enrolled tab\n- Remove 'Enrolled' status filter option on All Students tab\n- Sync studentViewTabProvider and studentActiveFilterCountProvider across desktop and mobile layouts
2026-10-01 23:49:48 +08:00
ssbg04 5952de21b2 fix(android): resolve permission denied on PDF export and make settings responsive
- Fix Android PDF and report export permission denied by adding adaptive storage permission handling (MANAGE_EXTERNAL_STORAGE on Android 11+ and legacy storage on Android 10) and multi-tier fallback to app-specific external storage in DownloadService\n- Update DepEd Transparency Board PDF export and reports export to use DownloadService.saveBytes()\n- Make Settings screen About, Support, and System Information responsive across screen widths\n- Update Student and User screen top headers to segmented tabs design and tighten mobile drawer edge touch area
2026-10-01 23:18:51 +08:00
ssbg04 3e2a52770c fix(students): ensure accurate active-year student loading and navigate to all tab on search 2026-09-29 05:24:01 +08:00
ssbg04 4f20a67fda fix: resolve multi-account session conflict, remove developer account, add student view tabs 2026-09-29 05:19:45 +08:00
ssbg04 58bf10b4ec fix(reports): make transparency board section titles responsive on android, refine bulk ocr, and update downloads directory 2026-09-27 20:13:45 +08:00
ssbg04 a9c2ab0da5 fix(setup): make bulk academic import responsive and fix runtime string indexing error 2026-09-27 01:30:57 +08:00
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 32cff2431a feat(settings): add teacher due date reminders card and automated notification service 2026-09-27 00:43:22 +08:00
ssbg04 ae5246f271 feat(settings): match scroll fade overlays with dashboard screen 2026-09-26 23:55:04 +08:00
ssbg04 ecfb98ac86 commented tasks done 2026-09-26 18:46:42 +08:00
ssbg04 7faade70a9 feat(reports,settings,docs): server-side PDF export, cutoff date picker, and UI refinements
- Reports: Migrate DepEd Transparency Board PDF export to backend Puppeteer service with enlarged layout and per-section downloads

- Settings: Replace dynamic grace period days input with cutoff date picker and calculated days preview; separate schedule date pickers

- Documents: Default requirements section to collapsed/closed state in upload OCR modal with pulsing border container

- Fix contrast on Auto-Graduation trigger button and ensure desktop responsiveness across report buttons
2026-09-26 18:32:44 +08:00
ssbg04 2376e99217 feat(auth,capstone): validate email on password reset, convert images to webp and add team carousel
- Add email deliverability verification (MEV) to forgot password flow (lookupResetOptions & sendEmailOtp)
- Validate recipient email format and verify deliverability before sending reset password link in user management
- Convert all backdrops, group photos, and solo avatars to WebP format, drastically reducing asset footprint from >60MB to ~4.6MB
- Add auto-advancing slide preview carousel with 2s cooldown, navigation buttons, and wrapping to Capstone Members screen
- Update Capstone member emails and add individual solo avatar photos
2026-09-25 21:18:02 +08:00
ssbg04 99be1e8d79 feat(build): split Android APKs, refine settings, fix student loading and PDF layout
- Split Android release into TIS_RMS_32bit, TIS_RMS_64, and TIS_RMS_Universal APKs in GitHub Actions and INSTALL.md
- Prioritize universal APK in AppUpdateService and update fallback labels
- Refactor settings academic collapse to 'Academic & Graduation' with automatic active school year card and relocated grace period
- Fix persistent loading indicators on student edit/add modals and list background
- Fix DepEd Transparency Board PDF report subheader layout to prevent title and period collision
- Update AGENTS.md backlog with document scanner and PDF processing items
2026-09-25 20:07:14 +08:00
ssbg04 71526fe61e fix(reports): resolve Windows layout overflows and refine UI
- Fix 1px bottom overflow on Overall Compliance KPI card by adjusting height and padding
- Fix text truncation for Pending Docs KPI card
- Fix 49px bottom overflow on Students Per Year card by adjusting container and chart heights
- Fix LayoutBuilder inside IntrinsicHeight issue on desktop report charts
- Refine security settings, audit trail platform tracking, and document handling
- Clean up unused conversion providers and LibreOffice service
2026-09-25 19:04:23 +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 1a20994749 feat: document versioning, templates, ZIP backup/restore, and Open/Edit workflow
Backend:
- schema.js: add document_templates, template_versions, document_versions tables;
  migrate documents with template_id/template_version_id columns;
  auto-seed Version 1 for all 190 existing documents
- templateController.js (NEW): full CRUD + file upload/download for templates
  and template versions
- templates.js route (NEW): /api/templates endpoints
- documentController.js: add getDocumentVersions, uploadDocumentVersion,
  downloadDocumentVersion; uploadDocument now seeds Version 1 on creation
- documents.js: wire GET /:id/versions, POST /:id/upload-version
- backupController.js: upgrade backup to ZIP archive (DB + student files +
  template files + SHA-256 manifest); restore handles ZIP and legacy .db;
  safety backup taken before every restore
- package.json: add archiver + unzipper dependencies

Frontend:
- template_model.dart (NEW): DocumentTemplateModel + TemplateVersionModel entities
- document_version_model.dart (NEW): DocumentVersionModel entity
- template_repository.dart (NEW): Dio-based template API client
- document_repository.dart: add getDocumentVersions, uploadDocumentVersion,
  downloadDocumentVersion methods
- document_preview_modal.dart: add Open / Open With (Windows rundll32
  OpenAs_RunDLL / Android chooser) / Edit (download-temp -> open -> upload
  prompt) / Upload New Version (FilePicker) / Version History actions
- document_version_history_sheet.dart (NEW): draggable bottom sheet listing
  all document versions with per-version Preview + Download
- file_folder_card.dart: add Open With, Edit, Upload New Version, Version
  History items to context menu
- documents_screen.dart: wire open_with, edit, upload_version, version_history,
  restore action cases; import version history sheet

Bugfix:
- student_profile_modal.dart: remove enrollment.status access that caused
  NoSuchMethodError (enrollments table has no status column)
2026-09-21 12:55:58 +08:00
ssbg04 e2f10f6260 feat(ui,audit): redesign folder cards and polish student actions, fix audit trail crash and count queries
- Fix audit trail AppPagination infinite width layout crash on Windows and Android
- Fix Android audit trail header 41px horizontal overflow with responsive layout
- Add missing user and history table joins to dashboard and user activity count queries
- Implement StyledFolderIcon matching modern tabbed folder design with internal JHS/SHS chips
- Align bulk operations bar margin to match list and grid widget containers
- Make student screen Add Student button elevated with emerald gradient and shadow
- Move edit student modal close button from leading to actions bar
- Polish Edit Details and Edit Enrollment actions in student profile modal
2026-09-19 22:56:42 +08:00
ssbg04 69b4879ac2 feat(dashboard,ui): overhaul dashboard KPIs, audit trail tab, responsive controls, and settings
- Remove recent activities and user history from dashboard; relocate to dedicated History tab
- Fix Document Breakdown overflow and rebalance Bento KPI grid layout
- Fix Android overflow on student profile Edit Details button
- Simplify grid view cards in documents and archives screens with minimal folder styling
- Fix transparency board filter contrast and export button styling in reports
- Default auto-update enrollment to off, add grace period input, and fix settings danger zone
2026-09-19 02:26:49 +08:00
ssbg04 59e94192aa feat(frontend): enhance student profile actions and report transparency board
- Add separate Edit Details and Edit Enrollment buttons in student profile modal

- Change delete button to Inactive in student profile modal

- Remove Inactive status from edit student modal dropdown

- Remove Set Inactive action from student multi-select bar and context menu

- Require long-press to activate multi-select on mobile student avatar

- Add clean tab switcher and collapsible info boxes to DepEd Transparency Board
2026-09-18 19:37:27 +08:00
ssbg04 48fcf181af refactor(reports): use standalone section cards and clean minimal header for Transparency Board 2026-09-18 19:05:13 +08:00
ssbg04 029629c349 feat(reports,splash): separate transparency board data/graphs and add release update popup 2026-09-18 18:22:04 +08:00
ssbg04 4d0ea25506 feat(docs): upload modal requirements strip with accurate status, collapsible list, and JHS/SHS tags
- Fix requirements strip to use missingRequirementsProvider (per-student) instead
  of global documentRequirementsProvider, so Completed/Archived/Needed states
  are accurately reflected for each student
- Fix dropdown 'Select Document Type' status labels (was always [Completed]);
  now correctly shows [Needed], [Archived], or [Completed] using ID-based lookup
  from missingRequirementsProvider
- Add collapsible/expandable requirements strip with AnimatedCrossFade and
  chevron toggle; shows mandatory-needed badge count in collapsed header
- Split needed chips into Mandatory (red) and Optional (orange) sections;
  add Archived (blueGrey) section distinct from Completed (green)
- Add JHS/SHS category tag on each chip (muted grey badge)
- Simplify chip styling to neutral background/border; color only on status icon
- Remove tap-to-assign chip interaction; chips are now display-only
- Clean up unused _isRequirementMissing, _isRequirementArchived, and
  _assignRequirementToEntry methods
- Update AGENTS.md: move completed Document Screen tasks into commented section
2026-09-18 01:02:57 +08:00
ssbg04 42cec52e21 fix(documents): fix thumbnail generation by selecting doc id and clean cache on delete 2026-09-17 22:28:17 +08:00
ssbg04 64b58537bd feat(ui): update student, document preview, document filter, and archive screens
- Add elevated Add Student CTA button to Android header and AddStudentModal.show helper
- Make document preview AppBar actions responsive with copy and delete always in more menu
- Switch document filter to direct document type dropdown
- Align archives screen layout, mobile search, and filter dropdown with documents screen
2026-09-17 22:12:06 +08:00
ssbg04 0af3c726eb feat(ui): update mobile headers, selection animation, and folder lrn detection 2026-09-17 21:10:45 +08:00
ssbg04 6fa533d530 feat(ui): redesign student cards, responsive pagination, and fix doc status sheet button 2026-09-17 20:19:06 +08:00
ssbg04 b737aede64 fix(auth): parse urlencoded form and query fallback for account deletion confirmation 2026-09-17 18:38:08 +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 28f1dfb1b0 fix(search): fix history overlay flicker and clear/delete behavior 2026-09-14 20:07:55 +08:00
ssbg04 9d30d86386 feat(settings): refactor collapsible cards, add feedback controls, and auto-collapse on leave 2026-09-14 12:26:08 +08:00
ssbg04 d2b3a2b5d6 feat(settings,students): add academic year activation dropdown and in-modal enrollment management 2026-09-14 11:44:27 +08:00
ssbg04 7907c244b1 feat(ui): polish user, settings, report screens
Fix user reset modal overflow and user search sync. Make settings cards collapsible and clean top banners.
2026-09-13 23:38:39 +08:00
ssbg04 470a8999a6 Redesign and optimize Documents and Archives screens header and list/grid views 2026-09-12 01:07:20 +08:00
ssbg04 b56f0b2f11 feat(users): make table column header fixed on scroll in user management 2026-09-11 22:03:58 +08:00
ssbg04 5d78742fef optimize(students): improve cards for low-end Android phones and mobile devices 2026-09-11 21:59:45 +08:00
ssbg04 0f8cf0a5f9 feat(users): add status email alerts and update management UI 2026-09-11 06:06:49 +08:00
ssbg04 d8dd86ba04 feat: dynamic file upload limit per document requirement (frontend & backend) 2026-09-10 17:29:01 +08:00
ssbg04 01d636ea19 feat: implement roadmap updates, archive purge removal, and backend notifications/email resilience 2026-09-10 17:09:13 +08:00
ssbg04 1af5ada292 optimize(dashboard): smooth UI for Android and low-end devices, fixed history height, pause button border 2026-09-10 16:14:47 +08:00
ssbg04 fb5ba24571 fix(ui): adjust grid card sizing, add modal padding, and format pagination 2026-09-08 22:57:57 +08:00
ssbg04 287fe831e6 feat(ui): password modal in settings, compliance export relocation, and minimized grid cards 2026-09-08 22:35:50 +08:00
ssbg04 7141f51e08 feat(ui): unify multi-select CAB design, card opacity, and padding across screens 2026-09-08 22:01:17 +08:00
ssbg04 fa0df9ed40 feat(dashboard): show document status distribution count over total requirements 2026-09-08 20:36:17 +08:00