Commit Graph
19 Commits
Author SHA1 Message Date
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 32cff2431a feat(settings): add teacher due date reminders card and automated notification service 2026-09-27 00:43:22 +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 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 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 b737aede64 fix(auth): parse urlencoded form and query fallback for account deletion confirmation 2026-09-17 18:38:08 +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 661ba275c2 feat(users): implement admin email password reset with expiration, web reset form, and push notifications 2026-08-31 23:25:46 +08:00
ssbg04 2465e04f28 update env path 2026-08-24 00:16:25 +08:00
ssbg04 1133c8fdf3 chore: update Android launcher icon and remove native splash screen 2026-08-23 22:48:04 +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 03eda282bf feat: add OCR and Excel SF9/SF10 enrollment auto-update with teacher validation and semester deduplication 2026-08-01 00:25:03 +08:00
ssbg04 750cfba699 feat: add connected users monitoring and update student modal 2026-07-27 18:52:38 +08:00
ssbg04 aebfeca342 feat: enable Windows app internet access and improve server discovery 2026-07-26 13:19:59 +08:00
ssbg04 81336b3f92 feat: add cross-platform Linux & Windows OS detection for Ghostscript and Tesseract OCR setup 2026-07-22 00:28:41 +08:00
ssbg04 320fd87b08 Update backup info and dashboard layout 2026-07-16 03:55:03 +08:00
ssbg04 99e1471889 feat: Add server IP auto-discovery and ML Kit Document Scanner integration
- Added server LAN discovery to auto-detect and persist backend IP.

- Updated health-check route to expose X-TIS-RMS header.

- Added 'Change Server' UI option to login screen.

- Integrated Google ML Kit Document Scanner for edge detection, perspective correction, and auto-enhancement on Android.
2026-07-05 21:38: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