Commit Graph
3969 Commits
Author SHA1 Message Date
Kenneth Skovhede c01ab02712 Added support for "splitting" a root path.
This is a potential fix for #3637
2019-02-04 17:32:56 +01:00
Kenneth Skovhede 8b3dfcace8 Fixed the database upgrade script to copy over file IDs to avoid breaking databases on upgrade 2019-01-30 11:03:44 +01:00
Rune HenriksenandGitHub c1578c6c0e Merge pull request #3631 from warwickmm/remove_optional_parameters
Make parameters to Controller.ListControlFiles method required
2019-01-26 09:11:36 +01:00
Kenneth Hsu df32525a47 Make parameters to Controller.ListControlFiles method required.
There is only one usage of this method, and it provides both parameters.
2019-01-25 20:19:33 -08:00
Rune HenriksenandGitHub f5f353fe19 Merge branch 'master' into feature/fix_path_storage2 2019-01-25 23:37:57 +01:00
Rune HenriksenandGitHub 11ab3f5bc5 Merge pull request #3623 from warwickmm/remove_optional_parameters
Remove optional parameters from Controller.List overloads
2019-01-25 23:30:11 +01:00
Rune HenriksenandGitHub c4dcda3572 Merge pull request #3628 from warwickmm/remove_unused_method
Remove unused RecreateDatabase method
2019-01-25 23:29:03 +01:00
Kenneth SkovhedeandRune Henriksen 5327d0bebe Fixes for #3596 (#3630)
* backend: azure: add userAgent to requests

* Added dynamic Duplicati version in user-agent header for Azure
2019-01-25 23:20:07 +01:00
Kenneth Hsu 5e0b44b32c Remove unused method. 2019-01-22 21:13:07 -08:00
Kenneth Hsu b75b439772 Make optional parameter required.
There is only one usage of this method that did not provide value for
the filter parameter.  By making this parameter required, we can avoid
the many issues that arise with optional parameters (default values
being embedded at the call sites, ambiguous overload resolution, etc.).
2019-01-22 17:53:25 -08:00
Kenneth Hsu 8abce38215 Remove unnecessary optional parameter.
No current usages of this method provide an argument for this parameter.
2019-01-22 17:44:55 -08:00
Kenneth Hsu b5d9451b33 Remove redundant casts. 2019-01-21 19:30:52 -08:00
Kenneth Skovhede f5de77053a Added explicit isroot property, and changed to be a string generated from false.ToString() 2019-01-16 14:22:24 +01:00
Kenneth Skovhede e39c584997 Merge branch 's3_object_inits' of https://github.com/verhoek/duplicati into verhoek-s3_object_inits 2019-01-16 14:18:33 +01:00
Kenneth SkovhedeandGitHub 8f2fbe5692 Merge pull request #3601 from warwickmm/bugfix/google_drive_quota
Fix quota reporting with Google Drive backend
2019-01-13 10:52:50 +01:00
Kenneth SkovhedeandGitHub 1ec4770001 Merge pull request #3600 from balchen/master
Call SetWorkingDirectory every time an open FTP connection is request…
2019-01-13 10:52:10 +01:00
Kenneth SkovhedeandGitHub b961fbd744 Merge pull request #3584 from Pectojin/remove_build_lookup_table_method
Remove unsed method and call
2019-01-13 10:31:24 +01:00
Kenneth Hsu 953daae9bb Fix quota reporting with GoogleDrive backend.
The second argument to QuotaInfo is the amount of free space.
Previously, we were providing the amount of bytes used.
2019-01-12 19:27:15 -08:00
Jens Glad Balchen 2139faa91b Call SetWorkingDirectory every time an open FTP connection is requested to prevent files from ending up in the root folder if FtpClient fails and silently reconnects.
Fix for issue #3592
2019-01-12 23:32:34 +01:00
verhoek 97c26adcbb Refactored into one responsibility functions. 2019-01-12 17:08:08 +01:00
verhoek 7543f2999a Fixed typo. 2019-01-12 16:10:34 +01:00
verhoek ed38d19ac7 Made helper methods static. 2019-01-12 15:58:57 +01:00
verhoek e412b404be Rewrote CanCreateUser in a more verbose way. 2019-01-12 15:46:30 +01:00
MaxandRune Henriksen 65e79a276b fix for unc paths in prefixes (#3599) 2019-01-12 01:12:51 +01:00
Rune Henriksen 639edc1e36 removed reference to deleted method 2019-01-11 20:16:59 +01:00
Rune Henriksen f43d094a23 set argument as disabled and remove flag toggle method 2019-01-11 20:11:30 +01:00
Kenneth SkovhedeandGitHub e3c66271a5 Merge pull request #3559 from verhoek/auto_updater/allow_for_new_key
Autoupdater : Allow generation of alternative priv/pub key pair
2019-01-11 17:37:12 +01:00
verhoek 9fa2e7c453 Code improvements. 2019-01-11 13:19:36 +01:00
verhoek 68d1ba4b39 Replaced type by var. 2019-01-11 13:19:21 +01:00
Rune Henriksen 50dd5834de upgraded mega api to 1.7.1 2019-01-08 23:01:11 +01:00
verhoek d5119d2422 Simplifying object initialization. 2019-01-06 18:41:57 +01:00
Kenneth Hsu 02e1a02100 Further clarify that remote files are used for verification. 2019-01-05 10:22:58 -08:00
Kenneth Hsu 8bf9c73dbc Clarify help text for verification options.
This will hopefully make it clearer that the files being selected for
verification are those on the remote backend, and not user files that
are being backed up.
2019-01-05 10:00:39 -08:00
HendrikandGitHub c34c66bd34 Merge pull request #3582 from warwickmm/backup_test_percentage
Add option to specify percentage of samples for verification
2019-01-05 18:52:27 +01:00
HendrikandGitHub da64b4447f Merge pull request #3581 from warwickmm/avoid_redundant_path_separator
Avoid redundant calls to Util.AppendDirSeparator
2019-01-05 16:47:00 +01:00
Rune Henriksen f696842877 remove unsed method and call 2019-01-05 00:30:43 +01:00
Rune HenriksenandGitHub a951987dcd Merge pull request #3577 from warwickmm/remove_unused_local_variables
Remove unused local variables
2019-01-05 00:13:55 +01:00
Kenneth Hsu b4232ce1bf Provide more meaningful exception message. 2019-01-04 13:02:58 -08:00
Kenneth Hsu 52790cc7a9 Throw exception if backup-test-percentage is out of range. 2019-01-04 12:21:37 -08:00
Kenneth Hsu edfa7096f6 Add option to specify percentage of samples for verification.
This addresses issue #3296.
2019-01-02 15:51:19 -08:00
Kenneth Hsu 9c7f71a63d Remove unnecessary newline. 2019-01-02 15:45:53 -08:00
Kenneth Hsu ca6bbdc37a Remove unnecessary line breaks. 2019-01-02 15:45:53 -08:00
Kenneth Hsu 16da136a6a Avoid redundant addition of trailing slashes to folder names.
The trailing slash is added when the folder name is pushed onto the
stack.
2019-01-02 15:45:53 -08:00
Kenneth Hsu 7dc240d447 Avoid redundant addition of trailing slashes to folder names.
The Utility.EnumerateFilesAndFolders method will append the trailing
slash as needed.
2019-01-02 15:45:53 -08:00
HendrikandGitHub 0c53219958 Merge pull request #3573 from warwickmm/remove_empty_finally
Remove empty finally blocks
2019-01-02 22:12:36 +01:00
Kenneth Hsu 577154df00 Remove unused local variables. 2018-12-31 15:02:59 -08:00
Kenneth Hsu a179a535c8 Rename local variables to better indicate that they are unused. 2018-12-31 14:59:47 -08:00
Kenneth Hsu fcf89764c3 Remove unnecessary calls to ToString. 2018-12-31 14:29:44 -08:00
Kenneth Hsu e65bf19221 Remove unused String.Format arguments.
We also make use of string interpolation to improve readability.
2018-12-31 14:24:14 -08:00
Kenneth Hsu b7f28aa9f9 Remove empty finally blocks.
Empty finally blocks serve no purpose.  In cases where no exceptions are
caught, we removed the try as well.
2018-12-31 14:00:43 -08:00