Commit Graph
8782 Commits
Author SHA1 Message Date
JanandGitHub 6c8ecb7b8e Remove reliance on statusText for error messages. (#5056)
HTTP/2 does not support statusText, and proxies might replace it. Use the response body instead.

Closes #4729
2023-12-12 23:17:12 +01:00
gpatel-frandGitHub b08b59228c report all filesets in error in VerifyConsistency (#5052)
only reporting the first one could incite to deleting
it while many filesets can be impacted by a file error
2023-12-12 18:25:14 +01:00
gpatel-frandGitHub d20e692d20 enhance Python restore tool (#5051)
add command line parameters
parameterize memory cache and use bigger cache by default
optional use of aescrypt to make decryption faster by caching the results
tentative attributes support for Linux (use with sudo)
2023-12-12 00:35:01 +01:00
gpatel-frandGitHub 79b87566dd set default log level to Dryrun if dryrun option is set (#5059) 2023-12-11 14:42:45 +01:00
gpatel-frandGitHub 11d6364b4a remove agsXmpp, replace it with Sharp.Xmpp (#5046)
also add a missing space in default body (fixes a small bug under Windows)
2023-12-10 00:26:26 +01:00
JanandGitHub ccfa4e204e Fix restore search error in RestoreController (#4998)
* Fix restore search error in RestoreController.

TypeError: Cannot read Property 'Path' of undefined.
Add a break to for loop, thanks @tx0h (#4997).

* Remove empty '\' entries from restore picker.

The paths are split by dirsep, but directories end with it, which results in an empty part at the end.
2023-12-10 00:25:47 +01:00
gpatel-frandGitHub 0de4cb7968 allow full-remote-verification to target only list and index files (#5037)
The option is turned into an enum with values True, False, ListIndexes
True and False are for compatibility with the existing backups.
ListIndexes is equivalent to True but don't handle block volumes.
This is to make more workable a strategy of full remote testing
after each backup.
2023-12-10 00:24:07 +01:00
gpatel-frandGitHub af4fd5af05 change error reporting for full backup remote verification (#5004)
Before the change, it could happen that when the postbackup test
was finding problems in the backend, the job would be reported
as having completed successfully, the found problems being displayed
only in the complete log. After the change, an error is logged
that cause the job to be failed.
To repro, the following procedure can be used in a test backup:
change a hash for a block in the block table database and run a backup having set
--full-remote-verification and --full-block-verification to true and
--backup-test-percentage to 100.
2023-12-10 00:23:16 +01:00
gpatel-frandGitHub 3a9239ccff Merge pull request #4962 from Jojo-1000/fix-filter-ui
Fix filter UI
2023-12-10 00:22:31 +01:00
Jojo-1000 f7e435b1dd Improve file backend list speed.
Directly list FileInfo instead of lookups by filename. This greatly speeds up backup verify on exFAT.

Closes #5061
2023-11-19 20:04:37 +01:00
Jojo-1000 a45ce610df Fix URI parsing for IPv6 addresses and add tests.
Closes #5057
2023-11-10 13:53:10 +01:00
gpatel-frandGitHub ec9d49d684 Experiment/rebuildfaster (#5043)
* experimental faster db rebuild (#4955)

* try run update db query for every block file only when needed
add repair-force-block-use option
more appropriate naming for some routines
more tracing
more comments
2023-11-05 18:19:08 +01:00
gpatel-frandGitHub 43dea88b4f enable to perform tests without checking file list (#5054)
following the option --disable-filelist-consistency-checks
experimental
2023-11-04 14:25:59 +01: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
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 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