Open
Conversation
- Updated .example.env to include Cloudinary credentials. - Enhanced requirements files to include Cloudinary package. - Modified config.py to add Cloudinary settings. - Implemented FileUploadService for handling PDF uploads to Cloudinary. - Created UploadPDFSchema for validating upload requests. - Added new route for uploading PDFs in user_routes.py. - Introduced PreviousYearPaperModel for managing previous year papers. - Updated repository structure to accommodate new models and services.
…ator into DNG-97-feature/upload-pdf-to-drive
…ve error handling in issue reporting
- Enhanced PreviousYearPaper model to include filename, public_id, and uploaded_by fields. - Implemented delete functionality for PDFs in the repository and service layers. - Updated file upload service to return additional file information. - Modified routes to handle PDF uploads and deletions, including user identification.
…ator into DNG-97-feature/upload-pdf-to-drive
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description:
filenamefield from the database schema.True, it generates a unique name<file_name>_<unique_id_from_cloudinary>This change simplifies file management and ensures filenames are always consistent with Cloudinary storage.