Skip to content

Commit d363995

Browse files
committed
Owl carousel package removed, Facebook app ID added
1 parent 4093cba commit d363995

17 files changed

Lines changed: 35 additions & 1925 deletions

File tree

BlogEngine/BlogEngine.Core/BlogConfig.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,10 @@ public static string GalleryFeedUrl
296296
}
297297
#endregion
298298

299-
#region SingleUserBlog
299+
#region UsageScenario
300300

301301
/// <summary>
302-
/// Configure application for use by single user
302+
/// Configure usage scenario
303303
/// </summary>
304304
public static string UsageScenario
305305
{

BlogEngine/BlogEngine.Core/BlogSettings.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,11 @@ public enum CommentsBy
838838
/// </summary>
839839
public bool DisqusAddCommentsToPages { get; set; }
840840

841+
/// <summary>
842+
/// Facebook application ID
843+
/// </summary>
844+
public string FacebookAppId { get; set; }
845+
841846
#endregion
842847

843848
#region BlogrollMaxLength

BlogEngine/BlogEngine.Core/Data/Models/Settings.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ public Settings() { }
171171
public bool DisqusDevMode { get; set; }
172172
public bool DisqusAddCommentsToPages { get; set; }
173173
public string DisqusWebsiteName { get; set; }
174+
public string FacebookAppId { get; set; }
174175

175176
// custom filters
176177
public bool TrustAuthenticatedUsers { get; set; }

BlogEngine/BlogEngine.Core/Data/SettingsRepository.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public bool Update(Settings ns)
126126
bs.DisqusDevMode = ns.DisqusDevMode;
127127
bs.DisqusAddCommentsToPages = ns.DisqusAddCommentsToPages;
128128
bs.DisqusWebsiteName = ns.DisqusWebsiteName;
129+
bs.FacebookAppId = ns.FacebookAppId;
129130

130131
// custom filters
131132
bs.TrustAuthenticatedUsers = ns.TrustAuthenticatedUsers;
@@ -240,6 +241,7 @@ private Settings GetSettings()
240241
ns.DisqusDevMode = bs.DisqusDevMode;
241242
ns.DisqusAddCommentsToPages = bs.DisqusAddCommentsToPages;
242243
ns.DisqusWebsiteName = bs.DisqusWebsiteName;
244+
ns.FacebookAppId = bs.FacebookAppId;
243245

244246
// custom filters
245247
ns.TrustAuthenticatedUsers = bs.TrustAuthenticatedUsers;

BlogEngine/BlogEngine.NET/AppCode/App_Start/BlogEngineConfig.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ static void RegisterBundles(BundleCollection bundles)
112112
.Include("~/Scripts/jquery.form.js")
113113
.Include("~/Scripts/jquery.validate.js")
114114
.Include("~/Scripts/toastr.js")
115-
.Include("~/Scripts/owl.carousel.min.js")
116115
.Include("~/Scripts/bootstrap.js")
117116
.Include("~/Scripts/moment.js")
118117
.Include("~/Scripts/Q.js")
@@ -144,7 +143,7 @@ static void RegisterBundles(BundleCollection bundles)
144143
.Include("~/admin/app/controllers/custom.js")
145144
.Include("~/admin/app/controllers/package.js")
146145
.Include("~/admin/app/controllers/common.js")
147-
.Include("~/admin/editors/summernote/summernote.js")
146+
//.Include("~/admin/editors/summernote/summernote.js")
148147
);
149148

150149
bundles.Add(

BlogEngine/BlogEngine.NET/BlogEngine.NET.csproj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -553,11 +553,6 @@
553553
<Content Include="Content\images\blog\xfn\me.gif" />
554554
<Content Include="Content\images\blog\xfn\sweet.gif" />
555555
<Content Include="Content\images\blog\xfn\sweetMet.gif" />
556-
<Content Include="Content\OwlCarousel\AjaxLoader.gif" />
557-
<Content Include="Content\OwlCarousel\grabbing.png" />
558-
<Content Include="Content\OwlCarousel\owl.carousel.css" />
559-
<Content Include="Content\OwlCarousel\owl.theme.css" />
560-
<Content Include="Content\OwlCarousel\owl.transitions.css" />
561556
<Content Include="Content\star-rating.css" />
562557
<Content Include="Content\toastr.css" />
563558
<Content Include="Content\toastr.min.css" />
@@ -1399,8 +1394,6 @@
13991394
<Content Include="Scripts\moment-with-locales.min.js" />
14001395
<Content Include="Scripts\moment.js" />
14011396
<Content Include="Scripts\moment.min.js" />
1402-
<Content Include="Scripts\owl.carousel.js" />
1403-
<Content Include="Scripts\owl.carousel.min.js" />
14041397
<Content Include="Scripts\syntaxhighlighter\editor_plugin.js" />
14051398
<Content Include="Scripts\syntaxhighlighter\editor_plugin_src.js" />
14061399
<Content Include="Scripts\syntaxhighlighter\images\syntaxhighlighter.gif" />
-1.48 KB
Binary file not shown.
-116 Bytes
Binary file not shown.

BlogEngine/BlogEngine.NET/Content/OwlCarousel/owl.carousel.css

Lines changed: 0 additions & 71 deletions
This file was deleted.

BlogEngine/BlogEngine.NET/Content/OwlCarousel/owl.theme.css

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)