Skip to content

Commit

Permalink
feat: Use assets from newly created module instead of the platform (#166
Browse files Browse the repository at this point in the history
)
  • Loading branch information
akak1977 authored Nov 16, 2021
1 parent d2cb644 commit 61527e8
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="VirtoCommerce.CoreModule.Core" Version="3.1.0" />
<PackageReference Include="VirtoCommerce.Platform.Core" Version="3.78.0" />
<PackageReference Include="VirtoCommerce.Platform.Core" Version="3.81.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="VirtoCommerce.CoreModule.Core" Version="3.1.0" />
<PackageReference Include="VirtoCommerce.OrdersModule.Core" Version="3.1.0" />
<PackageReference Include="VirtoCommerce.Platform.Data" Version="3.78.0" />
<PackageReference Include="VirtoCommerce.Platform.Security" Version="3.78.0" />
<PackageReference Include="VirtoCommerce.Platform.Data" Version="3.81.0" />
<PackageReference Include="VirtoCommerce.Platform.Security" Version="3.81.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\VirtoCommerce.MarketingModule.Core\VirtoCommerce.MarketingModule.Core.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using VirtoCommerce.MarketingModule.Data.Authorization;
using VirtoCommerce.MarketingModule.Data.Repositories;
using VirtoCommerce.MarketingModule.Web.ExportImport;
using VirtoCommerce.Platform.Core.Assets;
using VirtoCommerce.AssetsModule.Core.Assets;
using VirtoCommerce.Platform.Core.Common;
using VirtoCommerce.Platform.Core.ExportImport;
using VirtoCommerce.Platform.Core.PushNotifications;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ angular.module('virtoCommerce.marketingModule')
var uploader = $scope.uploader = new FileUploader({
scope: $scope,
headers: { Accept: 'application/json' },
url: 'api/platform/assets?folderUrl=placeholders-images',
url: 'api/assets?folderUrl=placeholders-images',
autoUpload: true,
removeAfterUpload: true
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ angular.module('virtoCommerce.marketingModule')
var uploader = $scope.uploader = new FileUploader({
scope: $scope,
headers: { Accept: 'application/json' },
url: 'api/platform/assets?folderUrl=tmp',
url: 'api/assets?folderUrl=tmp',
method: 'POST',
autoUpload: true,
removeAfterUpload: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
<PackageReference Include="Hangfire" Version="1.7.9" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.2" />
<PackageReference Include="VirtoCommerce.CoreModule.Core" Version="3.1.0" />
<PackageReference Include="VirtoCommerce.Platform.Security" Version="3.78.0" />
<PackageReference Include="VirtoCommerce.Platform.Security" Version="3.81.0" />
<PackageReference Include="VirtoCommerce.AssetsModule.Core" Version="1.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\VirtoCommerce.MarketingModule.Core\VirtoCommerce.MarketingModule.Core.csproj" />
Expand Down
3 changes: 2 additions & 1 deletion src/VirtoCommerce.MarketingModule.Web/module.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>VirtoCommerce.Marketing</id>
<version>3.30.0</version>
<version-tag />
<platformVersion>3.61.0-alpha.11922</platformVersion>
<platformVersion>3.81.0</platformVersion>
<title>Marketing module</title>
<description>Marketing system with dynamic contents and promotions management</description>
<authors>
Expand All @@ -26,6 +26,7 @@
<dependency id="VirtoCommerce.Orders" version="3.0.0" />
<dependency id="VirtoCommerce.Shipping" version="3.4.0" />
<dependency id="VirtoCommerce.Payment" version="3.4.0" />
<dependency id="VirtoCommerce.Assets" version="1.0.0" />
</dependencies>
<groups>
<group>commerce</group>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using System.Security.Claims;
using VirtoCommerce.MarketingModule.Core.Services;
using VirtoCommerce.Platform.Core.PushNotifications;
using VirtoCommerce.Platform.Core.Assets;
using VirtoCommerce.AssetsModule.Core.Assets;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
Expand Down

0 comments on commit 61527e8

Please sign in to comment.