lams_tool_nb

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added test.contentid

changed the urls (removed the starter path)

*** empty log message ***

most testcases now run except the ones that try to getDefaultContentId by Tool signature

fixed up tests cases so they now can run fixed tearDown method

made some private declarations protected so it can be used by other test classes

removeToolContent - it will try to delete files from repository before deleting the NoticeboardContent object.

createToolSession - modifications made as to way its saved

changed the deletion methods to use createQuery instead of getHibernateTemplate.delete()

removed the get*UID method and remove*UID methods as they arent used

inserts test data to run nb not required for junit tests tho

    • -0
    • +25
    ./db/sql/insert_test_data.sql
monitoring screen allows the download of instruction files.

files removed.NbAuthoringStarterAction ->code now lies in unspecified method of AuthoringAction class NbMonitoringStarterAction -> code now lies in unspecified method of MonitoringAction class.

the unspecified method contains the code that used to be in NbMonitoringStarterAction class, sets up the monitoring environment

removed NbMonitoringStarterAction and so changed the monitoring url

added an if statement around the advanced and instructions tab. if defineLater isnt set, then it will show three tabs, otherwise it will only show basic tab

changed the defineLater url

made some changes for defineLater functionality. tried to work with existing code. If defineLater is set, then it is used in define_later_mode, if not, then its in authoring mode. if in define later mode, then the showBasicTab is set to true, and the authoring page will only show the basic tab.

Clean AuthoringSession now cleans up the session variable mode

added the constant MODE used for defineLater page.

changed the path to use the authoring url The NbAuthoringStarterAction will no longer be used

new monitoring page

    • -0
    • +132
    ./web/monitor_page.jsp
fixed the title so that it displays "Statistics"

Standardised heading location and buttons

  1. … 5 more files in changeset.
removed the try catch statement that was wrapped around writeResponseToFile exceptions arent thrown now...instead a file is generated

changed the Nb's export URL, so it uses the export servlet.

changed the class name from CreatePackageTask to CreateToolPackageTask, changed deploy.properties to deploy.xml

  1. … 3 more files in changeset.
Modified the "copyToolContent" to duplicate the content repository entries, using the new copy feature in the repository. Also moved the calls to the ToolContentHandler from the web layer to the service layer, to make it easier to do the copy.

ToolDownload has been modified to pick up the name of the tool content handler bean from the servlet definition, rather than hardcoding a standard name. The tool was use the new definition.

Instructions files now appear in the instructions page on the monitoring screen. The attachment entries were not being copied when the tool content was duplicated.

Modified the "leaveToolSession" and related code to allow the tool to pass the userid (which it gets from UserDTO in the shared session) rather than pass User (which the tool doesn't have).

General changes to use UserDTO from shared session and standard URL parameters.