Repository navigation
Feat/add-remote-file-upload-api - #9906
Merged
Merged
Conversation
…on in RemoteFileUploadApi
…url and return detailed file info
- Add `source_url` field to `UploadFile` model to store source URLs. - Update database schema to include `source_url` column with a server default of an empty string. - Modify constructors and methods to handle `source_url` parameter. - Enhance file upload APIs to capture source URLs.
…g for null values
laipz8200
force-pushed
the
feat/add-remote-file-upload-api
branch
from
November 1, 2024 07:45
7d2baf1 to
8366683
Compare
laipz8200
marked this pull request as ready for review
November 1, 2024 07:45
zxhlyh
approved these changes
Nov 1, 2024
crazywoola
approved these changes
Nov 1, 2024
AlwaysBluer
added a commit
to AlwaysBluer/dify
that referenced
this pull request
Nov 2, 2024
…m-vdb * 'lindorm-vdb' of github.com:AlwaysBluer/dify: (39 commits) Feat : add LLM model indicator in prompt generator (langgenius#10187) chore: enable vision support for models in OpenRouter that should have supported vision (langgenius#10191) chore : code generator preview hint (langgenius#10188) fix: webapp upload file (langgenius#10195) fix(api): replace current_user with end_user in file upload (langgenius#10194) feat(document_extractor): integrate unstructured API for PPTX extraction (langgenius#10180) fix(tools): suppress RuntimeWarnings in podcast audio generator (langgenius#10182) [fix] fix the bug that modify document name not effective (langgenius#10154) fix(workflow model): ensure consistent timestamp updating (langgenius#10172) fix: Cannot find declaration to go to CLEAN_DAY_SETTING (langgenius#10157) feat: add gpustack model provider (langgenius#10158) refactor(tools): Avoid warnings. (langgenius#10161) refactor(migration/model): update column types for workflow schema (langgenius#10160) Feat/add-remote-file-upload-api (langgenius#9906) fix: upload remote image preview (langgenius#9952) clean un-allowed special charters when doing indexing estimate (langgenius#10153) refactor(service): handle unsupported DSL version with warning (langgenius#10151) Add VESSL AI OpenAI API-compatible model provider and LLM model (langgenius#9474) feat: synchronize input/output variables in the panel with generated code by the code generator (langgenius#10150) Refined README for better reading experience. (langgenius#10143) ...
Nov1c444
pushed a commit
that referenced
this pull request
Nov 5, 2024
5 tasks done
iamjoel
pushed a commit
that referenced
this pull request
Nov 7, 2024
idonotknow
pushed a commit
to AceDataCloud/Dify
that referenced
this pull request
Nov 16, 2024
Ssazurov
pushed a commit
to Ssazurov/dify
that referenced
this pull request
Aug 8, 2026
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.
Checklist:
Important
Please review the checklist below before submitting your pull request.
dev/reformat(backend) andcd web && npx lint-staged(frontend) to appease the lint godsDescription
File Upload Refactoring:
FileService.upload_filemethod signature.Remote File Handling:
RemoteFileUploadApiclass for handling remote file operations.Error Handling:
FilenameNotExistsErrorfor cases where a file is uploaded without a filename.Controller Restructuring:
web/__init__.pyto separateweb/files.pyandweb/remote_files.pyfiles.Setup Required Decorator:
setup_requireddecorator fromsetup.pytowraps.py.setup_requiredto use the new location.Fixes
Type of Change
Testing Instructions
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration