Commit Graph

95 Commits (83b00a99fa7fed776ceadfbfbb653832c6076688)

Author SHA1 Message Date
Roeland Jago Douma dedb84acb0
Always use a temp file for swift writes 7 years ago
Roeland Jago Douma 1153123b90
Use a tmp file for swift writes 7 years ago
S. Cat e3142a91b2 Bucket name - Alert in debug mode 7 years ago
S. Cat 381ae44d38 Correct code indent 7 years ago
S. Cat 77473b0228 Warning on S3 not compatible DNS bucket name 7 years ago
Sebastien Cat 59c3d8d85f Dont check Bucket Name in Nextcloud 7 years ago
Roeland Jago Douma 104616c1da
Use CountWrapper instead of almost identical CountReadStream 7 years ago
Roeland Jago Douma 61d66d7954
Fix empty file uploads to S3 7 years ago
Volker d06c25b9c8
Update SwiftFactory.php 7 years ago
William Pain c26bdd4731 Fix: Check if `$this->params['user']` is an array 7 years ago
Robin Appelman 1d322d3b37
always use multipart uploader for s3 uploads 7 years ago
Robin Appelman 615fb8cd77
Cache tokens when using swift's v2 authentication 7 years ago
Robin Appelman d6bf5d4384
upload new files in objectstore to a .part path first 7 years ago
Robin Appelman 6c9f2644cf
Add objectExists to objectstore interface 7 years ago
Morris Jobke cef8eadf2a
Add PHPDoc for thrown exception 7 years ago
Robin Appelman 35251928d5
forward object not found error in switch as dav 404 7 years ago
Robin Appelman 93de63777e
extend storage api to allow directly writing a stream to storage 7 years ago
Robin Appelman 47fd3499a3
Fix listing s3 objects when using google cloud aws compatibility 8 years ago
Robin Appelman ac26175a17
add azure unit tests with azurite 8 years ago
Robin Appelman 60b7cbc0f0
add azure object storage backend 8 years ago
Roeland Jago Douma a0e038f912
generateTokenFromCache is only valid for V3 8 years ago
Roeland Jago Douma 7318882357
json_decode an associative array for the swift cached token 8 years ago
Arthur Schiwon 38a90130ce
move log constants to ILogger 8 years ago
Roeland Jago Douma ba71918ad2
Swift v3 requires setting a scope 8 years ago
Morris Jobke 431ccb6386
Fix undefined variable - found by phan 8 years ago
Morris Jobke 2f068bc9d1
Add more logging for the object storage during creation of the buckets 8 years ago
Robin Appelman 41954d2903
verify cached swift token 8 years ago
Roeland Jago Douma d3e7996e80
Fix bucket and container usage 8 years ago
Roeland Jago Douma 4e8d5504d2
Properly cache swift v3 token 8 years ago
Robin Appelman fc35352122
disable part files for object stores 8 years ago
Robin Appelman 9764e70494
don't read existing file when overwriting using object store 8 years ago
Roeland Jago Douma 812ea354d0
User proper username + pass 8 years ago
Robin Appelman 31dd6d6aae
add support for v3 swift auth 8 years ago
Robin Appelman 817f2f8f49
adjust swift external storage to new openstack sdk 8 years ago
Robin Appelman 3192efc415
adjust swift object storage to new openstack sdk 8 years ago
Morris Jobke d3d045dd5c
Remove unused import statements 8 years ago
Roeland Jago Douma 3e0ef7e3f2
Try to silence phan 8 years ago
Robin Appelman e34c20af7d
don't swallow exception from touch 8 years ago
Robin Appelman 85d23dd6fc
better error message on catalog error 8 years ago
Robin Appelman fd09c06eb4
actually return stream from swift 8 years ago
Morris Jobke a661f043e1
Remove unneeded semicolon and parentheses 8 years ago
Morris Jobke c005fc6755
Cleanup unused code 8 years ago
Robin Appelman 3499cbdb76
Use S3Client::upload instead of splitting single/multipart upload ourselves 8 years ago
Morris Jobke 2a38605545
Properly log the full exception instead of only the message 8 years ago
Robin Appelman 34ced4dd97
add option to use legacy v2 auth with s3 8 years ago
Morris Jobke d2d73f1ce8
Also replace all other occurences 8 years ago
Robin Appelman 046eb0c635
add retry wrapper when reading files from swift 8 years ago
Bjoern Schiessle 1ade6b0817
only create the file cache entry after the empty file was created successfully, otherwise file_exists() call on the initial file_put_content() will indicate that the file already exists 8 years ago
Robin Appelman c566b2854b
Use non empty files for object store touch 8 years ago
Robin Appelman 70a4860ccb
Fix contructing headers for s3 download 8 years ago