Spaces:
Runtime error
Runtime error
Commit History
-
docs(uploadcare): generalize setup guide examples
Akshar2325- replace specific uploadcare public and private keys with generic placeholders in .env examples - update example public keys, signatures, and file UUIDs in API response snippets for clarity34dcb32
-
✨ feat(hls): add hls video processing completion notification
Akshar2325- implement n8n workflow to send discord notifications for hls processing - introduce method to dispatch webhook with upload details and processing time - integrate notification into wasabi storage service after successful hls conversion - include m3u8 url, original size, and environment in the notification payload 🔧 chore(env): update env example with hls completion webhook url - add N8N_DISCORD_HLS_COMPLETE_WEBHOOK_URL for discord notificationsd6edde0 -
refactor(upload): provide real-time video processing status
Akshar2325- introduce in-memory map to track active hls video conversions - `getUploadStatus` now returns `processing` or `failed` status from memory - improve user experience by giving immediate feedback on video processing - prevent `404 not found` for videos actively undergoing conversioncb386b1 -
refactor(wasabi-storage): improve comments on file deletion process and update description for fileUrl query parameter
Akshar23252c01ad8 -
fix(wasabi-storage): support proxy urls for video processing
Akshar2325- update `processVideoFromWasabiUrl` to accept either direct `filePath` or proxy `fileUrl` - implement logic to extract the actual wasabi path when a proxy url is provided - enhance controller and service descriptions to clarify supported input types for video uploadse639e9d -
✨ feat(upload): support large video processing from wasabi
Akshar2325- introduce new endpoint `/wasabi/upload-video-hls-from-url` for large files - implement service to download, convert to hls, and delete pre-uploaded videos - update existing upload endpoint docs to clarify 50mb limit for direct upload - reduce global body parser limits to 50mb to match new upload strategy61d4c9c -
🔧 chore(wasabi-storage): configure discord logging per method
Akshar2325- move `@logtodiscord()` decorator from class to individual methods - enable granular control over discord notifications for specific endpoints - prevent excessive logging by only notifying for critical actionsc39fe6a -
⚡️ perf(upload): optimize wasabi client and logging
Akshar2325- configure s3 client for improved reliability and performance - set max attempts to 3 and request timeout to 30 seconds - increase https agent max sockets to 200 for parallel operations - disable verbose logging for file operations - reduce I/O overhead and improve system efficiency7a8a5f8 -
✨ feat(wasabi): add hls video streaming and s3 proxy
Akshar2325- implement full hls video streaming architecture with wasabi s3 - server acts as proxy cdn to stream hls content from wasabi - add api endpoints for presigned urls, file streaming, hls upload and deletion - integrate hls conversion service for adaptive hls generation - introduce filetype enum for better file categorization - configure wasabi s3 credentials via environment variables 📝 docs(wasabi): document hls streaming architecture - create hls-streaming-architecture.md with detailed explanations of: - upload and hls conversion flow - streaming flow (proxy cdn magic) and url rewriting - performance analysis for local vs production deployment - architecture benefits and debugging tips - add mermaid-diagram.md for a visual representation of the hls streaming processdeb4bd0
-
feat(uploadcare): Added uploadcare storage integration
Akshar2325- introduce uploadcare as a new file storage provider - implement secure signed uploads for images, videos, and documents - add api endpoints for signature generation, file info, and deletion - configure credentials via environment variables for separate projects - include comprehensive markdown documentation for setup and usageda508a4 -
feat(box-storage): add LogToDiscord decorator to OAuth and upload endpoints
Akshar2325cfe53d1 -
feat(box-storage): add error illustration endpoint and caching for 404 page
Akshar23257babbe1 -
feat(box-storage): add SkipApiToken decorator to file streaming endpoint
Akshar23256f195c2 -
feat(box-storage): add SkipApiToken decorator to OAuth endpoints
Akshar2325b357ab7 -
feat(box-storage): add box.com cloud storage integration
Akshar2325- implement oauth 2.0 authentication and automatic token refresh - add file upload, streaming, and deletion endpoints - support dynamic folder routing based on file type - stream files directly with mime type detection and video seeking - integrate box storage module into main upload module - add utility for generating a styled 404 error page 📝 docs(box-storage): add box.com storage setup guide - provide comprehensive guide for box.com setup and usage - include steps for app creation, oauth config, and folder ids - document api endpoints, usage examples, and troubleshooting - add box.com credentials and folder ids to .env.example 📦 build(deps): increase node memory for build scripts - configure node max old space size to 4096mb for build commands - prevent out-of-memory errors during large builds 🔧 chore(git): ignore box-tokens.json - add box-tokens.json to .gitignore to prevent sensitive data leaksc5b7daf
-
docs(google-drive): Added setup guide for Google Drive API with OAuth2
Akshar2325bcd6afe
-
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
-
⚡️ perf(upload): optimize minio file upload performance
Akshar2325- switch to file streaming for single file uploads to reduce memory usage - implement adaptive concurrency for parallel uploads based on cpu cores - improve resource utilization and upload speed for multi-file operations3a4ec11 -
feat(hls-conversion): implement adaptive HLS conversion with multiple profiles and upload to MinIO
Akshar2325f8451c5 -
✨ feat(new-minio-storage): implement hls video processing and management
Akshar2325- introduce new api endpoints for hls video upload, deletion, and status retrieval - create `startVideoProcessing` to initiate async hls conversion and minio upload - implement `processVideoToHLS` to orchestrate conversion, minio storage, and database updates - add `deleteProcessedVideo` to remove hls files from minio and update database record - provide `getUploadStatus` to query hls conversion progress and details ♻️ refactor(hls-conversion): decouple service from storage and database - remove direct `uploadCoreService` dependency from `hlsConversionService` - eliminate status updates and error handling related to database from service - clarify `hlsConversionService` role as a pure video-to-hls converter - delegate database and storage interactions to orchestrating services ♻️ refactor(upload-model): generalize upload model for hls storage - remove google drive specific fields from `Upload` prisma model - update `hlsFolderId` comment to reflect generic folder storageb876bc7 -
feat(google-drive-upload): add Google Drive integration for file uploads and HLS conversion
Akshar2325- Introduced Upload model in Prisma schema for managing file uploads. - Implemented UploadCoreService for handling upload operations. - Created HlsConversionService for converting videos to HLS format. - Added GoogleDriveService for uploading files to Google Drive with OAuth2 support. - Developed GoogleDriveController for handling file upload and deletion requests. - Configured Google Drive settings in environment variables. - Enhanced package dependencies with ffmpeg and Google APIs.ffebaa3
-
style(dropbox-storage): format code for improved readability
Akshar2325- Remove unnecessary line breaks in constructor parameter list - Trim trailing whitespace from multiple lines - Standardize formatting in URL parameter handling logic - Improve code consistency across controller and service files6f84fbe -
feat(dropbox-storage): add dropbox storage integration
Akshar2325- Add Dropbox SDK dependency (v10.34.0) to project - Create dropbox-storage configuration module with environment variables - Implement DropboxStorageService with file upload, download, delete, and metadata operations - Add DropboxStorageController with REST API endpoints for file management - Create FileType enum for categorizing uploaded files (IMAGE, VIDEO, DOCUMENT, AUDIO) - Integrate dropbox-storage module into main upload module - Add Dropbox credentials to .env.example (DROPBOX_ACCESS_TOKEN, DROPBOX_APP_FOLDER) - Provide complete file lifecycle management with shareable link generation - Follow established storage module patterns consistent with existing integrationsef99e8a -
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
-
feat(upload): add rustfs storage integration
Akshar2325- introduce rustfs storage as a new s3-compatible upload provider - enable presigned upload url generation for various file types - allow deletion of files by url or direct file path - configure rustfs credentials via environment variables - create dedicated module, service, controller, and file type enum51c6e04 -
feat(garage-upload): add garage storage integration
Akshar2325- implement garage storage service for file uploads and deletions - provide presigned urls for secure and direct uploads - allow file deletion by url - configure environment variables for garage storage credentials - integrate garage storage module into the main upload module - define file type enum for organized storage pathseaa626f -
docs(upload): standardize API tags across all storage modules
Akshar2325- Update Backblaze B2 Storage API tag to "Upload: Backblaze B2 Storage" - Update Cloudinary API tag to "Upload: Cloudinary Storage" - Update Filestack API tag to "Upload: Filestack Storage" - Update ImageKit.io API tag to "Upload: ImageKit.io Storage" - Update NewMinio Storage API tag to "Upload: NewMinio Storage" - Update OldMinio Storage API tag to "Upload: OldMinio Storage" - Update SeaweedFS Storage API tag to "Upload: SeaweedFS Storage" - Update Supabase Storage API tag to "Upload: Supabase Storage" - Improves API documentation consistency and clarity by prefixing all storage module tags with "Upload:" namespace1d6d4ff -
feat(seaweedfs-storage): add seaweedfs module for file management
Akshar2325- Add SeaweedFS storage module with file upload and deletion capabilities - Create seaweedfs-storage service with S3-compatible API integration - Implement seaweedfs-storage controller with upload and delete endpoints - Add FileType enum for categorizing uploaded files (IMAGE, DOCUMENT, VIDEO) - Create seaweedfs-storage configuration with environment variables - Migrate old-minio-storage module to unified upload namespace structure - Add SeaweedFS credentials to .env.example configuration - Register SeaweedfsStorageModule in upload module exports - Provides distributed file storage alternative with S3-compatible interface4b6b4e5
-
feat(old-minio-storage): add old minio version s3 storage module for file management
Akshar2325- Add FileType enum with IMAGE, DOCUMENT, and VIDEO types - Create OldMinioStorageConfig for environment variable configuration - Implement OldMinioStorageService with presigned URL generation and file deletion - Add OldMinioStorageController with endpoints for upload URLs and file deletion - Create OldMinioStorageModule to integrate the storage provider - Update .env.example with OldMinio storage credentials and configuration - Register OldMinioStorageModule in the upload module - Support S3-compatible MinIO API with presigned URL generation for secure uploads - Enable file organization by type (images, documents, videos) with automatic folder routing67cf349 -
refactor(upload): reorganize storage modules under unified upload namespace
Akshar2325- Move backblaze-storage module to src/shared/modules/upload/backblaze-storage - Move cloudinary module to src/shared/modules/upload/cloudinary - Move filestack module to src/shared/modules/upload/filestack - Move imagekitio module to src/shared/modules/upload/imagekitio - Move new-minio-storage module to src/shared/modules/upload/new-minio-storage - Move supabase-storage module to src/shared/modules/upload/supabase-storage - Create new UploadModule to aggregate all storage provider modules - Update app.module.ts to import UploadModule instead of individual storage modules - Consolidate storage provider imports for improved code organization and maintainabilityf75a84b