• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added method to prepend a partial url with the server address

Added new error packet for when required parameters are missing. Added for the dummy monitoring page

Missed one!

Added common URL parameter names to AttributeNames

changed it so that the directory passed as a parameter, is a relative one, and then it is put back together later. this is doen for security reasons.

changed it so that it checks the Http Status-Code before reading the input stream + writing to file.

    • -22
    • +81
    ./lams/util/HttpUrlConnectionUtil.java
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