Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
included the CREATION_DATE for the existing content

upload file handles FileException

converting String based date to java.util.date

    • -10
    • +14
    ./lamsfoundation/lams/tool/mc/pojos/McContent.java
  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
    ./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

fixed error.defineLater

included learnerService service bean

MODIFED SO THAT DEFAULT CONTENT ID IS USED WHERE NO CONTENTID IS AVAILABLE

enabled deleting DEFAULT_CONTENT_ID

reformatted ToolContentManager methods