Index: lams_tool_laqa/conf/hibernate/mappings/org/lamsfoundation/lams/tool/qa/QaSession.hbm.xml =================================================================== diff -u -r92a8f83706fa45c3ee72fb07aae85ad3107bb28e -rdba99aacc32e5b7a5bbc7ab302f7a5a488e3c680 --- lams_tool_laqa/conf/hibernate/mappings/org/lamsfoundation/lams/tool/qa/QaSession.hbm.xml (.../QaSession.hbm.xml) (revision 92a8f83706fa45c3ee72fb07aae85ad3107bb28e) +++ lams_tool_laqa/conf/hibernate/mappings/org/lamsfoundation/lams/tool/qa/QaSession.hbm.xml (.../QaSession.hbm.xml) (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -51,6 +51,14 @@ column="session_status" length="100" /> + + - + QA Tool for Lams 1.1 @@ -9,7 +9,7 @@ - + @@ -49,6 +49,13 @@ + + + + + + + Index: lams_tool_laqa/db/sql/create_lams_tool_qa.sql =================================================================== diff -u -rdeb2242a85499ecbcf6c772d3ab1dbbbbdd1ffd0 -rdba99aacc32e5b7a5bbc7ab302f7a5a488e3c680 --- lams_tool_laqa/db/sql/create_lams_tool_qa.sql (.../create_lams_tool_qa.sql) (revision deb2242a85499ecbcf6c772d3ab1dbbbbdd1ffd0) +++ lams_tool_laqa/db/sql/create_lams_tool_qa.sql (.../create_lams_tool_qa.sql) (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -25,6 +25,7 @@ , qa_session_id BIGINT(20) NOT NULL , session_start_date DATETIME , session_end_date DATETIME + , session_name VARCHAR(100) , session_status VARCHAR(100) , qa_content_id BIGINT(20) NOT NULL , PRIMARY KEY (uid) Index: lams_tool_laqa/db/sql/tool_insert.sql =================================================================== diff -u -r50beebbbb9ec75cf2425984699875f54feb7afef -rdba99aacc32e5b7a5bbc7ab302f7a5a488e3c680 --- lams_tool_laqa/db/sql/tool_insert.sql (.../tool_insert.sql) (revision 50beebbbb9ec75cf2425984699875f54feb7afef) +++ lams_tool_laqa/db/sql/tool_insert.sql (.../tool_insert.sql) (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -47,8 +47,8 @@ 'tool/laqa11/authoringStarter.do', 'tool/laqa11/definelater.do', 'tool/laqa11/export.do', +'tool/laqa11/monitoringStarter.do', 'tool/laqa11/monitoring.do', 'tool/laqa11/monitoring.do', -'tool/laqa11/monitoring.do', NOW() ) Index: lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/QaAppConstants.java =================================================================== diff -u -rf2b7c28c53bfee9c676b5a836e42b71e0e1bf20f -rdba99aacc32e5b7a5bbc7ab302f7a5a488e3c680 --- lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/QaAppConstants.java (.../QaAppConstants.java) (revision f2b7c28c53bfee9c676b5a836e42b71e0e1bf20f) +++ lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/QaAppConstants.java (.../QaAppConstants.java) (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -31,6 +31,7 @@ public static final long DEFAULT_QUE_CONTENT_ID =1; public static final String TOOL_SERVICE ="tool_service"; public static final String ERROR_MCAPPLICATION = "error.exception.QaApplication"; + public static final String TOOL_CONTENT_ID = "toolContentID"; public static final String TARGET_MODE ="targetMode"; public static final String TARGET_MODE_AUTHORING ="Authoring"; @@ -42,12 +43,13 @@ public static final String LOAD_LEARNER ="loadLearner"; public static final String LEARNING_STARTER ="learningStarter"; public static final String MONITORING_STARTER ="monitoringStarter"; + public static final String LOAD_MONITORING ="loadMonitoring"; public static final String COPY_TOOL_CONTENT ="copyToolContent"; public static final String ERROR_LIST ="errorList"; public static final String ERROR_LIST_LEARNER ="errorListLearner"; public static final String DEFAULT_CONTENT_ID_STR ="defaultContentIdStr"; public static final String TOOL_SESSION_ID = "toolSessionID"; - + /* * refers to number of questions presented initially, we have a single record for default content */ Index: lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/QaResources.properties =================================================================== diff -u -r6582f99968f17e3e54b6f83230f6fe0b67b019e6 -rdba99aacc32e5b7a5bbc7ab302f7a5a488e3c680 --- lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/QaResources.properties (.../QaResources.properties) (revision 6582f99968f17e3e54b6f83230f6fe0b67b019e6) +++ lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/QaResources.properties (.../QaResources.properties) (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -132,7 +132,6 @@ error.contentrepository =An error has occurred when saving/deleting instruction file {0}. The files may not be saved correctly. monitoring.feedback.instructionUpdate =The content has been updated successfully. - group.label =Group button.summary =Summary button.editActivity =Edit Activity Index: lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/QaSession.java =================================================================== diff -u -rf2b7c28c53bfee9c676b5a836e42b71e0e1bf20f -rdba99aacc32e5b7a5bbc7ab302f7a5a488e3c680 --- lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/QaSession.java (.../QaSession.java) (revision f2b7c28c53bfee9c676b5a836e42b71e0e1bf20f) +++ lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/QaSession.java (.../QaSession.java) (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -66,6 +66,9 @@ /** nullable persistent field */ private String session_status; + /** nullable persistent field */ + private String session_name; + /** persistent field */ private QaContent qaContent; @@ -77,7 +80,7 @@ public QaSession(){}; - /** full constructor */ + public QaSession(Long qaSessionId, Date session_start_date, Date session_end_date, @@ -91,27 +94,26 @@ this.session_status = session_status; this.qaContent = qaContent; this.qaQueUsers = qaQueUsers; - logger.debug(logger + " " + this.getClass().getName() + "in full constructor: QaSession()"); } - - /** - * Construtor for initializing survey session. - * @param sessionStartDate - * @param sessionStatus - * @param surveyContent - * @param surveyQueUsrs - */ + public QaSession(Long qaSessionId, - Date session_start_date, - String session_status, - QaContent qaContent, - Set qaQueUsers) - { - this(qaSessionId,session_start_date,null,session_status,qaContent,qaQueUsers); - } + Date session_start_date, + String session_status, + String session_name, + QaContent qaContent, + Set qaQueUsers) + { + this.qaSessionId = qaSessionId; + this.session_start_date = session_start_date; + this.session_status = session_status; + this.session_name=session_name; + this.qaContent = qaContent; + this.qaQueUsers = qaQueUsers; + logger.debug(logger + " " + this.getClass().getName() + "in full constructor: QaSession()"); + } + - public Long getQaSessionId() { return this.qaSessionId; @@ -247,4 +249,16 @@ public void setUid(Long uid) { this.uid = uid; } + /** + * @return Returns the session_name. + */ + public String getSession_name() { + return session_name; + } + /** + * @param session_name The session_name to set. + */ + public void setSession_name(String session_name) { + this.session_name = session_name; + } } Index: lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/service/QaServicePOJO.java =================================================================== diff -u -rf2b7c28c53bfee9c676b5a836e42b71e0e1bf20f -rdba99aacc32e5b7a5bbc7ab302f7a5a488e3c680 --- lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/service/QaServicePOJO.java (.../QaServicePOJO.java) (revision f2b7c28c53bfee9c676b5a836e42b71e0e1bf20f) +++ lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/service/QaServicePOJO.java (.../QaServicePOJO.java) (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -1143,6 +1143,8 @@ public void createToolSession(Long toolSessionId, String toolSessionName, Long toolContentId) throws ToolException { logger.debug("start of createToolSession with ids: " + toolSessionId + " and " + toolContentId); + logger.debug("toolSessionName: " + toolSessionName); + if (toolSessionId == null) { logger.debug("toolSessionId is null"); @@ -1204,6 +1206,7 @@ QaSession qaSession = new QaSession(toolSessionId, new Date(System.currentTimeMillis()), QaSession.INCOMPLETE, + toolSessionName, qaContent, new TreeSet()); Fisheye: Tag 75b53cae9576ffe57ad7601ee49cd11ed71dfac8 refers to a dead (removed) revision in file `lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/web/QaMonitoringStarterAction.java'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_laqa/web/WEB-INF/struts-config.xml =================================================================== diff -u -r673efe2cf1287003e7962dca49626c1ebe8ae9e1 -rdba99aacc32e5b7a5bbc7ab302f7a5a488e3c680 --- lams_tool_laqa/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision 673efe2cf1287003e7962dca49626c1ebe8ae9e1) +++ lams_tool_laqa/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -153,31 +153,47 @@ + + + + + + + - - - - - - + + + + Index: lams_tool_laqa/web/monitoring/Instructions.jsp =================================================================== diff -u --- lams_tool_laqa/web/monitoring/Instructions.jsp (revision 0) +++ lams_tool_laqa/web/monitoring/Instructions.jsp (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -0,0 +1,37 @@ +<%-- +Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +USA + +http://www.gnu.org/licenses/gpl.txt +--%> + +<%@ taglib uri="tags-bean" prefix="bean"%> +<%@ taglib uri="tags-html" prefix="html"%> +<%@ taglib uri="tags-logic" prefix="logic" %> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt" %> +<%@ taglib uri="fck-editor" prefix="FCK" %> +<%@ taglib uri="tags-lams" prefix="lams" %> + + + + +

+
+ instructions creen +
+ Index: lams_tool_laqa/web/monitoring/MonitoringMaincontent.jsp =================================================================== diff -u --- lams_tool_laqa/web/monitoring/MonitoringMaincontent.jsp (revision 0) +++ lams_tool_laqa/web/monitoring/MonitoringMaincontent.jsp (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -0,0 +1,236 @@ +<%-- +Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +USA + +http://www.gnu.org/licenses/gpl.txt +--%> + +<%@ taglib uri="tags-bean" prefix="bean"%> +<%@ taglib uri="tags-html" prefix="html"%> +<%@ taglib uri="tags-logic" prefix="logic" %> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt" %> +<%@ taglib uri="fck-editor" prefix="FCK" %> +<%@ taglib uri="tags-lams" prefix="lams" %> + + + + + + + + + + <bean:message key="label.monitoring"/> + + + + + + + css/tool_custom.css" rel="stylesheet" type="text/css"> + + + + + +<%-- chooses which tab to highlight --%> + + + + + + + + + + + + + + + +")'> + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
  
+ + + + + + +
images/aqua_tab_s_left.gif" name="tab_left_su" width="8" height="25" border="0" id="tab_left_su"/> + images/aqua_tab_s_right.gif" name="tab_right_su" width="8" height="25" border="0" id="tab_right_su"/>
+
+ + + + + + +
images/aqua_tab_s_left.gif" name="tab_left_i" width="8" height="25" border="0" id="tab_left_i"/> + images/aqua_tab_s_right.gif" name="tab_right_i" width="8" height="25" border="0" id="tab_right_i"/>
+
+ + + + + + +
images/aqua_tab_s_left.gif" name="tab_left_e" width="8" height="25" border="0" id="tab_left_e"/> + images/aqua_tab_s_right.gif" name="tab_right_e" width="8" height="25" border="0" id="tab_right_e"/>
+
+ + + + + + +
images/aqua_tab_s_left.gif" name="tab_left_s" width="8" height="25" border="0" id="tab_left_s"/> + images/aqua_tab_s_right.gif" name="tab_right_s" width="8" height="25" border="0" id="tab_right_s"/>
+
+ + + + + + +
+ +
+ +
+ + +
+ edit activity screen +
+
+ + +
+ +
+
+ + +
+ + + + + +
+ + + + + +
+
+
+
+ + + + + + + + + + + Index: lams_tool_laqa/web/monitoring/Stats.jsp =================================================================== diff -u --- lams_tool_laqa/web/monitoring/Stats.jsp (revision 0) +++ lams_tool_laqa/web/monitoring/Stats.jsp (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -0,0 +1,39 @@ +<%-- +Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +USA + +http://www.gnu.org/licenses/gpl.txt +--%> + +<%@ taglib uri="tags-bean" prefix="bean"%> +<%@ taglib uri="tags-html" prefix="html"%> +<%@ taglib uri="tags-logic" prefix="logic" %> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt" %> +<%@ taglib uri="fck-editor" prefix="FCK" %> +<%@ taglib uri="tags-lams" prefix="lams" %> + + + + + +

+
+ stats screen +
+ + Index: lams_tool_laqa/web/monitoring/SummaryContent.jsp =================================================================== diff -u --- lams_tool_laqa/web/monitoring/SummaryContent.jsp (revision 0) +++ lams_tool_laqa/web/monitoring/SummaryContent.jsp (revision dba99aacc32e5b7a5bbc7ab302f7a5a488e3c680) @@ -0,0 +1,38 @@ +<%-- +Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +USA + +http://www.gnu.org/licenses/gpl.txt +--%> + +<%@ taglib uri="tags-bean" prefix="bean"%> +<%@ taglib uri="tags-html" prefix="html"%> +<%@ taglib uri="tags-logic" prefix="logic" %> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt" %> +<%@ taglib uri="fck-editor" prefix="FCK" %> +<%@ taglib uri="tags-lams" prefix="lams" %> + + + + +

+
+ summary screen +
+ + \ No newline at end of file