samuel-w
d5c83d2af3
Compare file extensions case insensitively.
...
Fixes https://github.com/duplicati/duplicati/issues/4493
2021-05-08 01:14:08 -05:00
Kenneth Hsu
2d5d300234
Fix typo in example scripts.
2021-05-06 14:03:00 -07:00
TopperDEL and GitHub
3ed7d4b163
fix: Typo
2021-05-06 20:14:53 +02:00
TopperDEL
fbf559c109
fix: Remove unnecessary strings
2021-05-06 09:06:25 +02:00
TopperDEL
4609743e24
fix: Command line options
2021-05-06 08:57:43 +02:00
TopperDEL
001329bcd8
fix: fetch parameters from options via TryGetValue
2021-05-06 08:56:39 +02:00
warwickmm and GitHub
50ed059e11
Merge pull request #4469 from tygill/fix/ms-graph-throttling
...
Fix OneDrive throttling and respect retry-after header.
2021-05-04 09:42:52 -07:00
TopperDEL
6253dcad40
feat: Rename all parameters and UIs
...
Existing configurations will not be affected
2021-05-03 10:36:39 +02:00
TopperDEL
a3d9d4c6ba
feat: Rename C# and Project-files to Storj
2021-05-03 09:50:29 +02:00
TopperDEL
7e07cf5b6a
feat: Verify encryption passphrase
2021-04-29 15:02:00 +02:00
TopperDEL
d923cfaa6e
feat: Further rename
2021-04-29 14:10:46 +02:00
TopperDEL
96c28e8e32
feat: Rename Tardigrade to Storj DCS
2021-04-29 14:09:05 +02:00
TopperDEL
9bb892ef04
feat: Update satellites-list
2021-04-29 14:06:16 +02:00
TopperDEL
d9a4b939b1
build: Update to latest uplink.NET
2021-04-29 13:58:11 +02:00
Kenneth Hsu
c14ace0d68
Make File backend truncate existing files when overwriting.
...
The implementations of ISystemIO.FileOpenWrite call File.OpenWrite,
which does not truncate the existing file. As such, if we overwrite a
larger file with a smaller one, tail remnants of the existing file will
remain.
Since most of the put operations involve unique filenames, this is only
a problem when overwriting existing files (e.g.,
duplicati-verification.json).
This fixes a regression introduced in revision 71c6aca8a7 ("Fixed IO
calls in Filebackend") from pull request #3456 . The previous
implementation called File.Open with FileMode.Create, which truncates
existing files.
This fixes #4486 .
2021-04-20 16:16:00 -07:00
Thomas Suckow
1b72212533
Dnslite doesn't work on mac/linux in .net5
2021-04-10 13:39:53 -07:00
Thomas Suckow
ecb0249259
dotnet no longer provides a method for a string to hashalgorithm
...
* Also fix up not diposing of hashers
2021-04-04 11:17:13 -07:00
Thomas Suckow
d8ddd6982c
Refactor VolumeHash
2021-04-04 08:28:44 -07:00
Thomas Suckow
7b760ce237
Fix accidental revert from when master was merged into the netstandard branch
2021-04-03 20:58:34 -07:00
Thomas Suckow
898193fcef
For now, just interrupt since its better than NOP.
2021-04-03 20:54:47 -07:00
Thomas Suckow
5a034f7b6d
Fix mono.posix to the netstandard version and make it a first class citizen
2021-04-03 20:38:29 -07:00
Kenneth Skovhede
4911cfdaa4
Reworked AlphaFS and AlphaVSS to use pre-built versions targeting netstandard2.0 to avoid excessive warnings on build.
...
Still needs to include he native files.
2021-04-03 21:50:52 +02:00
Kenneth Skovhede
b550e61d9b
Re-added compatibility analyzers
2021-04-03 21:49:51 +02:00
Kenneth Skovhede
557415c9ad
Changed implementation to target netstandard2.0.
...
Added builds for .Net 4.8
2021-04-03 14:13:32 +02:00
Kenneth Skovhede
8892ff7df3
Cleaned up all .csproj files.
...
Moved things around to make cleaner build files.
Implementing everything with `netstandard2.1` and then thin wrapper executables using .net5
2021-04-03 13:57:02 +02:00
Thomas Suckow
70727b9f68
Merge remote-tracking branch 'duplicati/master'
...
# Conflicts:
# .appveyor.yml
# Duplicati.sln
# Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
# Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
# Duplicati/CommandLine/Duplicati.CommandLine.csproj
# Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
# Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
# Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
# Duplicati/Library/Backend/SSHv2/packages.config
# Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
# Duplicati/Library/Backend/Telegram/Duplicati.Library.Backend.Telegram.csproj
# Duplicati/Library/Backend/Telegram/Properties/AssemblyInfo.cs
# Duplicati/License/Duplicati.License.csproj
# Duplicati/Server/Duplicati.Server.csproj
# Duplicati/UnitTest/Duplicati.UnitTest.csproj
# Duplicati/UnitTest/PurgeTesting.cs
# Installer/fedora/duplicati-binary.spec
# Installer/fedora/duplicati.spec
# guiTests/guiTest.py
# pipeline/shared/duplicati.sh
# pipeline/stage_build/trigger.sh
# pipeline/stage_integrationtests/job.sh
# pipeline/stage_integrationtests/trigger.sh
# pipeline/stage_unittests/trigger.sh
2021-04-01 20:30:19 -07:00
Kenneth Skovhede
bd172d39c8
Disabled auto-updater as re-launching does not work the same way with .net5
2021-04-01 22:38:34 +02:00
Kenneth Skovhede
63d8ab7c11
Changed all non-entry methods to use netstandard2.1
2021-04-01 22:37:26 +02:00
Kenneth Skovhede
4f565a004f
Merge branch 'netstandard' of https://github.com/mnaiman/duplicati into netstandard
...
# Conflicts:
# Duplicati.sln
# Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
# Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
# Duplicati/CommandLine/Duplicati.CommandLine.csproj
# Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
# Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
# Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
# Duplicati/Library/Backend/SSHv2/packages.config
# Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
# Duplicati/Library/Backend/Telegram/Duplicati.Library.Backend.Telegram.csproj
# Duplicati/Library/Backend/Telegram/Properties/AssemblyInfo.cs
# Duplicati/License/Duplicati.License.csproj
# Duplicati/Server/Duplicati.Server.csproj
# Duplicati/UnitTest/Duplicati.UnitTest.csproj
2021-04-01 15:08:42 +02:00
Tyler Gill
fa33e5f135
Remove CopyStream buffering logic (will try to make a separate pull request for that)
2021-03-28 23:20:20 -06:00
Tyler Gill
b64c2f1df0
Move Retry-After logic to RetryAfterHelper to make it easier for other backends to incorporate it.
2021-03-23 17:28:39 -06:00
Tyler Gill
dadd30380c
Add some logging to Microsoft Graph backends.
2021-03-23 17:08:58 -06:00
Tyler Gill
1ec1e18634
OAuthHttpClient should behave the same as the WebRequest code path and treat no http-operation-timeout override as meaning to use an infinite timeout.
2021-03-22 10:47:25 -06:00
Tyler Gill
3539112cca
Store the Utility buffer in a WeakReference so the GC can collect it if necessary.
2021-03-22 09:47:17 -06:00
Tyler Gill
06c28387d5
Address some more feedback
2021-03-20 16:09:23 -06:00
Tyler Gill
47dccff835
Fix a few more things.
2021-03-20 13:37:41 -06:00
aureliandevel
baf489e8a9
Fix column name typo
2021-03-20 13:26:53 +11:00
Tyler Gill
719adbf1f1
Clean up a few more bugs and inconsistencies in ReadLimitLengthStream.
2021-03-19 13:59:09 -06:00
Thomas Suckow
0e227a31b9
Disable autoupdater across the board
2021-03-19 06:42:14 -07:00
Tyler Gill
7f1b6bc7a2
Fix some bugs in ReadLimitLengthStream changes, and add a unit test for some of the new behavior.
...
Also make NonSeekableStream block seeks via the Position setter.
2021-03-18 12:24:11 -06:00
Tyler Gill
9a4632d551
Remove SubStream and add functionality to ReadLimitLengthStream. Switch to using that.
...
Also add some hardening around the Position and make sure the stream starts at relative Position 0.
2021-03-17 20:37:46 -06:00
Tyler Gill
27b526daa8
Responding to some comments.
2021-03-17 17:25:19 -06:00
Tyler Gill
b0793d3e49
Refactor the Retry-After logic. Now it tracks Retry-After headers on all requests, and blocks any future requests until the time from the prior request has passed.
2021-03-16 11:40:38 -06:00
Tyler Gill
7894152489
A few more improvements to the MicrosoftGraphBackends.
...
First, when performing an upload using an upload session, data is streamed directly from the input stream to the request stream. (It is no longer read into an intermediate buffer first.)
Hopefully this will help these uploads respond to throttling behavior better.
Second, these backends now check for and respect a Retry-After header if it is present.
On 5xx errors, the existing exponential backoff is used for the intermediate retries.
A few other minor things have also been cleaned up (e.g., using Task.Delay instead of Thread.Sleep)
2021-03-15 18:04:39 -06:00
warwickmm and GitHub
b9db1ab149
Merge pull request #4464 from duplicati/warwickmm-replace_deprecated_s3_options
...
Fix S3 warnings about deprecated options.
2021-03-08 08:39:51 -08:00
Kenneth Hsu
18893e8e20
Fix URL to curl in CheckMonoSSL error message.
...
Starting in November 2020, curl.se is the new official home site for the
curl project. By default, curl does not follow redirects, so this fixes
the URL in the error message and includes the option to follow redirects
in case the URL changes again in the future.
2021-03-07 16:39:41 -08:00
Kenneth Hsu
c8261320e8
Do not alias S3 username and password to deprecated options.
...
The Controller class iterates over all supported options and will issue
a warning if any of the provided options are deprecated (or aliased to a
deprecated option). If the provided auth-username option is aliased to
the deprecated aws_access_key_id, then a warning notification will
appear, even if the user hasn't explicitly provided the deprecated
value.
This fixes #4462 .
2021-03-07 15:38:13 -08:00
Kenneth Skovhede and GitHub
ecc2cc57ef
Merge pull request #4401 from warwickmm/cache_dir_environment_variable
...
Add $XDG_CACHE_HOME to Linux CacheFiles filter
2021-03-06 15:02:01 +01:00
Kenneth Skovhede and GitHub
973307cefc
Merge pull request #4443 from julianohubel/3748_Underscores_instead_of_dashes
...
Use dashes in Azure and S3 options for consistency
2021-03-06 14:36:13 +01:00
Kenneth Skovhede and GitHub
90a8c34c06
Merge pull request #4398 from warwickmm/bugfix/repair_missing_blocklists
...
Fix bug in repairing multiple missing blocklist hashes
2021-03-06 14:23:20 +01:00