• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added constant TEMP_DIR which is the system default tmp directory. this constant is referenced by export service, and abstractportfolio

added method createZip which allows user to choose which directory the zip file is saved in

    • -12
    • +90
    ./lams/util/zipfile/ZipFileUtil.java
added method createTempDirectory

added CONTENT_REPOSITORY_PATH

Modified case of toolSessionID parameter, to suit the standard agreed on for Flash -> server communication.

changed to use method from HttpUrlConnectionUtil

generalised code to open a httpurlconnection. mainly coded for the export service stuff

    • -0
    • +130
    ./lams/util/HttpUrlConnectionUtil.java
The basic activity creation method wasn't setting the activity type, so the isBlah() calls were failing.

    • -8
    • +21
    ./lams/learningdesign/Activity.java
More changes to suit Hibernate 3

    • -6
    • +24
    ./lams/learningdesign/Activity.java
    • -7
    • +4
    ./lams/learningdesign/ChosenGrouping.java
    • -6
    • +5
    ./lams/learningdesign/LearningDesign.java
    • -0
    • +8
    ./lams/learningdesign/NullActivity.java
    • -21
    • +21
    ./lams/learningdesign/OptionsActivity.java
    • -9
    • +6
    ./lams/learningdesign/RandomGrouping.java
    • -2
    • +13
    ./lams/learningdesign/SimpleActivity.java
    • -22
    • +21
    ./lams/learningdesign/ToolActivity.java
  1. … 18 more files in changeset.
Fix a weird bug. This bug never happen before hibhernate3.

When login happens, all cookies expcept JSESSIONID cookie will be removed by some progams/system ( I will trace it later). So I have to change the shared sesson cookies name to JSESSIONID, instead of a customized.

    • -6
    • +5
    ./lams/web/session/SessionManager.java
Fix a weird bug. This bug never happen before hibhernate3.

When login happens, all cookies expcept JSESSIONID cookie will be removed by some progams/system ( I will trace it later). So I have to change the shared sesson cookies name to JSESSIONID, instead of a customized.

Upgraded Hibernate to 3.0

    • -28
    • +27
    ./lams/learningdesign/Activity.java
    • -5
    • +18
    ./lams/learningdesign/ComplexActivity.java
    • -1
    • +1
    ./lams/learningdesign/GateActivity.java
    • -3
    • +3
    ./lams/learningdesign/OptionsActivity.java
    • -1
    • +1
    ./lams/learningdesign/SimpleActivity.java
    • -3
    • +13
    ./lams/learningdesign/ToolActivity.java
    • -0
    • +7
    ./lams/learningdesign/dao/IActivityDAO.java
  1. … 97 more files in changeset.
added getNoSuchTool , a flashmessage to indicate that an error has occurred

Add "j_security_check" check for performance reason.

    • -1
    • +1
    ./lams/web/session/SessionManager.java
    • -1
    • +1
    ./lams/web/session/SessionVisitor.java
Add comment.

Shared session solution.

    • -0
    • +40
    ./lams/web/session/LoginFormAuthenticator.java
    • -0
    • +98
    ./lams/web/session/SessionManager.java
  1. … 4 more files in changeset.
the abstractExportPortfolio servlet is a base servlet that tools should extend for

their export functionality.

    • -0
    • +216
    ./lams/web/servlet/AbstractExportPortfolioServlet.java
    • -0
    • +44
    ./lams/web/servlet/ExportPortfolioServletException.java
Filter and Response Wrapper, used by tools so that they can save their output to a file.

    • -0
    • +63
    ./lams/web/filter/ResponseCaptureFilter.java
    • -0
    • +66
    ./lams/web/filter/ResponseWrapper.java
added PARAM_DIRECTORY_NAME and PARAM_FILENAME

changed the removeTrailingForwardSlash and trailingForwardSlashPresent from protected to public.

Will be used by the tools.

Web applications scope session implementation.

    • -0
    • +395
    ./lams/web/session/SessionManager.java
    • -0
    • +34
    ./lams/web/session/SessionVisitor.java
    • -0
    • +145
    ./lams/web/session/SystemSessionFilter.java
Stopped the authoring using the DTOs as a way of converting the data coming from Flash.

Using the DTOs caused the WDDX null values (e.g. -1111111) to be written to the database.

    • -8
    • +8
    ./lams/learningdesign/LearningDesign.java
    • -99
    • +1
    ./lams/learningdesign/dto/BaseDTO.java
    • -12
    • +0
    ./lams/learningdesign/dto/GroupingDTO.java
    • -14
    • +0
    ./lams/learningdesign/dto/TransitionDTO.java
    • -1
    • +2
    ./lams/themes/dto/CSSVisualElementDTO.java
    • -1
    • +98
    ./lams/util/wddx/WDDXProcessor.java
  1. … 5 more files in changeset.
Added methods to parse a date from a string.

  1. … 1 more file in changeset.
Improved the special NULL handling code for WDDX processing.

    • -19
    • +105
    ./lams/util/wddx/WDDXProcessor.java
Improved the special NULL handling code for WDDX processing. Now uses the convertToBlah utilities in WDDXProcessor.

    • -46
    • +100
    ./lams/learningdesign/dto/BaseDTO.java
    • -16
    • +9
    ./lams/learningdesign/dto/GroupingDTO.java
    • -21
    • +12
    ./lams/learningdesign/dto/TransitionDTO.java
    • -2
    • +4
    ./lams/themes/dto/CSSVisualElementDTO.java
  1. … 1 more file in changeset.
fixed up spelling error in comment

added new constructor LearningLibraryDTO(LearningLibrary, List)

the list contains the template activity for that particular learning library

implementation of new method getTemplateActivityByLibraryId

Fixed up the comment for method getActivitiesByLibraryID: in a normal case, each library shouldnt have more than on template activity.

Also added the method getTemplateActivityByLibraryID

    • -2
    • +14
    ./lams/learningdesign/dao/IActivityDAO.java
extended to include method getLearningLibraryDTO(List templateActivities), which is used in authoring environment when trying to retrieve the

list of all learning library details. The template is passed as a parameter, because previously, when obtaining the list of template activities for a particular learning library,

it grabs all activities in lams_learning_activities for that particular learning library, however each library should only have one template activity, and what distinguishes it from a normal

activity is that its learning_design_id is null

    • -0
    • +8
    ./lams/learningdesign/LearningLibrary.java