Skip to content
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

Storage emulator fixes and added rewriteTo support #3647

Merged
merged 41 commits into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
2eece8e
Added missing return type
rhodgkins Aug 6, 2021
43b925b
Set default cache-control header
rhodgkins Aug 6, 2021
d097baa
Try to derive eTag from file bytes
rhodgkins Aug 6, 2021
1044cde
Use content-encoding from metadata
rhodgkins Aug 6, 2021
199082b
Added in other file headers
rhodgkins Aug 6, 2021
5aa6106
Improved comment
rhodgkins Aug 6, 2021
c91e5db
Extracted out crc32c encoding to separate function
rhodgkins Aug 6, 2021
83d634f
Added in x-goog-hash header with encoded crc32c value and MD5 hash
rhodgkins Aug 6, 2021
278ccc9
Match 404 object errors to API
rhodgkins Aug 6, 2021
084477c
Fixed range requests
rhodgkins Aug 6, 2021
8f82b87
When STORAGE_EMULATOR_DEBUG env is set, still return 501 status code
rhodgkins Aug 6, 2021
81f5e44
Added support for rewriteTo and copyTo in the storage emulator
rhodgkins Aug 6, 2021
ff21894
Added contentDisposition into metadata
rhodgkins Aug 6, 2021
3e06fad
Convert custom metadata values to strings and added integration test …
rhodgkins Aug 6, 2021
f469868
Match 404 object errors to API for non-GET endpoints
rhodgkins Aug 9, 2021
99c1e52
Changed to use declared imports to match other fs usage
rhodgkins Aug 9, 2021
4d6b812
No need to check for directory existence before trying to create it w…
rhodgkins Aug 9, 2021
cd64b38
Stored files flat inside bucket directory, and URL encode the path co…
rhodgkins Aug 9, 2021
f0145bf
Fixed typo in skipped test
rhodgkins Aug 10, 2021
f7dfda9
Corrected list objects endpoint when using prefix and delimiter to re…
rhodgkins Aug 10, 2021
812f337
Support for pageTokens and maxResults in objects: list
rhodgkins Aug 10, 2021
5c4e5e5
Refactored Firebase storage#listAll endpoint to call generic listItems
rhodgkins Aug 10, 2021
4c6ed44
#upload test to check provided custom metadata is set
rhodgkins Aug 11, 2021
bddf660
Better tests for #copy to check original files metadata is copied
rhodgkins Aug 11, 2021
e3c4f3e
Updated #copy() to overwrite all custom metadata, not only provided keys
rhodgkins Aug 11, 2021
10adc2a
Updated #copy() to convert null custom metadata values to empty strings
rhodgkins Aug 11, 2021
cc40156
Refactored objects: rewrite / copy endpoint to method in storage layer
rhodgkins Mar 14, 2022
1bee89e
Handle firebaseStorageDownloadTokens for objects: rewrite / copy
rhodgkins Aug 11, 2021
f4d6eec
Consistent case for constant test variable
rhodgkins Mar 10, 2022
3d5f356
Changed iterating over objects with Object.keys to use Object.entries
rhodgkins Mar 11, 2022
6808c93
Clearer circumventing the type-system
rhodgkins Mar 11, 2022
182cee9
Base eTags on object generation and metadata generation for uniquenes…
rhodgkins Mar 11, 2022
3e4afc4
Refactored StorageLayer#listItemsAndPrefixes to use #listItems and mo…
rhodgkins Mar 11, 2022
3e9a02b
Removed unused import
rhodgkins Mar 14, 2022
091410a
Handled cache control and content language metadata and added tests
rhodgkins Mar 14, 2022
b03f28a
Integration tests for File#exists
rhodgkins Mar 14, 2022
140be80
Updated CHANGELOG
rhodgkins Jan 6, 2022
3627742
Comment on boolean argument
rhodgkins Mar 14, 2022
b4f1457
Merge branch 'master' into emulator-fixes
rhodgkins Mar 14, 2022
8b3c692
Fixed end to end test storage import/export
rhodgkins Mar 15, 2022
efa57d4
Merge branch 'master' into emulator-fixes
rhodgkins Mar 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- Fixes bug where functions' memory configurations weren't preserved in batched function deploys (#4253).
- `ext:export` now uses stable ordering for params in .env files (#4256).
- Adds alerting event provider (#4258).
- Adds `rewriteTo` / `copyTo` endpoints to Cloud Storage Emulator (#3647, #3751)
- Addes `createReadStream` support to Cloud Storage Emulator (#3469)
- Fixes `list` endpoint in Cloud Storage Emulator (#3647)
- Fixes `getFiles` for Cloud Storage Emulator (#3778)
- Fixes `exists` for Cloud Storage Emulator (#3764)