Commit Graph
547 Commits
Author SHA1 Message Date
Kenneth Skovhede 86e3e97692 Pin version to work better with the build script 2019-05-12 21:46:40 +02:00
Kenneth Hsu f4c886e8f8 Add comment to explain unused method. 2019-05-06 20:03:21 -07:00
Kenneth Hsu 246071b6ba Revert "Remove unused YouMayGetMoreHelpHere method."
This reverts commit 2c9fabd2ed.

This is a placeholder message that is intended to be used with the code
for each error and log message. The idea is that the commandline will
use the code to provide a link to the forum, searching for the code,
such that it is easy to maintain a list of help links.
2019-05-06 20:02:55 -07:00
Kenneth Hsu 2ce23c647a Remove unused ConsoleLogTarget class.
This was introduced in revision 842fd96543
without any apparent usages.
2019-04-27 16:16:22 -07:00
Kenneth Hsu 2c9fabd2ed Remove unused YouMayGetMoreHelpHere method. 2019-04-27 16:12:39 -07:00
Kenneth SkovhedeandGitHub 83bb725dc6 Merge pull request #3740 from warwickmm/remove_unused_local_variables
Remove unused local variables
2019-04-25 13:22:39 +02:00
Kenneth Hsu 457254d9e1 Remove unused local variables. 2019-04-17 20:10:53 -07:00
Kenneth Hsu f9419ca9eb Make ConfigurationImporter class static.
This class is not meant to be instantiated.
2019-04-14 12:52:54 -07:00
Kenneth Hsu f777b49d7c Move ConfigurationImporter project files to reflect namespace.
This places the files in a location that is more consistent with the
other command line tools.
2019-04-14 12:46:34 -07:00
Kenneth SkovhedeandGitHub 57b28182cb Merge pull request #3684 from seantempleton/parallelupload
Implement parallel uploads to a single backend
2019-03-19 08:41:33 +01:00
Sean Templeton b02b19e683 Change Put method name to PutAsync 2019-03-17 18:28:45 -05:00
Sean Templeton 662627a98a Update AlternativeFtp Backend for async Put
Removed System.Net.FtpClient and added the FluentFTP Nuget package which
is the new name of System.Net.FtpClient.
2019-03-03 21:43:13 -06:00
Sean Templeton 0c122ff550 Change IBackend and IStreamingBackend to return Task for Put() 2019-03-03 21:43:10 -06:00
verhoek 1df0ffdd53 Remove unused imports. 2019-02-25 11:35:43 +01:00
kesava-wowandGitHub 851cc90a28 update 'help compare' to reflect removal of --verbose 2019-02-10 08:28:21 +00:00
Kenneth Hsu 1ea1c58e58 Remove condition that is always true. 2019-01-02 15:44:40 -08:00
Kenneth Hsu 036a0ee8b0 Remove unused variable. 2018-12-31 19:31:03 -08:00
Kenneth Hsu a6153c3cd8 Do not explicitly rethrow exception.
When rethrowing an exception, we should do it by simply calling throw;
and not throw exc;, because the stack trace is reset with the second
syntax, making debugging a lot harder.
2018-12-31 15:25:57 -08:00
Kenneth SkovhedeandGitHub 8d3ed27ac9 Merge pull request #3538 from LacunaSoftware/improve-backup-logs-ui
New improvements on Backup Logs UI
2018-12-13 15:01:16 +01:00
Mikael Mello 965bd6d761 result-classes: rename properties of RestoreResults to be consistent with BackupResults 2018-12-12 12:14:11 -02:00
Kenneth Hsu 8dd3aeaf26 Use invariant culture in calls to ToLower and ToUpper. 2018-12-11 21:21:07 -08:00
Kenneth Hsu bb4e5a1d18 Use consistent comment for no-op methods. 2018-12-09 21:42:40 -08:00
Kenneth Hsu bde56dd0cd Replace backing field with auto-implemented property. 2018-12-09 20:23:05 -08:00
Kenneth Hsu 7e6fa8a202 Convert write-only IMessageSink.OperationProgress property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 20:23:05 -08:00
Kenneth Hsu 1764b9ad4e Convert write-only IMessageSink.BackendProgress property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 20:23:05 -08:00
Kenneth Hsu d7c711adb1 Remove redundant calls to ToString. 2018-11-18 17:24:02 -08:00
verhoek ab12be6bbd Renamed IsClientLinux to IsClientPosix . 2018-11-03 09:26:04 +01:00
verhoek 72b1f6b6f8 Updated project files. 2018-11-02 22:45:07 +01:00
verhoek 8bb406cd15 Migrated to use the platform class. 2018-11-02 22:17:16 +01:00
verhoek b2cc18426c Renamed Library.IO to Library.Common.IO.
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek 9fb38ebe9a Continuation of Util.DirectorySeparatorString replacements. 2018-11-02 17:48:17 +01:00
verhoek 1275f14405 Replaced DirectorySeparatorChar.ToString() calls. 2018-11-02 17:45:00 +01:00
verhoek bc053df294 Moved basic IO helper functions to Library.IO. 2018-10-27 12:17:07 +02:00
Rune HenriksenandGitHub cdf8dd44f4 Merge pull request #3437 from LacunaSoftware/target-newest-windows
Target Windows 8.1 and 10 in order to get correct OS Version
2018-10-19 21:05:55 +02:00
Mikael Mello 9eb9ec004d Target Windows 8.1 and 10 in order to display correct version in UI 2018-10-17 10:37:44 -03:00
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 9e0b031fee Remove unused members. 2018-10-15 21:20:30 -07:00
Rune HenriksenandGitHub be7edb580d Merge pull request #3410 from warwickmm/simplify_enumerating_collections
Simplify enumeration of collections
2018-10-07 19:06:28 +02:00
Kenneth Hsu b824c86c7e Avoid unnecessary enumeration of collections.
This improves performance by using Any() to avoid unnecessary
enumeration of collections.
2018-10-06 16:20:18 -07:00
Kenneth Hsu 0c1ac9c489 Replace chained LINQ calls with call to overload with predicate.
This simplifies the code by reducing the number of enumerators created
while also making the code slightly more readable.
2018-10-06 16:20:18 -07:00
Kenneth Hsu d72128ec83 Remove unused method parameters. 2018-10-06 15:09:43 -07:00
Rune HenriksenandGitHub b9efd3a3a7 Merge pull request #3400 from warwickmm/fix_potential_null_reference
Check for null reference before accessing property
2018-10-01 23:20:24 +02:00
Kenneth Hsu cd538de4b9 Check for null reference before accessing property. 2018-09-29 16:49:05 -07:00
Kenneth Hsu 11689159eb Disable warning about unreferenced field.
This field is unreferenced, but we might now want the object to be
disposed of by the garbage collector.
2018-09-29 13:38:11 -07:00
Kenneth Hsu 81875adcfb Restore removed reference to system settings context.
This initializes some state and is IDisposable, so it is not so trivial
to remove.
2018-09-29 13:20:16 -07:00
Kenneth Hsu 9ce1e807c7 Remove unused variables and fields. 2018-09-29 10:41:27 -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
Rune HenriksenandGitHub 0901d3f62f Merge pull request #3387 from warwickmm/ordinal_case_insensitive_comparison
Use ordinal case-insensitive comparison instead of ToLower and ToUpper
2018-09-20 23:33:21 +02:00
Kenneth Hsu 0d23302220 Use ordinal case-insensitive comparison instead of ToLower. 2018-09-19 15:21:59 -07:00