-
-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.0] Add GridFS implementation on top of mongodb/mongodb #1790
Merged
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
1b14a44
Remove obsolete File type
alcaeus cafcf90
Add file marker to ClassMetadata
alcaeus 0924145
Add annotations for GridFS files
alcaeus 51dc2cf
Show off new file annotations in tests
alcaeus 62c80e0
Add XML mapping for GridFS files
alcaeus 3d4742e
Expose GridFS bucket classes in DocumentManager
alcaeus 193ebec
Only allow special fields in GridFS mappings
alcaeus 39d31c8
Add tests for GridFS file mappings
alcaeus fb19ba7
Update SchemaManager to handle GridFS collections
alcaeus f54dbd5
Handle persisting and updating GridFS files in UnitOfWork
alcaeus 682aa79
Move DocumentRepository to Repository namespace
alcaeus 119ff63
Introduce separate repository for GridFS
alcaeus b01b8f1
Ensure file deletion also deletes chunks
alcaeus 4eecb1f
Bump dependency to doctrine/common to fix proxy generation with retur…
alcaeus c048992
Extract GridFS bucket name to separate property
alcaeus aca68a8
Add annotation reference for GridFS annotations
alcaeus 2521ef7
Add usage documentation for GridFS
alcaeus 49bd3c5
Consistently use inline code for identifiers and options
alcaeus 6f44159
Add chunkSizeBytes option to GridFS file mapping
alcaeus c943ec4
Add openDownloadStream method to GridFSRepository
alcaeus f00a3c9
Replace GridFS option arguments with value object
alcaeus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add openDownloadStream method to GridFSRepository
- Loading branch information
commit c943ec411fff09ed7253f2037224dec6d7f5d6fa
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to expose wrappers for
openDownloadStream()
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can certainly expose that wrapper as well, I haven't considered it until now