Commit graph

709 commits

Author SHA1 Message Date
Denis Kirillov
60bc0037fd [#149] Remove unused
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-22 09:55:35 +03:00
Denis Kirillov
28974474f2 [#149] Refactoring
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-22 09:55:35 +03:00
Denis Kirillov
63652d213c [#149] Removed grpc errors
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-22 09:54:12 +03:00
Denis Kirillov
b695e6a3b4 [#89] Refactor error logging
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-22 09:45:24 +03:00
Alex Vanin
57e2b70614
Merge pull request #173 from KirillovDenis/bugfix/160-head_folder
[#160] Fix head dir object
2021-07-22 09:34:20 +03:00
Denis Kirillov
65a61a9f7d [#159] Add fetch-owner param
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-20 15:40:38 +03:00
Denis Kirillov
c05e2d6757 [#160] Fix head dir object
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-20 12:36:41 +03:00
Kirillov Denis
642f8cc3eb
Merge pull request #172 from masterSplinter01/154-refactoring
Refactor ListObjectsV1 and V2
2021-07-19 17:59:38 +03:00
Angira Kekteeva
b1cda2a714 [#154] api: refactor EncodeV1 and EncodeV2
Move common parts of Encode to separate functions.

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-19 16:38:51 +03:00
Angira Kekteeva
ee84062154 [#154] api: refactor ListObjectsV1 and V2
Separate ListObject for different versions.
Remove useless grouping of keys on V2.

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-19 10:12:47 +03:00
Kirillov Denis
308994211b
Merge pull request #168 from masterSplinter01/163-cid-in-authmate-new
Add cid to output of authmate issue-secret
2021-07-16 17:14:32 +03:00
Denis Kirillov
bba0402a98 [#89] Update README.md
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-16 16:15:08 +03:00
Denis Kirillov
1fbd192bd7 [#89] Add placement policy
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-16 16:01:35 +03:00
Angira Kekteeva
422d6d8307 [#163] Add cid to output of authmate issue-secret
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-16 15:55:49 +03:00
Alex Vanin
e9cac94c92 CHANGELOG: Add latest changes of v0.16.0 release
Also do not use periods if changelog record contains
single sentence

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-16 15:49:49 +03:00
Alex Vanin
739c04a274 Merge pull request #166 from masterSplinter01/164-access_key_numeric
Change delimiter in acesskeyID
2021-07-16 15:22:10 +03:00
Angira Kekteeva
02ca18834f [#164] Update README
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-16 15:19:57 +03:00
Angira Kekteeva
b7ebe4127f [#164] Change delimiter in acesskeyID
Replaced delimiter '_' by '0'

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-16 14:17:01 +03:00
Alex Vanin
56375a0946 Merge pull request #165 from alexvanin/release/v0.16.0
Release/v0.16.0
2021-07-16 13:19:59 +03:00
Alex Vanin
aa2d3a222b [#165] CHANGELOG: Update for v0.16.0 release
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-16 13:18:26 +03:00
Alex Vanin
8e8487de85 [#165] README: Fix "Download of a file" example
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-16 13:18:26 +03:00
Alex Vanin
2137e43cff [#165] README: Use secp256r1 public keys in examples
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-16 13:18:26 +03:00
Alex Vanin
f2018a2d90 [#165] README: Add "upload of a dir" section
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-07-16 13:18:26 +03:00
Alex Vanin
22faaadc32 Merge pull request #161 from nspcc-dev/feature/158-s3_tests_conditional_headers
[#158] Handled s3 errors on conditional headers
2021-07-16 09:39:17 +03:00
Denis Kirillov
352d5345fc [#158] Handled s3 errors on conditional headers
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-16 09:30:08 +03:00
Alex Vanin
3a7876e292 Merge pull request #157 from KirillovDenis/feature/155-s3_ceph_listObject_compatibility
[#155] Improved s3 listObjects compatibility
2021-07-15 18:48:26 +03:00
Denis Kirillov
f2eeed0b85 [#155] Fix error handling
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-14 19:06:58 +03:00
Alex Vanin
5fc2b6adf8 Merge pull request #153 from KirillovDenis/feature/152-optimize_put_object
[#152] Removed redundant GetBucketInfo call
2021-07-14 17:48:34 +03:00
Denis Kirillov
1ecf32c302 [#155] Fixed invalid max-keys handling
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-14 12:21:09 +03:00
Denis Kirillov
9f57756351 [#155] Added s3 url encoder
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-14 11:34:49 +03:00
Denis Kirillov
288f6edce8 [#155] Fixed default maxKey value
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-13 17:57:48 +03:00
Denis Kirillov
5fb4c4fad6 [#155] Fixed empty delimiter response
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-13 17:46:32 +03:00
Denis Kirillov
b004996d51 [#155] Fix KeyCount
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-13 17:45:38 +03:00
Denis Kirillov
e1c2cee365 [#152] Removed redundant GetBucketInfo call
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-13 14:22:12 +03:00
Alex Vanin
7b1058a9bd Merge pull request #143 from KirillovDenis/bugfix/125-check_bucket_unique
[#125] Fixed bucket creation
2021-07-09 17:44:28 +03:00
Alex Vanin
1f656aac23 Merge pull request #148 from masterSplinter01/bugfix/131-add-metadata
Fix metadata
2021-07-09 17:20:59 +03:00
Denis Kirillov
acc2cdd96c [#125] Added exact eacl checking
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-09 17:06:35 +03:00
Alex Vanin
50ece712b4 Merge pull request #146 from masterSplinter01/145-fix-tests
Fix util tests
2021-07-09 15:31:22 +03:00
Angira Kekteeva
d5dfc0006a [#131] Remove metadata from Object in ListObjects
Because ListObjects v1 and v2 shouldn't show metadata. Also aws cli
doesn't show metadata even we return it.

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-09 13:44:24 +03:00
Angira Kekteeva
da9a6e4b33 [#131] Fix metadata in HeadObject and GetObject
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-09 13:44:24 +03:00
Angira Kekteeva
e8bf46a2fa [#131] Add meta to PutObject
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-09 13:44:24 +03:00
Denis Kirillov
e78543adf3 [#125] Updated error handling
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-09 11:57:44 +03:00
Alex Vanin
41dc84cc49 Merge pull request #147 from KirillovDenis/feature/142-update_supported_methods
[#142] Updated list of supported methods
2021-07-09 09:42:43 +03:00
Angira Kekteeva
d09a4e4e6c [#145] Fix util tests
Fixed contentType attribute difference in expected and actual results

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-09 00:36:19 +03:00
Denis Kirillov
e11b1b76ba [#125] Added eacl to newly created container
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-08 13:10:46 +03:00
Denis Kirillov
6ba5167f5d [#125] Fixed acl rule
Container must be public (basic acl) to enable bearer token.

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-08 12:22:02 +03:00
Denis Kirillov
0aae8c595a [#125] Fixed bucket creation
Bucket should has unique name.

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-08 12:22:02 +03:00
Denis Kirillov
bcdc2b2d23 [#142] Updated list of supported methods
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-07-08 09:34:28 +03:00
Kirillov Denis
e7bebcc1aa Merge pull request #144 from masterSplinter01/141-update-api-sdk-gos
Update api-go and sdk-go versions
2021-07-08 09:23:16 +03:00
Angira Kekteeva
d33463a734 [#141] Update api-go and sdk-go versions
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-07-07 18:03:25 +03:00