Commit Graph
152 Commits
Author SHA1 Message Date
Kenneth Skovhede 68d2f10475 Merge branch 'master' of github.com:duplicati/duplicati 2018-10-17 14:37:52 +02:00
Kenneth Skovhede 975baf2579 Reporting the error id to the WebUI 2018-10-17 14:37:43 +02:00
Kenneth Hsu d72128ec83 Remove unused method parameters. 2018-10-06 15:09:43 -07:00
Kenneth Hsu d4692e2d35 Use built-in method to expand environment variables.
After we removed the tilde expansion in revision c9aa6cf5fb ("Avoid
performing tilde expansion"), the Utility.ExpandEnvironmentVariables
method simply called System.Environment.ExpandEnvironmentVariables.  We
can simplify the code by just referencing the built-in method directly.
2018-09-22 19:59:46 -07:00
Kenneth Skovhede f13dbfbdde Re-added the input debug code that apparently got lost somewhere 2018-06-30 18:48:07 +02:00
verhoek 3fb7175931 Merge remote-tracking branch 'origin/master' into feature/tempdir
# Conflicts:
#	Duplicati/Server/Runner.cs (copied readonly prop)
2018-06-07 16:37:40 +02:00
verhoek 3fd6c3c602 Merge remote-tracking branch 'origin' into feature/tempdir 2018-05-26 22:55:29 +02:00
Kenneth Hsu f12858e6a5 Mark fields that shouldn't be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
verhoek ea4302e45d Rewrote parsing aliases of parameter file option in a loop. 2018-05-23 21:28:41 +02:00
verhoek 29eebaec5b Rewrote parsing aliases of parameter file option in a loop. 2018-05-23 20:02:24 +02:00
verhoek 7450f498be Revert "Removed weird mixed up if's."
This reverts commit 9f07a09621.
2018-05-23 19:40:29 +02:00
verhoek e4398d3b68 Fixed broken help output in commandline.
E.g. "help find" works again.
2018-05-20 16:51:53 +02:00
verhoek 9f07a09621 Removed weird mixed up if's. 2018-05-20 16:51:47 +02:00
Hendrik 9dde00b937 Removed unused argument in command line parser. 2018-04-29 19:59:50 +02:00
Hendrik f4cc059630 Made internal functions private. 2018-04-29 19:53:49 +02:00
Hendrik 2206ea08db Refactoring of parsing for command line options. 2018-04-29 18:51:22 +02:00
Kenneth Skovhede 842fd96543 Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
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