Skip to content
Browse files

adding some more configuration changes

  • Loading branch information...
1 parent 61bab56 commit a212d4f3a294a5feb9cd929850ef7c28e167a53c @chriscyvas chriscyvas committed
View
1 Controls/Properties/AssemblyInfo.cs
@@ -17,3 +17,4 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("3ffe4bf4-3ed9-48aa-9837-424a7155ecbc")]
+
View
2 Web/Properties/AssemblyInfo.cs
@@ -1,5 +1,6 @@
using System.Reflection;
using System.Runtime.InteropServices;
+using System.Security;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
@@ -18,3 +19,4 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")]
+[assembly: SecurityRules(SecurityRuleSet.Level1)]
View
43 Web/Web.Debug.config
@@ -9,6 +9,7 @@
<appSettings>
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
<!--<add key="ValidationSettings:UnobtrusiveValidationMode" value="WebForms" />-->
+ <add key="defaultNewsFeedUrl" value="https://github.com/dashcommerce/dashcommerce-3/commits/master.atom"/>
</appSettings>
<connectionStrings configSource="connectionString.config" />
<system.web>
@@ -23,6 +24,48 @@
</controls>
</pages>
<machineKey compatibilityMode="Framework45" />
+ <siteMap enabled="true" defaultProvider="AdminXmlSiteMapProvider">
+ <providers>
+ <clear/>
+ <add name="AdminXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/admin.sitemap"/>
+ <add name="SiteSettingsXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/sitesettings.sitemap"/>
+ <add name="SimpleWeightShippingProviderXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/simpleweightshippingprovider.sitemap"/>
+ <add name="RegionCodeXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/regioncode.sitemap"/>
+ <add name="ProductXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/product.sitemap"/>
+ <add name="OrderXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/order.sitemap"/>
+ <add name="VatXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/vatrate.sitemap"/>
+ </providers>
+ </siteMap>
+ <roleManager enabled="true">
+ <providers>
+ <clear/>
+ <add name="AspNetSqlRoleProvider" connectionStringName="dashCommerce" applicationName="dashCommerce" type="System.Web.Security.SqlRoleProvider"/>
+ </providers>
+ </roleManager>
+ <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="30" hashAlgorithmType="">
+ <providers>
+ <clear/>
+ <add connectionStringName="dashCommerce" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="dashCommerce" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" passwordStrengthRegularExpression="" minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0" name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
+ </providers>
+ </membership>
+ <anonymousIdentification enabled="true"/>
+ <authentication mode="Forms">
+ <forms name=".ASPNET" loginUrl="login.aspx" protection="All" timeout="30" path="/" slidingExpiration="true"/>
+ </authentication>
+ <authorization>
+ <allow users="?"/>
+ </authorization>
+ <profile automaticSaveEnabled="true" defaultProvider="SqlProvider">
+ <providers>
+ <clear/>
+ <add name="SqlProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="dashCommerce" applicationName="dashCommerce"/>
+ </providers>
+ <properties>
+ <add name="AddressCollection" type="MettleSystems.dashCommerce.Store.AddressCollection" allowAnonymous="true"/>
+ </properties>
+ </profile>
+
+
</system.web>
</configuration>
View
41 Web/Web.Release.config
@@ -9,6 +9,7 @@
<appSettings>
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
<!--<add key="ValidationSettings:UnobtrusiveValidationMode" value="WebForms" />-->
+ <add key="defaultNewsFeedUrl" value="https://github.com/dashcommerce/dashcommerce-3/commits/master.atom"/>
</appSettings>
<connectionStrings configSource="connectionString.config" />
<system.web>
@@ -23,6 +24,46 @@
</controls>
</pages>
<machineKey compatibilityMode="Framework45" />
+ <siteMap enabled="true" defaultProvider="AdminXmlSiteMapProvider">
+ <providers>
+ <clear/>
+ <add name="AdminXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/admin.sitemap"/>
+ <add name="SiteSettingsXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/sitesettings.sitemap"/>
+ <add name="SimpleWeightShippingProviderXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/simpleweightshippingprovider.sitemap"/>
+ <add name="RegionCodeXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/regioncode.sitemap"/>
+ <add name="ProductXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/product.sitemap"/>
+ <add name="OrderXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/order.sitemap"/>
+ <add name="VatXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/vatrate.sitemap"/>
+ </providers>
+ </siteMap>
+ <roleManager enabled="true">
+ <providers>
+ <clear/>
+ <add name="AspNetSqlRoleProvider" connectionStringName="dashCommerce" applicationName="dashCommerce" type="System.Web.Security.SqlRoleProvider"/>
+ </providers>
+ </roleManager>
+ <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="30" hashAlgorithmType="">
+ <providers>
+ <clear/>
+ <add connectionStringName="dashCommerce" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="dashCommerce" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" passwordStrengthRegularExpression="" minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0" name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
+ </providers>
+ </membership>
+ <anonymousIdentification enabled="true"/>
+ <authentication mode="Forms">
+ <forms name=".ASPNET" loginUrl="login.aspx" protection="All" timeout="30" path="/" slidingExpiration="true"/>
+ </authentication>
+ <authorization>
+ <allow users="?"/>
+ </authorization>
+ <profile automaticSaveEnabled="true" defaultProvider="SqlProvider">
+ <providers>
+ <clear/>
+ <add name="SqlProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="dashCommerce" applicationName="dashCommerce"/>
+ </providers>
+ <properties>
+ <add name="AddressCollection" type="MettleSystems.dashCommerce.Store.AddressCollection" allowAnonymous="true"/>
+ </properties>
+ </profile>
</system.web>
</configuration>
View
73 Web/Web.config
@@ -1,28 +1,75 @@
<?xml version="1.0"?>
-
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
-
<configuration>
+ <configSections>
+ <section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic" allowDefinition="MachineToApplication" restartOnExternalChanges="true" requirePermission="false"/>
+ </configSections>
<appSettings>
- <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
+ <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true"/>
<!--<add key="ValidationSettings:UnobtrusiveValidationMode" value="WebForms" />-->
+ <add key="defaultNewsFeedUrl" value="https://github.com/dashcommerce/dashcommerce-3/commits/master.atom"/>
</appSettings>
- <connectionStrings configSource="connectionString.config" />
+ <connectionStrings configSource="connectionString.config"/>
<system.web>
- <compilation debug="false" strict="false" explicit="true" targetFramework="4.5" />
- <httpRuntime requestValidationMode="4.5" targetFramework="4.5" encoderType="System.Web.Security.AntiXss.AntiXssEncoder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ <compilation debug="true" strict="false" explicit="true" targetFramework="4.5"/>
+ <httpRuntime requestValidationMode="4.5" targetFramework="4.5" encoderType="System.Web.Security.AntiXss.AntiXssEncoder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<pages controlRenderingCompatibilityVersion="4.5">
<controls>
- <add tagPrefix="asp" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
- <add tagPrefix="dashCommerce" namespace="MettleSystems.dashCommerce.Controls" assembly="MettleSystems.dashCommerce.Controls" />
- <add tagPrefix="dashCommerce" namespace="MettleSystems.dashCommerce.Controls" assembly="MettleSystems.dashCommerce.Store" />
- <add tagPrefix="FCKeditorV2" namespace="FredCK.FCKeditorV2" assembly="FredCK.FCKeditorV2" />
+ <add tagPrefix="asp" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit"/>
+ <add tagPrefix="dashCommerce" namespace="MettleSystems.dashCommerce.Controls" assembly="MettleSystems.dashCommerce.Controls"/>
+ <add tagPrefix="dashCommerce" namespace="MettleSystems.dashCommerce.Controls" assembly="MettleSystems.dashCommerce.Store"/>
+ <add tagPrefix="FCKeditorV2" namespace="FredCK.FCKeditorV2" assembly="FredCK.FCKeditorV2"/>
</controls>
</pages>
- <machineKey compatibilityMode="Framework45" />
+ <machineKey compatibilityMode="Framework45"/>
+ <siteMap enabled="true" defaultProvider="AdminXmlSiteMapProvider">
+ <providers>
+ <clear/>
+ <add name="AdminXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/admin.sitemap"/>
+ <add name="SiteSettingsXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/sitesettings.sitemap"/>
+ <add name="SimpleWeightShippingProviderXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/simpleweightshippingprovider.sitemap"/>
+ <add name="RegionCodeXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/regioncode.sitemap"/>
+ <add name="ProductXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/product.sitemap"/>
+ <add name="OrderXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/order.sitemap"/>
+ <add name="VatXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="~/admin/controls/navigation/vatrate.sitemap"/>
+ </providers>
+ </siteMap>
+ <roleManager enabled="true">
+ <providers>
+ <clear/>
+ <add name="AspNetSqlRoleProvider" connectionStringName="dashCommerce" applicationName="dashCommerce" type="System.Web.Security.SqlRoleProvider"/>
+ </providers>
+ </roleManager>
+ <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="30" hashAlgorithmType="">
+ <providers>
+ <clear/>
+ <add connectionStringName="dashCommerce" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="dashCommerce" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" passwordStrengthRegularExpression="" minRequiredPasswordLength="4" minRequiredNonalphanumericCharacters="0" name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
+ </providers>
+ </membership>
+ <anonymousIdentification enabled="true"/>
+ <authentication mode="Forms">
+ <forms name=".ASPNET" loginUrl="login.aspx" protection="All" timeout="30" path="/" slidingExpiration="true"/>
+ </authentication>
+ <authorization>
+ <allow users="?"/>
+ </authorization>
+ <profile automaticSaveEnabled="true" defaultProvider="SqlProvider">
+ <providers>
+ <clear/>
+ <add name="SqlProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="dashCommerce" applicationName="dashCommerce"/>
+ </providers>
+ <properties>
+ <add name="AddressCollection" type="MettleSystems.dashCommerce.Store.AddressCollection" allowAnonymous="true"/>
+ </properties>
+ </profile>
</system.web>
-
-</configuration>
+ <SubSonicService defaultProvider="dashCommerceProvider">
+ <providers>
+ <clear/>
+ <add name="dashCommerceProvider" connectionStringName="dashCommerce" type="SubSonic.SqlDataProvider, SubSonic"/>
+ </providers>
+ </SubSonicService>
+</configuration>
View
2 Web/admin/admin.master
@@ -18,7 +18,7 @@
<dashCommerce:HyperLink ID="hlLogo" runat="server" SkinID="logo" />
<dashCommerce:Label ID="lblSiteAdministration" runat="server" SkinId="adminHeader" />
<div class="mainMenu">
- <asp:Menu ID="adminMenu" runat="server" CssClass="adminMenu" Orientation="Horizontal" DataSourceID="smdsAdminMenu" StaticDisplayLevels="2" SkinID="menu" OnMenuItemDataBound="OnMenuItemDataBound">
+ <asp:Menu ID="adminMenu" runat="server" CssClass="adminMenu" Orientation="Horizontal" DataSourceID="smdsAdminMenu" StaticDisplayLevels="2" SkinID="menu" OnMenuItemDataBound="OnMenuItemDataBound" RenderingMode="Table">
<DynamicMenuStyle CssClass="dynamicMenuStyle" />
<LevelMenuItemStyles>
<asp:MenuItemStyle CssClass="level1" />
View
20 Web/admin/controls/rsslist.ascx.cs
@@ -48,19 +48,19 @@ public partial class rsslist : AdminControl {
/// <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
protected void Page_Load(object sender, EventArgs e) {
try {
- DataSet rssData = RefreshFeed();
+ //DataSet rssData = RefreshFeed();
- object[] channelItems = rssData.Tables[1].Rows[0].ItemArray;
- int titleColumn = rssData.Tables[1].Columns["title"].Ordinal;
- int descriptionColumn = rssData.Tables[1].Columns["description"].Ordinal;
+ //object[] channelItems = rssData.Tables[1].Rows[0].ItemArray;
+ //int titleColumn = rssData.Tables[1].Columns["title"].Ordinal;
+ //int descriptionColumn = rssData.Tables[1].Columns["description"].Ordinal;
- lblFeedTitle.Text = channelItems.GetValue(titleColumn).ToString();
- lblFeedDescription.Text = channelItems.GetValue(descriptionColumn).ToString();
+ //lblFeedTitle.Text = channelItems.GetValue(titleColumn).ToString();
+ //lblFeedDescription.Text = channelItems.GetValue(descriptionColumn).ToString();
- if (rssData.Tables.Count > 2) { // are there any items in the feed?
- Repeater1.DataSource = rssData.Tables[2];
- Repeater1.DataBind();
- }
+ //if (rssData.Tables.Count > 2) { // are there any items in the feed?
+ // Repeater1.DataSource = rssData.Tables[2];
+ // Repeater1.DataBind();
+ //}
}
catch (Exception ex) {
Logger.Error(typeof(rsslist).Name + ".Page_Load", ex);
View
3 Web/admin/controls/rsslist.ascx.designer.cs
@@ -1,10 +1,9 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
-// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

0 comments on commit a212d4f

Please sign in to comment.
Something went wrong with that request. Please try again.