lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove persistent contentID from InstructionFile class, it is useless at least now.

Block learner when content in use is true.

    • -0
    • +6
    /lams_tool_sbmt/web/learner/contentinuse.jsp
avoid page info lost after STRUTS exception handle

when dealing with the same files being uploaded, the previous code, updated teh db with the new uuid, however, it wasnt updating instead new entries were being made. Now the code is changed so that if the file already exists (ie. has been uploaded already) then it will delete previously file from content repository, save it into content repository, delete the entry in the db, and create a new entry with the new uuid

changed the parameter inside the lanchPopupInstructions javascript method. was previously hardcoded

removed the target attribute from html:base tag, with the target attribute, the viewing file doesnt work in instructions tab in authoring

    • -2
    • +2
    /lams_tool_nb/web/template/template.jsp
Removed target="../" from html:base tag as it is causing javascript to fail. This value doesn't make sense anyway as the target should be a window name, not a path.

Removed target="../" from html:base tag as it is causing javascript to fail. This value doesn't make sense anyway as the target should be a window name, not a path.

Authroing delete file works

    • -5
    • +5
    /lams_tool_sbmt/db/model/lams_tool_sbmt.clay
    • -0
    • +56
    /lams_tool_sbmt/web/includes/javascript/xmlrequest.js
*** empty log message ***

    • -11
    • +27
    /lams_tool_nb/web/a_Instructions.jsp
added the script tag to reference common.js from lams_central

    • -10
    • +5
    /lams_tool_nb/web/template/template.jsp
servlet mapping for ToolDownload servlet

    • -0
    • +11
    /lams_tool_nb/conf/xdoclet/servlets.xml
*** empty log message ***

1.Extract a new table "Learner" 2.Lock the learner component if learner submit finish and the flag LockOnFinished of Content is true.

    • -6
    • +87
    /lams_tool_sbmt/db/model/lams_tool_sbmt.clay
    • -11
    • +20
    /lams_tool_sbmt/db/sql/create_lams_tool_sbmt.sql
    • -1
    • +11
    /lams_tool_sbmt/db/sql/table-schema.sql
  1. … 12 more files in changeset.
*** empty log message ***

    • -24
    • +45
    /lams_tool_nb/web/a_Instructions.jsp
the struts exception handles nullPointerExceptions (using customstrutshandler)

in the execute method, a new authoring form is instantiated, this overcomes the problem of accessing the previous form values that were in the session and ensures that you are using a new form instead of an old one

renamed the method copyInstructionFormProperty to copyAuthoringFormValuesIntoFormBean added the deleteAttachment struts action.

new method in service bean :removeAttachmentByUuid which called removeAttachment from DAO class

removeAttachment(Long uuid) hibernate implementation

ive added another method removeAttachment(Long uuid) which removes an object fromt he attachment table which has the corresponding uuid

*** empty log message ***

created a method to return the map key, which is formed by the filename + "-" + fileType

corrected the wrong tool name

they are now combined into one file called index.jsp

    • -24
    • +0
    /lams_tool_nb/web/authoringIndex.jsp
    • -24
    • +0
    /lams_tool_nb/web/monitoringIndex.jsp
the starter page for all three environments: authoring learning and monitoring. replaces authoringIndex.jsp, learnerIndex.jsp and monitoringIndex.jsp

bottom of the page shows the attachments that have been added

    • -0
    • +52
    /lams_tool_nb/web/a_Instructions.jsp
added reference to the content repository application Context

*** empty log message ***

took out the starter page definitions, as it isnt needed