lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
in cleanMonitoringSession, the session scope variable to hold the toolCotnentId is removed, as the session scope formbean now handles this instead

changed the way it displays the noticeboard content, the export portfolio now looks exactly the same as what a learner would see

    • -10
    • +9
    /lams_tool_nb/web/exportPortfolio.jsp
added the buttons for export portfolio in teacher and learner mode, and learner button in author and teacher mode as well this file is just used for testing purposes only.

increased the filename field in attachment table to be varchar(255) instead of varchar(50).

increased the filename field in attachment table to be varchar(255) instead of varchar(50).

    • -2
    • +2
    /lams_tool_nb/db/model/lams_tool_nb.clay
    • -1
    • +1
    /lams_tool_nb/db/sql/create_lams_tool_nb.sql
    • -1
    • +1
    /lams_tool_nb/db/sql/init_lams_tool_nb.sql
new version of validator-rles.xml, used in struts v1.2.7, obtained from the struts zip package

moved the logic tags outside, so that it wont show attachment header unless there are files in the attachmentList

    • -75
    • +62
    /lams_tool_nb/web/a_Instructions.jsp
added br tags underneath h2 tags, looks neater that way

    • -26
    • +59
    /lams_tool_nb/web/m_Instructions.jsp
*** empty log message ***

added a new bean property attachments

modified the struts action "instructions": added code to initialise the attachment map, used to view the attachments that have been made with this specific tool content id

*** empty log message ***

removed the definitiosn for basic advanced and instructions page. and replace it with .authoringContent

removed the <h2></h2>

this page is the main authoring screen, it will include the particular file(a_Basic.jsp or a_Instructions.jsp) depending on what method is chosen.

    • -23
    • +37
    /lams_tool_nb/web/authorContent.jsp
made some changes to the way the authoring screen is shown. instead of having 3 separate jsp pages with 3 separate paths, combined these 3 authoring pages into the one page authorContent.jsp works the same way as the monitoring environment. removed the action forward nb_basic, nb_advanced and nb_instructions. the only forward path is now authoringContent

    • -37
    • +1
    /lams_tool_nb/web/a_Instructions.jsp
fixed the reset method (previously it wasnt defined correctly, and so it wasnt being called by the controller) the validate method now checks the filesize of the uploaded files.

removed the constants BASIC_PAGE, ADVANCED_PAGE AND INSTRUCTIONS_PAGE, since the three pages are now referenced through authorContent.jsp instead

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