Commit Graph
4522 Commits
Author SHA1 Message Date
Kenneth Skovhede 992a0fd90c Made the wrapper async+no-async so it does not loose the caller context. 2024-11-25 15:09:23 +01:00
Kenneth SkovhedeandGitHub 79d6dc0cad Merge branch 'master' into feature/backends-add-pcloud 2024-11-25 11:08:55 +01:00
Marcelo C. 068ae42aa1 Implementation of changes requested in review 2024-11-25 11:01:59 +01:00
Kenneth SkovhedeandGitHub a2c08cc84e Merge pull request #5686 from duplicati/feature/cleanup-ftp-error-handling
Refactoring the FTP backend
2024-11-22 13:01:51 +01:00
Kenneth Skovhede 7e479788d7 Added the missing crashlog feature.
The crashlog feature was lost during the removal of the auto-updater.
This commit adds it back, in a slightly different way.
2024-11-21 20:23:42 +01:00
Kenneth Skovhede c915b70697 Added support for ftp/aftp treating url paths as before the update 2024-11-21 14:37:25 +01:00
Kenneth Skovhede 9dadd514bf Inverted the flag for relative paths, as that is more compatible with the previous library. 2024-11-21 13:13:44 +01:00
Kenneth Skovhede 6c3735fc56 Fixed the no-response timeout to follow the heartbeat interval. 2024-11-19 22:20:46 +01:00
Kenneth Skovhede 5712264e6a Updated some parsing to be simpler.
Changed the strategy to use absolute paths for all operations, to avoid cases where a silent reconnect would end up in a different folder.
Add backwards compatible option to use CWD style relative operations.
Added support for detecting the SSL certificate hash when there is a certificate error.
2024-11-19 13:55:23 +01:00
Kenneth Skovhede 2828729a59 Changed logic for how error messages are constructed 2024-11-19 06:52:17 +01:00
Marcelo Ceccon 4beafc0cc7 Added pCloud Integration
Added pCloud backend with custom interface for editing destination.
2024-11-18 13:07:01 +01:00
Kenneth SkovhedeandGitHub b978a9e275 Merge pull request #5679 from duplicati/feature/add-downloads-to-special-folders
Added support for the Downloads folder
2024-11-15 14:51:15 +01:00
Kenneth SkovhedeandGitHub f6b0c40880 Merge pull request #5673 from duplicati/feature/tune-log-level
No need for the GPG path to be information
2024-11-15 14:50:44 +01:00
Kenneth SkovhedeandGitHub bec59ebcfc Merge pull request #5682 from duplicati/feature/improve-windows-startup-time
Fixed startup delay on Windows.
2024-11-15 14:47:23 +01:00
Kenneth Skovhede 2c75de2030 Removed a leftover reference 2024-11-15 14:19:41 +01:00
Kenneth Skovhede 88ae1d18b1 Fixed output from S3 options to mimic previous version 2024-11-15 14:18:39 +01:00
Kenneth Skovhede 38a255eb00 Fixed startup delay on Windows.
Delay was caused by AWS library performing network queries when reading properties on the configuration object.
On top of this, the properties were read twice.
Unified reading+application of options between iDrive and AWS S3.
2024-11-15 14:04:42 +01:00
Kenneth Skovhede 1e85667914 Revert "Fixed startup delay on Windows."
This reverts commit d637dc8957.
2024-11-15 14:03:23 +01:00
Kenneth Skovhede d637dc8957 Fixed startup delay on Windows.
Delay was caused by AWS library performing network queries when reading properties on the configuration object.
On top of this, the properties were read twice.
Unified reading+application of options between iDrive and AWS S3.
2024-11-15 14:02:39 +01:00
Kenneth Skovhede 8ce96c5bb2 Added support for the Downloads folder 2024-11-14 22:50:07 +01:00
Kenneth Skovhede a3d46c3951 No need for the GPG path to be information 2024-11-14 15:28:07 +01:00
Kenneth Skovhede 6d72ff2c2f Increased heartbeat period and reduced log-spam on the information level. 2024-11-14 11:41:18 +01:00
Kenneth SkovhedeandGitHub c0e1bdd2c1 Merge pull request #5666 from duplicati/feature/report-package-type-id
Added package type ids when sending usage reports to track individual…
2024-11-14 11:12:24 +01:00
Kenneth Skovhede 81c0b2209e Fixed a warning when using S3 2024-11-11 21:20:21 +01:00
Kenneth Skovhede 3bac3dbae3 Added package type ids when sending usage reports to track individual package type usage.
Added package type id to download checker header for future use.
2024-11-09 23:00:20 +01:00
Kenneth SkovhedeandGitHub e9163e611a Merge pull request #5659 from marceloduplicati/feature/send-script-messages-tolog
Add feature to send messages to Log/Report from script
2024-11-09 07:47:12 +01:00
Kenneth Skovhede 6ffbc94477 Merge commit '448dd1a99eb4e6f0c5c84fc610dfe2f48e10d69d' into feature/update-avalonia 2024-11-08 10:58:10 +01:00
Kenneth SkovhedeandGitHub c96d2e0b7c Merge pull request #5655 from marceloduplicati/feature/warnings-cleanup-lowimpactwarnings
Further progress on removal of build warnings.
2024-11-08 10:54:57 +01:00
Kenneth SkovhedeandGitHub 3b38cdb9ca Merge pull request #5653 from marceloduplicati/feature/fix-telegram-notification
Fix to telegram notification
2024-11-08 10:54:20 +01:00
Kenneth SkovhedeandGitHub d88342101f Merge pull request #5657 from duplicati/feature/fix-loading-slowness
Feature/fix loading slowness
2024-11-08 10:53:34 +01:00
Marcelo Ceccon 671c88eeff Add feature to send messages to Log/Report from script
This works by parsing the stdout stream, line by line, looking for lines that start with the prefixes LOG:WARN, LOG:ERROR, LOG:INFO and forwarding them to the Log/Report.

In a script that could be used with a simple echo "LOG:WARN Some warning" or even if its an executable application, if it outputs to sdtout lines with the prefix, it will of course also be captured.
2024-11-08 10:49:58 +01:00
Kenneth Skovhede be0ac25eef Bumped Avalonia to match latest Tmds package 2024-11-08 10:47:55 +01:00
Kenneth Skovhede 1b07fadd88 Moved systemInfo into a service with cache so it can preload 2024-11-08 10:07:03 +01:00
Kenneth Skovhede 2c63c0d9e8 Fixed loading slowness, caused by AmazonSecretManagerConfig performing network queries on property access. 2024-11-08 10:05:55 +01:00
Marcelo Ceccon d4d9c47824 Further progress on removal of build warnings.
None of these changes have impact on code execution, they are mainly part of the effort to remove all build warnings.

The removal of Thread.ResetAbort leaves a TODO for us to integrate CancelationToken when it gets propagated down here on future changes.
2024-11-07 18:02:15 +01:00
Marcelo Ceccon 706e490f79 Upgrading AWS SDK to latest
This also resolves a series of warnings produced by unequalized versions between AWSSDK.Core and AWSSDK.S3 references.

The decision to not upgrade Minio (which is rather dated) is because starting at 4.0.0 several calls were made obsolete including the constructor. A specific feature branch will be opened to integrate the new version and run CI tests.
2024-11-07 17:33:44 +01:00
Marcelo Ceccon 28414dd744 Fix to telegram notification
Fixes the Telegram notification to use the correct API URL and to send the message in chunks if it is too long.

Will add this to the documentation.

First create your telegram bot by messaging the @BotFather

For more information https://core.telegram.org/bots

Once you have created your bot you will have a bot token.

Now on the bot channel, send one message, “Hello”. This is important because the bot cannot initiate a conversation, it can only respond, so therefore that is the only way to obtain the chatId which needs to be configured on Duplicati.

Now on a browser or curl, access:

https://api.telegram.org/botYOURBOTTOKEN/getUpdates

Look for the property

"chat":{"id”:111122233,

One way to get that with curl is:

BOT_TOKEN="YOURBOTTOKEN" curl -s "https://api.telegram.org/bot$BOT_TOKEN/getUpdates" | grep -o '"id":[0-9]*' | head -1 | cut -d':' -f2
2024-11-07 14:57:23 +01:00
Kenneth Skovhede 5e97c0e466 Added a similar fix to the usagereporter exit 2024-11-07 14:04:30 +01:00
Kenneth SkovhedeandGitHub 108a7c3634 Merge pull request #5645 from duplicati/feature/cpu-intensity-help-update
Added possible values to `cpu-intensity` for better documentation
2024-11-07 08:55:34 +01:00
Kenneth Skovhede d2f615f442 Added possible values to cpu-intensity for better documentation 2024-11-07 08:10:32 +01:00
Kenneth Skovhede a9cd488bf2 Change the s3-client option to an enumeration-type as it has two possible values.
Fixed the parser to handle empty string and null as the same.
2024-11-06 22:07:27 +01:00
Kenneth SkovhedeandGitHub b0a34387f6 Merge pull request #5598 from duplicati/feature/add-secret-provider
Feature/add secret provider
2024-11-06 11:50:58 +01:00
Kenneth Skovhede bf02a9d99c Hide secret providers that are not supported on the platform 2024-11-05 22:50:55 +01:00
Kenneth Skovhede bc7137d140 Disabled the Telegram notification destination as it is not currently working 2024-11-05 22:26:17 +01:00
Kenneth Skovhede 68fa9afa23 Fixed tests and fixed a missing encode 2024-11-05 12:44:00 +01:00
Kenneth Skovhede a72bf27aa3 Merge remote-tracking branch 'origin/master' into feature/add-secret-provider 2024-11-05 11:48:30 +01:00
Kenneth SkovhedeandGitHub 544a841299 Merge branch 'master' into feature/cpulimit 2024-11-05 10:09:56 +01:00
Kenneth SkovhedeandGitHub 3e3258b081 Merge pull request #5615 from duplicati/feature/fix-issue-5038
Feature/fix issue 5038
2024-11-05 10:07:00 +01:00
Kenneth Skovhede cae5b218d4 Potential fix for the missing blocklist hash 2024-11-04 21:46:12 +01:00
Kenneth SkovhedeandGitHub e959542536 Merge pull request #5623 from duplicati/feature/fix-compact-disruption-test
Fix issues with extra blocks and files being recorded after an interrupted `Compact()`
2024-11-04 16:59:23 +01:00