Commit Graph
8782 Commits
Author SHA1 Message Date
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 b2450319f5 Update the web UI to support the default filter options, including import and export. 2017-09-18 23:08:07 -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 SkovhedeandGitHub 3e0aa28c29 Merge pull request #2735 from PeterDaveHelloKitchen/png-optimize
Use Google's zopflipng to optimize png images
2017-09-18 15:27:06 +02:00
Kenneth SkovhedeandGitHub ab9d518865 Merge pull request #2730 from Pectojin/persistent_log_file
Fix for duplicati/duplicati#2617
2017-09-18 15:24:59 +02:00
Kenneth SkovhedeandGitHub 38202fa63b Merge pull request #2732 from Pectojin/WebUI_title_hostname
WebUI title reflects machine name
This fixes #2437
2017-09-18 15:22:46 +02:00
Kenneth SkovhedeandGitHub 23386a9529 Merge pull request #2722 from z0rc/master
Decrease server's CPU and IO scheduling priority
2017-09-18 15:20:36 +02:00
Peter Dave Hello 7184de770f Use Google's zopflipng to optimize png images 2017-09-18 21:16:04 +08:00
Kenneth SkovhedeandGitHub e6b7ce79f0 Merge pull request #2733 from Pectojin/disable_startup_delay
Allow user to disable startup delay
2017-09-18 15:11:46 +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 e3feeff38f Merge branch 'feature/add-deletion-delays' 2017-09-18 13:28:51 +02:00
Kenneth Skovhede c359116f94 Forced Windows line-endings 2017-09-18 13:28:43 +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 fbac19bace Merge branch 'master' of github.com:duplicati/duplicati 2017-09-18 11:50:50 +02:00
agrajaghh 4b7f6951bb update translations 2017-09-17 22:33:39 +02:00
agrajaghh 9b2d2b1b18 extract strings 2017-09-17 22:31:51 +02:00
Rune Henriksen 2c210800f0 This is a two fold "fix" to duplicati/duplicati#2715
Changes in settings.html adds the option to select "0 seconds", which wasn't previously possible.
Changes in SystemSettingsController.js adds logic in the controller that will check if the duration value and duration multipliers are set. If it finds that they are not it will set them to "0" and "s" respectively (instead of leaving them blank)

Issue comment called for a check box to enable/disable startup delay, but just defaulting to 0 seconds is simpler and self explanitory.
2017-09-17 13:52:26 +02:00
Rune Henriksen 3f774e6b4b Changed the webpage title to be "MachineName - AppName" allowing users to discern between multiple tabs connecting to different remote machines.
I had to move the ng-controller tag from <body> to <html> because otherwise it wouldn't recognize ng-bindings in the header.

Related to duplicati/duplicati#2437
2017-09-17 13:46:40 +02:00
Rune Henriksen 2c394a5e64 Fix for duplicati/duplicati#2617
I moved the "delete log file on service start" functionality into DEBUG mode so that release versions of duplicati won't wipe out it's logs on service restart.

I wanted to retain the functionality for testing (no point having gigantic debug logs when debugging).
2017-09-17 04:07:37 +02:00
Kenneth Skovhede 81f22826ca Changed S3 IAM to only use the bucket name in the policy document. 2017-09-16 20:29:44 +02:00
Kenneth Skovhede 60e34ed26e Version bump to v2.0.2.6-2.0.2.6_canary_2017-09-16
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.2.6_canary_2017-09-16.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.2.6_canary_2017-09-16.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.2.6_canary_2017-09-16.zip.sig.asc

MD5: 10988fc998523530f2f141652b0d08f0

SHA1: e5a8d86613e9f037f2815304d5d6bc675a287018

SHA256: 38dbc9d9fe2077d49265276261d41366f80d32eb7fa6558b4cebd6d8ec5f688a
v2.0.2.6-2.0.2.6_canary_2017-09-16
2017-09-16 19:39:35 +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
Kenneth Skovhede 50571c8b13 Merge branch 'master' of github.com:duplicati/duplicati 2017-09-16 14:22:35 +02:00
Tyler Gill 3c15b73c76 Normalize whitespace and replace Now.ToUniversalTime() with UtcNow. 2017-09-15 20:51:15 -07:00
Tyler Gill b7c718a6cc Merge branch 'master' of https://github.com/duplicati/duplicati into feature/default-filters 2017-09-15 20:40:54 -07:00
Igor Urazov 30069594a9 Decrease server's CPU and IO scheduling priority
Setting low priority helps to run background process truly in background
and provides CPU cycles to Duplicati only if no other process requires
them.
2017-09-15 15:00:51 +03:00
Kenneth SkovhedeandGitHub d44a20a7f8 Merge pull request #2721 from albertony/log_tz
Fixed time zone of log timestamps
2017-09-15 12:58:53 +02:00
Albertony 212e1a165a Fixed issue #2165: Log timestamps have wrong time zone 2017-09-15 10:20:47 +02:00
Kenneth Skovhede 4e5fb1aaa6 Also allow "all" as the interface.
This fixes #2706
2017-09-15 08:49:33 +02:00
Tyler Gill ba0ae2df2e Merge branch 'master' of https://github.com/duplicati/duplicati into feature/default-filters 2017-09-14 23:19:32 -07:00
Tyler Gill 34fa0713f4 Merge branch 'master' of https://github.com/duplicati/duplicati into feature/source-volume-label 2017-09-14 23:16:18 -07: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
Kenneth Skovhede 61e58aca9e Version bump to v2.0.2.5-2.0.2.5_canary_2017-09-14
You can download this build from:

Binaries: https://updates.duplicati.com/canary/duplicati-2.0.2.5_canary_2017-09-14.zip

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.2.5_canary_2017-09-14.zip.sig

ASCII signature file: https://updates.duplicati.com/canary/duplicati-2.0.2.5_canary_2017-09-14.zip.sig.asc

MD5: eb4be7c227e15e61d8e2ac2da150579e

SHA1: 7e45fca5e53e1a5bef3bad09f9513817025ff95d

SHA256: 2a7fc4ffb5ac8d419f301bb465ac70c9e7fc2325839fba83be8222307b90bfe2
v2.0.2.5-2.0.2.5_canary_2017-09-14
2017-09-14 22:11:27 +02:00
Kenneth SkovhedeandGitHub 53a6ba4ca7 Merge pull request #2718 from fuffenz/master
Changed default values in Sia, improved error handling
2017-09-14 12:28:04 +02:00
Kenneth SkovhedeandGitHub b172b8e25e Merge pull request #2716 from opencollective/opencollective
Activating Open Collective
2017-09-14 10:37:19 +02: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 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