13 Commits
Author SHA1 Message Date
kavehhn dca7250be0 feat(users,professors): add promote student to professor and full student profile aggregation 2026-08-24 22:52:38 +03:30
kavehhn 30db6582b7 feat: auto generate placeholder nationalId for users and professors, auto calculate class end date 2026-08-21 15:03:18 +03:30
kavehhn 7c74950c95 feat: add professor import support, user account creation, and IBAN/card fields 2026-08-21 12:56:15 +03:30
kavehhn 091e519280 Add sessionHolding template, unique 8-digit codes, reason slot for sessionCancelled, and disable unused notifications 2026-08-21 10:44:51 +03:30
kavehhn b4ca5678bf Add user preferences for theme and font size.
Persist per-account UI settings so the dashboard can restore default light/dark mode and font size on login.
2026-08-16 07:28:58 +03:30
kavehhn 72be01fee3 feat: add messaging toggles, password reset SMS, and payment discounts
Allow SuperAdmin to disable SMS, email, and bot from dashboard settings on top of env flags. Add admin password reset with credentials SMS, plus payment discounts, notes, and payable amount handling.
2026-08-16 06:58:08 +03:30
kavehhn 192c595c68 feat: add password change, class unenroll, and optional notify flags
Let admins skip SMS on user, class, and invoice actions, and let users change their own password with the current one.
2026-08-15 23:48:18 +03:30
kavehhn 3160f07873 feat: send account and invoice SMS from stored template IDs
Move sms.ir template IDs out of env into settings so SuperAdmin can manage them, and record every outbound SMS status in notifications.
2026-08-15 18:37:44 +03:30
kavehhn 7394829d49 fix: honor table search q param on users and related lists
Dashboard sends q, but users/classes/payments ignored it; accept q/search and normalize Persian digits.
2026-08-15 02:57:19 +03:30
kavehhn 4603b45208 feat: private certificates/documents buckets with SeaweedFS support
Add Document CRUD, temp→bucket commit flow, SeaweedFS env aliases, and default temp bucket name to temp.
2026-08-15 02:53:59 +03:30
kavehhn 5c2fad4b44 feat: add adminNotes and registered class counts for users
Expose nationalId aliases and enrollment counts on user list responses, and store admin notes on users, classes, and sessions.
2026-08-15 02:39:10 +03:30
kavehhn bf5e66fa95 feat: add append-only course/user data import and expand user profile
Support uploading structured JSON to create courses, classes, and students without wiping existing data, and merge user name fields while adding gender and registration details from source sheets.
2026-08-15 01:31:44 +03:30
kavehhn f04c797be6 Initial commit: teaching institution management API.
Express/MongoDB backend with JWT auth, RBAC, S3 uploads, notifications, and scheduled jobs.
2026-08-09 04:18:08 +02:00