Commit Graph
1925 Commits
Author SHA1 Message Date
Kenneth Skovhede 0a54fd87d3 Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/packages.config
#	Duplicati/Library/UsageReporter/Duplicati.Library.UsageReporter.csproj
#	Duplicati/Library/UsageReporter/packages.config
2017-09-23 22:04:35 +02:00
Kenneth Skovhede 6c921ab3ec Merge branch 'master' of github.com:duplicati/duplicati 2017-09-23 22:01:08 +02:00
Kenneth SkovhedeandGitHub 60b94b758f Merge pull request #2754 from warwickmm/refactor/avoid_extension_method
Reference property instead of invoking extension method.
2017-09-23 15:06:09 +02:00
Kenneth Hsu b07170d2c9 Reference property instead of invoking extension method.
The Enumerable.Count method will attempt to cast the object to an
ICollection, and if successful, reference the Count property.  Since we
know that we have a List, we can reference the Count property directly.
2017-09-22 21:28:43 -07:00
Kenneth Skovhede a06f38442a Updated all Newtonsoft.Json packages 2017-09-23 00:25:50 +02:00
Tyler Gill 811acac073 Fix warning that the default-filters parameter isn't supported. 2017-09-21 23:44:24 -06:00
Kenneth Skovhede 860924bb62 Updated main functions to new CoCoL library 2017-09-20 21:03:24 +02:00
Kenneth Skovhede 683b04741d Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/Operation/BackupHandler.cs

Manually fixed the HashAlgorithmHelper case
2017-09-20 13:56:37 +02:00
Kenneth Skovhede 6d401fbd8d Changed all hash algorithms to use the Cng version.
This fixes #2621
2017-09-20 09:58:43 +02:00
Kenneth Skovhede bc6e32d049 Updated the new backend handler to support the same features as the previous: throttle, error message, and deleteGraceTime. 2017-09-19 14:24:59 +02:00
Kenneth Skovhede 21b7a98dc3 Implemented the blocking flag in the uploader 2017-09-19 14:18:54 +02:00
Kenneth Skovhede 0b81fabb1f Bugfix from the merge conflict 2017-09-19 14:18:10 +02:00
Kenneth Skovhede 0dd56f1650 Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/Options.cs
2017-09-19 12:51:40 +02:00
Kenneth Skovhede 37527b51ba Fixed removing temporary files downloaded for testing purposes. 2017-09-19 11:20:26 +02:00
Kenneth SkovhedeandGitHub c386da0b33 Merge pull request #2741 from tygill/fix/string-compare-ordinal-ignore-case
Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase
2017-09-19 11:07:20 +02:00
Tyler Gill 83a1dcfb64 Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.

For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Tyler Gill 3fc4868433 Merge branch 'master' of https://github.com/duplicati/duplicati into feature/default-filters
# Conflicts:
#	Duplicati/Library/Utility/Utility.cs
2017-09-18 23:13:13 -06:00
Kenneth Skovhede c9af99016a Merge branch 'master' into concurrent_processing 2017-09-18 15:28:43 +02:00
Kenneth SkovhedeandGitHub 60ffa9f8d8 Merge pull request #2723 from tygill/feature/source-volume-label
Add support for specifying backup paths on Windows by volume guid
2017-09-18 15:10:24 +02:00
Kenneth Skovhede 49a8bd12f6 Merge branch 'master' into concurrent_processing 2017-09-18 14:39:26 +02:00
Kenneth Skovhede 7c14ea338d Merge branch 'feature/fix-compact-size-reports' 2017-09-18 14:38:37 +02:00
Kenneth Skovhede 10ef42ce39 Fixed an issue with reporting incorrect file size for uploads 2017-09-18 13:27:30 +02:00
Kenneth Skovhede d57c789f4f Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/Duplicati.Library.Main.csproj
#	Duplicati/Library/Main/Options.cs
2017-09-18 11:56:35 +02:00
Kenneth Skovhede e0d8a57ccc Added re-use of the backend across the operations in the backup step.
This should fix the AmzCD consistency issue where it does not wait for the listing after performing a delete.
2017-09-18 11:54:48 +02:00
Kenneth Skovhede 4a6bf3deba Added "DeleteGraceTime" to all files deleted from the backend mananger.
This should fix a number of cases where the backup returns a consistency error because the deletion and the backend check happens before the backend is in sync.
2017-09-18 11:53:50 +02:00
Kenneth Skovhede 7d3ac25426 Re-introduced the in-memory block-cache. This time keeping it simple with a check for size-induced collisions. 2017-09-16 18:44:25 +02:00
Tyler Gill f9618b9587 Add support for specifying backup paths by volume guid.
These volume guids can be found via the 'mountvol' command, and are reported by the built in help.
This also includes some updates to the documentation and logging when using wildcard drives in source paths.
2017-09-14 23:16:07 -07:00
Tyler Gill 4bfaac4ec4 Normalize whitespace 2017-09-13 23:23:15 -07:00
Tyler Gill 768cd93923 Normalize some whitespace 2017-09-13 22:30:12 -07:00
Tyler Gill 93994850f9 Merge branch 'master' of https://github.com/duplicati/duplicati into feature/default-filters
# Conflicts:
#	Duplicati/CommandLine/Help.cs
2017-09-13 22:25:12 -07:00
Tyler Gill b0e249dd44 Normalize some whitespace 2017-09-13 22:22:04 -07:00
Tyler Gill 410a755627 Test filters command should show files with size of 0 as having size 0, rather than size unknown. 2017-09-13 22:16:31 -07:00
Tyler Gill 5c7500973e Add support for wildcards in source paths on Windows.
This causes backup to run for the given path on all drives, and can be useful in the case where removable drives may change letters randomly.
2017-09-10 13:18:49 -07:00
Kenneth SkovhedeandGitHub 207c879323 Update Options.cs
Fixed type for `--max-small-file-count`
2017-09-06 16:38:05 +02:00
Kenneth Skovhede 11f7660939 Implemented logic to report if the backend is blocking the operation. 2017-09-04 12:15:47 +02:00
Kenneth Skovhede c9e984e1ce Fixed swapped long/short strings.
This fixes #2659
2017-08-28 11:52:11 +02:00
Dan Stahr 31ac40083a Prevent temp files in VolumeWriterBase from being deleted prematurely.
The fix is hacky and the root cause should be investigated properly.
2017-08-13 11:58:39 +01:00
Dan Stahr 8a116fbf8d Fixed verification query 2017-08-12 19:14:11 +01:00
Dan Stahr a0d63bf003 Reverted unrelated changes 2017-08-12 14:20:35 +01:00
Dan Stahr 4d98960e75 Fixed empty block handling.
Previously, empty files were associasted with empty blocks. These blocks were added to volumes which could result in empty, but valid volumes being garbage collected and valid file entries deleted.

This change changes the logic so that empty blocks are not stored at all.
2017-08-12 14:14:23 +01:00
Kenneth Skovhede 81adcf17c9 Added new strings to the error messages as requested in #2629.
This fixes #2629
2017-08-11 09:58:49 +02:00
Dan Stahr 3b422ff058 Fixed some of the failing tests in concurrent_processing branch 2017-08-06 11:32:11 +01:00
Dan Stahr 7c9b2fcd83 Fixed missed vacuum reference. 2017-08-04 12:26:15 +01:00
Dan Stahr 58a95e03e6 Autovacuum option added 2017-08-04 12:09:01 +01:00
Dan Stahr 8c2280c86c Issue #2578: Removed all direct calls to VACUUM and added a command to run VACUUM manually 2017-08-04 11:24:18 +01:00
Kenneth Skovhede 1cc5b633ed Merge branch 'master' into concurrent_processing 2017-06-28 09:50:00 +02:00
Kenneth Skovhede 6c5dee6079 Added comments 2017-06-27 22:00:44 +02:00
Kenneth Skovhede 9433c34e5e Also use %LOCALAPPDATA% for storing the database and config for the commandline on Windows.
This fixes #2348
This adresses parts of #2222
2017-06-27 21:45:04 +02:00
Kenneth Skovhede 66cf98a8b3 Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/Duplicati.Library.Main.csproj
2017-06-20 15:17:02 +02:00
Kenneth Skovhede 591742d271 Merge branch 'feature/add_throttle_ui'
# Conflicts:
#	Duplicati/Server/webroot/ngax/styles/style.css
2017-06-20 14:53:13 +02:00