Skip to content

Commit ac02f8b

Browse files
committed
v7.1.23463.0-Beta
1 parent 5958ef8 commit ac02f8b

File tree

11 files changed

+39
-17
lines changed

11 files changed

+39
-17
lines changed

Common/Common.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Platforms>AnyCPU;x64</Platforms>
1111
</PropertyGroup>
1212
<ItemGroup>
13-
<PackageReference Include="ITHit.FileSystem.Windows" Version="7.1.23457.0-Beta" />
14-
<PackageReference Include="ITHit.FileSystem" Version="7.1.23457.0-Beta" />
13+
<PackageReference Include="ITHit.FileSystem.Windows" Version="7.1.23463.0-Beta" />
14+
<PackageReference Include="ITHit.FileSystem" Version="7.1.23463.0-Beta" />
1515
</ItemGroup>
1616
</Project>

Windows/Common/Core/Common.Windows.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" />
2121
</ItemGroup>
2222
<ItemGroup>
23-
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="7.1.23457.0-Beta" />
24-
<PackageReference Include="ITHit.FileSystem.Windows" Version="7.1.23457.0-Beta" />
23+
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="7.1.23463.0-Beta" />
24+
<PackageReference Include="ITHit.FileSystem.Windows" Version="7.1.23463.0-Beta" />
2525
<ProjectReference Include="..\..\..\Common\Common.csproj" />
2626
</ItemGroup>
2727
</Project>

Windows/Common/VirtualDrive/Common.Windows.VirtualDrive.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<Compile Remove="IVirtualFolder.cs" />
1414
</ItemGroup>
1515
<ItemGroup>
16-
<PackageReference Include="ITHit.FileSystem.Windows" Version="7.1.23457.0-Beta" />
16+
<PackageReference Include="ITHit.FileSystem.Windows" Version="7.1.23463.0-Beta" />
1717
<ProjectReference Include="..\..\..\Common\Common.csproj" />
1818
<ProjectReference Include="..\Core\Common.Windows.Core.csproj" />
1919
</ItemGroup>

Windows/VirtualDrive/VirtualDrive.ShellExtension/VirtualDrive.ShellExtension.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
2020
</ItemGroup>
2121
<ItemGroup>
22-
<PackageReference Include="ITHit.FileSystem.Windows.ShellExtension" Version="7.1.23457.0-Beta" />
22+
<PackageReference Include="ITHit.FileSystem.Windows.ShellExtension" Version="7.1.23463.0-Beta" />
2323
</ItemGroup>
2424
<ItemGroup>
2525
<None Update="log4net.config">

Windows/VirtualDrive/VirtualDrive/VirtualDrive.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This is an advanced project with ETags support, Microsoft Office documents editi
4040
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
4141
</ItemGroup>
4242
<ItemGroup>
43-
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="7.1.23457.0-Beta" />
43+
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="7.1.23463.0-Beta" />
4444
<ProjectReference Include="..\..\..\Common\Common.csproj" />
4545
<ProjectReference Include="..\..\Common\VirtualDrive\Common.Windows.VirtualDrive.csproj" />
4646
</ItemGroup>

Windows/WebDAVDrive/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@
1212
<li>The sample supports WebDAV servers with cookies authentication, Basic, Digest, NTLM, and Kerberos authentication.</li>
1313
<li>To connect to WebDAV servers with cookies authentication Microsoft Edge&nbsp;is required.&nbsp;</li>
1414
</ul>
15+
<h2>Server Requirements</h2>
16+
<p>This sample requires WebDAV server with collections synchronization support. The following samples support collections synchronization:</p>
17+
<ul>
18+
<li><a href="https://github.com/ITHit/WebDAVServerSamples/tree/master/CS/WebDAVServer.FileSystemSynchronization.AspNetCore">FileSystemSynchronization</a> sample supplied with IT Hit WebDAV Server Engine for .NET.</li>
19+
<li><a href="https://github.com/ITHit/WebDAVServerSamplesJava/tree/master/Java/javax/collectionsync">collectionsync</a> sample supplied with IT Hit WebDAV Server Library for Java.</li>
20+
</ul>
21+
<p>You can also test this sample with IT Hit demo servers:</p>
22+
<ul>
23+
<li>https://webdavserver.net</li>
24+
<li>https://webdavserver.com</li>
25+
</ul>
1526
<h2>Setting License</h2>
1627
<p><span class="warn">Note that to use the sample you need both the IT Hit WebDAV Client Library license and IT Hit User File System license.</span></p>
1728
<p>To run the example, you will need both IT Hit WebDAV Client Library for .NET license and IT Hit User File System Engine for .NET License. You can download <span>a trial license in the&nbsp;<a title="Download" href="https://www.webdavsystem.com/client/download/">IT Hit WebDAV Client Library product download area</a>&nbsp;and in the&nbsp;<a title="Download" href="https://www.userfilesystem.com/download/">IT Hit User File System&nbsp;</a></span><a title="Download" href="https://www.userfilesystem.com/download/">product download area</a>.&nbsp;Note that this sample is fully functional with a trial license and does not have any limitations. The trial licenses are valid for one month will stop working after this. You can check the expiration date inside the license file.&nbsp;Download the licenses file and specify license strings in the&nbsp;<span><code class="code">WebDAVClientLicense</code> and&nbsp;<code class="code">UserFileSystemLicense</code></span>&nbsp;fields respectively in&nbsp;<code class="code">appsettings.json</code>&nbsp;file.&nbsp;Set the license content directly as a value (NOT as a path to the license file). Do not forget to escape quotes: \":</p>

Windows/WebDAVDrive/WebDAVDrive.ShellExtension/WebDAVDrive.ShellExtension.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Copyright>IT HIT LTD.</Copyright>
1313
</PropertyGroup>
1414
<ItemGroup>
15-
<PackageReference Include="ITHit.FileSystem.Windows.ShellExtension" Version="7.1.23457.0-Beta" />
15+
<PackageReference Include="ITHit.FileSystem.Windows.ShellExtension" Version="7.1.23463.0-Beta" />
1616
</ItemGroup>
1717
<ItemGroup>
1818
<None Update="log4net.config">

Windows/WebDAVDrive/WebDAVDrive.UI/WebDAVDrive.UI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<ItemGroup>
1919
<PackageReference Include="log4net" Version="2.0.13" />
2020
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.774.44" />
21-
<PackageReference Include="ITHitWebDAVClient" Version="7.0.4627-Beta" />
21+
<PackageReference Include="ITHitWebDAVClient" Version="7.0.4672" />
2222
</ItemGroup>
2323

2424
<ItemGroup>

Windows/WebDAVDrive/WebDAVDrive/VirtualFolder.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,21 +188,21 @@ public async Task<IChanges> GetChangesAsync(string syncToken, bool deep, long? l
188188
if (itemInfo.ChangeType == Change.Changed)
189189
{
190190
itemInfo.AfterAction = async () =>
191-
{
192-
if (Engine.Placeholders.TryGetItem(Mapping.ReverseMapPath(remoteStorageItem.Href.AbsoluteUri), out PlaceholderItem placeholderItem))
191+
{
192+
if (Engine.Placeholders.TryFindByRemoteStorageId(itemInfo.RemoteStorageItemId, out PlaceholderItem placeholderItem))
193193
{
194194
await placeholderItem.SavePropertiesAsync(itemInfo as FileSystemItemMetadataExt);
195195
}
196196
};
197-
198-
if (Engine.Placeholders.TryGetItem(Mapping.ReverseMapPath(remoteStorageItem.Href.AbsoluteUri), out PlaceholderItem placeholderItem))
197+
198+
if (Engine.Placeholders.TryFindByRemoteStorageId(itemInfo.RemoteStorageItemId, out PlaceholderItem placeholderItem))
199199
{
200-
if ((placeholderItem.TryGetETag(out string eTag) && !eTag.Equals((itemInfo as FileSystemItemMetadataExt).ETag)))
200+
if (placeholderItem.TryGetETag(out string eTag) && !eTag.Equals((itemInfo as FileSystemItemMetadataExt).ETag))
201201
{
202202
itemInfo.ChangeType = Change.MetadataAndContent;
203-
}
203+
}
204204
}
205-
}
205+
}
206206
changes.Add(itemInfo);
207207
}
208208
}

Windows/WebDAVDrive/WebDAVDrive/WebDAVDrive.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
4040
</ItemGroup>
4141
<ItemGroup>
42-
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="7.1.23457.0-Beta" />
42+
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="7.1.23463.0-Beta" />
4343
<ProjectReference Include="..\..\Common\VirtualDrive\Common.Windows.VirtualDrive.csproj" />
4444
<ProjectReference Include="..\WebDAVDrive.UI\WebDAVDrive.UI.csproj" />
4545
</ItemGroup>

0 commit comments

Comments
 (0)