• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fixing posting method. add error handling

*** empty log message ***

  1. … 1 more file in changeset.
Changed name of local db login user to "mmm" and added learner and staff roles to organisations

Added copyright statements.

Added methods to parse a date from a string.

    • -0
    • +118
    ./test/java/org/lamsfoundation/lams/util/TestDateUtil.java
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

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

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

Removed ISOLATION_READ_COMMITTED from the transactions as it is not supported by the JTA transaction manager.

We will have to rely on the database settings.

  1. … 7 more files in changeset.
fix bug in serialising a date

tool for testing wddx postings

    • binary
    ./src/flash/assets/tools/PostTest.exe
    • binary
    ./src/flash/assets/tools/PostTest.fla
    • binary
    ./src/flash/assets/tools/PostTest.swf
    • binary
    ./src/flash/assets/tools/post_test.as
*** empty log message ***

added the new constant PARAM_USER_ID_NEW

which is used in lams_learning when calculating the next activity url

Noted that the messages contained in this class need internationalization.

added tests to test the createZipFile method

tsets the FileUtil class

    • -0
    • +220
    ./test/java/org/lamsfoundation/lams/util/TestFileUtil.java
created a method to zip up directories.

*** empty log message ***

    • -0
    • +44
    ./src/java/org/lamsfoundation/lams/util/FileUtilException.java
have created methods to createDirectory

Add email and theme to UserDTO

to support new structure

lots of changes - see diff!

Add UserDTO info to SharedSession

  1. … 2 more files in changeset.
Converted to use the common.properties file in lams_build. This will make

it easier to update the shared properties.

  1. … 1 more file in changeset.
Made the hibernate properties a separate bean. All the session factories should

now use this shared hibernate properties bean.

  1. … 1 more file in changeset.
Added getMaxId() function to make it easier for test code to work out a next id.

  1. … 1 more file in changeset.