Commit Graph
1001 Commits
Author SHA1 Message Date
Kenneth Skovhede 046b522a8d Updated NewtonSoft.Json 2017-05-17 11:08:51 +02:00
Kenneth Skovhede 5b4c7103f2 Added guard to prevent reading the stream further if it was already depleted.
Without this guard, it would be possible to extend the stream during processing and send wrong blocks forward.
This is likely a fix for issue #1400 and #2402
2017-04-11 21:21:02 +02:00
Kenneth Skovhede fe96e3a021 Rewrote the logic to check the full filter and not just the commandline arguments when guessing which kind of list to return. 2017-04-06 11:54:22 +02:00
Kenneth Skovhede 62dc8e2178 Updated the UI commandline interface to work correctly with the status bar 2017-04-06 10:10:22 +02:00
Kenneth Skovhede eef7281d10 Added a multi-target message sink helper 2017-04-06 10:09:37 +02:00
Kenneth Skovhede 5bbb484cd3 Rewrote ListAffected and ListChanges to support a callback, such that the entire lists are not required to be materialized 2017-04-04 23:53:36 +02:00
Kenneth Skovhede d1746ca38c Added a --full-result commandline option to allow getting full file listings, without verbose output 2017-04-04 23:51:40 +02:00
Dan Stahr 27c9e15875 Improved database performance and logging
- Don't use Vacuum() just before PurgeLogData (which performs vacuum() already)
 - Removed unncessary poorly performning query (after optimizing it I found out it's unused)
 - Correctly log calls for ExecuteScalarInt64
2017-03-23 15:22:58 +00:00
Albertony 4e1a638fca Fixed issue #2066: The command create-report appends zip even if output-file name already ends with .zip 2017-03-20 13:35:30 +01:00
Albertony e2d7759d94 Dont create folder in AppData unnecessarily 2017-03-14 13:08:49 +01:00
Dan Stahr af14151d91 Fixed an error in renaming absolute Windows paths.
Previously, the output of the first replace was never used and therefore the absolute Windows paths were not restored
correctly.

The two patterns (i.e. ?: and \\) are disjoint so rewriting the previous result in case a match is found
for the second one is OK.
2017-03-10 22:01:24 +00:00
Kenneth Skovhede 17a407f7ec Merge branch 'feature/update_google_drive_paging' 2017-03-03 21:46:49 +01:00
Kenneth Skovhede b362614bf5 Updated the verification to use deep verification to test archive readability when the verify is invoked directly.
When invoking the verification after the backup, the deep verification is off by default.
2017-03-03 20:52:04 +01:00
Kenneth Skovhede 33ea12b7fe Added some readonly flags to signal non-changing variables 2017-03-03 20:50:36 +01:00
Kenneth Skovhede 43d079fc28 Fixed the help text for the --prefix option to explain that it does not allow hyphens. 2017-02-28 10:06:25 +01:00
Kenneth Skovhede f9b4b777ed Merge branch 'feature/improve_information_collection_from_verify' 2017-02-27 10:16:24 +01:00
Kenneth Skovhede f41c29f27a Fixed some doc strings, and made the informational message UserInformationException 2017-02-27 09:09:52 +01:00
Kenneth Skovhede 8c8a0907c0 Added checks to ensure that hyphens are not used in --prefix as that would make it possible to craft prefixes that confuse the filename parser, e.g. --prefix=duplicati-b1234.zip
This fixes #2295
2017-02-27 09:09:02 +01:00
Kenneth Skovhede 5919309da9 Added additional checks to attempt to gather information from the remote destination, if the local database is somehow missing the size or hash 2017-02-27 00:43:06 +01:00
Kenneth SkovhedeandGitHub e2dc4f8e84 Merge pull request #2318 from jmhardison/errormessage-incorrectword
Word change.
2017-02-16 23:17:05 +01:00
Kenneth Skovhede 9894facd51 Improved the logic around the abort functionality to avoid hanging while performing a retry delay 2017-02-14 10:28:59 +01:00
Jonathan Hardison debfffbe82 Word change.
Changed from loosing to losing.
Losing - cause/suffering loss.
Loosing - to let loose; free from bonds or restraint. / to let go a hold
2017-02-13 15:36:39 -06:00
agrajaghh bf0ec22f1e fix typos 2017-02-04 20:03:39 +01:00
agrajaghhandGitHub af1284966d Merge pull request #2305 from duplicati/Fix-strings
fix typo
2017-02-04 20:02:41 +01:00
René StachandGitHub 331c4581e3 Update Strings.cs 2017-02-04 19:58:38 +01:00
Kenneth Skovhede 9fd0121142 Removing the code that updates the logdata, as it has no effect, since any updated error messages will be destroyed later, should they contain any path-like strings.
This should help with #2298
2017-02-02 22:23:54 +01:00
Kenneth Skovhede 7f4c9383c3 Merge branch 'feature/set_tempdir_for_sqlite' 2017-01-25 21:16:45 +01:00
Kenneth Skovhede 9e6eefad9f Merge branch 'feature/add_single_result_code'
# Conflicts:
#	Duplicati/Library/Modules/Builtin/Strings.cs
2017-01-23 23:32:30 +01:00
Kenneth Skovhede 9007165139 Merge branch 'feature/fix_typos' 2017-01-23 23:11:56 +01:00
Kenneth SkovhedeandGitHub 1f99f54872 Merge pull request #2281 from duplicati/feature/improved_consistency_check
improved consistency check
2017-01-23 23:08:17 +01:00
Kenneth Skovhede 626a79db1d Added guards agains empty lists of errors and warnings in the new parsed result type 2017-01-23 22:22:22 +01:00
Kenneth Skovhede 1424be05f9 Fixed a bunch of typos.
This fixes #2278.
2017-01-23 22:12:24 +01:00
Kenneth Skovhede cafb8e6ff1 Fixed issues with reporting the correct error message when enumerating files 2017-01-23 20:53:18 +01:00
Kenneth Skovhede 81e8ef92da Added a new result code to simplify reporting the same backup result from all modules. 2017-01-23 20:47:01 +01:00
Kenneth Skovhede 0ad55a1ef2 Merge branch 'master' into feature/improved_consistency_check 2017-01-19 14:06:42 +01:00
Kenneth Skovhede 3ed963b7b5 Merge branch 'feature/minimal_fix_for_constraint_issue' 2017-01-19 14:04:56 +01:00
Kenneth Skovhede 551e11303c Fixed the duplicated log entries in the log file.
This fixes #2254
2017-01-19 13:12:17 +01:00
Kenneth Skovhede d08b7750f0 Removed the unnecessary distinct clause from the recreate query.
Added a comment about the potentially unnecessary extra join in the statements that fills in block hashes.
2017-01-19 10:53:32 +01:00
Kenneth Skovhede 305d8bc7fe Added an extra condition on the join for the recreate issue.
This is a less experimental rewrite of the query that fixes the exact problem.
The speedups from this query fix are also substantial, going from 2.5 hours to 11 minutes.

This is likely a fix to these issues:
#1699, #2048, #2140, #2178

This could help with issues:
#1391, #2050
2017-01-19 09:55:36 +01:00
Kenneth Skovhede 3b4cd3c9c2 Experiment to set the SQLite temp folder, both through the environment variable and the deprecated pragma statement 2017-01-15 23:09:47 +01:00
Kenneth Skovhede be46960a6b Added debugging code that dumps the temporary tables as permanent tables if the error from #1699, #2048, #2140, or #2178 2017-01-15 23:08:21 +01:00
Kenneth Skovhede 97ba7ef9a5 Fixed issue with restoring files to their original location.
This fixes #2246
2017-01-14 12:46:59 +01:00
Kenneth Skovhede f3570507e3 Merge branch 'master' into feature/improved_consistency_check 2017-01-12 09:31:39 +01:00
Kenneth Skovhede 4dcf386312 Merge branch 'feature/revert_slowdown_2244' 2017-01-12 09:28:23 +01:00
Kenneth Skovhede e79cfa4d6f Merge branch 'feature/fix_send_mail' 2017-01-12 09:28:12 +01:00
Kenneth Skovhede f5a1bcd32c Reverted the SQL query to use the Timestamp sorting instead of explicit fileset.
This fixes #2244
2017-01-11 23:48:41 +01:00
Kenneth Skovhede d62d483202 One more rework for the log output, to allow some messages to enter the log file but not the console 2017-01-11 23:35:42 +01:00
Kenneth Skovhede 030a504183 Reworked the way the controller uses logging scopes to selectively send messages to file logs, but not normal operation listener 2017-01-11 22:44:42 +01:00
Kenneth Skovhede 309df0f720 Added re-entrancy locks to all reporting messages in BasicResults 2017-01-11 22:41:28 +01:00
Kenneth Skovhede d3a3d8c85f Fixed a mistake in the debugging code for issue 2140 2017-01-11 13:51:56 +01:00