lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Testing export service bean

the CustomStrutsExceptionHandler in org.lamsfoundation.lams.util in which is previously used no longer belongs there. The customStrutsExceptionHandler is now located in org.lamsfoundation.lams.learning.util

The customStrutsExceptionHandler was previously referenced from lams_common, however that was moved so i have created a this class inside lams_learning. And changed it so that it will handle all exceptions thrown within lams_learning

export portfolio service: currently most methods are public, but however will be changed to private later. I kept them public so i could test them using junit. should probable change those methods to protected instead.

*** empty log message ***

Portfolio object holds details about a particular activity the exportService bean generates an array of portfolio objects which are passed onto the web layer and the info displayed to user

Exception class for ExportPortfolio

new error variables

added new service bean "exportService"

Noted that the messages contained in this class need internationalization.

Move common.js in Lams_central to /includes/javascript subfolder

    • -0
    • +18
    /lams_central/web/includes/javascript/common.js
    • -1
    • +1
    /lams_tool_forum/web/includes/header.jsp
    • -1
    • +1
    /lams_tool_nb/web/template/template.jsp
Had the wrong tool icon, and was setting the library id to a hardcoded value, rather than picking it up from the script. So we got the wrong library!

    • -2
    • +2
    /lams_tool_sbmt/db/sql/activity_insert.sql
added tests to test the createZipFile method

tsets the FileUtil class

created a method to zip up directories.

*** empty log message ***

have created methods to createDirectory

Sample packet was out of date and wouldn't load - had the wrong names for some of the fields (id vs ID)

Add TODO for hardcode

Add email and theme to UserDTO

to support new structure

lots of changes - see diff!

added toData*()

add a time out if we dont get anything form dixct or themes

added getGateActivityTypes

Changed storeLearningDesignDetails to expect the WDDX packet in the input stream, not in a parameter.

get UserDTO info from SharedSession

Add UserDTO info to SharedSession

Add commonContext.xml config

Removed reference to content repository. Now handled correctly in lams_common.