- Consolidated user ID retrieval and permission checks into helper functions.
- Updated UserHandler to utilize BaseHandler for common database and configuration access.
- Enhanced logging for user-related operations, including login, registration, and password changes.
- Removed redundant context handling in middleware and improved readability.
- Introduced FileUtil for file URL generation and management, encapsulating file-related logic.
- Refactored FileRepo and UserRepo to streamline database operations and error handling.
- Deleted unused request_id middleware and integrated its functionality into request_logger.
- Removed legacy test runner script to simplify testing process.
- Added middleware utility functions to retrieve user IDs from context.
- Created separate and simple routing structures for user and admin functionalities.
- Developed user and admin service interfaces with implementations for both separate and simple modes.
- Implemented user registration, login, password change, and user info retrieval functionalities.
- Integrated role, menu, and permission management within the admin services.
- Established lifecycle hooks for service initialization and shutdown logging.
- Enhanced error handling and logging throughout the service methods.