lamsfoundation

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed problem where the learner interface didn't start the first time the learner joined the lesson. This was due to the activity in the request being a proxy activity rather than a real activity. Fixed it by having some common code that puts it in the activity, and get Hibernate to load a "real" activity before putting it in the request.

    • -34
    • +0
    ./lams/learning/web/action/ActivityAction.java
    • -2
    • +2
    ./lams/learning/web/action/GroupingAction.java
    • -4
    • +7
    ./lams/learning/web/util/ActivityMapping.java
    • -0
    • +15
    ./lams/learning/web/util/LearningWebUtil.java
  1. … 1 more file in changeset.
use Configuration class to obtain baseURL instead of using spring

    • -12
    • +4
    ./lams/learning/web/util/ActivityMapping.java
Updated web.xml to include the context files for all the "current" deployed tools. Added matching tool jars to classpath. Stopped deploying the classes to WEB-INF/classes Implemented more calls on the dummy monitoring page to access the learner pages.

  1. … 13 more files in changeset.
changed the comments

cleaned up some code, added some checks to certain variables.

the TEMP_DIRECTORY constant now gets the value from FileUtil

added export portfolio error messages

Added copyright statement to top of file. Instead of using getUserData method from learningWebUtil, it gets the userdto from the shared session once the portfolio is zipped up, it will return the relative file location to the exportWaitingPage.jsp

This class isnt used. But modified it so that it works with the new export service code. Will get the user information from the shared session.

download servlet triggers the download dialog to popup.

    • -0
    • +107
    ./lams/learning/export/web/action/ExportDownloadServlet.java
quite a few changes made this time around. the exportPortfolioFor* takes in IDs as parameter. Otherwise lazy initialisatione xception happens. removed some methods that are now not used.

new constants and added copyright statement at the top of the file

added userDAO, so that we could get the User object from the userId

changed exportservlet, so that it called export service directly, (doesnt use the httpUrlConnection) Created another method exportPortfolioForTeacher which takes in a lessonID as a parameter instead of Lesson object, as that triggers the lazy initialization exception

added lessonDAO, used to retireve the lesson inside export service.

export servlet, which calls the main export action. generates the main export page

retrieves the cookies and passes it into the export service method

added Cookie[] as a parameter to some of the methods, so that the Cookie can be passed along.

cleaned up the code a little bit. the method connectToToolViaExportUrl, now calls the HttpUrlConnectionUtil method instead.

removed toolSessionId, userId, exportContent, toolContentId, mainFileName, directoryName that arent being used

    • -94
    • +8
    ./lams/learning/export/Portfolio.java
added subdirectory constant

added some new methods, exportToolPortfolio which connects the tools export url via httpUrlConnection. Currently having problems getting this to work. may be due to the security stuff (it works on the older versions before the security changes and hibernate 3 changes) Will fix this!

added comments

added property activityDAO for exportService

MainExportServlet, similar the the tools export servlet, will call the other export url and save the main page to disk

    • -0
    • +186
    ./lams/learning/export/web/action/MainExportServlet.java
added struts action forward

added the properies mainFileName, toolLink and directoryName

    • -1
    • +43
    ./lams/learning/export/Portfolio.java
*** empty log message ***

    • -0
    • +24
    ./lams/learning/export/ExportPortfolioConstants.java
More changes to suit Hibernate 3

    • -5
    • +4
    ./lams/learning/web/util/ActivityMapping.java
  1. … 15 more files in changeset.
lams.war no longer exists so build task removed

  1. … 14 more files in changeset.