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(super-admin-2fa): introduce two-factor authentication
Akshar2325- implement comprehensive two-factor authentication (2fa) for super admins - extend db schema with models for 2fa methods, recovery codes, and trusted devices - add core modules and services for managing all 2fa related entities - integrate 2fa checks, pending token generation, and trusted device logic - provide api endpoints for enabling, sending, and verifying email and totp codes - enable management of recovery codes and trusted devices for enhanced security - update email service to support sending 2fa verification codes 📦 build(deps): add 2fa related dependencies - install crypto-js for secret encryption - install nanoid for unique id generation - install otplib for totp authenticator functionality - install qrcode for qr code generation 🔧 chore(messages): update common and 2fa related messages - add 'invalid_2fa_token' to common error messages - define specific success and error messages for all super admin 2fa features 📝 docs(super-admin-auth): add 2fa authentication flow …add3ead
-
feat(user): add profile management and enhance session tracking
Akshar2325【profile】 - introduce a new profile module with endpoints for getting and updating user data - create `UpdateProfileDto` for validating profile update requests - implement service to handle profile and interest updates 【session】 - add city, state, latitude, and longitude to the `UserSession` model - update auth service to capture and store detailed geo-location data refactor(module): simplify module structure and exports - remove unused export from `SuperAdminModule` - integrate new `ProfileModule` into the main `UserModule`405ccd5
-
feat(core): add core service modules for db entities
Akshar2325- 【feat】Generate modules, services, and DTOs for multiple database entities - 【feat】Services extend a generic PrismaBaseRepository for standardized CRUD - 【feat】Entities include Movie, Series, Episode, Comment, Like, Tag, etc. refactor(auth): unify and improve session status logic - 【refactor】Replace specific enums with a generic `SESSION_STATUS` - 【refactor】Standardize session status handling in user and super-admin auth - 【fix】Ensure sessions are created with `CURRENT` and expired on logout 🌐 i18n(keys): centralize messages for new core services - 【i18n】Add message key files for each new core entity - 【i18n】Provide standard `NOT_FOUND` and `DELETED` messages for servicesb1ced28 -
✨ 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