summaryrefslogtreecommitdiff
path: root/shrine/models/user.go
AgeCommit message (Collapse)AuthorFilesLines
2026-03-13feat: add letters feature with detail view and listingHEADmainBobby1-7/+15
- Introduced new routes for letters and their details. - Created pages for displaying letter details and listing letters. - Added new types for letters, including participants, messages, and attachments. - Implemented API calls for fetching letters and managing messages (reply, edit, delete). - Enhanced stats to include unread letters and pending districts for staff users. - Updated styles for letters and their components. - Added privacy settings for letters (public and friends). - Modified user model to include letter privacy settings. - Improved error handling and user feedback in the UI.
2026-03-10feat: implement date and month-day pickers, enhance user warning logging, ↵Bobby1-11/+15
and add IP ban management - Added DatePicker and MonthDayPicker components for improved date selection in the UI. - Introduced MiniEditor component for rich text editing capabilities. - Enhanced warning logging in the warning service with detailed messages. - Removed unused RegistrationIP field from AdminUserResponse. - Improved error handling in various utility functions with descriptive messages. - Implemented IP ban management with models, repositories, and a new council page for viewing and lifting bans. - Added validation for jade amounts with a dedicated validator. - Created CSS styles for date pickers to ensure consistent UI presentation.
2026-03-07feat: Implement letter service with CRUD operations and message handlingBobby1-108/+117
- Added letter service to manage letters, including listing, creating, and editing letters and messages. - Implemented functionality for sending and receiving messages within letters. - Introduced pagination for letter listings and message retrieval. - Added attachment upload capabilities for letters. - Created detailed responses for letter and message retrieval. feat: Introduce stats service for user statistics - Added a service to retrieve user statistics, including newest and online citizens. feat: Create ticket service for user support tickets - Implemented ticket management service with functionalities to create, reply, and update tickets. - Added support for ticket categories and their management. feat: Add verification service for user account verification - Implemented functionality to send verification emails for account activation. feat: Develop warning service for user warnings - Added service to issue warnings to users, deactivate warnings, and list user warnings. feat: Create email templates for account status notifications - Added HTML templates for account ban and disable notifications. feat: Define request and response types for account, ticket, letter, and warning services - Created structured request and response types for various services to ensure consistent data handling. feat: Implement utility functions for authentication and sanitization - Added functions for validating user hierarchy and sanitizing HTML input. - Implemented token generation and hashing utilities for secure operations.
2026-03-06feat(council): add user management features including role changes, banning, ↵Bobby1-3/+24
and disabling users - Updated user roles to include 'Owner'. - Enhanced layout to show council options for Owners. - Implemented user listing and detail views for council members. - Added pagination and search functionality for user management. - Created API endpoints for banning, unbanning, disabling, and enabling users. - Introduced new request and response types for user actions. - Added styles for council user management interface.
2026-03-06feat: integrate MinIO storage functionality and update user model for CDN ↵Bobby1-4/+5
support
2026-03-06feat: implement user statistics and heartbeat functionality with UI updatesBobby1-0/+9
2026-03-05feat: enhance user feedback with specific error messages for registration ↵Bobby1-10/+10
and validation
2026-03-05feat: add email verification functionality with SMTP supportBobby1-3/+23
2026-03-03feat: implement user authentication and registration with token supportBobby1-0/+149