Commit graph

6 commits

Author SHA1 Message Date
JakkrapartXD
a0b93978a7 feat: add presigned URL generation for user avatar URLs in user management service
Convert formatUserResponse to async method to support presigned URL generation for avatar_url field. Add getAvatarPresignedUrl helper method to generate 1-hour expiry presigned URLs for user avatars. Update listUsers and getUserById to await formatUserResponse calls.
2026-02-04 16:54:44 +07:00
JakkrapartXD
06db182c46 feat: add email_verified_at field to auth controller mock responses and user management service
Add email_verified_at field to mock user responses in login, registerInstructor, and registerStudent endpoints. Include email_verified_at in UserManagementService user response mapping to ensure consistency across all user-related endpoints.
2026-02-03 10:41:06 +07:00
JakkrapartXD
bca2cc944e refactor: Update deactivateAccount to accept user ID directly instead of a JWT token. 2026-01-16 11:20:42 +07:00
JakkrapartXD
8960e90dbd feat: Filter user listings by deactivation status, include a total count in the response, and simplify account activation to use user ID directly. 2026-01-16 11:16:51 +07:00
JakkrapartXD
1caeac6226 feat: Implement cuser management with role updates, activation, and deactivation. 2026-01-15 15:26:30 +07:00
JakkrapartXD
a59b144ebf feat: Introduce admin user management API with user listing, retrieval, account activation/deactivation, and case-insensitive role validation. 2026-01-15 14:09:14 +07:00