Commit Graph
135 Commits
Author SHA1 Message Date
Kenneth Hsu 5fb1958ceb Remove redundant calls to ToString. 2017-11-26 15:44:34 -08:00
Tyler Gill 811acac073 Fix warning that the default-filters parameter isn't supported. 2017-09-21 23:44:24 -06: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 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
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
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 6855824285 Rewrote the commandline to support plug-able output 2017-04-04 16:57:30 +02:00
frelis 7d081d1628 Remove sencod call
Removed second call of the IgnoreWebrootFolder because the calls is
shared
2017-03-09 08:47:02 +01:00
frelis 397c769119 Update manager : Ignore webroot Folder
Added a property to ignore, if set, the webroot folder, when checking if
the update packages  are not tampered

fixes duplicati/duplicati#2266
2017-03-08 14:50:59 +01:00
Kenneth Skovhede e79cfa4d6f Merge branch 'feature/fix_send_mail' 2017-01-12 09:28:12 +01:00
Kenneth Skovhede 6bb1579aa9 Updated MailKit, fixed a bug with DnsLite, added backward compatible tls support from MailKit.
This fixes #1540.
This fixes #1948.
This fixes #2060
This fixes #2225
2017-01-09 23:21:00 +01:00
Kenneth Skovhede a029890409 Implemented better default error messsages 2017-01-09 11:35:38 +01:00
Kenneth Skovhede 1108d51d7f Implemented a new new list-broken-files and purge-broken-files command for the commandline to assist with handling remote file loss. 2017-01-05 16:46:01 +01:00
Kenneth Skovhede 4bf4871427 Added commandline operation to purge select files from filesets.
This fixes #1009.
This paves the way for #1337.
2016-12-29 22:41:13 +01:00
Kenneth Skovhede b4c9fa65af Formatting and White-space fix 2016-12-01 23:16:15 +01:00
Kenneth Skovhede 2c5d95385f Added shutdown of the usage reporter.
This should fix #1892
2016-12-01 23:15:49 +01:00
Max 041c2c66e3 small fix
set current directory to allow .\path\ expansion
2016-10-11 20:00:50 +02:00
Kenneth Skovhede 9d4c808995 Minor fixes to the help-text layout 2016-09-27 20:41:19 +02:00
Kenneth Skovhede 3441bdb1c5 Tabs-to-spaces fix 2016-09-23 14:11:53 +02:00
Kenneth Skovhede 9eb0d6f782 Added example commands, this fixes #1927 2016-09-23 10:47:59 +02:00
Kenneth Skovhede 0c68daff6c Fixed all whitespace to be 4 spaces instead of tabs 2016-09-15 11:39:27 +02:00
Kenneth Skovhede af96b17991 Added alias "test-filter" == "test-filters" to commandline.
This closes #1537
2016-01-12 10:28:24 +01:00
Kenneth Skovhede 147d03248e Renamed --filter to --replace-filter in the parameters file as that is a more precise description of what it does 2015-12-27 22:28:03 +01:00
Kenneth Skovhede 2555e48945 Implemented support for modifying the filter option in external modules as requested in #1526.
Also added support for supplementing/replacing filters from the --parameters-files.
This closes #1526.
2015-12-27 00:16:45 +01:00
Kenneth Skovhede 147f55e1c6 Added usage reporter to keep track of most-wanted features and to get an overview of how and why Duplicati crashes 2015-12-22 00:35:00 +01:00
Kenneth Skovhede 4254c3cafb Improved logic for handling --source in --parameters-file in CommandLine tool 2015-09-17 20:03:26 +02:00
Kenneth Skovhede 473763fa27 Extended the reported system info, and made it available from the commandline. 2015-09-11 11:21:12 +02:00
Kenneth Skovhede 60bd9693d0 Imporved handling of the ~ character in paths 2015-09-05 09:14:21 +02:00
Kenneth Skovhede 8018545cff Added a simple restore tool for recovering data from a broken backup.
This fixes #1439.
2015-08-21 21:59:12 +02:00
Kenneth Skovhede b01af6e057 Implemented more unittests 2015-04-10 22:29:52 +02:00
Kenneth Skovhede e3cc53224b Implemented basic unittest structure instead of wrapping it inside the CommandLine project 2015-04-09 21:54:39 +02:00
Kenneth Skovhede 3149064cde Merge branch 'no_more_resx' 2015-01-20 21:45:54 +01:00
Kenneth Skovhede 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede 16c791f0b5 Removed all resx files, now using Duplicati.Library.Localization exclusively 2015-01-20 21:07:24 +01:00
Kenneth Skovhede f97bdedac9 Implemented commandline method for listing affected files 2014-08-19 20:27:14 +02:00
Kenneth Skovhede ef3a62bf72 Changed the default for auto-update to be notify instead of install.
Added the --auto-update option to the commandline to allow automatic updates.
Added a new Duplicati.Library.AutoUpdater.exe tool to work with updates, especially handy if the update breaks the install and for manual handling of updates.
2014-08-17 15:45:44 +02:00
Kenneth Skovhede 9b6cf144d8 Added automatic removal of old temp files on startup in the commandline.
Added a timer to periodically purge temp files from the server.
2014-08-06 10:30:46 +02:00
Kenneth Skovhede ae8e7245f0 Removed incorrectly reported option 2014-07-22 15:15:37 +02:00
Kenneth Skovhede 5d5063aae5 Implemented a changelog feature 2014-07-09 22:43:42 +02:00
Kenneth Skovhede 8b64296584 Fixed a crash when calling the auto-updater 2014-07-09 22:15:27 +02:00
Kenneth Skovhede 9841dbc7ac Updated the autoupdater to use a static instance and fixed a number of paths to use the base dir.
Added a current pointer-file to allow running with a version that is not the newest.
Updater is now working except for OSX, where the bundle setup is causing issues when running the loaded instance.
2014-07-03 11:01:49 +02:00
Kenneth Skovhede 3510db8130 Added more controls for auto-updater from the commandline 2014-07-01 17:43:01 +02:00
Kenneth Skovhede 9b8e6141f8 Implemented the auto-update feature in the CLI and the server 2014-06-30 11:31:06 +02:00
Kenneth Skovhede 8834385854 Fixed the Autoupdate settings 2014-06-29 21:53:31 +02:00
Kenneth Skovhede 671548bd96 Initial scaffolding for supporting the auto-update using AppDomains to support seamless updates 2014-06-26 22:37:58 +02:00
Kenneth Skovhede 4c688cd643 Update issue #986
Status: Fixed

Special handling of the --include, --exclude, --parameter-file --verbose options is now in place when issuing the "help" command
2014-05-12 11:47:28 +02:00
Kenneth Skovhede 176c3e1114 Bugfix for --source in parameters file 2013-12-07 15:23:11 +01:00
Kenneth Skovhede 47bc010b3c Added test-filters command 2013-12-07 15:22:51 +01:00
Kenneth Skovhede aff431eafb Various output tweaks 2013-08-28 17:18:29 +02:00