Kenneth Skovhede
9bb37d5f6e
Re-wrote the way the ssl certificate checker is applied.
...
This fixes #2711 and some other issues, in that the SSL checker is now applied for all requests.
2017-09-20 10:53:39 +02:00
Kenneth Skovhede
9cdd5ff1e4
Removed the manual call to set up the ssl certificate validator on each request.
...
This fixes #2746
This fixes #2714
2017-09-20 10:51:13 +02:00
Kenneth Skovhede
e344a10ee5
Merge branch 'feature/use-cng-hashalgorithms'
2017-09-20 10:27:58 +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
Tyler Gill
cf79aedb2d
Followup to the change to add default filters and change InvariantCultureIgnoreCase to OrdinalIgnoreCase.
2017-09-19 09:23:01 -06: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 and GitHub
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
Tyler Gill
bb68c2d3a5
Normalize whitespace
2017-09-18 23:07:20 -06:00
Tyler Gill
1da75e8859
Remove the Platform and Common filter sets. They aren't really very useful.
...
Common is now always included with default filters.
The Platform behavior (of using the set corresponding to the current operating system) is available by using the flag without giving it a value.
2017-09-18 23:03:15 -06:00
Kenneth Skovhede
c9af99016a
Merge branch 'master' into concurrent_processing
2017-09-18 15:28:43 +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
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
d4865eb4cd
Add default filters parameter, and some built-in default filter sets.
...
These sets are essentially blacklists for many common files and paths on different platforms that don't need to be backed up.
2017-09-13 22:21:12 -07:00
Tyler Gill
ad6b49db3d
Add RegexOptions.ExplicitCapture to FilterExpressions, since none of them use captured groups, but they do have groups.
2017-09-13 22:19:10 -07:00
Tyler Gill
d22d9d7cbd
Fix 'help --include' and 'help --exclude' - these shouldn't throw a null reference exception due to the value being null.
2017-09-13 22:18:15 -07:00
Kenneth Skovhede
4679c5eadd
Bugfix for broken 2.0.2.3 canary build
2017-09-09 12:38:46 +02:00
Kenneth Skovhede
f86e92c603
Added defaults for using the Utility library without setting up a scope
2017-09-04 11:23:08 +02:00
Kenneth Skovhede
19a040970f
Implemented call-context aware settings for HTTP options, temp folder settings, buffers sizes and oauth settings.
...
This makes it more smooth to run multiple operations in parellel, but it should be possible to launch an operation in a separate app-domain
2017-09-04 11:05:16 +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
Kenneth Skovhede
b9dfc4de16
Merge branch 'master' into concurrent_processing
2017-08-02 09:34:34 +02:00
Max and GitHub
b620f5b708
Merge pull request #30 from duplicati/master
...
upstream
2017-06-28 23:52:23 +02:00
Max
ca84a9462b
added console support on windows
2017-06-22 15:10:31 +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
da0de9983b
Implemented the live throttle control.
...
This fixes #1730
This fixes #1261
2017-06-20 13:00:52 +02:00
Kenneth Skovhede
f6adccddb0
Added environment variable to allow setting the filesystem case sensitivity
2017-06-14 22:50:15 +02:00
Kenneth Skovhede
d18431b385
Merge branch 'master' into concurrent_processing
...
# Conflicts:
# Duplicati/Library/Main/Controller.cs
# Duplicati/Library/Main/Database/ExtensionMethods.cs
# Duplicati/Library/Main/Database/LocalBackupDatabase.cs
# Duplicati/Library/Main/Duplicati.Library.Main.csproj
# Duplicati/Library/Main/Operation/BackupHandler.cs
# Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
# Duplicati/Library/Main/ResultClasses.cs
First attempt at merging all changes from 2016-10-08 to now :/
2017-05-30 00:35:31 +02:00
Kenneth Skovhede
54f57bf674
Fixed setting the contentlength and checking if it is possible to set the AllowWriteStreamBuffering property.
...
This fixes #2483
2017-05-18 23:21:48 +02:00
Kenneth Skovhede
55e230ff49
Reworked the way the AllowWriteBuffering flag is set to fix errors caused by ContentLength not being set.
2017-05-17 10:59:07 +02:00
Kenneth Skovhede
f9e5eeae0c
Experiment to see if out-of-memory issues are solved by disabling the write buffer on HTTP requests.
...
This should help with #2320 and #2432
2017-04-17 21:47:58 +02:00
Kenneth Skovhede
3c45acd745
Made the order of picking compositional filter elements more explicit to avoid returning null values unless both filters are null
2017-04-06 12:37:42 +02:00
Kenneth Skovhede
66aaaab0a8
Fixed an issue with the URL parser being a little too flexible, which breaks if the URL has the port component.
...
This change means that URL's in the form `scheme://username:password@server` can no longer have any of the characters `:?/` in the username or password component without encoding.
2017-03-07 11:05:49 +01:00
Kenneth Skovhede
28254de512
Removed an unused field
2017-03-01 11:54:52 +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
5bbe41d31d
Added sanity checks to the file-backed list, as well as a fix for enumerating, and then adding items afterwards
2017-01-11 15:07:37 +01:00
Kenneth Skovhede
9a849a2b58
Improved support for cross-os restores.
...
This fixes #1302
This fixes #1983
2017-01-06 23:01:54 +01:00
Kenneth Skovhede
52eb8e8478
Disabled MSBuild for much faster builds on MacOS
2016-12-29 23:12:41 +01:00
Kenneth Skovhede
ace2f92856
Rewrote some of the pretty printing routine to make a better log output.
...
Cleaned up the output by removing some of the non-relevant items.
2016-12-02 11:54:20 +01:00
Kenneth Skovhede
0e954b202f
Changed mozroots references to point to cert-sync instead, as mentioned in issue #2097
2016-11-12 14:04:28 +01:00
agrajaghh
861a8a6f7f
string fixes
2016-10-30 22:07:13 +01:00
Kenneth Skovhede
c1c8c9a1aa
Merge branch 'master' into concurrent_processing
...
Some changes were required for this merge,
now the StreamBlockSplitter process will take in any stream, store the blocks and return the blockset ID.
This makes it compatible with the changes for metadata handling where they support more than a single block of metadata.
# Conflicts:
# Duplicati/Library/Main/Database/LocalDatabase.cs
# Duplicati/Library/Main/Database/LocalRepairDatabase.cs
# Duplicati/Library/Main/Operation/BackupHandler.cs
# Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
2016-10-18 13:27:36 +02:00
Kenneth Skovhede
926e0fa405
Removed the progress event, as it is no longer used
2016-10-17 14:37:13 +02:00
Kenneth Skovhede
0190a9994e
Rewrote the throttling implementation to be more effecient
2016-10-17 13:14:21 +02:00
Kenneth Skovhede
f042a46076
Bugfix for last commit
2016-10-14 09:16:30 +02:00
Kenneth Skovhede
ab1336055d
Added a guard to prevent AnalyzeFilter from crashing if it is called with a null input
2016-10-14 00:50:06 +02:00
Kenneth Skovhede
126f12bf0a
Merge branch 'master' into concurrent_processing
2016-09-29 13:48:30 +02:00
Kenneth Skovhede
ba65602f3c
Merge branch 'feature/improve_result_output'
2016-09-28 21:16:49 +02:00