Commit Graph
4937 Commits
Author SHA1 Message Date
Kenneth Skovhede 813e9c3140 Merge branch 'master' of github.com:duplicati/duplicati 2017-11-17 13:05:18 +01:00
Kenneth SkovhedeandGitHub 1b91111aff Merge pull request #2897 from RobSauro/master
Changed subqueries to improve folder browsing in restore
2017-11-17 12:53:10 +01:00
Tyler Gill ae1f69b5e8 Only try to load Windows registry filters on Windows.
The reason for this is that Windows filters may be used on other systems (e.g., to ignore Windows files when backing up a Windows drive)
2017-11-15 20:56:24 -08:00
Roberto Ribeiro 1ce4ccd61f Changed subqueries to improve folder browsing in restore 2017-11-15 15:16:25 -02: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 Skovhede 5c2e4112cf Merge branch 'master' of github.com:duplicati/duplicati 2017-11-09 17:38:19 +01:00
Kenneth Skovhede 6255572c25 Added a timestamp value to the end of dates in the report output for easier parsing. 2017-11-08 22:18:25 +01:00
Kenneth SkovhedeandGitHub 20877ce833 Merge pull request #2861 from jesjimher/added-dv-extension
Added dv extension
2017-11-06 20:48:14 +01:00
davegold24andGitHub 8ed6aac68b Spelling mistake loose changed to lose 2017-11-05 13:32:01 -05:00
Jesus JimenezandGitHub 6a30d27782 Added dv extension 2017-11-02 10:12:08 +01:00
Kenneth Skovhede cec0fca522 Merge branch 'feature/use-windows-exclude-paths' 2017-11-01 08:54:44 +01:00
Kenneth Skovhede 2ff3fa6a8d Added support for reading the list of folder/file exclusion from the Windows registry 2017-10-31 10:57:37 +01:00
Kenneth Skovhede f20ceab9e5 Added flags option to the enum for good measure 2017-10-31 10:56:21 +01:00
Kenneth Skovhede 09ca51bdd9 Fixed reporting the time values in the local timezone 2017-10-31 10:55:35 +01:00
Kenneth Skovhede 8bbe04f623 Fixed a case where entering an invalid value for the --number-of-retries or --retry-delay options would crash the uploader thread and bring down the server.
This fixes #2834
2017-10-30 16:12:44 +01:00
Kenneth Skovhede d97d1c3215 Re-enabled the options to disable the auto-updater 2017-10-30 16:11:17 +01:00
Kenneth Skovhede efc06b7210 Refactored the source path expansion/filtering into its own method.
Changed the check for subfolders to only work if the shortest path is a folder itself.
Changed the backup and test-filters method to use the same expansion logic so the filter test is more reliable.
This fixes #2778
2017-10-30 15:30:43 +01:00
Kenneth Skovhede 027475f494 Enabling webroot checking for the autoupdater library 2017-10-22 13:15:11 +02:00
Kenneth Skovhede 8f9977889c Fixed a few string compares
Fixed excluding webroot folder from checks
2017-10-22 13:14:36 +02:00
Kenneth Hsu c9aa6cf5fb Avoid performing tilde expansion.
The expansion being performed was often incorrect, as it's possible for
the tilde character to appear as part of the path where it should not be
expanded to the user's home directory.

Properly supporting tilde expansion is complicated and requires
additional study.  Instead of supporting it only partially, we have
decided to simplify things and just drop tilde expansion for now.  See
the discussion in issue #2619, as well as issues #2325 and #2555.
2017-10-21 10:08:33 -07:00
Kenneth Hsu 9c1e55f241 Expose field that represents users's home directory.
We will be removing support for tilde expansion, and this field can be
used instead of ~ internally in the code.
2017-10-21 09:40:18 -07: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 202a6641e5 Merge pull request #2818 from warwickmm/fix_out_of_range_arguments
Fix arguments to ArgumentOutOfRangeException constructor
2017-10-15 16:32:17 +02:00
Kenneth SkovhedeandGitHub baa869594f Merge pull request #2817 from tygill/fix/ftp-list-exception
Make sure HandleListExceptions(Func) calls HandleListExceptions(Action).
2017-10-15 16:31:35 +02:00
Kenneth Hsu 8fdbbaa255 Avoid premature declaration of backup completion.
This addresses issue #2803.
2017-10-14 12:00:52 -07:00
Kenneth Hsu 12ca6d320d Add exception message. 2017-10-14 11:54:39 -07:00
Kenneth Hsu f95b5861f5 Fix parameter name in ArgumentOutOfRangeException. 2017-10-14 11:43:31 -07:00
Kenneth Hsu 07bfc4a5da Use nameof operator instead of string literal. 2017-10-14 11:43:31 -07:00
Tyler Gill dcc9faea31 Make sure HandleListExceptions(Func) calls HandleListExceptions(Action). 2017-10-14 09:17:19 -06:00
Kenneth Hsu 1846c67aae Rename variable to be consistent with exception message. 2017-10-13 19:28:06 -07:00
Kenneth Skovhede 58065c9972 Updated FasterHashing. This enables automatic loading of OpenSSL on Linux and Windows using the most common names for OpenSSL libraries without needing a <dllmap> hack. 2017-10-13 11:53:14 +02:00
Kenneth Skovhede beb88aecad Merge branch 'feature/add-macos-powersupply-detection' 2017-10-12 12:50:59 +02:00
Kenneth Skovhede 7537bb72fc Added options to run the update manager in a "check" mode that shows if it thinks the updated versions are modified or not 2017-10-12 11:40:40 +02:00
Kenneth Skovhede 124a5c4cf5 Added temporary option to allow switching between the auto update invoke methods, in case we need to test something on installed machines 2017-10-12 11:17:45 +02:00
Kenneth Skovhede 7ccd05348e Added support for reading the power supply state on MacOS 2017-10-11 21:48:31 +02:00
Kenneth Skovhede 6ad0fa649e Re-wrote the auto-updater to use process spawning instead of AppDomain loading to execute updates. 2017-10-11 12:49:14 +02:00
Kenneth Skovhede f03965eb65 Fixed compile error after refactor 2017-10-11 08:58:58 +02:00
Kenneth Skovhede 451c71ccb1 Changed remote-file delete logic to only delete files that look like Duplicati files and have the correct prefix.
This fixes #2678
2017-10-10 16:44:06 +02:00
Kenneth Skovhede 78c5bdac0c Updated FasterHashing 2017-10-10 13:47:31 +02:00
Kenneth SkovhedeandGitHub b907aa607a Merge pull request #2802 from warwickmm/fix_line_endings
Fix line-ending characters
2017-10-10 13:43:37 +02:00
Kenneth SkovhedeandGitHub 45f816571e Merge pull request #2801 from warwickmm/dispose_enumerators
Dispose enumerators after manually iterating over elements
2017-10-10 13:43:09 +02:00
Kenneth Hsu 8bac875311 Fix line-ending characters. 2017-10-07 13:59:46 -07:00
Kenneth Hsu 604b6e4337 Dispose enumerators after manually iterating over elements.
Since the IEnumerator<T> interface implements IDisposable, we should
make sure to dispose of the enumerator when manually iterating over the
elements.
2017-10-07 12:27:11 -07:00
Tyler Gill b0887af743 Fix a few default filters. 2017-10-05 22:47:55 -06:00
Kenneth SkovhedeandGitHub 38a8d11266 Merge pull request #2781 from TekkiWuff/retention-policy
Retention Policy
2017-10-04 15:12:19 +02:00
Kenneth SkovhedeandGitHub 433fced587 Merge pull request #2790 from tygill/fix/file-quota
Fix FileBackend's quota detection for non-drive letter roots by fallng back to GetDriveFreeSpaceEx
2017-10-04 15:06:15 +02:00
Kenneth SkovhedeandGitHub 5a911bfb13 Merge pull request #2785 from warwickmm/feature/detect_power_supply
Add preliminary support for detecting power supply source
2017-10-04 15:04:59 +02:00
Kenneth SkovhedeandGitHub b4ef0e0f77 Merge pull request #2780 from warwickmm/feature/get_unique_items
Add method to get unique items and duplicates from collection
2017-10-04 14:56:41 +02:00
Kenneth Hsu 8573ab2cd3 Add ability to detect power supply source on Windows. 2017-10-03 18:53:28 -07:00
Kenneth SkovhedeandGitHub 1df44989d2 Update LocalListChangesDatabase.cs
Fixed issue with filters and ListCchanges / Compare
2017-10-03 11:08:43 +02:00