File tree Expand file tree Collapse file tree
Custom/Widgets/Newsletter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919[ assembly: CLSCompliant ( false ) ]
2020[ assembly: ComVisible ( false ) ]
2121[ assembly: AllowPartiallyTrustedCallers ]
22- [ assembly: AssemblyVersion ( "3.2.2.2 " ) ]
22+ [ assembly: AssemblyVersion ( "3.2.2.3 " ) ]
2323[ assembly: SecurityRules ( SecurityRuleSet . Level1 ) ]
Original file line number Diff line number Diff line change @@ -139,6 +139,8 @@ public override void CreateRole(string roleName)
139139 }
140140
141141 // This needs to be called in order to keep the Right class in sync.
142+ // SQL Server on slow connections need few seconds to complete query
143+ System . Threading . Thread . Sleep ( 5000 ) ;
142144 Right . RefreshAllRights ( ) ;
143145 }
144146
Original file line number Diff line number Diff line change 1- using App_Code ;
2- using BlogEngine . Core . Data . Contracts ;
1+ using BlogEngine . Core . Data . Contracts ;
32using BlogEngine . Core . Data . ViewModels ;
4- using System . Net ;
53using System . Web . Http ;
64
75public class DashboardController : ApiController
@@ -10,9 +8,6 @@ public class DashboardController : ApiController
108
119 public DashboardController ( IDashboardRepository repository )
1210 {
13- if ( ! WebUtils . CheckRightsForAdminSettingsPage ( true ) )
14- throw new HttpResponseException ( HttpStatusCode . Unauthorized ) ;
15-
1611 this . repository = repository ;
1712 }
1813
Original file line number Diff line number Diff line change 2424 showForm = true ;
2525 }
2626}
27- <div class =" widget recentcomments " >
27+ <div class =" widget newsletter " >
2828 <h4 class =" widget-header" >@Model.Title </h4 >
2929 <div class =" widget-content" style =" padding : 20px " >
3030 @if (showThanks )
You can’t perform that action at this time.
0 commit comments