Commit Graph
446 Commits
Author SHA1 Message Date
Kenneth Skovhede 71c4bb4d3d Merge branch 'master' into experiment/quickfix_concurrent
# Conflicts:
#	Duplicati/Library/Main/BackendManager.cs
#	Duplicati/Library/Main/Database/ExtensionMethods.cs
#	Duplicati/Library/Main/Operation/BackupHandler.cs
#	Duplicati/Library/Main/Operation/TestFilterHandler.cs
#	Duplicati/Library/Main/Options.cs

Manually ported the `IsSynlink` changes as well as the DNS refresh code
2018-03-02 09:06:13 +01:00
Tyler Gill 62351d4b48 Write standard output even when the --verbose flag is specified.
Some information about the backup diagnostics doesn't seem to get logged when using the --verbose flag.
So this changes it to log the verbose stuff first, and then also log the regular backup diagnostics.
2018-02-07 10:35:16 -07:00
Kenneth Skovhede 2e5510e126 Changed the wording for downloads with unknown file sizes 2018-01-26 13:06:03 +01:00
wjan 687a6b8887 Merge branch 'master' of https://github.com/duplicati/duplicati into rclone 2018-01-19 08:21:05 +01:00
wjan d8efebfe8a corrects changes in app.config files and other unnecessary file changes 2018-01-18 21:22:54 +01:00
Kenneth Skovhede a6df0cf292 Updated the UI to use the new donation page instead of embedding the destination urls/addresses in the program code. 2018-01-18 13:48:40 +01:00
wjan 8500988d7c adds rclone UI and backend improvements 2018-01-10 15:33:28 +01:00
mr-flibbleandGitHub 7d0e617d0a Update help.txt
Added --dry-run to delete command
2017-12-29 10:24:15 +01:00
vnau e78c3f8650 Removed throw expressions to avoid Microsoft compiler bug. 2017-12-25 22:59:17 +07:00
vnau 62a7901aca Compression modules refactored to work with streams instead of filenames;
Added unit test to check compression reversibility
2017-12-25 04:12:19 +07:00
vnau 01ec66cdc5 Removed AutoGenerateBindingRedirects compile warnings. 2017-12-17 01:50:17 +07:00
Kenneth SkovhedeandGitHub 36aadc4ad1 Merge pull request #2910 from warwickmm/refactor/remove_redundant_tostring
Remove redundant calls to ToString
2017-11-27 08:50:00 +01:00
Kenneth Hsu 5fb1958ceb Remove redundant calls to ToString. 2017-11-26 15:44:34 -08:00
Kenneth Hsu 8810e0130d Make string comparisons use ordinal (binary) sort rules.
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Kenneth Skovhede f4511d0bbb Updated the affected command to check if the local database is found, and to return an error if not.
Also updated the help text to indicate that a database is required.
2017-11-09 17:59:36 +01:00
Kenneth SkovhedeandGitHub 18d4aaae4e Merge pull request #2853 from duplicati/Bitcoin-address-change
Bitcoin address change
2017-10-30 10:36:55 +01:00
René StachandGitHub 8f660bae22 Switch address to same as restore dialog in UI 2017-10-28 10:27:09 +02:00
René StachandGitHub db0a81736c Update Bitcoin address in CLI 2017-10-28 10:23:48 +02:00
Kenneth Hsu 3d51e9153b Avoid signing assemblies.
Using strong-named assemblies can cause difficulties with the GNU LGPL
license, which allows for one to recombine or relink their application
with modified versions of the code.  While one solution is to share the
private key so that people can sign the assemblies themselves, this
would break the trust that is expected from signed assemblies.  For now,
the easiest fix is to simply not sign the assemblies.  Note that by
doing so, we prevent the code from being referenced from other signed
assemblies.

This also fixes an issue introduced in revision ba94d36a80 ("Added
auto-update for WindowsService and Service."), where the WindowsService
project (signed) referenced the AutoUpdater project (not signed).

We also removed instances of <SignAssembly>false</SignAssembly> to be
consistent with newly created .csproj files that do not contain the
SignAssembly element.

This was motivated by the discussion in issue #2814.
2017-10-15 22:00:23 -07:00
Kenneth SkovhedeandGitHub 33314ce7c9 Merge pull request #2763 from tygill/fix/list-ienumerable
Change IBackend.List() to return IEnumerable instead of List
2017-09-28 11:06:41 +02:00
Kenneth SkovhedeandGitHub 11be1ba73b Merge pull request #2770 from warwickmm/bugfix/bad_string_format_item
Fix incorrect format item in format string
2017-09-28 11:02:54 +02:00
Kenneth Hsu 4673fe8eee Convert if statement to switch statement.
When the comparison is performed on an enum, using a switch statement
can allow for additional compiler optimizations.
2017-09-26 21:32:58 -07:00
Kenneth Hsu bd98273067 Convert if statement to switch statement.
When the comparison is performed on an enum, using a switch statement
can allow for additional compiler optimizations.
2017-09-26 21:01:33 -07:00
Kenneth Hsu 210ecdf118 Convert if statement to switch statement.
When the comparison is performed on an enum, using a switch statement
can allow for additional compiler optimizations.
2017-09-26 21:00:19 -07:00
Kenneth Hsu ce1577fbc2 Fix incorrect format item in format string. 2017-09-26 19:32:08 -07:00
Tyler Gill 38883285ee Change IBackend.List() to return IEnumerable instead of List
By changing to IEnumerable, it is possible to iterate only a portion of the list, which is useful when not all entries are needed (e.g., when testing a connection).
All existing backends have been updated, and any which were able to be changed to yield return results in a straightforward way now do.
Many backends had a try/catch in the List() method. Due to the fact that yield returns can't be placed within a try/catch block, these have been refactored to either scope the try/catch to the parts that (should) be the only places throwing exceptions, so that exceptions are still caught and handled.
Note that lazy evaluation may cause some changes in behavior - exceptions that were previously thrown at the point of invokation of List() may now be thrown while it is being enumerated.
I believe this will not be problematic though, as the only well-known exception seems to be FolderMissingException, which should be thrown by Test(), but TestList() attempts to enumerate the list to force this exception.
Any places that require the legacy behavior can get it by simply converting the lazy enumerable to a List()
2017-09-25 23:17:45 -06:00
Kenneth Skovhede 6c921ab3ec Merge branch 'master' of github.com:duplicati/duplicati 2017-09-23 22:01:08 +02:00
Kenneth SkovhedeandGitHub ef3eb1854a Merge pull request #2752 from tygill/feature/onedrive-quota-rename
Add support for the quota reporting and renaming interfaces to the OneDrive backend
2017-09-23 15:05:22 +02:00
Kenneth Skovhede a06f38442a Updated all Newtonsoft.Json packages 2017-09-23 00:25:50 +02:00
Tyler Gill 1498941052 Update command line message. 2017-09-22 00:31:15 -06:00
Tyler Gill 7c3ce32ee2 Add support for the quota reporting and renaming interfaces to the OneDrive backend.
To test the quota support, quota information is reported on the command line if it is available.
However, the rename support hasn't been tested, since I don't see anything using that functionality yet.
2017-09-22 00:30:10 -06:00
Tyler Gill 811acac073 Fix warning that the default-filters parameter isn't supported. 2017-09-21 23:44:24 -06: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 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 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 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 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 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 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
Kenneth SkovhedeandGitHub f9b31fde5e Merge pull request #2712 from tygill/fix/send-mail-level-help
Add Fatal and All to the list of levels for --send-mail-level in the help
2017-09-12 13:27:39 +02:00
Tyler Gill 875266810f Add Fatal and All to the list of levels for --send-mail-level in the help. 2017-09-11 23:08:10 -07:00
Tyler Gill 5c7500973e Add support for wildcards in source paths on Windows.
This causes backup to run for the given path on all drives, and can be useful in the case where removable drives may change letters randomly.
2017-09-10 13:18:49 -07:00
Ulf Hedlund 5e1eb0b718 Added Sia as a backend provider 2017-08-31 22:37:04 +02: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 a0d9ad5d4e Changed --backup-prefix hint texts to --prefix.
This fixes #2548
2017-06-19 22:06:35 +02:00
Dan Stahr dd20278690 Make Jottacloud available to public. 2017-06-10 11:15:06 +01:00