Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
modifications after removing the session attributes at the start of activities.

  1. … 1 more file in changeset.
changes to accomodate session cleanup at start of activities

no major change

checks for null references

wording changes to add question/options

included the CREATION_DATE for the existing content

upload file handles FileException

converting String based date to java.util.date

  1. … 3 more files in changeset.
added code to separate our progress view from view answers report

refined the resources

include McUtils.cleanUpSessionAbsolute(request); for better cleaning up sessions

included McUtils.cleanUpSessionAbsolute(request);

no major changes

format text

added public method public static void cleanUpSessionAbsolute(HttpServletRequest request)

    • -1
    • +205
    ./java/org/lamsfoundation/lams/tool/mc/McUtils.java
added resources label.learner.viewAnswers label.defineLater

included new constants public static final String LEARNER_PROGRESS public static final String LEARNER_PROGRESS_USERID

just debug message .. making sure learnerService is available

moving Preview mode to Learning

changes in the use of Preview mode and mode parameter

added property donePreview

enabled donePreview

added header resource : label.preview =MCQ Preview

added constant PREVIEW

implementation for the Preview mode of Authoring module

removing by

/* the attributes below used in the Preview mode*/

request.getSession().removeAttribute(MAP_QUESTION_CONTENT_LEARNER);

request.getSession().removeAttribute(TOTAL_QUESTION_COUNT);

request.getSession().removeAttribute(CURRENT_QUESTION_INDEX);

request.getSession().removeAttribute(MAP_GENERAL_OPTIONS_CONTENT);

request.getSession().removeAttribute(MAP_OPTIONS_CONTENT);

request.getSession().removeAttribute(QUESTION_LISTING_MODE_COMBINED);

request.getSession().removeAttribute(PREVIEW_ONLY);

added constant PREVIEW_ONLY

enabled testing code for create. leave and removeTool sessions

reorganized ToolContentManager and ToolSessionManager methods and fixed loging

included setFlushMode(FlushMode.AUTO) in the update