Commit Graph
7857 Commits
Author SHA1 Message Date
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
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 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
warwickmmandGitHub 24990a4011 Merge pull request #4448 from jfparis/python3
Update python scripts to be compatible with both python2 and python3.
2021-02-26 13:21:08 -08:00
Jean-François Paris 22e43a5ed4 Added command line argument for the buffer sie with default value to 8kb
This leaves the current program behaviour as close as possible to the original behaviour
(with the exception of the byte by byte feeding to the hash algorithm which was probably
a bug)
2021-02-26 10:30:53 +02:00
Jean-François Paris 60c8a27cea Fixed some typos in the help message 2021-02-26 10:17:17 +02:00
Jean-François Paris 6a74e3aa07 Updates to DuplicatiVerify.py
* Increase block size ro 8MB to make the process faster and still light on
  memory on a low memory machine
* Added a --quiet argument to reduce very verbose output.
2021-02-23 22:35:05 +02:00
Jean-François Paris a1b684a1fb Rewrote DuplicatiVerify to make it compatible with python2 (now unsupported) and python3
Increase processing speed by feeding the file by 8k chunk rather than by byte
2021-02-22 13:14:55 +02:00
Kenneth Hsu 69b9585421 Remove Telegram backend.
The TLSharp library has some issues and the behavior of the Telegram
backend is not reliable.

Some alternative libraries for communicating with the Telegram API are
TgSharp, TDLib and TdSharp.

This fixes #4424.

Revert "Merge pull request #4324 from martikyan/feature/telegram_backend"

This reverts commit c7f9f8f556, reversing
changes made to 85139f86f2.
2021-02-21 11:37:58 -08:00
Jean-François Paris fb16b1ad93 Rewrote fix-sln to make it compatible with python2 (now unsupported) and python3 2021-02-21 20:38:38 +02:00
Jean-François Paris f84bdaf6f8 Rewrote unix2dos to make it compatible with python2 (now unsupported) and python3 2021-02-21 20:38:38 +02:00
warwickmmandGitHub 019656133a Merge pull request #4445 from jfparis/patch-1
Update stylesheet to raise stop button above progress bar
2021-02-20 09:12:31 -08:00
Jean-François Paris 8f1fd383e5 Merge https://github.com/duplicati/duplicati into patch-1 2021-02-20 12:08:42 +02:00
Jean-François ParisandJean-François Paris 5a7f8b6660 Update stylesheet to raise stop button above progress bar
Brings the Stop button above the progress bar to allow stopping tasks even when the progres bar is already covering the stop button
2021-02-20 12:02:33 +02:00
Kenneth Hsu 841bcce389 Remove unnecessary Tardigrade libraries from build output.
The required libraries are already included in
Duplicati/Library/Backend/Tardigrade and copied to the output directory.
The extra storj_uplink.dll file in the output directory (caused when
releases are built on macOS) was causing spurious
BadImageFormatExceptions.

This fixes #4434.
2021-02-19 21:39:47 -08:00
Kenneth HsuandJean-François Paris 3c1d4b9c37 Revert "Merge pull request #4437 from jfparis/patch-1"
This reverts commit ed9e584d5f, reversing
changes made to c47a356d6f.

This resulted in an unexpected change to the layout in the edit backup
views.
2021-02-19 22:42:20 +02:00
Kenneth Hsu 85c9e43943 Revert "Merge pull request #4437 from jfparis/patch-1"
This reverts commit ed9e584d5f, reversing
changes made to c47a356d6f.

This resulted in an unexpected change to the layout in the edit backup
views.
2021-02-19 10:41:51 -08:00
warwickmmandGitHub ed9e584d5f Merge pull request #4437 from jfparis/patch-1
Prevent progress bar from obscuring stop button.
2021-02-19 09:29:34 -08:00
Jean-François ParisandJean-François Paris b23e5f5948 Update stylesheet to raise stop button above progress bar
Brings the Stop button above the progress bar to allow stopping tasks even when they are well advanced
2021-02-16 19:20:31 +02:00
Juliano Hubel 8933d6cd2a #3748|Spelling Correction 2021-02-16 17:10:02 +00:00