Commit Graph
8782 Commits
Author SHA1 Message Date
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
warwickmmandGitHub 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
warwickmmandGitHub 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 SkovhedeandGitHub 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 SkovhedeandGitHub 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 SkovhedeandGitHub 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 SkovhedeandGitHub 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 SkovhedeandGitHub 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 SkovhedeandGitHub 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 SkovhedeandGitHub 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 SkovhedeandGitHub 56a659af72 Merge pull request #4423 from scambra/patch-1
Update login.js
2021-03-06 14:57:58 +01:00
Kenneth Skovhede c416221c17 Changed the help output to not show deprecated options.
Commandline help for azure now shows a little cleaner
2021-03-06 14:50:48 +01:00
Kenneth SkovhedeandGitHub 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 SkovhedeandGitHub c5d13ad83d Merge pull request #4435 from warwickmm/new_issue_forum_question
Ask users to check forum when creating new issue
2021-03-06 14:30:56 +01:00
Kenneth SkovhedeandGitHub 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
Kenneth SkovhedeandGitHub 834ebd78b9 Merge pull request #4406 from warwickmm/update_ssh_net
Update SSH.NET to version 2020.0.1
2021-03-06 14:20:59 +01:00
Kenneth SkovhedeandGitHub 713b0b0746 Merge pull request #4417 from warwickmm/handle_unsupported_run_script_exit_codes
Abort with error if run-script-before script returns unsupported code
2021-03-06 14:12:33 +01:00
Kenneth SkovhedeandGitHub ec0d2cd255 Merge pull request #4418 from warwickmm/test/run_script_parsed_result
Make DUPLICATI__PARSED_RESULT consistent with OperationAbortReason
2021-03-06 14:11:19 +01:00
Kenneth SkovhedeandGitHub c03b3073c8 Merge pull request #4427 from warwickmm/include_third_party_licenses
Copy missing license data to output directory
2021-03-06 14:10:30 +01:00
Kenneth SkovhedeandGitHub 8c42f19731 Merge branch 'master' into include_third_party_licenses 2021-03-06 14:09:36 +01:00
Kenneth SkovhedeandGitHub 29e598b704 Merge pull request #4447 from warwickmm/remove_unused_uplink_libraries
Remove unnecessary Tardigrade libraries from build output
2021-03-06 14:07:55 +01:00
Kenneth SkovhedeandGitHub 04e57f77bb Merge pull request #4449 from warwickmm/remove_telegram
Remove Telegram backend
2021-03-06 14:03:23 +01:00
Kenneth Hsu b765841dca Add missing semicolons. 2021-03-01 08:59:58 -08:00
Kenneth Hsu a9920e7be3 Define environment variable to represent build output directory. 2021-03-01 08:29:50 -08:00
Kenneth Hsu 5a1daabccc Include additional libraries in build artifacts.
This mimics the steps performed in build-release.sh.  We should later
consolidate all these operations to unify the build/release process.
2021-03-01 08:19:00 -08:00
Kenneth Hsu 2fc8b62a56 Create step to prepare artifacts before upload. 2021-03-01 07:52:34 -08:00
Kenneth Hsu 2d50ad52fe Move NuGet restore to separate step. 2021-03-01 07:50:44 -08:00
Kenneth Hsu 25f8a79e4e Always display scrollbars in file pickers.
This works around the problem where the down button from the vertical
scrollbar overlaps with the resizable handle icon.  Now, the resizable
handle icon resides between the horizontal and vertical scrollbars.

This fixes #2063.
2021-02-27 09:04:08 -08:00