Kenneth Hsu
239e62cb91
Fix argument order for ArgumentException.
2017-09-25 19:40:39 -07:00
Kenneth Skovhede and GitHub
9141ccfd41
Merge pull request #2757 from tygill/feature/quota-info
...
Add IQuotaInfo interface
2017-09-25 23:05:19 +02:00
Kenneth Skovhede
31e8d7eb14
Updated FasterHashing library
2017-09-25 15:39:33 +02:00
Kenneth Skovhede
98e603073a
Fixed orphan curly brace
2017-09-25 14:43:37 +02:00
Kenneth Skovhede
bc88be457e
Added an option to select the pagesize used in B2 list_bucket requests
2017-09-25 11:56:02 +02:00
Tyler Gill
b4f56750f8
Add IQuotaInfo interface
...
It also makes quota enabled backends return an instance of this interface instead of the quota components separately.
This way, getting quota stats requires only a single remote request on backends like Google Drive and OneDrive.
2017-09-24 17:30:52 -06:00
Kenneth Hsu
d2adde730a
Use simpler data structures to detect duplicate filenames.
...
A Dictionary is unnecessary since we don't have any key-value pairs. We
just need to keep track of a unique collection of filenames.
2017-09-24 08:40:14 -07:00
Kenneth Skovhede
0a54fd87d3
Merge branch 'master' into concurrent_processing
...
# Conflicts:
# Duplicati/Library/Main/packages.config
# Duplicati/Library/UsageReporter/Duplicati.Library.UsageReporter.csproj
# Duplicati/Library/UsageReporter/packages.config
2017-09-23 22:04:35 +02:00
Kenneth Skovhede
6c921ab3ec
Merge branch 'master' of github.com:duplicati/duplicati
2017-09-23 22:01:08 +02:00
Kenneth Skovhede and GitHub
60b94b758f
Merge pull request #2754 from warwickmm/refactor/avoid_extension_method
...
Reference property instead of invoking extension method.
2017-09-23 15:06:09 +02:00
Kenneth Skovhede and GitHub
ef3eb1854a
Merge pull request #2752 from tygill/feature/onedrive-quota-rename
...
Add support for the quota reporting and renaming interfaces to the OneDrive backend
2017-09-23 15:05:22 +02:00
Kenneth Skovhede and GitHub
b00304ace6
Merge pull request #2751 from tygill/fix/default-filter-warning
...
Fix default filter warning
2017-09-23 15:02:43 +02:00
Kenneth Skovhede
2609dcc5dc
Fixes after library updates
2017-09-23 14:52:53 +02:00
Kenneth Skovhede
5511627975
Updated CoCoL in UsageReporter
2017-09-23 14:46:29 +02:00
Kenneth Skovhede
5cae6ca60e
Additional updates to NewtonSoft.Json
2017-09-23 14:46:14 +02:00
Kenneth Skovhede
d6f6b428c1
Updated AlphaFS
2017-09-23 14:44:00 +02:00
Kenneth Skovhede
fc75d56ef1
Updated MimeKit and MailKit
2017-09-23 14:43:46 +02:00
Kenneth Skovhede
976cc061e2
Updated ngettext
2017-09-23 14:43:33 +02:00
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 Skovhede and GitHub
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