Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

added constant TEMP_DIR which is the system default tmp directory. this constant is referenced by export service, and abstractportfolio

    • -2
    • +2
    ./org/lamsfoundation/lams/util/FileUtil.java
added method createZip which allows user to choose which directory the zip file is saved in

added method createTempDirectory

    • -0
    • +43
    ./org/lamsfoundation/lams/util/FileUtil.java
added CONTENT_REPOSITORY_PATH

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

    • -1
    • +1
    ./org/lamsfoundation/lams/util/WebUtil.java
changed to use method from HttpUrlConnectionUtil

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

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

More changes to suit Hibernate 3

  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.

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

    • -2
    • +2
    ./org/lamsfoundation/lams/commonContext.xml
  1. … 77 more files in changeset.
added getNoSuchTool , a flashmessage to indicate that an error has occurred

Add "j_security_check" check for performance reason.

Add comment.

Shared session solution.

  1. … 4 more files in changeset.
the abstractExportPortfolio servlet is a base servlet that tools should extend for their export functionality.

Filter and Response Wrapper, used by tools so that they can save their output to a file.

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

    • -0
    • +2
    ./org/lamsfoundation/lams/util/WebUtil.java
changed the removeTrailingForwardSlash and trailingForwardSlashPresent from protected to public. Will be used by the tools.

    • -2
    • +8
    ./org/lamsfoundation/lams/util/FileUtil.java
Web applications scope session implementation.

    • -0
    • +9
    ./org/lamsfoundation/lams/commonContext.xml
    • -0
    • +395
    ./org/lamsfoundation/lams/web/session/SessionManager.java
    • -0
    • +145
    ./org/lamsfoundation/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.

    • -1
    • +2
    ./org/lamsfoundation/lams/util/DateUtil.java
  1. … 5 more files in changeset.
Added methods to parse a date from a string.

    • -0
    • +57
    ./org/lamsfoundation/lams/util/DateUtil.java
  1. … 1 more file in changeset.
Improved the special NULL handling code for WDDX processing.

Improved the special NULL handling code for WDDX processing. Now uses the convertToBlah utilities in WDDXProcessor.

  1. … 1 more file in changeset.
fixed up spelling error in comment