Ivan Yanitra
0ee6d0b4bf
azureblob: add support cold tier
2023-10-18 17:54:25 +01:00
Nick Craig-Wood
b1c0ae5e7d
azureblob: fix creation of directory markers
...
This also fixes the integration tests which is why we didn't notice this before!
2023-09-03 18:09:31 +01:00
Anagh Kumar Baranwal
0ef0e908ca
build: update to go1.21rc3 and make go1.19 the minimum required version
...
Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
2023-07-16 10:09:25 +01:00
Nick Craig-Wood
f080ec437c
azureblob: empty directory markers #3453
2023-05-07 12:47:09 +01:00
Nick Craig-Wood
a131da2c35
azureblob: Port to new SDK
...
This commit switches from using the old Azure go modules
github.com/Azure/azure-pipeline-go/pipeline
github.com/Azure/azure-storage-blob-go/azblob
github.com/Azure/go-autorest/autorest/adal
To the new SDK
github.com/Azure/azure-sdk-for-go/
This stops rclone using deprecated code and enables the full range of
authentication with Azure.
See #6132 and #5284
2022-12-06 15:07:01 +00:00
Nathaniel Wesley Filardo
6f3682c12f
azureblob: make newServicePrincipalTokenRefresher take parsed principal structure
2022-11-24 12:06:14 +00:00
Rob Pickerill
6d342a3c5b
azureblob: case insensitive access tier
2022-05-24 09:19:08 +01:00
Nick Craig-Wood
fbc4c4ad9a
azureblob: remove 100MB upper limit on chunk_size as it is no longer needed
2021-11-18 16:09:02 +00:00
Ivan Andreev
24de896df2
build: apply gofmt from golang 1.17
2021-09-09 20:43:59 +03:00
Nick Craig-Wood
2cefae51a1
build: make go1.14 the minimum supported Go for building
2021-08-20 19:04:29 +01:00
Nick Craig-Wood
3b1122c888
azureblob: require go1.14+ to compile due to SDK changes
2021-01-30 18:01:12 +00:00
Denis Neuling
ec73d2fb9a
azure-blob-storage: utilize streaming capabilities - #1614
2021-01-10 17:02:42 +00:00
James Lim
2fd543c989
azure: add support for service principals - fixes #3230
...
Before: users can only connect to Azure blob containers using the access keys
from the storage account.
After: users can additionally choose connect to Azure blob containers
using service principals. This uses OAuth2 under the hood to exchange
a client ID and client secret for a short-lived access token.
Ref:
- https://github.com/rclone/rclone/issues/3230
- https://docs.microsoft.com/en-us/azure/storage/common/storage-auth-aad-app?tabs=dotnet#well-known-values-for-authentication-with-azure-ad
- https://docs.microsoft.com/en-us/azure/developer/go/azure-sdk-authorization#available-authentication-types-and-methods
- https://gist.github.com/ItalyPaleAle/ec6498bfa81a96f9ca27a2da6f60a770
2020-12-09 17:52:15 +00:00
Nick Craig-Wood
3a14b1d5a9
build: make rclone build with wasm
...
Needed to drop
- azureblob backend
- cache backend
- qingstor backend
- cachestats command
- ncdu command
2020-08-10 17:32:21 +01:00
Nick Craig-Wood
2a3b377d34
azureblob: don't compile on < go1.13 after dependency update
2020-06-29 14:45:39 +01:00
Nick Craig-Wood
57d5de6fba
build: fix up package paths after repo move
...
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g'
goimports -w `find . -name \*.go`
2019-07-28 18:47:38 +01:00
Nick Craig-Wood
16d8014cbb
build: drop support for go1.8
2019-04-15 21:49:58 +01:00
themylogin
eb41253764
azureblob: allow building azureblob backend on *BSD
...
FreeBSD support was added in Azure/azure-storage-blob-go@0562badec5
OpenBSD and NetBSD support was added in Azure/azure-storage-blob-go@1d6dd77d74
2018-11-27 12:20:48 +00:00
Nick Craig-Wood
e1503add41
azureblob, b2, drive: implement set upload cutoff for chunked upload tests
2018-10-13 22:49:12 +01:00
Fabian Möller
98e2746e31
backend: add fstests.ChunkedUploadConfig
...
- azureblob
- b2
- drive
- dropbox
- onedrive
- s3
- swift
2018-10-11 14:47:58 +01:00
sandeepkru
b94d87ae2d
azureblob and fstests - Modify integration tests to include new
...
optional setting to test SetTier on only few supported tiers.
Remove unused optional interface ListTiers and backend and internal tests
2018-09-18 13:56:09 +01:00
sandeepkru
5ad8bcb43a
backend/azureblob: Port new Azure Blob Storage SDK #2362
...
This change includes removing older azureblob storage SDK, and getting
parity to existing code with latest blob storage SDK.
This change is also pre-req for addressing #2091
2018-07-14 10:49:58 +01:00
Nick Craig-Wood
0fa700b3cf
Make integration tests use go1.7+ nested tests #2154
...
* Removed generated code and code generator
* Updated docs on how to write integration tests
* Tidied up the actual integration tests
2018-04-08 15:04:14 +01:00
Nick Craig-Wood
be54fd8f70
Remove builds conditional on go1.7 since that is now guaranteed #2154
...
Old fallback code was deleted and the go1.7 style code inlined where
appropriate.
2018-04-07 11:42:55 +01:00
Stefan
a8267d1628
link: allow creating public link to files and folders - closes #1562
2018-03-29 09:10:19 +02:00
Remus Bunduc
70f07fd3ac
fs: add ChangeNotify and backend support for it ( #2094 )
...
* fs: rename DirChangeNotify to ChangeNotify
* cache: switch to ChangeNotify
* ChangeNotify: keep order of notifications
2018-03-08 22:03:34 +02:00
Fabian Möller
aeefa34f62
fstests: add TestInternal ( #2085 )
...
TestInternal allows to perform a custom test on the backend using the
optional InternalTester interface.
2018-02-25 10:58:06 +01:00
Nick Craig-Wood
8653944a6d
Make RangeOption manadatory for Open - #1825
...
Add an integration test to make sure all backends implement
RangeOption correctly.
2018-01-21 17:09:12 +00:00
Nick Craig-Wood
b8b620f5c2
Move all backends into backend directory
2018-01-12 17:07:38 +00:00