Skip to content

Commit

Permalink
Merge branch 'dev' into feat/VCST-2241
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev authored Nov 25, 2024
2 parents 299b291 + e3bf4a5 commit f45ba96
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<!-- These properties will be shared for all projects -->
<PropertyGroup>
<VersionPrefix>3.813.0</VersionPrefix>
<VersionPrefix>3.814.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/VirtoCommerce.Xapi.Core/Queries/SlugInfoQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using GraphQL;
using GraphQL.Types;
using VirtoCommerce.Xapi.Core.BaseQueries;
using VirtoCommerce.Xapi.Core.Extensions;
using VirtoCommerce.Xapi.Core.Models;

namespace VirtoCommerce.Xapi.Core.Queries
Expand Down Expand Up @@ -39,7 +40,7 @@ public override void Map(IResolveFieldContext context)
#pragma warning restore VC0008
Permalink = context.GetArgument<string>(nameof(Permalink));
StoreId = context.GetArgument<string>(nameof(StoreId));
UserId = context.GetArgument<string>(nameof(UserId));
UserId = context.GetCurrentUserId();
CultureName = context.GetArgument<string>(nameof(CultureName));
}
}
Expand Down
8 changes: 7 additions & 1 deletion src/VirtoCommerce.Xapi.Core/VirtoCommerce.Xapi.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,16 @@
<PackageReference Include="PipelineNet" Version="0.9.0" />
<PackageReference Include="RedLock.net" Version="2.3.2" />
<PackageReference Include="VirtoCommerce.Platform.Core" Version="3.861.0" />
<PackageReference Include="VirtoCommerce.CoreModule.Core" Version="3.808.0" />
<PackageReference Include="VirtoCommerce.CoreModule.Core" Version="3.811.0" />
<PackageReference Include="VirtoCommerce.CustomerModule.Core" Version="3.817.0" />
<PackageReference Include="VirtoCommerce.SearchModule.Core" Version="3.804.0" />
<PackageReference Include="VirtoCommerce.StoreModule.Core" Version="3.809.0" />
<PackageReference Include="VirtoCommerce.TaxModule.Core" Version="3.802.0" />
</ItemGroup>

<!--Workaround for vulnerable transitive packages-->
<ItemGroup>
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public async Task<SlugInfoResponse> Handle(SlugInfoQuery request, CancellationTo
criteria.LanguageCode = currentCulture;
criteria.Permalink = request.Permalink;
criteria.Slug = lastSegment;
criteria.UserId = request.UserId;

result.EntityInfo = await GetBestMatchingSeoInfo(criteria, store);

Expand Down
2 changes: 1 addition & 1 deletion src/VirtoCommerce.Xapi.Data/VirtoCommerce.Xapi.Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="VirtoCommerce.Platform.Security" Version="3.853.0" />
<PackageReference Include="VirtoCommerce.Platform.Security" Version="3.861.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\VirtoCommerce.Xapi.Core\VirtoCommerce.Xapi.Core.csproj" />
Expand Down
4 changes: 2 additions & 2 deletions src/VirtoCommerce.Xapi.Web/module.manifest
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<module>
<id>VirtoCommerce.Xapi</id>
<version>3.813.0</version>
<version>3.814.0</version>
<version-tag></version-tag>

<platformVersion>3.861.0</platformVersion>
<dependencies>
<dependency id="VirtoCommerce.Core" version="3.808.0" />
<dependency id="VirtoCommerce.Core" version="3.811.0" />
<dependency id="VirtoCommerce.Customer" version="3.817.0" />
<dependency id="VirtoCommerce.Search" version="3.804.0" />
<dependency id="VirtoCommerce.Store" version="3.809.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="FluentAssertions" Version="6.12.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="NEST" Version="7.6.1" />
<PackageReference Include="NEST" Version="7.17.5" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
</ItemGroup>
Expand Down

0 comments on commit f45ba96

Please sign in to comment.