Commit Graph

4 Commits

Author SHA1 Message Date
7f4d4c35be feat: add email notifications for registration, account deletion, and draw winner
- Add welcome email sent on user registration
- Add account deletion confirmation email
- Add draw winner notification email with celebratory design
- Remove email verification requirement on registration
- All emails have HTML templates with responsive design

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 15:26:44 +01:00
9d836eeaac feat: add user archiving (soft delete) with is_active field
- Add is_active column migration for users table
- Update user.controller.js to support isActive in profile updates
- Update admin.controller.js to support isActive filtering and updates
- Add migration script for is_active column

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 14:26:20 +01:00
3e08a647a5 feat: add updatedAt field to user profile endpoints
- Add updated_at to SELECT query in getProfile
- Add updatedAt to response in getProfile
- Auto-update updated_at timestamp in updateProfile
- Add updated_at to RETURNING clause in updateProfile
- Include isVerified, createdAt, updatedAt in updateProfile response

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 17:53:31 +01:00
25c7a0b304 dev 2025-11-17 23:47:54 +01:00