Thomas Suckow
400fa2a7d1
MSI environment test
2021-04-01 20:31:19 -07: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
abc361031c
Removed unused sln
2021-04-01 15:14:59 +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
3dce0df106
Fix typo
2021-03-23 17:40:34 -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
a064d66603
Parse throttle speeds in backend tester as sizes.
2021-03-22 10:47:44 -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
da71d28422
Allow backend tester to test throttling.
2021-03-22 09:57:56 -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
Thomas Suckow
4d6d671fdc
Fix debian
2021-03-20 15:58:36 -07: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
Tyler Gill
70583f5d93
Add a bit more test coverage.
2021-03-20 12:29:57 -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
dfa9e527bd
At least make the debian build run again
...
The artifact is still b0rked due to some missing library that I don't understand since the fedora build works.
2021-03-19 06:43:09 -07:00
Thomas Suckow
0e227a31b9
Disable autoupdater across the board
2021-03-19 06:42:14 -07:00
Thomas Suckow
3b8d9608ef
Rip out libappindicator as it isn't compatible with net5
2021-03-19 06:42:02 -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
Kenneth Skovhede
beaf03562f
Version bump to v2.0.5.114-2.0.5.114_canary_2021-03-10
...
You can download this build from:
Binaries: https://updates.duplicati.com/canary/duplicati-2.0.5.114_canary_2021-03-10.zip
Signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.114_canary_2021-03-10.zip.sig
ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.114_canary_2021-03-10.zip.sig.asc
MD5: 44be08649350b191ac83202784bdcb73
SHA1: 0fd91161e7897fa2492b57c91cee6cb9d0c553b0
SHA256: 02e046acae6c13a4ffa9d9e0fa8283dd85c90172fd45e4244fb156c57fe205ed
v2.0.5.114-2.0.5.114_canary_2021-03-10
2021-03-10 14:41:09 +01:00
warwickmm and GitHub
3f58409ff8
Merge pull request #4465 from duplicati/feature/more-robust-purge-testing
...
Add delay to purge-broken-files unit test.
Since the repair introduces artificial filelists, there is sometimes a race in CI where the purge is faster than a second causing the time sequences to not line up during testing.
2021-03-08 08:52:34 -08: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 Skovhede and GitHub
86b37ea0e8
Merge pull request #4463 from warwickmm/fix_curl_url_error_message
...
Fix URL to curl in CheckMonoSSL error message.
2021-03-08 11:57:16 +01:00
Kenneth Skovhede
88a1ec59c3
Added delay to purge-broken-files unittest.
...
Since the repair introduces artifical filelists, there is sometimes a race in CI where the purge is faster than a second causing the time sequences to not line up during testing.
2021-03-08 11:53:13 +01:00
Kenneth Skovhede
89a163710e
Extended backwards compatibility handling for S3 option parsing
2021-03-08 11:17:04 +01: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 Hsu
08bf133b53
Replace usages of deprecated S3 options in UI.
...
The old option names were deprecated in pull request #4443 . However, we
forgot to replace the usages in the UI code, which could result in the
user encountering some unnecessary warnings.
This fixes #4461 .
2021-03-07 13:09:04 -08:00
Kenneth Skovhede
f145b9fcc2
Yet-another fix for the RPM shebang mangler breaking on non-critical stuff
2021-03-07 09:37:56 +01:00
Kenneth Skovhede
ff7141532c
Version bump to v2.0.5.113-2.0.5.113_canary_2021-03-07
...
You can download this build from:
Binaries: https://updates.duplicati.com/canary/duplicati-2.0.5.113_canary_2021-03-07.zip
Signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.113_canary_2021-03-07.zip.sig
ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.113_canary_2021-03-07.zip.sig.asc
MD5: 5fa7789ab5ee65e13d7f930718a26907
SHA1: 3c08913cb2e72df6c7ee0bb0710dbf22b99f4f02
SHA256: 94e970b850e0f43d23fa0cc195152b531d67f8d258682a366f6192a105ca7c27
v2.0.5.113-2.0.5.113_canary_2021-03-07
2021-03-07 09:27:27 +01:00
Kenneth Skovhede
7fee25efd5
Changed to new timestamp servers for certificates (once again)
2021-03-07 09:23:58 +01:00
Thomas Suckow
a28b5c7860
Restore missing file
2021-03-06 22:12:01 -08:00
Thomas Suckow
ab9e807bc0
Somewhat working Fedora rpm
2021-03-06 18:10:39 -08:00
Kenneth Hsu
54cd890879
Remove artifacts from GitHub test workflow.
...
The proper way to create a usable package is to call
UpdateManager.CreateUpdatePackage and define all the required
parameters. Given that there isn't high demand for such an artifact, we
will simply avoid it for now.
2021-03-06 15:11:18 -08:00
Kenneth Skovhede and GitHub
f0043ae6b2
Merge pull request #4459 from duplicati/feature/hide-deprecated-commandline-options-in-help
...
Changed the help output to not show deprecated options.
2021-03-06 15:36:17 +01: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
2d7b40d079
Merge pull request #4400 from warwickmm/appveyor_bulk_data_tests
...
Enable BulkData tests in AppVeyor
2021-03-06 15:01:10 +01:00
Kenneth Skovhede and GitHub
5498f16f7a
Merge pull request #4414 from warwickmm/test/run_script_after
...
Add test for run-script-after option
2021-03-06 15:00:38 +01:00
Kenneth Skovhede and GitHub
2ec0831447
Merge pull request #4410 from warwickmm/use_consistent_mono_images
...
Use consistent (and updated) mono versions for Docker and Travis
2021-03-06 14:59:56 +01:00
Kenneth Skovhede and GitHub
0c37b4fc3c
Merge pull request #4420 from warwickmm/fix_resizable_scrollbar_overlap
...
Always display scrollbars in file pickers
2021-03-06 14:58:52 +01:00
Kenneth Skovhede and GitHub
56a659af72
Merge pull request #4423 from scambra/patch-1
...
Update login.js
2021-03-06 14:57:58 +01:00