Commit Graph
3969 Commits
Author SHA1 Message Date
Kenneth Skovhede b610d60fc2 Updated System.Net.Http for Mega backend 2017-09-23 14:43:23 +02:00
Kenneth Hsu b07170d2c9 Reference property instead of invoking extension method.
The Enumerable.Count method will attempt to cast the object to an
ICollection, and if successful, reference the Count property.  Since we
know that we have a List, we can reference the Count property directly.
2017-09-22 21:28:43 -07:00
Kenneth Skovhede 5f4aef8bbf Update sharpcompress 2017-09-23 00:28:25 +02:00
Kenneth Skovhede ba36cadde3 Updated Renci.SSH 2017-09-23 00:27:55 +02:00
Kenneth Skovhede 93e04180c6 Updated the AWS libraries for S3 2017-09-23 00:27:06 +02:00
Kenneth Skovhede 26746cd903 Update the azureblob libraries 2017-09-23 00:26:38 +02:00
Kenneth Skovhede a06f38442a Updated all Newtonsoft.Json packages 2017-09-23 00:25:50 +02:00
Kenneth Skovhede 5970562022 Bugfix: better error message when there is no password for SSH backend 2017-09-23 00:15:53 +02:00
Kenneth Skovhede 01c429b176 Switched hash library to use FasterHashing 2017-09-23 00:13:03 +02:00
Tyler Gill 7c3ce32ee2 Add support for the quota reporting and renaming interfaces to the OneDrive backend.
To test the quota support, quota information is reported on the command line if it is available.
However, the rename support hasn't been tested, since I don't see anything using that functionality yet.
2017-09-22 00:30:10 -06:00
Tyler Gill e78e40fb11 Fix some documentation errors in backend interfaces. 2017-09-21 23:44:46 -06:00
Tyler Gill 811acac073 Fix warning that the default-filters parameter isn't supported. 2017-09-21 23:44:24 -06:00
Kenneth Skovhede 860924bb62 Updated main functions to new CoCoL library 2017-09-20 21:03:24 +02:00
Kenneth Skovhede 9688052cc6 Updated usagereporter to the new CoCoL library 2017-09-20 21:03:09 +02:00
Kenneth Skovhede 683b04741d Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/Operation/BackupHandler.cs

Manually fixed the HashAlgorithmHelper case
2017-09-20 13:56:37 +02:00
Kenneth Skovhede b80d0c5279 Bugfix for --accept-any-ssl-certificate.
It turns out that the `ServicePointManager` does not carry the call context when executing the request.
The workaround for now is to look at all registered validators and use them all combined when using custom SSL certificate validation.
2017-09-20 12:11:30 +02:00
Kenneth Skovhede 9bb37d5f6e Re-wrote the way the ssl certificate checker is applied.
This fixes #2711 and some other issues, in that the SSL checker is now applied for all requests.
2017-09-20 10:53:39 +02:00
Kenneth Skovhede 9cdd5ff1e4 Removed the manual call to set up the ssl certificate validator on each request.
This fixes #2746
This fixes #2714
2017-09-20 10:51:13 +02:00
Kenneth Skovhede e344a10ee5 Merge branch 'feature/use-cng-hashalgorithms' 2017-09-20 10:27:58 +02:00
Kenneth Skovhede 6d401fbd8d Changed all hash algorithms to use the Cng version.
This fixes #2621
2017-09-20 09:58:43 +02:00
Tyler Gill cf79aedb2d Followup to the change to add default filters and change InvariantCultureIgnoreCase to OrdinalIgnoreCase. 2017-09-19 09:23:01 -06:00
Kenneth Skovhede bc6e32d049 Updated the new backend handler to support the same features as the previous: throttle, error message, and deleteGraceTime. 2017-09-19 14:24:59 +02:00
Kenneth Skovhede 21b7a98dc3 Implemented the blocking flag in the uploader 2017-09-19 14:18:54 +02:00
Kenneth Skovhede 0b81fabb1f Bugfix from the merge conflict 2017-09-19 14:18:10 +02:00
Kenneth Skovhede 0dd56f1650 Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/Options.cs
2017-09-19 12:51:40 +02:00
Kenneth Skovhede 37527b51ba Fixed removing temporary files downloaded for testing purposes. 2017-09-19 11:20:26 +02:00
Kenneth SkovhedeandGitHub c386da0b33 Merge pull request #2741 from tygill/fix/string-compare-ordinal-ignore-case
Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase
2017-09-19 11:07:20 +02:00
Tyler Gill 83a1dcfb64 Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.

For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Tyler Gill 3fc4868433 Merge branch 'master' of https://github.com/duplicati/duplicati into feature/default-filters
# Conflicts:
#	Duplicati/Library/Utility/Utility.cs
2017-09-18 23:13:13 -06:00
Tyler Gill bb68c2d3a5 Normalize whitespace 2017-09-18 23:07:20 -06:00
Tyler Gill 1da75e8859 Remove the Platform and Common filter sets. They aren't really very useful.
Common is now always included with default filters.
The Platform behavior (of using the set corresponding to the current operating system) is available by using the flag without giving it a value.
2017-09-18 23:03:15 -06:00
Kenneth Skovhede c9af99016a Merge branch 'master' into concurrent_processing 2017-09-18 15:28:43 +02:00
Kenneth SkovhedeandGitHub 60ffa9f8d8 Merge pull request #2723 from tygill/feature/source-volume-label
Add support for specifying backup paths on Windows by volume guid
2017-09-18 15:10:24 +02:00
Kenneth Skovhede 49a8bd12f6 Merge branch 'master' into concurrent_processing 2017-09-18 14:39:26 +02:00
Kenneth Skovhede 7c14ea338d Merge branch 'feature/fix-compact-size-reports' 2017-09-18 14:38:37 +02:00
Kenneth Skovhede 10ef42ce39 Fixed an issue with reporting incorrect file size for uploads 2017-09-18 13:27:30 +02:00
Kenneth Skovhede d57c789f4f Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/Duplicati.Library.Main.csproj
#	Duplicati/Library/Main/Options.cs
2017-09-18 11:56:35 +02:00
Kenneth Skovhede e0d8a57ccc Added re-use of the backend across the operations in the backup step.
This should fix the AmzCD consistency issue where it does not wait for the listing after performing a delete.
2017-09-18 11:54:48 +02:00
Kenneth Skovhede 4a6bf3deba Added "DeleteGraceTime" to all files deleted from the backend mananger.
This should fix a number of cases where the backup returns a consistency error because the deletion and the backend check happens before the backend is in sync.
2017-09-18 11:53:50 +02:00
Kenneth Skovhede 81f22826ca Changed S3 IAM to only use the bucket name in the policy document. 2017-09-16 20:29:44 +02:00
Kenneth Skovhede 7d3ac25426 Re-introduced the in-memory block-cache. This time keeping it simple with a check for size-induced collisions. 2017-09-16 18:44:25 +02:00
Tyler Gill 3c15b73c76 Normalize whitespace and replace Now.ToUniversalTime() with UtcNow. 2017-09-15 20:51:15 -07:00
Tyler Gill b7c718a6cc Merge branch 'master' of https://github.com/duplicati/duplicati into feature/default-filters 2017-09-15 20:40:54 -07:00
Albertony 212e1a165a Fixed issue #2165: Log timestamps have wrong time zone 2017-09-15 10:20:47 +02:00
Tyler Gill ba0ae2df2e Merge branch 'master' of https://github.com/duplicati/duplicati into feature/default-filters 2017-09-14 23:19:32 -07:00
Tyler Gill 34fa0713f4 Merge branch 'master' of https://github.com/duplicati/duplicati into feature/source-volume-label 2017-09-14 23:16:18 -07:00
Tyler Gill f9618b9587 Add support for specifying backup paths by volume guid.
These volume guids can be found via the 'mountvol' command, and are reported by the built in help.
This also includes some updates to the documentation and logging when using wildcard drives in source paths.
2017-09-14 23:16:07 -07:00
Kenneth SkovhedeandGitHub 53a6ba4ca7 Merge pull request #2718 from fuffenz/master
Changed default values in Sia, improved error handling
2017-09-14 12:28:04 +02:00
Tyler Gill 4bfaac4ec4 Normalize whitespace 2017-09-13 23:23:15 -07:00
Tyler Gill 768cd93923 Normalize some whitespace 2017-09-13 22:30:12 -07:00