Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added constant CURRENT_MONITORING_TAB

added method: public static int getTotalAttemptCount(HttpServletRequest request)

added logic to handle USER_EXCEPTION_NO_STUDENT_ACTIVITY

added error.noLearnerActivity

refactored. added more documentation. included checks for content in use and defineLater

    • -123
    • +148
    ./lamsfoundation/lams/tool/mc/web/McStarterAction.java
included Struts definitions as documentation

included struts config definitions to authoring and learning modules

    • -54
    • +71
    ./lamsfoundation/lams/tool/mc/web/McAction.java
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

modified public ActionForward editActivityQuestions(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, ToolException

by calling setDefineLater(request)

    • -5
    • +18
    ./lamsfoundation/lams/tool/mc/web/McAction.java
new Struts exception class

    • -0
    • +88
    ./lamsfoundation/lams/tool/mc/web/CustomStrutsExceptionHandler.java
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)

    • -0
    • +28
    ./lamsfoundation/lams/tool/mc/web/McAction.java
fixed getLowestMark

fixed copyToolContent

changes to saveMcContent

added USER_EXCEPTION_NO_STUDENT_ACTIVITY

tested so that tool content gets copied properly

added more javaDoc

    • -1
    • +20
    ./lamsfoundation/lams/tool/mc/web/McAction.java
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.

    • -6
    • +11
    ./lamsfoundation/lams/tool/mc/pojos/McContent.java
initialiased data for tabs Instructions and Stats

implemented method: public int getTotalNumberOfUsers() throws McApplicationException

added contract: public int getTotalNumberOfUsers() throws McApplicationException

no major changes

implemented: public int getTotalNumberOfUsers()

added new method: public int getTotalNumberOfUsers();