Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added some new properties. i.e. button values

Updated to handle new Tabbed env

Updated Action class now extends LamsDispatchAction (method parameter) and updated xdoclet config.

Remove Tool Content was trying to remove the submission details based on the tool content id. But the submission details are based on the tool session id, so changed the remove code to remove the submission details as part of remove tool session, not remove tool content.

Also fixed remove tool content so that it will remove the related tool sessions if required, and to stop it throwing an exception if no data is found (as per the interface definition).

  1. … 1 more file in changeset.
Major changes to doExport method

- added ability for learner to export portolio

- submitted files are written to disk for export

modified implementaion of getFileUploadedBySession to return a SortedMap instead of a Map.

The SortedMap is sorted using the LastNameAlphabeticComparator.

modified method signature getFilesUploadedBySession to return a SortedMap instead of a Map.

This was done to ensure a consistent order when displaying files.

added field exportedURL and getter and setter methods.

This is used by export portfolio function to store the url of the submitted file in the archive

Service bean transaction definition was missing some of the ToolContentManager and ToolSessionManager methods, so these methods were not forming part of transactions.

  1. … 4 more files in changeset.
updated hbm files

  1. … 1 more file in changeset.
set the sessionName in createToolSession

added new field 'sessionName'

modified 'userList' and 'statistic' calls to use sessionDTO.

created dto to hold submit tool session information

    • -0
    • +50
    ./org/lamsfoundation/lams/tool/sbmt/dto/SessionDTO.java
Change toolSessionManager interface to add new toolSessionName.

  1. … 5 more files in changeset.
Fix bug for copyToolContent()

Standardised heading location and buttons

  1. … 5 more files in changeset.
Define it later function. Fix bugs for tabs monitoring.

  1. … 14 more files in changeset.
Add all monitoring page to tab

  1. … 9 more files in changeset.
Fix finish function in sbmt

  1. … 2 more files in changeset.
finish export portfolio function, need further test.

  1. … 1 more file in changeset.
finish export portfolio function, need further test.

    • -0
    • +128
    ./org/lamsfoundation/lams/tool/sbmt/web/ExportServlet.java
  1. … 6 more files in changeset.
Fix session table key bug

  1. … 3 more files in changeset.
Fix bug in postpone saving content.

Duplicated file node in repository when copyToolContent

  1. … 1 more file in changeset.
Fix bug in createToolContent.

Fixed typo in online/offline instructions tags.

Update toolContentHandler to more specific name to avoid conflict with other tools.

  1. … 2 more files in changeset.
Save instruction uploaded files when user click save button, instead of uploading finish.

  1. … 5 more files in changeset.
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).

  1. … 6 more files in changeset.