Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fized something about copyToolContent

removed redundant constants

cleaned up these from unnecessary constants used

removed redundant constants

removed redundant methods and constants like USER_ACTION

    • -83
    • +10
    ./lamsfoundation/lams/tool/mc/web/McAction.java
removed redundant methods and constants

removed redundant import

    • -2
    • +0
    ./lamsfoundation/lams/tool/mc/pojos/McContent.java
added new versions of a few resource

removed various redundant constant

    • -41
    • +3
    ./lamsfoundation/lams/tool/mc/McAppConstants.java
enabled the display of authoring tabs based on consant SHOW_AUTHORING_TABS

removed the use of TARGET_MODE

removed the use of contant TARGET_MODE

fixed a wording problem

added new method: public ActionForward cancelAuthoring(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException

    • -0
    • +47
    ./lamsfoundation/lams/tool/mc/web/McAction.java
removed some temp functions like public static User createMockUser()

    • -35
    • +0
    ./lamsfoundation/lams/tool/mc/McUtils.java
added button.cancel

cleaned up from redundant constants. will keep doing that.

    • -51
    • +4
    ./lamsfoundation/lams/tool/mc/McAppConstants.java
added condition for

/* determine whether the request is from Monitoring url Edit Activity

* null sourceMcStarter indicates that the request is from authoring url.

* */

added code for checking: warning to learner: the activity is offline

added method:

public static boolean isRunOffline(McContent mcContent)

    • -0
    • +15
    ./lamsfoundation/lams/tool/mc/McUtils.java
added:

label.basic =Basic

label.advanced =Advanced

label.instructions =Instructions

label.summary =Summary

label.stats =Stats

label.editActivity =Edit Activity

label.authoring =MCQ Authoring

label.learning =MCQ Learning

removed redundant contant

added active module and defineLaterInEditMode

added to methods request.setAttribute(CURRENT_MONITORING_TAB, "editActivity");

added code for switching to view-only mode in the monitoring url after the content

converted to getDestination

added Javadocs

enabled calling from monitoring module and added Javadoc

    • -602
    • +144
    ./lamsfoundation/lams/tool/mc/web/McAction.java
moved setDefineLater(..) and getDestination(..) here

    • -1
    • +44
    ./lamsfoundation/lams/tool/mc/McUtils.java
reenabled loading questions