lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fixed up the comments.

when a learner clicks on finish, it will call learnerService.completeToolSession which returns the link to the next activity. the tool then redirects to this new url

the error message if the userId or toolSessionId is missing is changed.

changed the url from /tool/.../ to /lams/tool/...

    • -1
    • +1
    /lams_tool_nb/db/sql/activity_insert.sql
contains the actionMappings for export stuff

added defintion for .systemError

change the server url from lams_learning to lams/learning

the export portfolio page which shows the tool's export page using iframes. Currently hard coded it to show the noticeboard export page. Can change this later to show the export URL belonging to that particular portfolio

    • -0
    • +55
    /lams_learning/web/exportPortfolio.jsp
error page for lams_learning environment

    • -0
    • +48
    /lams_learning/web/error.jsp
included the export service bean

test data sql script for export portfolio service.

    • -0
    • +161
    /lams_learning/db/sql/export_test_data.sql
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