Commit Graph
10886 Commits
Author SHA1 Message Date
Jojo-1000 4c5543bcfe Add test for interrupted compact operation. 2023-10-08 22:24:39 +02:00
gpatel-frandGitHub 706c64a899 restore warning/error result handling changed in PR4978 (#5040) 2023-10-07 09:33:15 +02:00
JanandGitHub f6440a8e70 Update stale action to v8 (#5036) 2023-09-27 23:44:40 +02:00
gpatel-fr e9611fca53 update appveyor image to vs 2019 2023-09-26 10:16:10 +02:00
taz-ilandGitHub 10d24d8615 Specify the name of the backup when reporting failures (#4839)
Fixes duplicati/duplicati#4828
2023-09-25 14:35:31 +02:00
JanandGitHub 3a0667dc64 Add option to disable chunked encoding for AWS S3. (#4999)
Some S3 providers do not support MultiChunkedEncoding (#4994).
2023-09-25 02:02:55 +02:00
JanandGitHub a493b37a97 Fix hidden username and password options when changing backends. (#4973)
Remove username and password from target options if the backend does not show the input fields.

The username and password options are stored in different variables than the other backend options. Therefore, they are only visible if the backend supports them.

Closes #3082
2023-09-24 16:19:20 +02:00
gpatel-frandGitHub 4012e7f608 add console log to the Alternative FTP backend for debugging purposes (#5034) 2023-09-24 10:52:57 +02:00
taz-ilandgpatel-fr f791066b7a FluentFTP version update - Fix handling of missing base folder (#4946)
* Improve errors specificity by:
a. Avoiding unnecesary wrapping in AggregateException - Using Library.Utility.Await instead of Wait / Result
b. Using messages from InnerException during TestConnection

* Fix detection of missing base directory:
Depend on error code while trying to SetWorkingDirectory, rather than very wide try/catch and a hardcoded error string (Different FTP servers return different error strings. E.g. hardcoded here was "Directory not found." while Filezilla returns "Can't open file or directory").

* Fix indentation

Intentionally seperated from the previous commit for easier reviewing (otherwise Github text diff display is confused by the removal of the large try / catch blocks)

* Fix creation of missing base directory:
(previously CreateClient would fail since it would try to SetWorkingDirectory to the not-yet-existing directory)
2023-09-24 09:28:19 +02:00
taz-ilandgpatel-fr dbd8cdb86a Update FluentFTP to latest version (46.0.2) (#4935)
* Upgrade FluentFTP to v42 in an attempt to resolve TLS session issues:
duplicati/duplicati#4831

Note v40 introduced breaking changes, specifically seperating between sync and async clients.

Using a different approach this time, single async client.

* Bump FluentFTP to latest (42.0.0 --> 46.0.2)
2023-09-24 09:28:19 +02:00
gpatel-frandGitHub b19f6f3743 update restsharp to 106.10.1 (#5029)
to make Dependabot happy - have to update minio as well
2023-09-23 14:57:27 +02:00
gpatel-frandGitHub d1fa327ce6 Fixissue5028 (#5031)
* update thirdparty info to remove obsolete codeplex references

* fix bug in negated in expression (thanks @gorosgobe and Bloomberg)
2023-09-22 12:34:06 +02:00
gpatel-frandGitHub 63c14533e0 update thirdparty info to remove obsolete codeplex references (#5030) 2023-09-22 10:07:52 +02:00
gpatel-fr b8b1540a5c add simultaneous file processors
the --concurrent-fileprocessors (default 1 for compatibility) set the value for a job
experimental.
2023-09-22 00:28:11 +02:00
JanandGitHub 91eace3ab2 Include exception type and message in job log. (#4976)
If an exception is provided for a log message, display the type and message (excluding stack trace) even if withExceptionDetails=false. This helps to diagnose bugs if the live log was not saved.

Closes #4843
2023-09-21 23:13:15 +02:00
Janandgpatel-fr b894a197a9 Fix missing file error caused by interrupted compact.
Before the dindex files are deleted on the remote, update the state in the database to Deleting. Previously, only dblock files were handled this way.
Patch by warwickmm
Closes #4129
2023-09-21 22:56:52 +02:00
gpatel-frandGitHub b219bf1271 add returncode 3 to help.txt (#5009) 2023-09-21 20:16:47 +02:00
Janandgpatel-fr 71eb03130a Improve result reporting for interrupted/failed backups (Fix #4829)
Direct import of PR#4978
Update web UI for new result reports.
For operations with fatal errors, write logs to same operation ID.
Test that Interrupted flag is correct in RunScriptTests.
Update backup log display for new result reporting.
Hide file statistics for fatal errors and change fatal icon.
2023-09-21 20:01:17 +02:00
gpatel-frandGitHub 44ce6d746f update serbian translation thanks to Zoran Tasić (@sagitarion) (#5021) 2023-08-31 11:25:04 +02:00
gpatel-frandGitHub 91f1fc6a60 update microsoft.rest.clientruntime to 2.3.24 (#5020) 2023-08-31 10:54:50 +02:00
gpatel-frandGitHub 3fd118ac44 remove obsolete tool TlsTest (#5019) 2023-08-31 01:10:44 +02:00
gpatel-frandGitHub f985af4a5a removes obsolete backend HubiC - fixes #4836 (#5018) 2023-08-30 13:45:55 +02:00
JanandGitHub 32d163ef93 Add manual link to footer and remove dead facebook link (#4983)
* Add manual link to footer and remove dead facebook link.

* Fix vertical padding for manual link.

Change to 8px like the other footer sections from 5px.
2023-08-29 08:20:09 +02:00
gpatel-frandGitHub 84d9918041 add stale issues management (#5013) 2023-08-28 17:11:33 +02:00
gpatel-frandGitHub 729a84fdc1 update mail libraries (#5014)
known side effect: the mail server user password will no longer be displayed in the verbose log
2023-08-28 11:50:37 +02:00
Jojo-1000 aa365f7f34 Update --quota-size option to assign a backup size.
The assigned quota size is checked in addition to the reported backend quota (if available). It can be used to limit the backup size on the remote. Warnings are created according to the same quota warning threshold.
Previously, this option had no function.
2023-07-16 19:49:54 +02:00
Jojo-1000 0754a5cd72 Ignore File backend quota if total size is zero.
Mono sometimes reports the total size of unknown file systems as zero. Because it should be obvious when the size is actually zero, ignore the quota in this case.
2023-07-16 19:24:37 +02:00
Jojo-1000 8af1dbb6fd Add --quota-disable option to disable reported backend quota.
If set, the backend is treated as if it does not report a quota at all. No warnings and errors are created and no quota values are set in the backup log.
This option is intended to be used if a backend reports a wrong quota, so it needs to be disabled.
2023-07-16 19:16:11 +02:00
Jojo-1000 cff1049347 Add unit tests for recovery tool restore paths.
Test that paths are generated correctly from a different source OS.
Also test that empty files are restored by recovery tool.
2023-07-11 22:48:28 +02:00
Jojo-1000 6b5623651c Fix recovery tool restore paths on different OS.
On Linux, paths were created with \ instead of / separators if backup was originally from Windows (#4884).
Also fix bug that created one unnecessary level of directories in the restore path.
2023-07-11 22:37:08 +02:00
Jojo-1000 0f5b4b9707 Fix restore of empty files with recovery tool.
Empty files do not have data blocks stored, so don't try to get a block for empty files.
2023-07-10 16:44:24 +02:00
Jojo-1000 b9d4be60ca Do not set advanced options with empty string to true.
There are advanced options such as force-local that expect an empty string in some cases. While saving, these were replaced with 'true' even though there was an equals sign.
Now only options without an equals sign are set to true.

Closes #4757
2023-06-23 16:38:54 +02:00
Jojo-1000 b6643fa473 Add documentation comments for LocaleChange. 2023-06-23 14:22:36 +02:00
Jojo-1000 708715e705 Fix force-locale option for CLI and GUI.
- Localization culture is set from multiple threads on the server, so use current local context for every new call instead of global context
- Change locale before executing help commands if flag is present
- When force-locale is set, also change locale for log messages

Closes #4176
2023-06-23 13:30:46 +02:00
Jojo-1000 3d7c899968 Fix bug that removes advanced target options when editing backups.
The advanced options are stored in the URI. Since a non-standard format with backslashes is used for windows paths, parsing these options fails when editing a backup with a file target in the web UI.

This change makes an exception for file URIs to allows those paths.
2023-06-20 23:15:46 +02:00
Jojo-1000 9e9850113e Fix highlighting with wildcards in restore file picker.
Inputs were interpreted as regexp in the UI instead of globbing expressions which are used in the backend.
Closes #2682.
2023-06-14 20:36:34 +02:00
Jojo-1000 e2569cca68 Improve filter UI type matching.
Instead of selecting the first matching in list, which does not recognize regexp without ? or *, choose the type with longest prefix and suffix.
2023-06-04 22:39:32 +02:00
Jojo-1000 b94734498e Fix filter options for web UI command line.
Only the last exclude or include option was sent to the backend.
Now all include and exclude options are used.
2023-06-04 21:37:53 +02:00
Jojo-1000 f4c04da31a Fix bugs with simple edit filter UI.
No longer adds invisible dir separators to filter list.
2023-06-04 20:07:15 +02:00
gpatel-frandGitHub d0f1498bd4 update version number for artifacts (#4960) 2023-06-04 11:23:11 +02:00
gpatel-frandGitHub d428ef6e5a update artifact versions (#4958) 2023-06-04 10:38:23 +02:00
gpatel-frandGitHub 6f8037fa73 update version number for artifact mac (and others) (#4956) 2023-06-04 09:33:54 +02:00
Jojo-1000 7a3dece44a Fix UI display of filtered files with wildcards.
The previous JS code incorrectly converted glob expressions to regexp which prevented them from showing the correct file states in the list.
This was only a UI bug and has no effect on the backend.
2023-06-04 00:18:25 +02:00
Kenneth Skovhede 8fad3ed5d0 Version bump to v2.0.7.2-2.0.7.2_canary_2023-05-25
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.7.2_canary_2023-05-25.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.7.2_canary_2023-05-25.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.7.2_canary_2023-05-25.zip.sig.asc

MD5: e677732469667ecac3d7c9cc0a36460b

SHA1: 51a65bd950a0b764b3f771d9b8622567d6305171

SHA256: 1faaf47b824440484c4ca808bc9a22b9125f27df73d33f20f4d6bcc3d7e3245e
v2.0.7.2-2.0.7.2_canary_2023-05-25
2023-05-25 18:53:20 +02:00
Kenneth Skovhede 13e07c6012 Version bump to v2.0.7.1-2.0.7.1_beta_2023-05-25
You can download this build from:

Binaries: https://updates.duplicati.com/beta/duplicati-2.0.7.1_beta_2023-05-25.zip

Signature file: https://updates.duplicati.com/beta/duplicati-2.0.7.1_beta_2023-05-25.zip.sig

ASCII signature file: https://updates.duplicati.com/beta/duplicati-2.0.7.1_beta_2023-05-25.zip.sig.asc

MD5: a0267519340ae471a961297da4d6f466

SHA1: 98dc911606e16eee0a3f30555c89d32ce68a2792

SHA256: 264ea6262c123a60cb7603a72314ad7be6fbc2bd3696b5ba960b35316c29dea7
v2.0.7.1-2.0.7.1_beta_2023-05-25
2023-05-25 18:01:26 +02:00
Kenneth Skovhede 128773ae80 Version bump to v2.0.7.0-2.0.7.0_experimental_2023-05-25
You can download this build from:

Binaries: https://updates.duplicati.com/experimental/duplicati-2.0.7.0_experimental_2023-05-25.zip

Signature file: https://updates.duplicati.com/experimental/duplicati-2.0.7.0_experimental_2023-05-25.zip.sig

ASCII signature file: https://updates.duplicati.com/experimental/duplicati-2.0.7.0_experimental_2023-05-25.zip.sig.asc

MD5: b4b745d767fd0a54809e3bd1ba78d68f

SHA1: 4ff43290e62c341c017e2900951842412a28d1d0

SHA256: 7c9fb2c121e7490bd0c2f5f7fbab5016b0e14620b4facd6a6bdea7e0953680eb
v2.0.7.0-2.0.7.0_experimental_2023-05-25
2023-05-25 17:24:34 +02:00
Kenneth Skovhede 436d32689d Prepare for experimental build 2023-05-25 17:17:23 +02:00
Kenneth Skovhede c9950a80c3 Attempt at fixing upload of zip file later in the process.
This hopefully handles the case where Github is rejecting the binary immediately after creating the branch.
2023-05-25 17:16:29 +02:00
gpatel-frandGitHub 36c1261f4e Merge pull request #4943 from gpatel-fr/raiseagaintimemactests
raise again the time shift for mac tests (3s)
2023-05-17 20:24:25 +02:00
gpatel-fr befaccdab6 raise again the time shift for mac tests (3s) 2023-05-17 20:23:01 +02:00