Tyler Gill
e742205f65
Add --use-http-client=false parameter to backends based on Microsoft Graph APIs (OneDrive v2, SharePoint v2, etc.) to make them use the OAuthHelper and HttpWebRequest infra used by most / all other backends for HTTP requests. This lives in parallel to the original implementation that uses the OAuthHttpClient class, but is intended to see if this prevents the memory leaks and problems seen in some versions of Mono when using the OneDrive v2 backend.
2020-03-23 14:10:40 -06:00
Kenneth Hsu
3551238000
Remove redundant calls to String.Format.
2020-01-25 17:07:02 -08:00
Max
7e2218663e
Add Compat Analyzers
2019-12-25 19:08:52 +01:00
Max
28793ef204
packages update
2019-12-25 18:21:24 +01:00
Max
41a5591532
upstream
2019-12-25 16:34:56 +01:00
Kenneth Hsu
53a35e6e06
Remove support for Amazon Cloud Drive.
...
Amazon discontinued access to the Cloud Drive API.
See https://forum.duplicati.com/t/amazon-cloud-drive-discontinued/7391 .
2019-12-01 10:36:36 -08:00
Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07:00
BlueBlock
95584c2d0f
set project type to netcoreapp
2019-09-06 16:55:42 -04:00
Kenneth Skovhede
2e36c7222e
Revert "Updated app.config files to redirect newtonsoft versions 0.0.0.0-12.0.2.0 to 12.0.2.0."
...
This reverts commit 93ace63d4f .
2019-09-02 21:51:00 +02:00
Kenneth Skovhede
93ace63d4f
Updated app.config files to redirect newtonsoft versions 0.0.0.0-12.0.2.0 to 12.0.2.0.
2019-09-02 14:49:19 +02:00
BlueBlock
e6588fbfc2
adjust config for known bug
...
A known bug causes the incorrect config entry for system.net.http where we must be adjusted to 4.2.0.0
This bug gets fixed in .NET 4.7.2
2019-08-04 15:32:10 -04:00
BlueBlock
d281f67570
change exe projects to true for AutoGenerateBindingRedirects
...
resolves build warning for mismatching assemblies
2019-08-03 20:44:22 -04:00
BlueBlock
815e30b63b
update csproj toolverion and nuget packages
2019-07-31 13:20:03 -04:00
BlueBlock
08a1e9998a
initial upgrade to framework 4.6.2
...
- no code changes except those noted below
- projects upgrade to 4.6.2
- wixinstaller project upgraded automatically by VisualStudio
- wixinstaller updated to require 4.6.2
- Library.Encryption changed to Standard2.0 so accommodate update to SharpAesCrypt
2019-07-26 09:18:16 -04:00
Michal Naiman
787bcb57ae
fixed Sharepoint backend
2019-05-01 10:29:38 +02:00
Michal Naiman
ad2105aeb2
NuGet packages update
2019-05-01 09:28:46 +02:00
Michal Naiman
1bc1e58737
upstream
2019-04-28 13:45:26 +02:00
Sean Templeton
b02b19e683
Change Put method name to PutAsync
2019-03-17 18:28:45 -05: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
Kenneth Hsu
036a0ee8b0
Remove unused variable.
2018-12-31 19:31:03 -08:00
Kenneth Hsu
a6153c3cd8
Do not explicitly rethrow exception.
...
When rethrowing an exception, we should do it by simply calling throw;
and not throw exc;, because the stack trace is reset with the second
syntax, making debugging a lot harder.
2018-12-31 15:25:57 -08:00
Kenneth Hsu
8dd3aeaf26
Use invariant culture in calls to ToLower and ToUpper.
2018-12-11 21:21:07 -08:00
Kenneth Hsu
11689159eb
Disable warning about unreferenced field.
...
This field is unreferenced, but we might now want the object to be
disposed of by the garbage collector.
2018-09-29 13:38:11 -07:00
Kenneth Hsu
81875adcfb
Restore removed reference to system settings context.
...
This initializes some state and is IDisposable, so it is not so trivial
to remove.
2018-09-29 13:20:16 -07:00
Kenneth Hsu
9ce1e807c7
Remove unused variables and fields.
2018-09-29 10:41:27 -07:00
Kenneth Hsu
d4692e2d35
Use built-in method to expand environment variables.
...
After we removed the tilde expansion in revision c9aa6cf5fb ("Avoid
performing tilde expansion"), the Utility.ExpandEnvironmentVariables
method simply called System.Environment.ExpandEnvironmentVariables. We
can simplify the code by just referencing the built-in method directly.
2018-09-22 19:59:46 -07:00
Kenneth Hsu
0d23302220
Use ordinal case-insensitive comparison instead of ToLower.
2018-09-19 15:21:59 -07:00
Max
881087f968
allow projects to execute
2018-09-10 14:44:44 +02:00
Max
30fab22340
unsinged whole solution
2018-09-09 14:21:55 +02:00
Max
b11f4d7cdd
Merge branch 'master' into netstandard
2018-09-09 12:24:31 +02:00
Max
c181a1946d
BackendTester
2018-06-30 00:27:28 +02:00
verhoek
f7a4e5164a
Reordered logic.
2018-06-29 19:46:33 +02:00
verhoek
f102646359
Fixed to desired behavior. In particular, backend tester works again for the ftp
...
backend (some backends cannot handle the default set of extended characters).
2018-06-29 19:43:42 +02:00
Max
e4997f1efc
upstream
2018-06-24 12:49:51 +02:00
verhoek
67c8929759
wip
2018-05-23 19:37:49 +02:00
verhoek
7bf1768f80
Implemented default tempdir for backend server.
2018-05-22 21:51:29 +02:00
Max
987086358d
upstream
2018-03-31 17:42:53 +02:00
Max
f5672f69d9
upgrade .net to 4.6.2
2018-03-25 22:00:45 +02:00
Tyler Gill
5646e3de9d
Add a test for the DNSName property to the BackendTester and report the DNS names it returns.
2018-03-20 15:26:17 -06:00
Tyler Gill
4e4b9a56d6
Adds a test to the BackendTester for quota-enabled backends.
...
This test simply loads the quota information and displays it (or displays an error if the backend was unable to get it)
2018-03-20 13:53:32 -06:00
Tyler Gill
dba0b3772e
Add a test to BackendTester for backends which support renaming.
...
This is done by renaming the second file (or first if only one file is being created) and updating the in memory set of expected files,
while keeping track of the original info so it can be reported if it is still present (e.g., if the rename operated as a copy instead).
2018-03-20 13:50:06 -06:00
Tyler Gill
cff8f172fc
Add support for 'trim-filename-spaces' flag to BackendTester.
...
This flag ensures that any randomly generated file names don't have leading or trailing whitespace, which some backends might not support.
2018-03-20 13:48:21 -06:00
Tyler Gill
00c1a296da
BackendTester should explicitly call Test() when performing the initial check to see if the main folder exists.
...
Without this, the auto create folders flag was broken for backends which lazily enumerate List() (as they instead throw after the try block is ended)
Calling Test() dierctly also better matches the IBackend interface contract.
2018-03-20 13:46:49 -06:00
wjan
d8efebfe8a
corrects changes in app.config files and other unnecessary file changes
2018-01-18 21:22:54 +01:00
wjan
8500988d7c
adds rclone UI and backend improvements
2018-01-10 15:33:28 +01:00
vnau
01ec66cdc5
Removed AutoGenerateBindingRedirects compile warnings.
2017-12-17 01:50:17 +07:00
Kenneth Skovhede and GitHub
36aadc4ad1
Merge pull request #2910 from warwickmm/refactor/remove_redundant_tostring
...
Remove redundant calls to ToString
2017-11-27 08:50:00 +01:00
Kenneth Hsu
5fb1958ceb
Remove redundant calls to ToString.
2017-11-26 15:44:34 -08:00
Kenneth Hsu
8810e0130d
Make string comparisons use ordinal (binary) sort rules.
...
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00