Commit Graph
443 Commits
Author SHA1 Message Date
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 d75d441441 fix(students): hide bulk import button on windows app 2026-09-28 21:52:41 +08:00
ssbg04 6f95fd265b feat(update): detect Android architecture and launch architecture-matched APK download URL 2026-09-28 21:45:11 +08:00
ssbg04 09c0e600e9 feat(settings): add about section with browser update check and remove splash popup 2026-09-28 21:29:05 +08:00
ssbg04 c6d5607811 perf(android): enable R8 shrinking, ProGuard rules, and downscale image assets 2026-09-28 20:58:22 +08:00
ssbg04 8fcd875f38 feat(mobile): enable sliding drawer from hamburger icon and wide left-edge gesture 2026-09-28 20:48:07 +08:00
ssbg04 3a1f872f54 feat(capstone): redesign members screen with photo cards and updated institutional branding 2026-09-28 20:41:15 +08:00
ssbg04 30e260a357 refactor(login): remove localhost and vps server config options 2026-09-28 19:32:14 +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 bd2a8acbfe feat(settings): clean academic setup buttons and rename screen to Academic & Class Management
- Update screen, settings card, and dashboard titles to 'Academic & Class Management'

- Clean and balance Academic Structure toolbar for mobile and desktop

- Remove redundant buttons on section cards in favor of interactive adviser chip

- Modernize teacher action button to OutlinedButton.icon 'Sections'

- Add responsive bulk academic structure import support across backend and frontend
2026-09-27 02:05:47 +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 42d9a60805 fix font color auto grad 2026-09-26 18:47:17 +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 2dc8ee4242 feat(ui,api): update action buttons, password modal button, and dashboard user count
- Exclude hidden super administrator from dashboard active users count

- Rename UPDATE PASSWORD button to UPDATE in change password modal

- Use single-word labels and uniform dimensions for user profile action buttons
2026-09-18 21:43:39 +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 78035685a3 fix(desktop): fix Windows 10 crash vectors across screens, dialogs, and audio 2026-09-18 12:03:00 +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 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 df60ee9c39 feat(ui): add mini checkbox to grid view and disable multi-select on preview tap 2026-09-17 16:06:55 +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 14c6193367 fix(search): fix history overlay interaction and premature dismissal on Windows 2026-09-15 21:30:11 +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 bf33ac6544 feat(ui): hide desktop multi-select on Windows and harmonize filter icon colors 2026-09-11 23:13:04 +08:00
ssbg04 8d04d71925 feat(students): make profile circle clickable for multi-select on Android and restore hold-to-view status 2026-09-11 22:35:24 +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 d0164c0db3 fix(notif): fix Android background push notification delivery and deduplicate alerts 2026-09-11 19:42:58 +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