Commit Graph
8782 Commits
Author SHA1 Message Date
TopperDEL fde7e84afc fix: Resovle codacy-issue 2020-07-22 14:31:03 +02:00
TopperDEL c451724520 build: Switch to uplink.NET v2.3.4 fixing one download-issue 2020-07-22 12:40:37 +02:00
TopperDEL 6a8a029c70 cleanup: Reduce one line 2020-07-22 12:40:21 +02:00
Kenneth Hsu 0314c388ef Rename test method. 2020-07-21 13:49:41 -07:00
Kenneth Hsu 00cd10062b Add test to check that only backend files with correct prefix are deleted.
This concerns issue #2678.
2020-07-21 13:20:42 -07:00
Kenneth Hsu 77a4918f36 Add test to check that only relevant backend files are deleted.
This concerns issues #3845, and #4244.
2020-07-21 13:20:42 -07:00
Kenneth Hsu fea55b9981 Avoid removing files unrelated to backup being deleted.
This fixes issues #3845 and #4244.
2020-07-21 12:59:28 -07:00
Kenneth Hsu f47299d7a1 Remove unnecessary call to Path.Combine. 2020-07-20 20:08:14 -07:00
warwickmmandGitHub 512aa9b979 Merge pull request #4258 from dferreyra/fix_recovery_tool_path_with_dashes
Fix Recovery Tool handling of paths with dashes
2020-07-20 09:48:30 -07:00
Kenneth Hsu 27c5b9ef5a Check for errors and warnings in unit tests. 2020-07-19 19:51:05 -07:00
Dean Ferreyra f53876d0a4 Fix Recovery Tool handling of paths with dashes
In Duplicati.CommandLine.RecoveryTool, the `index` and `list` commands
do not recognize Duplicati backup files when those files are in paths
containing dashes.

For example, without this change, if you call
```
Duplicati.CommandLine.RecoveryTool index C:\Temp\duplicati-tests\recovery-tool\backup-files
```
the Duplicati backup files are displayed, but the recovery tool
reports "Not a Duplicati file, ignoring" for each of them.
2020-07-19 18:01:52 -07:00
Dean Ferreyra d154702020 Support problematic Windows paths
Fix pull request string comparisons in SystemIOWindows.cs to use
StringComparison.Ordinal.

Fix pull request to use SystemIO.IO_WIN.PathCombine() in
WindowsSnapshot.cs.
2020-07-19 16:24:51 -07:00
Kenneth Hsu 654ca45892 Verify contents of restored problematic paths.
This is somewhat redundant since the RestoreHandler verifies the hash of
the restored file, but it doesn't hurt to check again.
2020-07-19 14:07:26 -07:00
warwickmmandGitHub 47df16063f Merge pull request #4254 from TopperDEL/tardigrade-add-partnerid
Fix deployment of Mac binaries for Tardigrade backend.

This also updates the version of uplink.NET to v2.3.2 and adds Duplicati to the Storj Open Source Partnership Program.
2020-07-19 10:27:59 -07:00
Dean Ferreyra fd186712b4 Support problematic Windows paths
Change "Duplicati.CommandLine.RecoveryTool restore" to support
restoring long paths, and files and directories that end in a dot or a
space when run on Windows.
2020-07-19 06:43:30 -07:00
TopperDEL 17c639cb26 fix: Build error 2020-07-19 11:14:33 +02:00
TopperDEL 6d5e8bfc77 feat: Add new Tardigrade-Satellite-Adresses 2020-07-19 11:00:10 +02:00
TopperDEL badcb7dbfc fix: Correc failing build - referencing correct uplink.NET-nuget 2020-07-19 10:58:36 +02:00
Kenneth Hsu 941c8892b0 Rename test methods. 2020-07-18 18:54:10 -07:00
Kenneth Hsu c8b1e093fb Add test to backup and restore paths with problematic suffixes.
Paths that end with a dot or space are problematic on Windows.

This concerns issue #3839.
This concerns pull request #4256.
2020-07-18 18:20:27 -07:00
Kenneth Hsu 7f6411eca9 Add test to backup and restore problematic long path.
This tests a path that exceeds typical limits on Windows.

This concerns issue #3839.
This concerns pull request #4256.
2020-07-18 18:15:34 -07:00
Kenneth Hsu a837144b42 Add class to help remove problematic paths from tests.
This will make it easier to create and clean up tests that involve
problematic paths (e.g., paths that end with a dot or space on Windows).
2020-07-18 18:10:02 -07:00
Kenneth Hsu ebde1c9f01 Add methods to delete empty directory. 2020-07-18 17:30:26 -07:00
Dean Ferreyra 6acbbf2136 Support problematic Windows paths
Allow historically problematic Windows paths (i.e., files or
directories that end in a dot or a space) to be backed up with
Duplicati in Windows.

This fixes #3839.
2020-07-17 21:50:29 -07:00
TopperDEL 37e0d36348 fix: Remove unnecessary windows storj_uplink.dll 2020-07-16 16:34:28 +02:00
TopperDEL e115dd7149 build: Switch to uplink.NET 2.3.2 2020-07-16 16:32:11 +02:00
TopperDEL 0b0fc23d97 fix: Remove renamed MacOS-dylib on windows-installer 2020-07-16 15:59:26 +02:00
TopperDEL 79ba47f6ef feat: Add Tardigrade-Partner-ID 2020-07-16 15:57:50 +02:00
TopperDEL 78065fde53 fix: Rename storj_uplink.dylib to libstorj_uplink.dylib 2020-07-16 15:57:15 +02:00
warwickmmandGitHub 45da5a4e2b Merge pull request #4249 from jpschewe/report-compression-errors
Ensure that compression errors are thrown and logged.

This also prevents FilesetVolumeWriter.Dispose from calling Close prematurely, which
can result in a JsonWriter exception.
2020-07-11 16:49:10 -07:00
Jon Schewe e5f57e8f66 Remove unused LOGTAG field 2020-07-11 18:12:59 -05:00
Jon Schewe 2747f78c40 Remove unneeded catch statement
Using the finally block to close out the writer allows the exception to
show up in the log.
2020-07-11 17:33:38 -05:00
Jon Schewe 36336ac6f1 Rethrow exception after logging
This ensures that the backup properly fails.
2020-07-10 06:55:41 -05:00
Kenneth Skovhede f44428ea70 Version bump to v2.0.5.108-2.0.5.108_canary_2020-07-09
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.5.108_canary_2020-07-09.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.108_canary_2020-07-09.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.5.108_canary_2020-07-09.zip.sig.asc

MD5: a5fb8ed004f435a6f1d2857a088f4a03

SHA1: 01e5ea648d20904a6aff69182f94e65db279ec77

SHA256: 56db5634a6031fa7a4dc13dac7558c5b2908b3f7f8543c33c6dbc0c11bfd083e
v2.0.5.108-2.0.5.108_canary_2020-07-09
2020-07-09 13:32:40 +02:00
Kenneth SkovhedeandGitHub 56455923d8 Merge pull request #4247 from warwickmm/check_errors_and_warnings_in_tests
Check for errors and warnings in unit tests
2020-07-09 13:18:37 +02:00
Kenneth SkovhedeandGitHub 3a8214a0dd Merge branch 'master' into check_errors_and_warnings_in_tests 2020-07-09 13:18:28 +02:00
Kenneth SkovhedeandGitHub 2a60bf3931 Merge pull request #4245 from warwickmm/fix_restoration_of_empty_files
Ensure that paths exist when restoring empty files
2020-07-09 13:17:34 +02:00
Kenneth SkovhedeandGitHub 7a5844027a Merge pull request #4228 from warwickmm/remove_unused_builtin_strings_members
Remove unused members from Builtin.Strings
2020-07-09 13:16:20 +02:00
Kenneth SkovhedeandGitHub 53f9b8bddc Merge pull request #4237 from warwickmm/add_s3_me_bahrain
Fix endpoint for Middle East (Bahrain) S3 region
2020-07-09 13:15:54 +02:00
Kenneth SkovhedeandGitHub 20542b5489 Merge pull request #4227 from warwickmm/fix_openstack_command_help
Fix documentation for OpenStack command line arguments
2020-07-09 13:15:28 +02:00
Kenneth SkovhedeandGitHub 59cf5886d3 Merge pull request #4226 from warwickmm/add_s3_eu_south
Add support for Europe (Milan) S3 region
2020-07-09 13:15:00 +02:00
Kenneth Hsu 4a1697bb27 Remove commented-out code. 2020-07-08 17:37:08 -07:00
warwickmmandGitHub cceb56f8ff Merge pull request #4250 from jpschewe/s3-backend-error-handling
Remove try/catch that is hiding errors in S3 backends.
2020-07-08 17:34:50 -07:00
Jon Schewe e41c0d8bf9 Catch compression errors and report them
When the file list is over 4GB one needs to have the zip64 option
enabled. This commit catches the exception and reports it as an error so
that the user knows what the problem is.

Fixes duplicati/duplicati#/4206
2020-07-08 07:55:25 -05:00
Jon Schewe 7294befad9 Remove try/catch that is hiding errors
The try/catch here was hiding timeouts fetching the test files. This
logic appears to be for handling a very old version of S3. They should
not be needed anymore.

Fixes duplicati/duplicati#4225
2020-07-08 07:52:04 -05:00
Kenneth Hsu c992e9f76e Remove source before testing resoration of inheritance breaks.
This will be a better check for the restoration of inheritance breaks,
and also allow us to expect zero warnings as a result.
2020-07-07 19:21:35 -07:00
Kenneth Hsu 0e994ea4f1 Avoid checking for warnings in some BorderTests.
The current test data sometimes yields a "No block hash found for file"
warning.
2020-07-07 19:21:35 -07:00
Kenneth Hsu e1a6ae4483 Check operation results for errors and warnings in tests. 2020-07-05 18:50:10 -07:00
Kenneth Hsu fac39c03a2 Fix typo in comment. 2020-07-02 15:40:06 -07:00
Kenneth Hsu 7bbe511f31 Reduce scope of Controller instance. 2020-07-02 15:39:56 -07:00