Commit Graph
1158 Commits
Author SHA1 Message Date
Sean Templeton b1c6e9798d Update Amazon Cloud Drive backend for async Put 2019-03-05 21:08:14 -06:00
Sean Templeton 662627a98a Update AlternativeFtp Backend for async Put
Removed System.Net.FtpClient and added the FluentFTP Nuget package which
is the new name of System.Net.FtpClient.
2019-03-03 21:43:13 -06:00
Sean Templeton 0c122ff550 Change IBackend and IStreamingBackend to return Task for Put() 2019-03-03 21:43:10 -06:00
Rune HenriksenandGitHub 9d3fb26989 Merge pull request #3677 from FroggieFrog/update-known-locations
added new known locations of S3
2019-02-25 23:45:47 +01:00
FroggieFrog 496b923079 added new known locations of S3 2019-02-25 16:24:28 +01:00
FroggieFrog 97894bc655 fix #3665 added "Wasabi Hot Storage (EU Central)" 2019-02-25 16:13:57 +01:00
Rune HenriksenandGitHub 63b154ff41 Merge pull request #3654 from aahung/b2-custom-download-url
Allow to use custom domain for b2 DownloadUrl #3653
2019-02-20 20:48:18 +01:00
_sam 49c70503b8 Change the long description of B2_DOWNLOAD_URL_OPTION, #3654 2019-02-20 11:35:59 -08:00
Andrew Meyer 0dc2199c13 Fix Sia API authentication not sending credentials
.NET's `System.Net.NetworkCredential` ignores credentials with blank usernames,
so instead we'll set the Authorization header manually.
2019-02-09 12:06:08 -06:00
_sam 690b4f9041 Allow to use custom domain for b2 DownloadUrl #3653
- how custom download url can be set with option "b2-download-url"
2019-02-08 16:23:37 -08:00
Kenneth SkovhedeandRune Henriksen 5327d0bebe Fixes for #3596 (#3630)
* backend: azure: add userAgent to requests

* Added dynamic Duplicati version in user-agent header for Azure
2019-01-25 23:20:07 +01:00
Kenneth Hsu b5d9451b33 Remove redundant casts. 2019-01-21 19:30:52 -08:00
Kenneth Skovhede f5de77053a Added explicit isroot property, and changed to be a string generated from false.ToString() 2019-01-16 14:22:24 +01:00
Kenneth Skovhede e39c584997 Merge branch 's3_object_inits' of https://github.com/verhoek/duplicati into verhoek-s3_object_inits 2019-01-16 14:18:33 +01:00
Kenneth SkovhedeandGitHub 8f2fbe5692 Merge pull request #3601 from warwickmm/bugfix/google_drive_quota
Fix quota reporting with Google Drive backend
2019-01-13 10:52:50 +01:00
Kenneth Hsu 953daae9bb Fix quota reporting with GoogleDrive backend.
The second argument to QuotaInfo is the amount of free space.
Previously, we were providing the amount of bytes used.
2019-01-12 19:27:15 -08:00
Jens Glad Balchen 2139faa91b Call SetWorkingDirectory every time an open FTP connection is requested to prevent files from ending up in the root folder if FtpClient fails and silently reconnects.
Fix for issue #3592
2019-01-12 23:32:34 +01:00
verhoek 97c26adcbb Refactored into one responsibility functions. 2019-01-12 17:08:08 +01:00
verhoek 7543f2999a Fixed typo. 2019-01-12 16:10:34 +01:00
verhoek ed38d19ac7 Made helper methods static. 2019-01-12 15:58:57 +01:00
verhoek e412b404be Rewrote CanCreateUser in a more verbose way. 2019-01-12 15:46:30 +01:00
verhoek 9fa2e7c453 Code improvements. 2019-01-11 13:19:36 +01:00
verhoek 68d1ba4b39 Replaced type by var. 2019-01-11 13:19:21 +01:00
Rune Henriksen 50dd5834de upgraded mega api to 1.7.1 2019-01-08 23:01:11 +01:00
verhoek d5119d2422 Simplifying object initialization. 2019-01-06 18:41:57 +01:00
Kenneth Hsu b7f28aa9f9 Remove empty finally blocks.
Empty finally blocks serve no purpose.  In cases where no exceptions are
caught, we removed the try as well.
2018-12-31 14:00:43 -08:00
Kenneth Hsu 0a37b9075d Remove condition that always evaluates to true. 2018-12-15 14:23:02 -08:00
Kenneth Hsu 8dd3aeaf26 Use invariant culture in calls to ToLower and ToUpper. 2018-12-11 21:21:07 -08:00
verhoek 7128544a96 Fix bug that accidentally also handles directories besides files in file backend. 2018-11-26 18:34:52 +01:00
Kenneth Hsu 0143a848f5 Remove unnecessary local variable. 2018-11-21 21:21:38 -08:00
Kenneth Hsu de9750caba Use 'this' keyword to improve readability. 2018-11-21 21:03:09 -08:00
Kenneth Hsu 609c32feb2 Create parent directories as needed for SFTP backend.
If the user specifies a path with multiple directories that do not
exist, the SftpClient.CreateDirectory method does not create all the
missing parent directories.  As such, we have to do so ourselves.

This addresses issue #2080.
2018-11-21 20:38:36 -08:00
Kenneth Skovhede 968261056e Merge branch 'feature/remove_onedrive_v1'
# Conflicts:
#	Duplicati/Library/Backend/OneDrive/OneDrive.cs
2018-11-12 13:02:18 +01:00
Kenneth SkovhedeandGitHub 1b54cd6107 Merge pull request #3456 from verhoek/issue/3311
Refactor the way paths are handled.
This fixes #3311 PathTooLongException when using USNJournal
2018-11-08 12:50:09 +01:00
Kenneth Skovhede 4c1d53f283 Removed the OneDrive v1 backend as it no longer works 2018-11-08 12:46:29 +01:00
Rune Henriksen edefa17b58 updated AWSSDK to newest version 2018-11-04 14:59:38 +01:00
verhoek ab12be6bbd Renamed IsClientLinux to IsClientPosix . 2018-11-03 09:26:04 +01:00
verhoek 72b1f6b6f8 Updated project files. 2018-11-02 22:45:07 +01:00
verhoek 8bb406cd15 Migrated to use the platform class. 2018-11-02 22:17:16 +01:00
verhoek b2cc18426c Renamed Library.IO to Library.Common.IO.
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek 71c6aca8a7 Fixed IO calls in Filebackend.
Moved FileEntry to Library.IO due to AlphaFS not implementing
System.IO.FileInfo/DirectoryInfo.
2018-11-01 17:56:48 +01:00
verhoek 4d8155fa43 Merge remote-tracking branch 'origin/master' into issue/3311 2018-10-29 12:13:25 +01:00
verhoek 52916b935b Replaced System.IO.Path with wrapper call to Alphaleonis. 2018-10-28 12:08:09 +01:00
Kenneth Hsu a567b467dc Fix slashes in Microsoft Graph URLs.
This fixes an issue introduced in revision f9022fec ("Avoid referencing
virtual members in constructor").

This addresses issue #3460.
2018-10-27 13:03:25 -07:00
verhoek bc053df294 Moved basic IO helper functions to Library.IO. 2018-10-27 12:17:07 +02:00
verhoek 40dc6da81d Created separate package for io wrapper. 2018-10-25 20:01:55 +02:00
verhoek d932069b99 Fixed incorrect download files string. 2018-10-24 09:40:16 +02:00
verhoek 0752e0af0d Moved content api strings to webapi. 2018-10-23 16:21:36 +02:00
verhoek 1db6504dea Replaced paths in formatted strings to inner class. 2018-10-23 16:02:14 +02:00
verhoek 630f810cdd Added listfiles url to dropbox's webapi. 2018-10-23 15:46:35 +02:00