lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
refactored. added more documentation. included checks for content in use and defineLater

included Struts definitions as documentation

included struts config definitions to authoring and learning modules

added method:

/**

* setRadioboxes(McContent mcContent, McAuthoringForm mcAuthoringForm)

*

* set values of radioboxes for an existing content

* @param mcContent

* @param mcAuthoringForm

*/

protected static void setRadioboxes(McContent mcContent, McAuthoringForm mcAuthoringForm)

modified resource definitions like error.content.beingModified

added mcErrorBox definition

included error handling by adding to Actions <exception key="error.exception.McApplication" type="org.lamsfoundation.lams.tool.mc.McApplicationException" handler="org.lamsfoundation.lams.tool.mc.web.CustomStrutsExceptionHandler" path=".mcErrorBox" scope="request" />

    • -0
    • +112
    /lams_tool_lamc/web/WEB-INF/struts-config.xml
new error reporting jsp

    • -0
    • +45
    /lams_tool_lamc/web/McErrorBox.jsp
modified public ActionForward editActivityQuestions(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, ToolException

by calling setDefineLater(request)

new Struts exception class

added updateMcContent and fixed setAsDefineLater

fixed saveMcContent and updateMcContent

added constant ERROR_MCAPPLICATION

added a check for USER_EXCEPTION_NO_STUDENT_ACTIVITY

added method : protected void setContentInUse(HttpServletRequest request)

fixed getLowestMark

fixed copyToolContent

changes to saveMcContent

added USER_EXCEPTION_NO_STUDENT_ACTIVITY

fixded redundant html tags

removed class definition

    • -1
    • +1
    /lams_tool_lamc/web/monitoring/Stats.jsp
tested so that tool content gets copied properly

added more javaDoc

enabled geting uiids for the newly copied file content

enabled creation of new uuids for the copied files content through content repository

passed IToolContentHandler to related methods.

made boolean definitions more uniform

Finish left characters function.

    • -1
    • +5
    /lams_tool_forum/db/sql/create_lams_tool_forum.sql
    • -0
    • +2
    /lams_tool_forum/db/sql/table-schema.sql
    • -1
    • +3
    /lams_tool_forum/web/jsps/authoring/basic.jsp
    • -0
    • +1
    /lams_tool_forum/web/jsps/learning/create.jsp
    • -0
    • +33
    /lams_tool_forum/web/jsps/learning/message/bodyarea.jsp
  1. … 3 more files in changeset.
LDEV-61 Fixing tool sessions - all users were getting separate tool sessions.

    • binary
    /lams_build/lib/lams/lams-learning.jar
    • binary
    /lams_build/lib/lams/lams-monitoring.jar
LDEV-61 Fixing tool sessions - all users were getting separate tool sessions. Made changes to suit changes in ToolActivity.createToolSession

LDEV-61 Fixing tool sessions - all users were getting separate tool sessions. Modified ToolSessionDAO to look up either a grouped tool session or an individual tool session using the learner rather than the group (in the group cases). The "get group" code only worked for explicit groups defined in the activity object, it didn't work for a "class wide" group, so the call to the get group in the tool session lookup was replaced by an extented HQL query which look at the actual group data in the database (looking via the session table, rather than via activity).