• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added new custom validator to validate uploaded filesize

    • -12
    • +43
    ./lams/util/FileValidatorUtil.java
use env variable to lookup LAMS configuration file

    • -15
    • +27
    ./lams/util/ConfigurationLoader.java
Added TODO to cover the remove of the user from the cache, when user is updated.

fixed the value for UPLOAD_FILE_LARGE_MAX_SIZE and UPLOAD_FILE_MAX_SIZE

Added JBOSS cache to LAMS, now caching users by user id.

    • -0
    • +74
    ./lams/cache/CacheDebugListener.java
    • -0
    • +230
    ./lams/cache/CacheManager.java
    • -0
    • +53
    ./lams/cache/ICacheManager.java
  1. … 1 more file in changeset.
Created New fileValidatorUtil

    • -0
    • +75
    ./lams/util/FileValidatorUtil.java
Removed duplicate ToolDAO (is also defined in toolApplicationContext.xml)

Improved description of removeToolContent(Long toolContentId, boolean removeSessionData) method.

    • -4
    • +13
    ./lams/tool/ToolContentManager.java
changed the getBody method to read the body as binary data , instead of character data.

this stops the problem of getting corrupted wddx packets when reading the body of the post

for the created/updated timestamps, if the value is null, then the value will default to the current datetime.

this prevents storing nulls for created/updated timestamps in the database.

    • -4
    • +11
    ./lams/learningdesign/Activity.java
    • -5
    • +22
    ./lams/learningdesign/LearningDesign.java
    • -3
    • +5
    ./lams/learningdesign/LearningLibrary.java
Moved most of the names from WebUtils to AttributeNames so that they were all in the one place.

Updated the tool service to support more than qa, imscp, nb, survey and submit - rather than just survey.

    • -18
    • +28
    ./lams/tool/service/LamsCoreToolService.java
Moved most of the names from WebUtils to AttributeNames so that they were all in the one place.

    • -6
    • +14
    ./lams/web/filter/ResponseCaptureFilter.java
    • -7
    • +16
    ./lams/web/util/AttributeNames.java
  1. … 1 more file in changeset.
renamed the property xcoord to xCoord. The setter/getter methods are named as getxCoord setxCoord getyCoord setyCoord so that it will show up as xCoord/yCoord in the wddx packet.

if the getter methods are named as getXCoord , it will show up in the wddx packet as "XCoord" and not "xCoord"

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.