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
-
style(idrive-e2-storage): format ApiOperation decorator for readability
Akshar2325- Split ApiOperation decorator across multiple lines for improved code formatting - Maintain consistent decorator styling with project conventions - Improve code readability without changing functionality01841a1 -
feat(idrive-e2-storage): add CDN and image resizing support
Akshar2325- Add IDRIVE_E2_CDN_URL environment variable for permanent CDN access - Add Cloudflare integration configuration (zone ID and API token) - Rename presigned-download endpoint to presigned-url for Cloudflare Worker compatibility - Add new /resize endpoint for on-the-fly image resizing with width, height, and quality parameters - Update file URL generation to use permanent CDN URLs instead of presigned URLs - Simplify response structure by consolidating expiration time fields - Add sharp library integration for image processing capabilities - Update service to store and utilize CDN URL and Cloudflare credentials - Improve error handling and response formatting for Cloudflare Worker integration036d801 -
feat(idrive-e2-storage): add idrive e2 storage integration
Akshar2325- Add IDrive e2 storage module with S3-compatible API integration - Create file-type enum for categorizing uploads (IMAGE, DOCUMENT, VIDEO) - Implement presigned URL generation for secure file uploads and downloads - Add file deletion functionality with URL-based file removal - Create storage configuration with environment variables for endpoint, region, access key, secret key, and bucket - Add controller endpoints for presigned upload/download URLs and file deletion - Implement automatic file organization by type into separate folders - Add comprehensive error handling and logging throughout the service - Update environment example file with IDrive e2 credentials configuration - Integrate IDrive e2 module into main upload module exports5d53367