Commit Graph
4937 Commits
Author SHA1 Message Date
verhoek 01206a711c Exploiting Path.Combine's multiple string capability. 2018-11-01 13:03:29 +01:00
verhoek 84edc2c91e We hide IsPathTooLong from higher levels.
Respect the apparent previous approach to first try to fall back on System.IO
in case a path is too long or starts with a long UNC.
2018-10-31 13:08:14 +01:00
verhoek 0aa62975b7 Simplified ListFolders similarly to ListFiles. 2018-10-31 13:07:04 +01:00
verhoek 30b6e075e9 AlphaFS does not require adding long UNC. 2018-10-31 12:33:22 +01:00
verhoek bd3bb04f86 Restructed ListFiles to be more understandable. 2018-10-31 12:32:35 +01:00
verhoek 8954679b7a Reverted snapshot base to use standard system.io . Only overriden methods use Library.IO wrappers. 2018-10-31 12:32:07 +01:00
verhoek dd74245b75 Handled GetFiles calls at risky spots in combination with PathTooLongExceptions. 2018-10-30 17:16:13 +01:00
verhoek a90f577624 Redirected GetDirectories calls to Library.IO's version. 2018-10-30 13:38:25 +01:00
verhoek 4d8155fa43 Merge remote-tracking branch 'origin/master' into issue/3311 2018-10-29 12:13:25 +01:00
verhoek c398dec768 Fixed relevant code issues brought up by codacity. 2018-10-29 12:11:56 +01:00
Rune HenriksenandGitHub e33a145688 Merge pull request #3459 from mnaiman/hyper_v_win_detection
Improved detection Win10 & Win2019Server
2018-10-29 09:03:10 +01:00
Max123456 ec02dbca28 added parentheses 2018-10-29 08:33:53 +01:00
verhoek cf1cec69d6 Bug fixes. 2018-10-28 20:01:36 +01:00
verhoek 52916b935b Replaced System.IO.Path with wrapper call to Alphaleonis. 2018-10-28 12:08:09 +01:00
verhoek f4336147cd Extended custom PathCombine method to handle multiple paths. 2018-10-28 11:58:27 +01:00
Rune HenriksenandGitHub d42b9938d0 Merge pull request #3462 from warwickmm/bugfix/microsoft_graph_url
Fix URLs in Microsoft Graph backends
2018-10-28 10:50:46 +01:00
Kenneth Hsu a567b467dc Fix slashes in Microsoft Graph URLs.
This fixes an issue introduced in revision f9022fec ("Avoid referencing
virtual members in constructor").

This addresses issue #3460.
2018-10-27 13:03:25 -07:00
verhoek 87c158f8cc Clean ups. 2018-10-27 21:40:58 +02:00
verhoek 393042f166 Removed left over interface used during developing. 2018-10-27 12:42:47 +02:00
verhoek ef71e989e7 Use helper methods in IO.Util. 2018-10-27 12:30:02 +02:00
verhoek 1bf1daa189 Moved alphaleonis stuff to VSS wrapper objects in Libary.IO. 2018-10-27 12:29:39 +02:00
verhoek ae03a72443 Adjusted IO project file. 2018-10-27 12:28:43 +02:00
verhoek 518efc44ca Commented out native WinNativeMethods. If OK we should delete this. 2018-10-27 12:28:24 +02:00
verhoek 181a1b0a1a Use moved helpers in IO.Util . 2018-10-27 12:27:41 +02:00
verhoek 8510f146de Adjusted hyperv VSS functionality to use VSS wrappers. 2018-10-27 12:27:08 +02:00
verhoek 541dd46b4d Adjusted MSSQL to use new VSS wrapper. 2018-10-27 12:25:49 +02:00
verhoek b644324c13 Added AlphaLeonis VSS Decorator objects to decouple
alphaleonis lower level function calls from higher level snapshot logic.
2018-10-27 12:23:58 +02:00
verhoek 7d38997b91 Moved DosDevice to Library.IO. 2018-10-27 12:17:31 +02:00
verhoek bc053df294 Moved basic IO helper functions to Library.IO. 2018-10-27 12:17:07 +02:00
verhoek 73f80a99ed Moved unused WinNativeMethods and commented out. 2018-10-27 12:09:05 +02:00
Kenneth Hsu 2d7566e909 Fix typo in regex filter pattern.
The extension for these Firefox files should be .sqlite (with one 'l').
2018-10-26 20:00:07 -07:00
MaxandGitHub 0f5fe3ab0f Merge pull request #47 from duplicati/master
upstream
2018-10-27 00:14:17 +02:00
Max123456 8139514366 Improve detection Win10 & Win2019Server 2018-10-26 10:06:53 +02:00
verhoek 40dc6da81d Created separate package for io wrapper. 2018-10-25 20:01:55 +02:00
verhoek a3cc49566d Added additional wrappers for alphaFS implementations. 2018-10-25 17:02:35 +02:00
verhoek 7872018bbd Moved vss to SystemIOWindows. Added GetDirectories to ISystemIO. 2018-10-25 16:42:53 +02:00
verhoek 2e0fb275ea Moved GetPathRoot to SystemIOWindows instead of using AlphaFS directly. 2018-10-25 10:23:50 +02:00
verhoek 69243e8378 Use AlphaFS instead of System.IO to prevent PathTooLongException. 2018-10-24 15:48:19 +02:00
verhoek 0f0523dbaa Converted eol's to project's new line policy. 2018-10-24 15:39:54 +02:00
verhoek d932069b99 Fixed incorrect download files string. 2018-10-24 09:40:16 +02:00
verhoek 0752e0af0d Moved content api strings to webapi. 2018-10-23 16:21:36 +02:00
verhoek 1db6504dea Replaced paths in formatted strings to inner class. 2018-10-23 16:02:14 +02:00
verhoek 630f810cdd Added listfiles url to dropbox's webapi. 2018-10-23 15:46:35 +02:00
verhoek ab86df2ebb Merge branch 'master' into webapi/dropbox 2018-10-23 15:34:00 +02:00
Kenneth Skovhede 03722fcba1 Merge branch 'master' into feature/fix_path_storage2
# Conflicts:
#	Duplicati/Library/Main/Database/LocalRecreateDatabase.cs
2018-10-23 11:33:35 +02:00
Kenneth Hsu 18cb3ade80 Seal method to avoid potential reference to uninitialized members.
The constructor calls the Position property's setter.  To avoid
potential references to uninitialized members, we disallow a subclass
from overriding the implementation.
2018-10-18 21:11:50 -07:00
Rune HenriksenandGitHub 0b3efc5dbb Merge pull request #3439 from warwickmm/constructor_virtual_members
Avoid referencing virtual members in Basiclist constructor
2018-10-18 17:02:29 +02:00
Kenneth Hsu 6f231f9190 Avoid referencing virtual members in Basiclist constructor.
When referencing virtual members in a constructor, the behavior may be
ill-defined as the overridden implementation may depend on uninitialized
instance members.

Since the TABLE_PREFIX, TABLEFORMAT, INSERTCOMMAND, and INSERTARGUMENTS
properties were only referenced in the Basiclist constructor, we can
remove the abstract keyword and provide the values as constructor
parameters.
2018-10-17 20:11:06 -07:00
Kenneth Skovhede 68d2f10475 Merge branch 'master' of github.com:duplicati/duplicati 2018-10-17 14:37:52 +02:00
Kenneth Skovhede 2826dbe6f0 Improved error message for faults in database filelists 2018-10-17 14:37:23 +02:00