Commit Graph

319 Commits

Author SHA1 Message Date
Nick Craig-Wood
12efbbfa21 Update README with CI and other badges 2024-04-12 17:53:37 +01:00
Nick Craig-Wood
0c2edf9d07 test: disable failing test 2024-04-12 17:50:35 +01:00
Nick Craig-Wood
174a2dc8c5 test: disable IMDS to look up region in tests to fix Github CI
See: https://github.com/aws/aws-cli/issues/5234#issuecomment-705831465
2024-04-12 17:50:35 +01:00
Nick Craig-Wood
d6a697ddae test: more logging 2024-04-12 17:50:35 +01:00
Nick Craig-Wood
e99f68c813 lint: stylecheck: fix default case should be first or last in switch statement 2024-04-12 16:59:36 +01:00
Nick Craig-Wood
818f37db44 lint: govet: fix struct literal uses unkeyed fields 2024-04-12 16:58:38 +01:00
Nick Craig-Wood
bc23260dfe lint: gosimple: remove unecessary use of fmt.Sprintf 2024-04-12 16:57:38 +01:00
Nick Craig-Wood
b7d01180aa lint: misspell: fix spelling 2024-04-12 16:56:42 +01:00
Nick Craig-Wood
074b52e8ae build: add CI with GitHub actions 2024-04-12 16:49:08 +01:00
Nick Craig-Wood
f35277f0c1 go fmt all the files 2024-04-12 16:40:42 +01:00
Nick Craig-Wood
c07f2055f4 Complete the move to the rclone organization by changing the import path 2024-04-12 16:36:10 +01:00
Saw-jan
5be237aa06 test: fix tests 2024-04-12 16:24:15 +01:00
Saw-jan
3bdd10db84 pass context instead of request 2024-04-12 16:24:15 +01:00
Saw-jan
cae0556a3f fix tests 2024-04-12 16:24:15 +01:00
Saw-jan
beb07a1101 pass req obj to backend methods 2024-04-12 16:24:15 +01:00
Saw-jan
bf4feae247 add exported GetAccessKey method 2024-04-12 16:24:15 +01:00
Saw-jan
2b589a1dc7 export ParseSignV4 method 2024-04-12 16:24:15 +01:00
Kakigōri Maker
284c0f9887 Merge pull request #2 from JankariTech/fixEncoding
Fix encoding
2023-06-22 19:20:24 +09:00
Artur Neumann
733861251a set encoding type to "url"
at least for the `mc` client of minio this makes things clearer
having a folder/file name in the backend that contains unusual characters e.g. `bucket2/sub-folder <>/a space $%&#.txt`
results without this change in this output when running `mc ls`
`[2023-06-16 17:19:10 +0545]    11B STANDARD /bucket2/sub-folder+%3C%3E/sub2/a+space+%24%25%26%23.txt`
also such a folder/bucket cannot be downloaded using `mc cp`

after the change the output of `mc ls` is correct and same as if it connects to AWS S3
`[2023-06-16 17:19:10 +0545]    11B STANDARD a space $%&#.txt`

and also the `mc tree -f` output looks correct
```
proxy/bucket2/
└─ sub-folder <>
   ├─ a space $%&#.txt
   └─ sub2
      └─ a space $%&#.txt
```
2023-06-21 15:57:58 +05:45
Artur Neumann
f4d6b12072 also URL encode the prefix
without this the prefix in the response would not be URL encoded

before:
```
<Prefix>
sub-folder &lt;&gt;/sub2/
</Prefix>
```

after
```
<Prefix>
sub-folder+%3C%3E/sub2/
</Prefix>
```
2023-06-20 09:34:55 +05:45
Kakigōri Maker
723f1854b4 Merge pull request #1 from oniumy/master
Fix issues with chunked multipart uploads
2023-03-16 14:40:32 +09:00
oniumy
7e26e73c0a Add support for chunked reader in multipart upload
Multipart uploads can include chunked readers in the part upload as well.
2023-03-12 14:16:18 +01:00
oniumy
2077be77fb Fix chunkedReader.Read not handling early inner.Read return correctly
The previous implementation expected inner.Read to always read until the end of the provided slice.
2023-03-12 14:16:04 +01:00
Mikubill
725f2cf2bf fix: invalid auth handler (2/2) 2022-10-30 00:40:50 +00:00
Mikubill
65b92b12a5 fix: invalid auth provider 2022-10-29 22:47:18 +00:00
Mikubill
68b260c342 fix: auth error 2022-10-29 21:36:22 +00:00
Mikubill
137f425d67 fix: add urlencode function 2022-10-27 14:08:32 +00:00
Mikubill
c88933c84e add more func; dep update 2022-10-27 11:37:30 +00:00
Mikubill
4a3b2e85d9 docs: update docs 2022-10-22 06:18:30 +00:00
Mikubill
6e93ea498a fix: control chars handler and signature verifier 2022-10-22 06:16:16 +00:00
Mikubill
2a2d530ae7 fix: minor fix, format code 2022-10-03 16:23:21 +00:00
Mikubill
cefe822b6c docs: update readme 2022-10-03 12:20:57 +00:00
Mikubill
1fe05714a6 go1.17 backward compatibility support 2022-10-03 12:18:36 +00:00
Mikubill
dd6e44f5f3 fix: add more metadata field 2022-09-22 16:02:39 +00:00
Mikubill
3b04724537 fix: drop size limit on multipartUplaod 2022-09-21 13:53:43 +00:00
Mikubill
897c7b39a2 feat: new CopyObjcet func && docs update 2022-09-21 11:21:20 +00:00
Mikubill
bee10b76d1 docs: update README.md 2022-09-21 10:57:25 +00:00
Mikubill
99328ebf87 minor fix on VersioningConfiguration 2022-09-21 10:28:57 +00:00
Mikubill
d1bf540f13 feat: remove unused file && update deps 2022-09-18 13:42:50 +00:00
Mikubill
548453f628 feat: remove unused files 2022-09-18 13:35:03 +00:00
Mikubill
7bc6e24068 fix: change xml resolver to support control char 2022-09-18 13:29:54 +00:00
Johannes Boyne
c3ac35da23 Merge pull request #68 from johannesboyne/issue-63-aws-sdk-go-v2-example
Add example for aws-sdk-go-v2
2022-06-27 10:58:14 +02:00
Johannes Boyne
4d225db1be Merge pull request #67 from johannesboyne/investigate-i64
Investigate and fix issue 64
2022-06-27 10:57:43 +02:00
Johannes Boyne
1223404a7f Add example for aws-sdk-go-v2 2022-06-05 18:39:45 +02:00
Johannes Boyne
5c1345273a Fix issue #64 2022-06-05 17:42:47 +02:00
Johannes Boyne
bdc1d35f35 Merge branch 'master' into investigate-i64 2022-06-05 16:49:23 +02:00
Johannes Boyne
83a58ec253 Merge pull request #65 from shabbyrobe/autobucket
Auto bucket creation option
2022-05-17 23:50:58 +02:00
Blake Williams
957798428f Fix erroneous assertion 2022-05-17 22:21:03 +10:00
Blake Williams
25f54524f6 Add autobucket GetBucketLocation test 2022-05-15 18:47:15 +10:00
Blake Williams
a52390b663 Add autobucket test cases 2022-05-15 00:59:40 +10:00