• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved the WDDX null entry checking to the base packet handling servlet (AbstractStoreWDDXPacketServlet) so that all packets will be checked, not just authoring packets.

  1. … 1 more file in changeset.
Add redir Cookies as well so that the shared session can works well.

add some validation for createWorkspaceFolderContent so that a non-unique name doesn't result in an index violation .

deleteContentWithVersion - checks if a resource exists before deleting.

updated ack message so that it returns the folderContentID

  1. … 1 more file in changeset.
LDEV-77: The createWorkspaceFolderContent and deleteContentWithVersion calls were not working. The code logged into the content repository, but it had not set up an area in the content repository to create the files (i.e. it had not created the Workspace service's workspace) and it had not defined the credential with the repository. So the login to the repository failed.

Added code to detect the "can't login" error and if it occurs, the code attempts to create the repository workspace and credential and then log in again.

deleteFolder method - it will delete all resources inside that folder (if user has permission to) . if resource inside that folder could not be deleted, it will return a flash message indicating which one could not be deleted.

added new methods getUsersFromOrganisationByRole and getOrganisationsByUserRole

added userMgmtService bean

does not expect the parameters createDateTime and lastModifiedDate, server will set these values instead.

request parameter "contentType" renamed to contentTypeID

modified createWorkspaceFolderContent, removed createDateTime and lastModifiedDateTime from the arguments. Server will set these values instead.

will get a list of stylesheets from utility in lams_common and then generate the link, added an attribute "localLink", if set to true, local link will be generated instead of one composed of serverurl

    • -23
    • +71
    ./org/lamsfoundation/lams/web/tag/CssTag.java
New customerized HTML textarea tag (compatible with STRUTS)

New customerized HTML textarea tag (compatible with STRUTS)

    • -0
    • +141
    ./org/lamsfoundation/lams/web/tag/MultiLinesTextareaTag.java
  1. … 3 more files in changeset.
after parsing the activity list, it will go through the list again and match up the parent with child activity based ont he parentUIID

getFolderContents wasn't returning designs when mode=1 (authoring). The equality check was wrong (using == instead of .equals), so it was only returning valid designs. Nothing is setting the "valid" flag yet, so no designs were valid, and hence none returned.

Fixed bug - tool content id was not being updated when a tool activity was updated. The code that handles the special fields for tool activities, optional activities, etc wasn't being called.

  1. … 1 more file in changeset.
Removed run sequences from getAccessibleWorkspaceFolders() and added a new call getFolderContentsExcludeHome() which excludes the user's home directory from the returned contents.

removed grouping.setGroupingTypeId, this does need to be set as hibernate deals with it.

modifications done on groupings stuff.

added method parseGroupings and changed it so that the groupings object is not created when parsing the grouping activities.

Instead it will be created when processing the groupings array.

removed some use of instanceOf as it wasnt working.

Calculate first activity for a learning design now works properly.

modified parseActivities and parseTransitions.

properties of activities and transitions will only be updated if the field is sent by wddx

Added new tags to help with the lams url, the local tool url + the stylesheets.

    • -0
    • +107
    ./org/lamsfoundation/lams/web/tag/CssTag.java
    • -0
    • +81
    ./org/lamsfoundation/lams/web/tag/LAMSURLTag.java
    • -1
    • +3
    ./org/lamsfoundation/lams/web/tag/UserTag.java
    • -0
    • +92
    ./org/lamsfoundation/lams/web/tag/WebAppURLTag.java
  1. … 2 more files in changeset.
Added checks, so that it will only set the value if the field is present in the wddx packet.

Will also update any activities that exist in a learning design, and delete unused ones.

instead of creating new entries each time al earning design is saved

in extractActivityObject method, changed it to get the hashtable key xCoord instead of xcoord, since flash is sending xCoord.

ycoord is also changed to yCoord.

Sets the first activity column

  1. … 1 more file in changeset.
Added User Tag, to allow easy access to the userid, name, etc in the UserDTO object from a jsp

    • -0
    • +127
    ./org/lamsfoundation/lams/web/tag/UserTag.java
  1. … 5 more files in changeset.
More changes to suit Hibernate 3

  1. … 31 more files in changeset.
Upgraded Hibernate to 3.0. Using the open session filter pattern to avoid problems with Spring closing the session but objects not being fully loaded (due to lazy loading).

  1. … 3 more files in changeset.
getToolContentID method defintion

implemented getToolContentID method

added contentIDGenerator, used to generate a new content id for a tool/activity

when extracting a learning design, if the learningDesignID field is not null, then load up the learning design object from the database, otherwise create a new one