From: <m_h...@us...> - 2006-08-02 01:37:30
|
Revision: 260 Author: m_hildebrand Date: 2006-08-01 18:37:18 -0700 (Tue, 01 Aug 2006) ViewCVS: http://svn.sourceforge.net/tcdb/?rev=260&view=rev Log Message: ----------- I don't remember. Sorry. Modified Paths: -------------- Website/App_Code/Common.cs Website/App_Code/Products.cs Website/App_Code/tcdbDataSet.xsd Website/App_Code/tcdbDataSet.xss Website/Includes/AdministrationTree.ascx.cs Website/Includes/Authenticate.ascx.cs Website/Includes/Roles.ascx Website/Includes/Roles.ascx.cs Property Changed: ---------------- Deploy/ Website/ Property changes on: Deploy ___________________________________________________________________ Name: svn:ignore - *.suo TCDB_2006.msi setup.exe + *.suo TCDB_2006.msi setup.exe TCDB_2006 1.0.0 Alpha 2.msi Property changes on: Website ___________________________________________________________________ Name: svn:ignore - App_Data tcdb2006.log licenses.licx tcdb2006.log.3 + App_Data tcdb2006.log licenses.licx tcdb2006.log.3 tcdb2006.log.1 Modified: Website/App_Code/Common.cs =================================================================== --- Website/App_Code/Common.cs 2006-08-01 22:41:20 UTC (rev 259) +++ Website/App_Code/Common.cs 2006-08-02 01:37:18 UTC (rev 260) @@ -1113,18 +1113,21 @@ public static void SaveConfigString(int userID, String name, String value) { - tcdbDataSetTableAdapters.db_configTableAdapter configAdapter = new tcdbDataSetTableAdapters.db_configTableAdapter(); - tcdbDataSet.db_configDataTable configTable = configAdapter.GetData(userID, name); + if (Constants.IS_DEV_ENV) + { + tcdbDataSetTableAdapters.db_configTableAdapter configAdapter = new tcdbDataSetTableAdapters.db_configTableAdapter(); + tcdbDataSet.db_configDataTable configTable = configAdapter.GetData(userID, name); - if (configTable.Count > 0) - { - configTable[0].value = value; - configAdapter.Update(configTable[0]); + if (configTable.Count > 0) + { + configTable[0].value = value; + configAdapter.Update(configTable[0]); + } + else + { + configAdapter.Insert(userID, name, value); + } } - else - { - configAdapter.Insert(userID, name, value); - } } public static void SaveConfigBool(int userID, String name, Boolean value) { Modified: Website/App_Code/Products.cs =================================================================== --- Website/App_Code/Products.cs 2006-08-01 22:41:20 UTC (rev 259) +++ Website/App_Code/Products.cs 2006-08-02 01:37:18 UTC (rev 260) @@ -39,14 +39,9 @@ string name = Help.DB_StringParse(dr["name"]); string description = Help.DB_StringParse(dr["description"]); string codeName = Help.DB_StringParse(dr["codeName"]); - User devManager = UserDB.GetUserInfo(Help.DB_IntParse(dr["devManager"])); - User qaManager = UserDB.GetUserInfo(Help.DB_IntParse(dr["qaManager"])); - User devLead = UserDB.GetUserInfo(Help.DB_IntParse(dr["devLead"])); - User qaLead = UserDB.GetUserInfo(Help.DB_IntParse(dr["qaLead"])); - User pm = UserDB.GetUserInfo(Help.DB_IntParse(dr["pm"])); bool active = Help.DB_BoolParse(dr["active"]); - product = new Product(id, name, description, codeName, devManager, qaManager, devLead, qaLead, pm, active); + product = new Product(id, name, description, codeName, active); } return product; @@ -68,11 +63,6 @@ string name; string description; string codeName; - User devManager; - User qaManager; - User devLead; - User qaLead; - User pm; bool active; while (dr.Read()) { @@ -82,14 +72,9 @@ name = Help.DB_StringParse(dr["name"]); description = Help.DB_StringParse(dr["description"]); codeName = Help.DB_StringParse(dr["codeName"]); - devManager = UserDB.GetUserInfo(Help.DB_IntParse(dr["devManager"])); - qaManager = UserDB.GetUserInfo(Help.DB_IntParse(dr["qaManager"])); - devLead = UserDB.GetUserInfo(Help.DB_IntParse(dr["devLead"])); - qaLead = UserDB.GetUserInfo(Help.DB_IntParse(dr["qaLead"])); - pm = UserDB.GetUserInfo(Help.DB_IntParse(dr["pm"])); active = Help.DB_BoolParse(dr["active"]); - product = new Product(id, name, description, codeName, devManager, qaManager, devLead, qaLead, pm, active); + product = new Product(id, name, description, codeName, active); productList.Add(product); } } @@ -104,11 +89,6 @@ private string p_name; private string p_description; private string p_codeName; - private User p_devManager; - private User p_qaManager; - private User p_devLead; - private User p_qaLead; - private User p_pm; private bool p_active; // TODO: Implement these as the time is right //private List<TCDB_Tag> tags; @@ -119,26 +99,15 @@ p_name = null; p_description = null; p_codeName = null; - p_devManager = null; - p_qaManager = null; - p_devLead = null; - p_qaLead = null; - p_pm = null; p_active = false; } - public Product(int id, string name, string description, string codeName, User devManager, - User qaManager, User devLead, User qaLead, User pm, bool active) + public Product(int id, string name, string description, string codeName, bool active) { p_productid = id; p_name = name; p_description = description; p_codeName = codeName; - p_devManager = devManager; - p_qaManager = qaManager; - p_devLead = devLead; - p_qaLead = qaLead; - p_pm = pm; p_active = active; } @@ -166,36 +135,6 @@ set { p_codeName = value; } } - public User DEVMANAGER - { - get { return p_devManager; } - set { p_devManager = value; } - } - - public User QAMANAGER - { - get { return p_qaManager; } - set { p_qaManager = value; } - } - - public User DEVLEAD - { - get { return p_devLead; } - set { p_devLead = value; } - } - - public User QALEAD - { - get { return p_qaLead; } - set { p_qaLead = value; } - } - - public User PM - { - get { return p_pm; } - set { p_pm = value; } - } - public bool ACTIVE { get { return p_active; } Modified: Website/App_Code/tcdbDataSet.xsd =================================================================== --- Website/App_Code/tcdbDataSet.xsd 2006-08-01 22:41:20 UTC (rev 259) +++ Website/App_Code/tcdbDataSet.xsd 2006-08-02 01:37:18 UTC (rev 260) @@ -632,65 +632,6 @@ <Sources> </Sources> </TableAdapter> - <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="db_roleTableAdapter" GeneratorDataComponentClassName="db_roleTableAdapter" Name="db_role" UserDataComponentName="db_roleTableAdapter"> - <MainSource> - <DbSource ConnectionRef="tcdbConnectionString (Web.config)" DbObjectName="tcdb.dbo.sel_role" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill"> - <InsertCommand> - <DbCommand CommandType="StoredProcedure" ModifiedByUser="False"> - <CommandText>dbo.ins_role</CommandText> - <Parameters> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@roleName" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="roleName" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@roleDescription" Precision="0" ProviderType="Text" Scale="0" Size="2147483647" SourceColumn="roleDescription" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - </Parameters> - </DbCommand> - </InsertCommand> - <SelectCommand> - <DbCommand CommandType="StoredProcedure" ModifiedByUser="False"> - <CommandText>dbo.sel_role</CommandText> - <Parameters> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@roleID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@roleName" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@active" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - </Parameters> - </DbCommand> - </SelectCommand> - <UpdateCommand> - <DbCommand CommandType="StoredProcedure" ModifiedByUser="False"> - <CommandText>dbo.upd_role</CommandText> - <Parameters> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@roleID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="roleID" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@roleName" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="roleName" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@roleDescription" Precision="0" ProviderType="Text" Scale="0" Size="2147483647" SourceColumn="roleDescription" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@active" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumn="active" SourceColumnNullMapping="False" SourceVersion="Current"> - </Parameter> - </Parameters> - </DbCommand> - </UpdateCommand> - </DbSource> - </MainSource> - <Mappings> - <Mapping SourceColumn="roleID" DataSetColumn="roleID" /> - <Mapping SourceColumn="roleName" DataSetColumn="roleName" /> - <Mapping SourceColumn="roleDescription" DataSetColumn="roleDescription" /> - <Mapping SourceColumn="active" DataSetColumn="active" /> - </Mappings> - <Sources> - </Sources> - </TableAdapter> <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="db_roleProductUserTableAdapter" GeneratorDataComponentClassName="db_roleProductUserTableAdapter" Name="db_roleProductUser" UserDataComponentName="db_roleProductUserTableAdapter"> <MainSource> <DbSource ConnectionRef="tcdbConnectionString (Web.config)" DbObjectName="tcdb.dbo.sel_roleProductUser" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill"> @@ -932,6 +873,65 @@ <Sources> </Sources> </TableAdapter> + <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="db_roleTableAdapter" GeneratorDataComponentClassName="db_roleTableAdapter" Name="db_role" UserDataComponentName="db_roleTableAdapter"> + <MainSource> + <DbSource ConnectionRef="tcdbConnectionString (Web.config)" DbObjectName="tcdb.dbo.sel_role" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill"> + <InsertCommand> + <DbCommand CommandType="StoredProcedure" ModifiedByUser="False"> + <CommandText>dbo.ins_role</CommandText> + <Parameters> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@roleName" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="roleName" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@roleDescription" Precision="0" ProviderType="Text" Scale="0" Size="2147483647" SourceColumn="roleDescription" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + </Parameters> + </DbCommand> + </InsertCommand> + <SelectCommand> + <DbCommand CommandType="StoredProcedure" ModifiedByUser="False"> + <CommandText>dbo.sel_role</CommandText> + <Parameters> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@roleID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@roleName" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@active" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + </Parameters> + </DbCommand> + </SelectCommand> + <UpdateCommand> + <DbCommand CommandType="StoredProcedure" ModifiedByUser="False"> + <CommandText>dbo.upd_role</CommandText> + <Parameters> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@roleID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="roleID" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@roleName" Precision="0" ProviderType="VarChar" Scale="0" Size="255" SourceColumn="roleName" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@roleDescription" Precision="0" ProviderType="Text" Scale="0" Size="2147483647" SourceColumn="roleDescription" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@active" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumn="active" SourceColumnNullMapping="False" SourceVersion="Current"> + </Parameter> + </Parameters> + </DbCommand> + </UpdateCommand> + </DbSource> + </MainSource> + <Mappings> + <Mapping SourceColumn="roleID" DataSetColumn="roleID" /> + <Mapping SourceColumn="roleName" DataSetColumn="roleName" /> + <Mapping SourceColumn="roleDescription" DataSetColumn="roleDescription" /> + <Mapping SourceColumn="active" DataSetColumn="active" /> + </Mappings> + <Sources> + </Sources> + </TableAdapter> </Tables> <Sources> </Sources> @@ -1291,28 +1291,6 @@ </xs:sequence> </xs:complexType> </xs:element> - <xs:element name="db_role" msprop:Generator_UserTableName="db_role" msprop:Generator_RowDeletedName="db_roleRowDeleted" msprop:Generator_RowChangedName="db_roleRowChanged" msprop:Generator_RowClassName="db_roleRow" msprop:Generator_RowChangingName="db_roleRowChanging" msprop:Generator_RowEvArgName="db_roleRowChangeEvent" msprop:Generator_RowEvHandlerName="db_roleRowChangeEventHandler" msprop:Generator_TableClassName="db_roleDataTable" msprop:Generator_TableVarName="tabledb_role" msprop:Generator_RowDeletingName="db_roleRowDeleting" msprop:Generator_TablePropName="db_role"> - <xs:complexType> - <xs:sequence> - <xs:element name="roleID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="roleID" msprop:Generator_ColumnVarNameInTable="columnroleID" msprop:Generator_ColumnPropNameInRow="roleID" msprop:Generator_ColumnPropNameInTable="roleIDColumn" type="xs:int" /> - <xs:element name="roleName" msprop:Generator_UserColumnName="roleName" msprop:Generator_ColumnVarNameInTable="columnroleName" msprop:Generator_ColumnPropNameInRow="roleName" msprop:Generator_ColumnPropNameInTable="roleNameColumn" minOccurs="0"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:maxLength value="255" /> - </xs:restriction> - </xs:simpleType> - </xs:element> - <xs:element name="roleDescription" msprop:Generator_UserColumnName="roleDescription" msprop:Generator_ColumnVarNameInTable="columnroleDescription" msprop:Generator_ColumnPropNameInRow="roleDescription" msprop:Generator_ColumnPropNameInTable="roleDescriptionColumn" minOccurs="0"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:maxLength value="2147483647" /> - </xs:restriction> - </xs:simpleType> - </xs:element> - <xs:element name="active" msprop:Generator_UserColumnName="active" msprop:Generator_ColumnVarNameInTable="columnactive" msprop:Generator_ColumnPropNameInRow="active" msprop:Generator_ColumnPropNameInTable="activeColumn" type="xs:boolean" /> - </xs:sequence> - </xs:complexType> - </xs:element> <xs:element name="db_roleProductUser" msprop:Generator_UserTableName="db_roleProductUser" msprop:Generator_RowDeletedName="db_roleProductUserRowDeleted" msprop:Generator_RowChangedName="db_roleProductUserRowChanged" msprop:Generator_RowClassName="db_roleProductUserRow" msprop:Generator_RowChangingName="db_roleProductUserRowChanging" msprop:Generator_RowEvArgName="db_roleProductUserRowChangeEvent" msprop:Generator_RowEvHandlerName="db_roleProductUserRowChangeEventHandler" msprop:Generator_TableClassName="db_roleProductUserDataTable" msprop:Generator_TableVarName="tabledb_roleProductUser" msprop:Generator_RowDeletingName="db_roleProductUserRowDeleting" msprop:Generator_TablePropName="db_roleProductUser"> <xs:complexType> <xs:sequence> @@ -1436,6 +1414,28 @@ </xs:sequence> </xs:complexType> </xs:element> + <xs:element name="db_role" msprop:Generator_UserTableName="db_role" msprop:Generator_RowDeletedName="db_roleRowDeleted" msprop:Generator_RowChangedName="db_roleRowChanged" msprop:Generator_RowClassName="db_roleRow" msprop:Generator_RowChangingName="db_roleRowChanging" msprop:Generator_RowEvArgName="db_roleRowChangeEvent" msprop:Generator_RowEvHandlerName="db_roleRowChangeEventHandler" msprop:Generator_TableClassName="db_roleDataTable" msprop:Generator_TableVarName="tabledb_role" msprop:Generator_RowDeletingName="db_roleRowDeleting" msprop:Generator_TablePropName="db_role"> + <xs:complexType> + <xs:sequence> + <xs:element name="roleID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="roleID" msprop:Generator_ColumnVarNameInTable="columnroleID" msprop:Generator_ColumnPropNameInRow="roleID" msprop:Generator_ColumnPropNameInTable="roleIDColumn" type="xs:int" /> + <xs:element name="roleName" msprop:Generator_UserColumnName="roleName" msprop:Generator_ColumnVarNameInTable="columnroleName" msprop:Generator_ColumnPropNameInRow="roleName" msprop:Generator_ColumnPropNameInTable="roleNameColumn" minOccurs="0"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:maxLength value="255" /> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="roleDescription" msprop:Generator_UserColumnName="roleDescription" msprop:Generator_ColumnVarNameInTable="columnroleDescription" msprop:Generator_ColumnPropNameInRow="roleDescription" msprop:Generator_ColumnPropNameInTable="roleDescriptionColumn" minOccurs="0"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:maxLength value="2147483647" /> + </xs:restriction> + </xs:simpleType> + </xs:element> + <xs:element name="active" msprop:Generator_UserColumnName="active" msprop:Generator_ColumnVarNameInTable="columnactive" msprop:Generator_ColumnPropNameInRow="active" msprop:Generator_ColumnPropNameInTable="activeColumn" type="xs:boolean" /> + </xs:sequence> + </xs:complexType> + </xs:element> </xs:choice> </xs:complexType> <xs:unique name="Constraint1" msdata:PrimaryKey="true"> Modified: Website/App_Code/tcdbDataSet.xss =================================================================== --- Website/App_Code/tcdbDataSet.xss 2006-08-01 22:41:20 UTC (rev 259) +++ Website/App_Code/tcdbDataSet.xss 2006-08-02 01:37:18 UTC (rev 260) @@ -4,7 +4,7 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. </autogenerated>--> -<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="269" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> +<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="239" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout"> <Shapes> <Shape ID="DesignTable:db_users" ZOrder="17" X="87" Y="57" Height="241" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="194" /> <Shape ID="DesignTable:db_products" ZOrder="16" X="25" Y="506" Height="241" Width="213" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="194" /> @@ -16,13 +16,13 @@ <Shape ID="DesignTable:db_config" ZOrder="10" X="382" Y="203" Height="156" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="109" /> <Shape ID="DesignTable:db_version" ZOrder="9" X="268" Y="539" Height="173" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" /> <Shape ID="DesignTable:db_rights" ZOrder="8" X="599" Y="657" Height="156" Width="260" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="109" /> - <Shape ID="DesignTable:db_role" ZOrder="7" X="319" Y="763" Height="139" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" /> - <Shape ID="DesignTable:db_roleProductUser" ZOrder="6" X="903" Y="671" Height="156" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="109" /> - <Shape ID="DesignTable:db_roleProduct" ZOrder="5" X="904" Y="843" Height="105" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" /> - <Shape ID="DesignTable:db_roleUserProduct" ZOrder="4" X="593" Y="838" Height="190" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="109" /> - <Shape ID="DesignTable:db_roleRight" ZOrder="3" X="61" Y="768" Height="173" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" /> - <Shape ID="DesignTable:db_userRights" ZOrder="2" X="647" Y="158" Height="190" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="143" /> - <Shape ID="DesignTable:db_rightRole" ZOrder="1" X="272" Y="942" Height="139" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" /> + <Shape ID="DesignTable:db_roleProductUser" ZOrder="7" X="903" Y="671" Height="156" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="109" /> + <Shape ID="DesignTable:db_roleProduct" ZOrder="6" X="904" Y="843" Height="105" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" /> + <Shape ID="DesignTable:db_roleUserProduct" ZOrder="5" X="593" Y="838" Height="190" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="109" /> + <Shape ID="DesignTable:db_roleRight" ZOrder="4" X="61" Y="768" Height="173" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" /> + <Shape ID="DesignTable:db_userRights" ZOrder="3" X="647" Y="158" Height="190" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="143" /> + <Shape ID="DesignTable:db_rightRole" ZOrder="2" X="272" Y="942" Height="139" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" /> + <Shape ID="DesignTable:db_role" ZOrder="1" X="306" Y="769" Height="139" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" /> </Shapes> <Connectors /> </DiagramLayout> \ No newline at end of file Modified: Website/Includes/AdministrationTree.ascx.cs =================================================================== --- Website/Includes/AdministrationTree.ascx.cs 2006-08-01 22:41:20 UTC (rev 259) +++ Website/Includes/AdministrationTree.ascx.cs 2006-08-02 01:37:18 UTC (rev 260) @@ -74,16 +74,20 @@ ArrayList nodes = (ArrayList)Session["AdminNodes"]; TreeNode newNode; + // Add Admin Settings - newNode = new TreeNode(); - newNode.Text = "Site Settings"; - newNode.Value = "admin"; - newNode.PopulateOnDemand = true; - newNode.SelectAction = TreeNodeSelectAction.Expand; - newNode.NavigateUrl = "~/AdminConfig.aspx"; - parent.ChildNodes.Add(newNode); - if (nodes.Contains(newNode.ValuePath)) - newNode.Expand(); + if (Constants.IS_DEV_ENV) + { + newNode = new TreeNode(); + newNode.Text = "Site Settings"; + newNode.Value = "admin"; + newNode.PopulateOnDemand = true; + newNode.SelectAction = TreeNodeSelectAction.Expand; + newNode.NavigateUrl = "~/AdminConfig.aspx"; + parent.ChildNodes.Add(newNode); + if (nodes.Contains(newNode.ValuePath)) + newNode.Expand(); + } // Users newNode = new TreeNode(); Modified: Website/Includes/Authenticate.ascx.cs =================================================================== --- Website/Includes/Authenticate.ascx.cs 2006-08-01 22:41:20 UTC (rev 259) +++ Website/Includes/Authenticate.ascx.cs 2006-08-02 01:37:18 UTC (rev 260) @@ -200,8 +200,9 @@ private User GetProductAdmin(Product product) { - User admin; - + // TODO: FIX THIS CODE!!!!! It needs to look up the product admin by role now + User admin = new User(); + /* if (product.QALEAD.HasRight(Constants.RIGHTS_ASSIGNPERMISSION, product.ID)) { m_logg.Debug("The QA lead [" + product.QALEAD.ToString() + "] has rights to assign permissions for product [" + product.ToString() + "]"); @@ -221,7 +222,7 @@ admin = UserDB.GetUserInfo(ConfigDB.GetConfigInt("site_admin")); m_logg.Debug("The site admin [" + admin.ToString() + "] has rights to assign permissions for product [" + product.ToString() + "]"); } - + */ return admin; } } Modified: Website/Includes/Roles.ascx =================================================================== --- Website/Includes/Roles.ascx 2006-08-01 22:41:20 UTC (rev 259) +++ Website/Includes/Roles.ascx 2006-08-02 01:37:18 UTC (rev 260) @@ -1,4 +1,4 @@ -<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Roles.ascx.cs" Inherits="Roles" %> +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Roles.ascx.cs" Inherits="TCDBRoles" %> <%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %> <asp:FormView ID="FormView1" runat="server" DataKeyNames="roleID" DataSourceID="RoleDataSource" OnItemInserted="FormView1_ItemInserted" OnItemUpdated="FormView1_ItemUpdated" Modified: Website/Includes/Roles.ascx.cs =================================================================== --- Website/Includes/Roles.ascx.cs 2006-08-01 22:41:20 UTC (rev 259) +++ Website/Includes/Roles.ascx.cs 2006-08-02 01:37:18 UTC (rev 260) @@ -17,9 +17,9 @@ using TCDB.Rights; using log4net; -public partial class Roles : SiteUserControl +public partial class TCDBRoles : SiteUserControl { - private static ILog m_logg = LogManager.GetLogger("Page:Roles"); + private static ILog m_logg = LogManager.GetLogger("Page:TCDBRoles"); int roleID = Convert.ToInt32(HttpContext.Current.Request.QueryString[Constants.CODE_ROLE]); Role role; String mode = HttpContext.Current.Request.QueryString["mode"]; @@ -41,7 +41,7 @@ Session.Add("roleID", roleID); role = RightDB.GetRoleInfo(roleID); - Session.Add("tableName", "tcdb_role"); + //Session.Add("tableName", "tcdb_role"); if (mode == "new") FormView1.ChangeMode(FormViewMode.Insert); @@ -129,11 +129,13 @@ updateUserRoleProducts(); updateRoleRights(); + Session.Remove("tableName"); Response.Redirect("~/Role.aspx?" + Constants.CODE_ROLE + "=" + roleID); } else { m_logg.Error("Could not insert role: " + e.Values["roleName"]); + Session.Remove("tableName"); Response.Redirect("~/Administration.aspx"); } } @@ -141,19 +143,23 @@ { updateUserRoleProducts(); updateRoleRights(); + Session.Remove("tableName"); Response.Redirect("~/Role.aspx?" + Constants.CODE_ROLE + "=" + roleID); } protected void deleteCmd(object sender, CommandEventArgs e) { tcdbDataSetTableAdapters.db_roleTableAdapter rAdapter = new tcdbDataSetTableAdapters.db_roleTableAdapter(); rAdapter.Update(roleID, role.NAME, role.DESCRIPTION, false); - + Session.Remove("tableName"); Response.Redirect("~/Administration.aspx"); } protected void FormView1_ItemCommand(object sender, FormViewCommandEventArgs e) { if (FormView1.CurrentMode == FormViewMode.Insert && e.CommandName == "Cancel") + { + Session.Remove("tableName"); Response.Redirect("~/Administration.aspx"); + } } protected void userList_DataBound(object sender, EventArgs e) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <m_h...@us...> - 2006-08-02 20:47:37
|
Revision: 263 Author: m_hildebrand Date: 2006-08-02 13:47:22 -0700 (Wed, 02 Aug 2006) ViewCVS: http://svn.sourceforge.net/tcdb/?rev=263&view=rev Log Message: ----------- Split CSS into non-ie and ie Fixed an infinite loop when loading assignments tree Modified Paths: -------------- Deploy/TCDB_Setup/TCDB_Setup.vdproj Website/App_Code/Common.cs Website/App_Code/Users.cs Website/App_Themes/Python/python.css Website/Includes/ActionItems.ascx Website/TCDB.master Website/web.config Added Paths: ----------- Website/App_Themes/Python/style-ie.css Property Changed: ---------------- Deploy/ Property changes on: Deploy ___________________________________________________________________ Name: svn:ignore - *.suo TCDB_2006.msi setup.exe TCDB_2006 1.0.0 Alpha 2.msi + *.suo TCDB_2006.msi setup.exe TCDB_2006 1.0.0 Alpha 2.msi TCDB_2006 1.0.0 Alpha 2b.msi Modified: Deploy/TCDB_Setup/TCDB_Setup.vdproj =================================================================== --- Deploy/TCDB_Setup/TCDB_Setup.vdproj 2006-08-02 19:34:53 UTC (rev 262) +++ Deploy/TCDB_Setup/TCDB_Setup.vdproj 2006-08-02 20:47:22 UTC (rev 263) @@ -15,6 +15,12 @@ { "Entry" { + "MsmKey" = "8:_0FCE56EE20B73158098A3151A021A74C" + "OwnerKey" = "8:_E626D31751034819989DCB478ACFFA92" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { "MsmKey" = "8:_1BF98782D91A87389FFA1ABF5936867C" "OwnerKey" = "8:_E626D31751034819989DCB478ACFFA92" "MsmSig" = "8:_UNDEFINED" @@ -40,13 +46,13 @@ "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_1BF98782D91A87389FFA1ABF5936867C" + "OwnerKey" = "8:_E626D31751034819989DCB478ACFFA92" "MsmSig" = "8:_UNDEFINED" } "Entry" { "MsmKey" = "8:_UNDEFINED" - "OwnerKey" = "8:_E626D31751034819989DCB478ACFFA92" + "OwnerKey" = "8:_0FCE56EE20B73158098A3151A021A74C" "MsmSig" = "8:_UNDEFINED" } "Entry" @@ -55,6 +61,12 @@ "OwnerKey" = "8:_5CDC7F185F72143DAE7DD65D0A7F7B6F" "MsmSig" = "8:_UNDEFINED" } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_1BF98782D91A87389FFA1ABF5936867C" + "MsmSig" = "8:_UNDEFINED" + } } "Configurations" { @@ -159,6 +171,37 @@ } "File" { + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0FCE56EE20B73158098A3151A021A74C" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:FreeTextBox, Version=3.1.6.34851, Culture=neutral, PublicKeyToken=5962a4e684a48b87, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0FCE56EE20B73158098A3151A021A74C" + { + "Name" = "8:FreeTextBox.DLL" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:FreeTextBox.DLL" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_115F2933414A473086CFB664233245A8" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_1BF98782D91A87389FFA1ABF5936867C" { "AssemblyRegister" = "3:1" @@ -352,14 +395,14 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:TestCase Database 2006 (TCDB)" - "ProductCode" = "8:{FE2928BD-E347-4480-9E37-291076A6026B}" - "PackageCode" = "8:{B59BEFA1-13F2-468F-B59B-FC638C68C6FC}" + "ProductCode" = "8:{0930EAAB-C6DB-48B5-8BD8-E07095607859}" + "PackageCode" = "8:{65EAF903-713C-40F0-82B5-6205D9898B64}" "UpgradeCode" = "8:{0409CEE2-45EA-431A-802D-EFA205FB1A48}" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:0.1.1" + "ProductVersion" = "8:1.0.0" "Manufacturer" = "8:Quest Software" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:" @@ -368,7 +411,7 @@ "ARPCONTACT" = "8:Quest Software" "Keywords" = "8:" "ARPCOMMENTS" = "8:" - "ARPURLINFOABOUT" = "8:http://tcdb.sf.net" + "ARPURLINFOABOUT" = "8:http://opentcdb.org" "ARPPRODUCTICON" = "8:" "ARPIconIndex" = "3:0" "SearchPath" = "8:" Modified: Website/App_Code/Common.cs =================================================================== --- Website/App_Code/Common.cs 2006-08-02 19:34:53 UTC (rev 262) +++ Website/App_Code/Common.cs 2006-08-02 20:47:22 UTC (rev 263) @@ -1266,7 +1266,7 @@ public static int ASSIGNMENT_UNFINISHED = 0; public static int ASSIGNMENT_NEW = 3; - public static string TCDB_VERSION = "1.0.0 Alpha 2"; + public static string TCDB_VERSION = "1.0.0 Alpha 2b"; public static bool IS_DEV_ENV = false; public static string RIGHTS_ASSIGNPERMISSION = "assignPermission"; Modified: Website/App_Code/Users.cs =================================================================== --- Website/App_Code/Users.cs 2006-08-02 19:34:53 UTC (rev 262) +++ Website/App_Code/Users.cs 2006-08-02 20:47:22 UTC (rev 263) @@ -338,12 +338,13 @@ // Problem: I think that it was caused because creating an anon user calls this, // which in turn creates an anon user. // Solution: Only calling this if we're not dealing with the anon user. - if (user.ID == Constants.ANONYMOUSUSERID) + if (user.ID != Constants.ANONYMOUSUSERID) { // Anything that we have to Get based on userID should happen // in this block so that we avoid an infinate loop - p_assignments = user.GetAssignments(false, Constants.ASSIGNMENT_FINISHEDANDUNFINISHED); + //p_assignments = user.GetAssignments(false, Constants.ASSIGNMENT_FINISHEDANDUNFINISHED); } + p_assignments = null; p_rights = new Dictionary<int, List<String>>(); } @@ -515,8 +516,9 @@ // TODO: This list needs to be able to reflect filters! if (p_assignments == null || reload) { - p_assignments = AssignmentDB.GetAssignmentList(null,statusFilter, ID, null); + p_assignments = AssignmentDB.GetAssignmentList(null, statusFilter, ID, null); } + return p_assignments; } Modified: Website/App_Themes/Python/python.css =================================================================== --- Website/App_Themes/Python/python.css 2006-08-02 19:34:53 UTC (rev 262) +++ Website/App_Themes/Python/python.css 2006-08-02 20:47:22 UTC (rev 263) @@ -72,12 +72,6 @@ left: 0; } -* HTML .bottom -{ - position: static; - padding-top: 8px; -} - .hover:hover, TR.overdue:hover, TR.finished:hover { background-color: #eee; @@ -102,11 +96,6 @@ top: 1px; } -* html .item .checkbox INPUT -{ - position: static; -} - .item UL { margin: 0; @@ -285,13 +274,6 @@ overflow: auto; } -/* A CSS hack that only applied to IE -- forces the height of NonFooter - to be 100%, something that causes problems in Mozilla */ -* HTML #NonFooter -{ - height: 100%; -} - #FooterContent { background-color: #022e66; @@ -303,14 +285,6 @@ margin: -2.35em auto 0 auto; } -/* A CSS hack that only applies to IE -- specifies a different height for the footer - and set the position to static so the background displays */ -/* TODO: Figure out a way to keep the footer in IE from overlaping page content */ -* HTML #FooterContent -{ - position: static; - margin-top: -2.3em; -} /********** END Footer Content **********/ /********** BEGIN Form Content **********/ @@ -360,11 +334,6 @@ left: -3px; } -* HTML .form .checkbox INPUT -{ - width: 15px; -} - .form BR { clear: left; @@ -382,11 +351,6 @@ width: 100px; } -* html #fullname input -{ - width: 100px; -} - #email input { width: 200px; @@ -513,8 +477,10 @@ .ch .buttons { display: inline; - padding: auto 10px auto 50px; - margin: auto 10px auto 50px; + padding-left: 10px; + padding-right: 50px; + margin-left: 10px; + margin-right: 50px; } .ch .quickFilter @@ -538,22 +504,11 @@ position: relative; } -* html .cb -{ - position: static; -} - .ct .bottom { bottom: 5px; } -* html .cb .bottom -{ - position: relative; - top: 5px; -} - .ct H2 { display: block; @@ -562,11 +517,6 @@ padding: 0px; font-size: 16px; } - -* html .ct H2 -{ - font-size: 16px; -} /********* END Content Top ************/ /********** BEGIN Assignments Content **********/ Added: Website/App_Themes/Python/style-ie.css =================================================================== --- Website/App_Themes/Python/style-ie.css (rev 0) +++ Website/App_Themes/Python/style-ie.css 2006-08-02 20:47:22 UTC (rev 263) @@ -0,0 +1,53 @@ + +.bottom +{ + position: static; + padding-top: 8px; +} + +.item .checkbox INPUT +{ + position: static; +} + +/* A CSS hack that only applied to IE -- forces the height of NonFooter + to be 100%, something that causes problems in Mozilla */ +#NonFooter +{ + height: 100%; +} + +/* A CSS hack that only applies to IE -- specifies a different height for the footer + and set the position to static so the background displays */ +/* TODO: Figure out a way to keep the footer in IE from overlaping page content */ +#FooterContent +{ + position: static; + margin-top: -2.3em; +} + +.form .checkbox INPUT +{ + width: 15px; +} + +#fullname input +{ + width: 100px; +} + +.cb +{ + position: static; +} + +.cb .bottom +{ + position: relative; + top: 5px; +} + +.ct H2 +{ + font-size: 16px; +} \ No newline at end of file Modified: Website/Includes/ActionItems.ascx =================================================================== --- Website/Includes/ActionItems.ascx 2006-08-02 19:34:53 UTC (rev 262) +++ Website/Includes/ActionItems.ascx 2006-08-02 20:47:22 UTC (rev 263) @@ -7,9 +7,10 @@ <%@ Import Namespace="System.Data.SqlClient" %> <%@ Import Namespace="eWorld" %> <div id="ActionItem"> - <asp:FormView ID="ActionItemsView" runat="server" DataSourceID="ActionItemDataSource" DataKeyNames="actionItemID" - CellPadding="4" ForeColor="#333333" OnDataBound="ActionItemsView_DataBound" OnItemCommand="ActionItemsView_ItemCommand" - Width="100%" OnItemInserted="ActionItemsView_ItemInserted" OnItemUpdated="ActionItemsView_ItemUpdated"> + <asp:FormView ID="ActionItemsView" runat="server" DataSourceID="ActionItemDataSource" + DataKeyNames="actionItemID" CellPadding="4" ForeColor="#333333" OnDataBound="ActionItemsView_DataBound" + OnItemCommand="ActionItemsView_ItemCommand" Width="100%" OnItemInserted="ActionItemsView_ItemInserted" + OnItemUpdated="ActionItemsView_ItemUpdated"> <HeaderTemplate> <asp:ObjectDataSource ID="StatusDataSource" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="tcdbDataSetTableAdapters.db_statusTableAdapter"> @@ -31,7 +32,8 @@ <label> Status:</label><asp:DropDownList ID="statusList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="statusChanged" DataSourceID="StatusDataSource" DataTextField="statusName" - DataValueField="statusID" AppendDataBoundItems="True" SelectedValue='<%# Bind("statusID") %>' OnInit="statusList_Init"> + DataValueField="statusID" AppendDataBoundItems="True" SelectedValue='<%# Bind("statusID") %>' + OnInit="statusList_Init"> </asp:DropDownList> </div> <div class="buttons"> @@ -62,7 +64,7 @@ <div class="top"> <h2> <asp:Literal ID="priority_high" runat="server" Visible='<%# Eval("highPriority") %>' - Text='<div class="priority_high_large"> </div>'></asp:Literal> + Text='<span class="priority_high_large"> </span>'></asp:Literal> <asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>'></asp:Label></h2> </div> <div class="bottom"> @@ -100,9 +102,10 @@ <div class="left"> <div class="bottom"> <asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" CommandName="New" - Text="New" OnInit="NewButton_Init" /> | <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" - CommandName="Edit" Text="Edit" OnInit="EditButton_Init" /> | <asp:LinkButton ID="DeleteButton" runat="server" - CausesValidation="False" CommandName="deleteItem" Text="Delete" OnCommand="deleteItem" OnInit="DeleteButton_Init" /> + Text="New" OnInit="NewButton_Init" /> | <asp:LinkButton ID="EditButton" + runat="server" CausesValidation="False" CommandName="Edit" Text="Edit" OnInit="EditButton_Init" /> | <asp:LinkButton + ID="DeleteButton" runat="server" CausesValidation="False" CommandName="deleteItem" + Text="Delete" OnCommand="deleteItem" OnInit="DeleteButton_Init" /> </div> </div> <div class="right"> @@ -124,6 +127,7 @@ <b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"> </b></b> </div> + </div> </ItemTemplate> <EditItemTemplate> <div id="aiContent"> @@ -160,18 +164,23 @@ </div> <div class="item"> <label> - Due:</label><div class="calendar"><ew:CalendarPopup ID="dateDue" runat="server" PopupLocation="Left" ShowGoToToday="True" - ControlDisplay="LabelImage" ImageUrl="../App_Themes/Python/Images/calendar.gif" - SelectedDate='<%# Bind("dateDue") %>' UpperBoundDate="12/31/9999 23:59:59" VisibleDate="2006-07-21"> - </ew:CalendarPopup></div> + Due:</label><div class="calendar"> + <ew:CalendarPopup ID="dateDue" runat="server" PopupLocation="Left" ShowGoToToday="True" + ControlDisplay="LabelImage" ImageUrl="../App_Themes/Python/Images/calendar.gif" + SelectedDate='<%# Bind("dateDue") %>' UpperBoundDate="12/31/9999 23:59:59" VisibleDate="2006-07-21"> + </ew:CalendarPopup> + </div> </div> <div class="item"> <label> - Finished:</label><div class="calendar"><ew:CalendarPopup ID="dateFinished" runat="server" PopupLocation="Left" - ShowClearDate="true" ShowGoToToday="True" NullableLabelText="Select a date" ControlDisplay="LabelImage" - ImageUrl="../App_Themes/Python/Images/calendar.gif" Nullable="True" OnDateChanged="dateFinished_DateChanged" - SelectedDate="" UpperBoundDate="12/31/9999 23:59:59" VisibleDate="" AutoPostBack="True" OnInit="dateFinished_Init"> - </ew:CalendarPopup></div> + Finished:</label><div class="calendar"> + <ew:CalendarPopup ID="dateFinished" runat="server" PopupLocation="Left" ShowClearDate="true" + ShowGoToToday="True" NullableLabelText="Select a date" ControlDisplay="LabelImage" + ImageUrl="../App_Themes/Python/Images/calendar.gif" Nullable="True" OnDateChanged="dateFinished_DateChanged" + SelectedDate="" UpperBoundDate="12/31/9999 23:59:59" VisibleDate="" AutoPostBack="True" + OnInit="dateFinished_Init"> + </ew:CalendarPopup> + </div> </div> </div> <div class="end"> @@ -206,7 +215,8 @@ <div class="item"> <label> Assigned To:</label><asp:DropDownList ID="assignedTo" runat="server" DataSourceID="UserDataSource" - DataTextField="fullName" DataValueField="userID" SelectedValue='<%# Bind("assignedID") %>' OnDataBound="assignedTo_DataBound"> + DataTextField="fullName" DataValueField="userID" SelectedValue='<%# Bind("assignedID") %>' + OnDataBound="assignedTo_DataBound"> </asp:DropDownList> </div> </div> @@ -252,10 +262,12 @@ </div> <div class="item"> <label> - Due:</label><div class="calendar"><ew:CalendarPopup ID="dateDue" runat="server" PopupLocation="Left" ShowGoToToday="True" - ControlDisplay="LabelImage" ImageUrl="../App_Themes/Python/Images/calendar.gif" - SelectedDate='<%# Bind("dateDue") %>' UpperBoundDate="12/31/9999 23:59:59" VisibleDate="2006-07-21"> - </ew:CalendarPopup></div> + Due:</label><div class="calendar"> + <ew:CalendarPopup ID="dateDue" runat="server" PopupLocation="Left" ShowGoToToday="True" + ControlDisplay="LabelImage" ImageUrl="../App_Themes/Python/Images/calendar.gif" + SelectedDate='<%# Bind("dateDue") %>' UpperBoundDate="12/31/9999 23:59:59" VisibleDate="2006-07-21"> + </ew:CalendarPopup> + </div> </div> </div> <div class="end"> @@ -344,4 +356,4 @@ <SelectParameters> <asp:Parameter Name="testPassID" Type="Int32" /> </SelectParameters> -</asp:ObjectDataSource> \ No newline at end of file +</asp:ObjectDataSource> Modified: Website/TCDB.master =================================================================== --- Website/TCDB.master 2006-08-02 19:34:53 UTC (rev 262) +++ Website/TCDB.master 2006-08-02 20:47:22 UTC (rev 263) @@ -16,6 +16,9 @@ <head runat="server"> <title>TCDB: Test Case DataBase 2006</title> </head> +<!--[it lt IE 8]> + <link href="App_Themes/<%= Page.StyleSheetTheme %>/style-ie.css" type="text/css" rel="stylesheet" /> +<![endif]--> <body> <div id="NonFooter"> <% if (ConfigDB.GetConfigString("tcdb_version").Equals(Constants.TCDB_VERSION)) Modified: Website/web.config =================================================================== --- Website/web.config 2006-08-02 19:34:53 UTC (rev 262) +++ Website/web.config 2006-08-02 20:47:22 UTC (rev 263) @@ -128,7 +128,7 @@ </microsoft.web> <appSettings/> <connectionStrings> - <add name="tcdbConnectionString" connectionString="Data Source=dad\sqlserver2005;Initial Catalog=tcdb;Persist Security Info=True;User ID=tcdb;Password=tcdbpw;Connect Timeout=60" + <add name="tcdbConnectionString" connectionString="Data Source=tcdb.vintela.com\sqlserver2005;Initial Catalog=tcdb;Persist Security Info=True;User ID=tcdb;Password=tcdbpw;Connect Timeout=60" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |