Skip to content

Commit

Permalink
Release v.13.0.7300.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SFBuild committed May 15, 2020
1 parent bc5938d commit fc69eff
Show file tree
Hide file tree
Showing 125 changed files with 894 additions and 973 deletions.
Binary file modified AssemblyInfoShare/SharedAssemblyInfo.cs
Binary file not shown.
27 changes: 27 additions & 0 deletions Telerik.Sitefinity.Frontend.Blogs/Mvc/Helpers/BlogHelper.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
using System;
using Telerik.Sitefinity.Frontend.Blogs.Mvc.Models.Blog;
using Telerik.Sitefinity.Frontend.Mvc.Models;

namespace Telerik.Sitefinity.Frontend.Blogs.Mvc.Helpers
{
public static class BlogHelper
{
public static string GetDetailPageUrl(ItemViewModel item, Guid detailsPageId, BlogDetailLocationMode blogDetailLocationMode)
{
try
{
return DetailLocationHyperLinkHelper.GetDetailPageUrl(item, detailsPageId, blogDetailLocationMode);
}
catch (ArgumentException ex)
{
// When the default page is delete, the blog should be rendered as a normal blog without default page.
if (ex.Message.Contains("Invalid details page"))
{
return null;
}

throw;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
<label class="full-width">
<input type="radio" ng-click="changeFilteredSelectionMode('MinPostsCount')" ng-checked="isFilteredSelectionModeChecked('MinPostsCount')"/>
@Html.Raw(String.Format(Html.HtmlSanitize((string)Html.Resource("BlogsWithMoreThanPosts")).ToString(),
"<input type='text' style='width: 40px' ng-model='properties.MinPostsCount.PropertyValue' ng-disabled='!isFilteredSelectionModeChecked(\"MinPostsCount\")' />"))
"<input type='text' class='sf-input sf-input--sm' ng-model='properties.MinPostsCount.PropertyValue' ng-disabled='!isFilteredSelectionModeChecked(\"MinPostsCount\")' />"))
</label>
</div>

<div class="radio">
<label class="full-width">
<input type="radio" ng-click="changeFilteredSelectionMode('MaxPostsAge')" ng-checked="isFilteredSelectionModeChecked('MaxPostsAge')" />
@Html.Raw(String.Format(Html.HtmlSanitize((string)Html.Resource("OnlyBlogsThatHavePostsNotOlderYhanMonths")).ToString(),
"<input type='text' style='width: 40px' ng-model='properties.MaxPostsAge.PropertyValue' ng-disabled='!isFilteredSelectionModeChecked(\"MaxPostsAge\")' />"))
"<input type='text' class='sf-input sf-input--sm' ng-model='properties.MaxPostsAge.PropertyValue' ng-disabled='!isFilteredSelectionModeChecked(\"MaxPostsAge\")' />"))
</label>
</div>
</div>
Expand All @@ -72,7 +72,7 @@

<span>
@Html.Raw(String.Format(Html.HtmlSanitize((string)Html.Resource("DivideToItemPerPage")).ToString(),
"<input type='text' style='width: 40px' ng-disabled='properties.DisplayMode.PropertyValue!=\"Paging\"' ng-model='properties.ItemsPerPage.PropertyValue'/>"))
"<input type='text' class='sf-input sf-input--sm' ng-disabled='properties.DisplayMode.PropertyValue!=\"Paging\"' ng-model='properties.ItemsPerPage.PropertyValue'/>"))
</span>
</label>
</div>
Expand All @@ -84,7 +84,7 @@

<span>
@Html.Raw(String.Format(Html.HtmlSanitize((string)Html.Resource("ShowLimitedItems")).ToString(),
"<input type='text' style='width: 40px' ng-disabled='properties.DisplayMode.PropertyValue!=\"Limit\"' ng-model='properties.LimitCount.PropertyValue'/>"))
"<input type='text' class='sf-input sf-input--sm' ng-disabled='properties.DisplayMode.PropertyValue!=\"Limit\"' ng-model='properties.LimitCount.PropertyValue'/>"))
</span>
</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@using Telerik.Sitefinity.Frontend.Blogs.Mvc.Helpers;
@using Telerik.Sitefinity.Frontend.Blogs.Mvc.Models.Blog;
@using Telerik.Sitefinity.Frontend.Mvc.Helpers;
@using Telerik.Sitefinity.Frontend.Mvc.Models;
@using Telerik.Sitefinity.Modules.Pages;

<div class="@Model.CssClass">
Expand All @@ -14,7 +15,7 @@

@foreach (var item in Model.Items)
{
var detailPageUrl = DetailLocationHyperLinkHelper.GetDetailPageUrl(item, ViewBag.DetailsPageId, ViewBag.DetailPageMode);
var detailPageUrl = BlogHelper.GetDetailPageUrl(item, (Guid)ViewBag.DetailsPageId, (BlogDetailLocationMode)ViewBag.DetailPageMode);
<li @Html.InlineEditingAttributes(Model.ProviderName, Model.ContentType.FullName, (Guid)item.Fields.Id)>
<h3>
@if (!string.IsNullOrEmpty(detailPageUrl))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

<span>
@Html.Raw(String.Format(Html.HtmlSanitize((string)Html.Resource("DivideToItemPerPage")).ToString(),
"<input type='text' style='width: 40px' ng-disabled='properties.DisplayMode.PropertyValue!=\"Paging\"' ng-model='properties.ItemsPerPage.PropertyValue'/>"))
"<input type='text' class='sf-input sf-input--sm' ng-disabled='properties.DisplayMode.PropertyValue!=\"Paging\"' ng-model='properties.ItemsPerPage.PropertyValue'/>"))
</span>
</label>
</div>
Expand All @@ -114,7 +114,7 @@

<span>
@Html.Raw(String.Format(Html.HtmlSanitize((string)Html.Resource("ShowLimitedItems")).ToString(),
"<input type='text' style='width: 40px' ng-disabled='properties.DisplayMode.PropertyValue!=\"Limit\"' ng-model='properties.LimitCount.PropertyValue'/>"))
"<input type='text' class='sf-input sf-input--sm' ng-disabled='properties.DisplayMode.PropertyValue!=\"Limit\"' ng-model='properties.LimitCount.PropertyValue'/>"))
</span>
</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@
<Private>True</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
<SpecificVersion>False</SpecificVersion>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Ninject, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand All @@ -66,11 +64,11 @@
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="ServiceStack.Text, Version=5.0.0.0, Culture=neutral, PublicKeyToken=02c12cbda47e6587, processorArchitecture=MSIL">
<HintPath>..\packages\ServiceStack.Text.5.7.0\lib\net45\ServiceStack.Text.dll</HintPath>
<HintPath>..\packages\ServiceStack.Text.5.8.0\lib\net45\ServiceStack.Text.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.4.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
Expand Down Expand Up @@ -131,6 +129,7 @@
<Compile Include="InterfaceMappings.cs" />
<Compile Include="Mvc\Controllers\BlogController.cs" />
<Compile Include="Mvc\Controllers\BlogPostController.cs" />
<Compile Include="Mvc\Helpers\BlogHelper.cs" />
<Compile Include="Mvc\Helpers\BlogPostHelper.cs" />
<Compile Include="Mvc\Helpers\DetailLocationHyperLinkHelper.cs" />
<Compile Include="Mvc\Models\Blog\BlogDetailLocationMode.cs" />
Expand Down Expand Up @@ -169,31 +168,31 @@
</ItemGroup>
<ItemGroup>
<Reference Include="Telerik.Sitefinity.ContentModules">
<HintPath>..\packages\Telerik.Sitefinity.Content.12.2.7200\lib\net472\Telerik.Sitefinity.ContentModules.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Content.13.0.7300\lib\net472\Telerik.Sitefinity.ContentModules.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity.Model">
<HintPath>..\packages\Telerik.Sitefinity.Core.12.2.7200\lib\net472\Telerik.Sitefinity.Model.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Core.13.0.7300\lib\net472\Telerik.Sitefinity.Model.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity.Personalization">
<HintPath>..\packages\Telerik.Sitefinity.Core.12.2.7200\lib\net472\Telerik.Sitefinity.Personalization.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Core.13.0.7300\lib\net472\Telerik.Sitefinity.Personalization.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity">
<HintPath>..\packages\Telerik.Sitefinity.Core.12.2.7200\lib\net472\Telerik.Sitefinity.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Core.13.0.7300\lib\net472\Telerik.Sitefinity.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity.Utilities">
<HintPath>..\packages\Telerik.Sitefinity.Core.12.2.7200\lib\net472\Telerik.Sitefinity.Utilities.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Core.13.0.7300\lib\net472\Telerik.Sitefinity.Utilities.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity.Frontend">
<HintPath>..\packages\Telerik.Sitefinity.Feather.Core.12.2.7200\lib\net472\Telerik.Sitefinity.Frontend.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Feather.Core.13.0.7300\lib\net472\Telerik.Sitefinity.Frontend.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity.Mvc">
<HintPath>..\packages\Telerik.Sitefinity.Mvc.12.2.7200\lib\net472\Telerik.Sitefinity.Mvc.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Mvc.13.0.7300\lib\net472\Telerik.Sitefinity.Mvc.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand Down
15 changes: 8 additions & 7 deletions Telerik.Sitefinity.Frontend.Blogs/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
<package id="Microsoft.AspNet.Mvc" version="5.2.7" targetFramework="net472" />
<package id="Microsoft.AspNet.Razor" version="3.2.7" targetFramework="net472" />
<package id="Microsoft.AspNet.WebPages" version="3.2.7" targetFramework="net472" />
<package id="Microsoft.CSharp" version="4.5.0" targetFramework="net472" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
<package id="Ninject" version="3.2.2.0" targetFramework="net45" />
<package id="ServiceStack.Text" version="5.7.0" targetFramework="net472" />
<package id="ServiceStack.Text" version="5.8.0" targetFramework="net472" />
<package id="Sitefinity.RazorEngine" version="3.0.8.0" targetFramework="net45" />
<package id="System.Buffers" version="4.4.0" targetFramework="net471" />
<package id="System.Buffers" version="4.5.0" targetFramework="net472" />
<package id="System.Memory" version="4.5.3" targetFramework="net472" />
<package id="System.Numerics.Vectors" version="4.4.0" targetFramework="net471" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.2" targetFramework="net472" />
<package id="Telerik.DataAccess.Core" version="2018.0.1127.1" targetFramework="net471" />
<package id="Telerik.Sitefinity.Content" version="12.2.7200" targetFramework="net45" />
<package id="Telerik.Sitefinity.Core" version="12.2.7200" targetFramework="net45" />
<package id="Telerik.Sitefinity.Feather.Core" version="12.2.7200" targetFramework="net45" />
<package id="Telerik.Sitefinity.Mvc" version="12.2.7200" targetFramework="net45" />
<package id="Telerik.Sitefinity.Content" version="13.0.7300" targetFramework="net45" />
<package id="Telerik.Sitefinity.Core" version="13.0.7300" targetFramework="net45" />
<package id="Telerik.Sitefinity.Feather.Core" version="13.0.7300" targetFramework="net45" />
<package id="Telerik.Sitefinity.Mvc" version="13.0.7300" targetFramework="net45" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
<SpecificVersion>False</SpecificVersion>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Ninject, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand All @@ -65,11 +63,11 @@
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="ServiceStack.Text, Version=5.0.0.0, Culture=neutral, PublicKeyToken=02c12cbda47e6587, processorArchitecture=MSIL">
<HintPath>..\packages\ServiceStack.Text.5.7.0\lib\net45\ServiceStack.Text.dll</HintPath>
<HintPath>..\packages\ServiceStack.Text.5.8.0\lib\net45\ServiceStack.Text.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.4.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
Expand Down Expand Up @@ -152,31 +150,31 @@
</ItemGroup>
<ItemGroup>
<Reference Include="Telerik.Sitefinity.ContentModules">
<HintPath>..\packages\Telerik.Sitefinity.Content.12.2.7200\lib\net472\Telerik.Sitefinity.ContentModules.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Content.13.0.7300\lib\net472\Telerik.Sitefinity.ContentModules.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity.Model">
<HintPath>..\packages\Telerik.Sitefinity.Core.12.2.7200\lib\net472\Telerik.Sitefinity.Model.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Core.13.0.7300\lib\net472\Telerik.Sitefinity.Model.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity.Personalization">
<HintPath>..\packages\Telerik.Sitefinity.Core.12.2.7200\lib\net472\Telerik.Sitefinity.Personalization.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Core.13.0.7300\lib\net472\Telerik.Sitefinity.Personalization.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity">
<HintPath>..\packages\Telerik.Sitefinity.Core.12.2.7200\lib\net472\Telerik.Sitefinity.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Core.13.0.7300\lib\net472\Telerik.Sitefinity.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity.Utilities">
<HintPath>..\packages\Telerik.Sitefinity.Core.12.2.7200\lib\net472\Telerik.Sitefinity.Utilities.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Core.13.0.7300\lib\net472\Telerik.Sitefinity.Utilities.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity.Frontend">
<HintPath>..\packages\Telerik.Sitefinity.Feather.Core.12.2.7200\lib\net472\Telerik.Sitefinity.Frontend.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Feather.Core.13.0.7300\lib\net472\Telerik.Sitefinity.Frontend.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Telerik.Sitefinity.Mvc">
<HintPath>..\packages\Telerik.Sitefinity.Mvc.12.2.7200\lib\net472\Telerik.Sitefinity.Mvc.dll</HintPath>
<HintPath>..\packages\Telerik.Sitefinity.Mvc.13.0.7300\lib\net472\Telerik.Sitefinity.Mvc.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
Expand Down
15 changes: 8 additions & 7 deletions Telerik.Sitefinity.Frontend.Card/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
<package id="Microsoft.AspNet.Mvc" version="5.2.7" targetFramework="net472" />
<package id="Microsoft.AspNet.Razor" version="3.2.7" targetFramework="net472" />
<package id="Microsoft.AspNet.WebPages" version="3.2.7" targetFramework="net472" />
<package id="Microsoft.CSharp" version="4.5.0" targetFramework="net472" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
<package id="Ninject" version="3.2.2.0" targetFramework="net45" />
<package id="ServiceStack.Text" version="5.7.0" targetFramework="net472" />
<package id="ServiceStack.Text" version="5.8.0" targetFramework="net472" />
<package id="Sitefinity.RazorEngine" version="3.0.8.0" targetFramework="net45" />
<package id="System.Buffers" version="4.4.0" targetFramework="net471" />
<package id="System.Buffers" version="4.5.0" targetFramework="net472" />
<package id="System.Memory" version="4.5.3" targetFramework="net472" />
<package id="System.Numerics.Vectors" version="4.4.0" targetFramework="net471" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.2" targetFramework="net472" />
<package id="Telerik.DataAccess.Core" version="2018.0.1127.1" targetFramework="net471" />
<package id="Telerik.Sitefinity.Content" version="12.2.7200" targetFramework="net45" />
<package id="Telerik.Sitefinity.Core" version="12.2.7200" targetFramework="net45" />
<package id="Telerik.Sitefinity.Feather.Core" version="12.2.7200" targetFramework="net45" />
<package id="Telerik.Sitefinity.Mvc" version="12.2.7200" targetFramework="net45" />
<package id="Telerik.Sitefinity.Content" version="13.0.7300" targetFramework="net45" />
<package id="Telerik.Sitefinity.Core" version="13.0.7300" targetFramework="net45" />
<package id="Telerik.Sitefinity.Feather.Core" version="13.0.7300" targetFramework="net45" />
<package id="Telerik.Sitefinity.Mvc" version="13.0.7300" targetFramework="net45" />
</packages>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit fc69eff

Please sign in to comment.