| Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
verification
|
|
refactor(database): remove unused database drivers
fix(middleware): use constant for request context key
refactor(router): clean up import statement for controllers
fix(main): use CORS origins from config
refactor(env): simplify environment variable handling for uint fields
refactor(meta): update request context key to use constant
|
|
- Added httpLogger middleware to log HTTP requests with status, method, IP, and duration.
- Introduced request middleware to build and store request context.
- Created a centralized middleware initialization function.
- Enhanced logging functionality with different log levels based on HTTP status codes.
feat: Set up routing with error handling
- Established a router package to manage application routes.
- Implemented a custom error handler to respond with appropriate error messages.
- Added sample route for a hello endpoint with authentication requirement.
feat: Introduce utility functions for environment variable management
- Developed functions to retrieve and parse environment variables with default values.
- Implemented a parser to populate configuration structs from environment variables.
feat: Create structured logging with zap
- Integrated zap logger for structured logging with customizable log levels and formats.
- Added color-coded log messages for better visibility in the console.
feat: Build request metadata utilities
- Created utilities to build and manage request metadata, including query parameters, headers, and route parameters.
- Implemented a facade pattern for easier access to request data.
feat: Enhance URL management with namespaces
- Developed a URL management system to handle route registration with namespaces.
- Added functionality to retrieve full paths for registered routes.
chore: Initialize database and application structure
- Set up initial application structure with main entry point and middleware integration.
- Created a database connection handler for graceful shutdown.
|