From: Jaben C. <ja...@us...> - 2007-03-12 13:15:35
|
Update of /cvsroot/yafdotnet/yafsrc In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv13442 Modified Files: YAF.csproj default.config Added Files: Global.asax Global.asax.cs Log Message: Minor modifications... --- NEW FILE: Global.asax --- <%@ Application Codebehind="Global.asax.cs" Inherits="YAF.Global" Language="C#" %> Index: YAF.csproj =================================================================== RCS file: /cvsroot/yafdotnet/yafsrc/YAF.csproj,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** YAF.csproj 10 Feb 2007 06:22:09 -0000 1.10 --- YAF.csproj 12 Mar 2007 13:14:40 -0000 1.11 *************** *** 155,158 **** --- 155,159 ---- <SubType>Form</SubType> </Content> + <Content Include="Global.asax" /> <Content Include="images\delete_icon.gif" /> <Content Include="images\eventError.gif" /> *************** *** 171,176 **** <SubType>Form</SubType> </Content> - <Content Include="install\version-1.0.1.sql" /> - <Content Include="install\version-1.0.2.sql" /> <Content Include="languages\china.xml" /> <Content Include="languages\danish.xml" /> --- 172,175 ---- *************** *** 809,812 **** --- 808,812 ---- <Compile Include="controls\DisplayPost.ascx.cs"> <DependentUpon>DisplayPost.ascx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="controls\DisplayPost.ascx.designer.cs"> *************** *** 815,818 **** --- 815,819 ---- <Compile Include="controls\EditUsersAvatar.ascx.cs"> <DependentUpon>EditUsersAvatar.ascx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="controls\EditUsersAvatar.ascx.designer.cs"> *************** *** 821,824 **** --- 822,826 ---- <Compile Include="controls\EditUsersGroups.ascx.cs"> <DependentUpon>EditUsersGroups.ascx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="controls\EditUsersGroups.ascx.designer.cs"> *************** *** 827,830 **** --- 829,833 ---- <Compile Include="controls\EditUsersInfo.ascx.cs"> <DependentUpon>EditUsersInfo.ascx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="controls\EditUsersInfo.ascx.designer.cs"> *************** *** 833,836 **** --- 836,840 ---- <Compile Include="controls\EditUsersPoints.ascx.cs"> <DependentUpon>EditUsersPoints.ascx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="controls\EditUsersPoints.ascx.designer.cs"> *************** *** 839,842 **** --- 843,847 ---- <Compile Include="controls\EditUsersProfile.ascx.cs"> <DependentUpon>EditUsersProfile.ascx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="controls\EditUsersProfile.ascx.designer.cs"> *************** *** 845,848 **** --- 850,854 ---- <Compile Include="controls\EditUsersSignature.ascx.cs"> <DependentUpon>EditUsersSignature.ascx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="controls\EditUsersSignature.ascx.designer.cs"> *************** *** 851,854 **** --- 857,861 ---- <Compile Include="controls\EditUsersSuspend.ascx.cs"> <DependentUpon>EditUsersSuspend.ascx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="controls\EditUsersSuspend.ascx.designer.cs"> *************** *** 857,860 **** --- 864,868 ---- <Compile Include="controls\ForumList.ascx.cs"> <DependentUpon>ForumList.ascx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="controls\ForumList.ascx.designer.cs"> *************** *** 863,866 **** --- 871,875 ---- <Compile Include="controls\smileys.ascx.cs"> <DependentUpon>smileys.ascx</DependentUpon> + <SubType>ASPXCodeBehind</SubType> </Compile> <Compile Include="controls\smileys.ascx.designer.cs"> *************** *** 884,887 **** --- 893,899 ---- <DependentUpon>error.aspx</DependentUpon> </Compile> + <Compile Include="Global.asax.cs"> + <DependentUpon>Global.asax</DependentUpon> + </Compile> <Compile Include="install\default.aspx.cs"> <DependentUpon>default.aspx</DependentUpon> --- NEW FILE: Global.asax.cs --- using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.SessionState; using System.Threading; namespace YAF { public class Global : System.Web.HttpApplication { protected void Application_Start( object sender, EventArgs e ) { // TODO: start e-mailing thread... } protected void Application_End( object sender, EventArgs e ) { } } } Index: default.config =================================================================== RCS file: /cvsroot/yafdotnet/yafsrc/default.config,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** default.config 9 Mar 2007 12:15:55 -0000 1.7 --- default.config 12 Mar 2007 13:14:40 -0000 1.8 *************** *** 4,8 **** <connectionStrings> <add name="yafnet" connectionString="data source=(local);initial catalog=yafnet;user id=sa;pwd=xxx;" /> - <add name="AspNetCS" connectionString="data source=(local);initial catalog=aspnetdb;user id=sa;pwd=xxx;" /> </connectionStrings> --- 4,7 ---- *************** *** 12,19 **** --- 11,20 ---- <system.web> + <globalization requestEncoding="utf-8" responseEncoding="utf-8"/> <authentication mode="Forms"> <forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies"/> </authentication> + <machineKey validationKey="9FFB939631CC043153ADAD5CEBB14950BE0DA4D904BE58CF36003F5B0C3D1F570080E60425BAEE253919118175BE363D3B52FF217459736FD820451AC928F32E" decryptionKey="320615E71D6E5CA923E41B70205AE37B003A328383FA8EA3" validation="SHA1" /> <compilation defaultLanguage="c#" /> <customErrors defaultRedirect="error.aspx" mode="RemoteOnly" /> *************** *** 23,27 **** <providers> <clear/> ! <add name="Forum" type="System.Web.Security.SqlRoleProvider" connectionStringName="AspNetCS" applicationName="Forum" /> </providers> </roleManager> --- 24,28 ---- <providers> <clear/> ! <add connectionStringName="yafnet" applicationName="YetAnotherForum" name="SqlRoleProvider" type="System.Web.Security.SqlRoleProvider" /> </providers> </roleManager> *************** *** 30,35 **** <providers> <clear/> ! <add name="Forum" type="System.Web.Security.SqlMembershipProvider" connectionStringName="AspNetCS" applicationName="Forum"/> ! <add name="YAFForum" type="yaf.Providers.YAFMembershipProvider" connectionStringName="AspNetCS" applicationName="Forum" /> </providers> </membership> --- 31,35 ---- <providers> <clear/> ! <add connectionStringName="yafnet" name="YAFMembershipProvider" applicationName="YetAnotherForum" type="YAF.Providers.YAFMembershipProvider" /> </providers> </membership> *************** *** 38,46 **** <providers> <clear/> ! <add name="Forum" type="System.Web.Profile.SqlProfileProvider" connectionStringName="AspNetCS" applicationName="Forum"/> </providers> </profile> </system.web> <system.net> <mailSettings> --- 38,47 ---- <providers> <clear/> ! <add name="SqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="yafnet" applicationName="YetAnotherForum"/> </providers> </profile> </system.web> + <system.net> <mailSettings> |