Spaces:
Runtime error
Runtime error
Commit History
-
feat(discord-logger): implement api request and response logging
Akshar2325- create discord logger module including service, interceptor, and exception filter - introduce `@LogToDiscord()` decorator to enable selective logging on controllers or methods - send sanitized request/response data to n8n webhooks for success (2xx-3xx) and error (4xx-5xx) statuses - integrate logging into super admin and user authentication, 2fa, profile, and various upload modules - mark requests for logging within guards to ensure consistent behavior 📝 docs(discord-logger): add architecture guide and env configuration - provide a comprehensive architecture document detailing the discord logger system - update .env.example with necessary environment variables for discord loggingd201b18
-
feat(auth): add global api token protection
Akshar2325- introduce global api token guard for enhanced API security - enable/disable api token authentication via `API_TOKEN_ENABLED` environment variable - configure the secret API token using `API_SECRET_TOKEN` environment variable - allow skipping api token validation for specific endpoints using `@SkipApiToken()` decorator - update `.env.example` with new API token configuration details - integrate API token security definition and application into Swagger documentationdf84e17
-
✨ feat(admin): introduce super admin models and authentication
Akshar2325- 【db】add `SuperAdmin`, `SuperAdminSession`, `SuperAdminCredential` models - 【core】create dedicated core services for new super admin entities - 【auth】implement a separate authentication module for super admins - 【auth】add jwt strategy, guard, and auth endpoints for super admin - 【shared】introduce `GetSuperAdmin` decorator and session types ♻️ refactor(auth): restructure modules and user authentication - 【app】replace generic `AuthModule` with `UserModule` and `SuperAdminModule` - 【auth】relocate user auth logic into a dedicated `modules/user/auth` - 【db】move password from `User` model to `UserCredential` for separation - 【repo】enhance base repository with `upsert` and auto soft-delete filter ✨ feat(query): implement advanced multi-criteria search - 【query】add `multi_search` capability to base query service - 【query】support `contains` and `equals` search types - 【query】implement dynamic relationship detection for accurate filtering 🔧 chore(project): update depen…f3abb0d
-
feat(auth): implement user authentication module with JWT support
Akshar2325- Created UserCredential and UserSession core modules and services for handling user credentials and sessions. - Developed AuthService for user registration, login, and token management. - Added DTOs for login, registration, and token refresh functionalities. - Implemented JWT strategy and guard for securing routes. - Set up Swagger documentation for API endpoints. - Introduced common utilities for password hashing and client information retrieval. - Established Prisma base repository for database interactions. - Added error handling and messaging for user-related operations. - Configured application entry point with necessary middleware and global pipes.4acc19f