• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Typo - constant was in quotes!

Rationalised the copy*, move*, delete* and rename* messages for the workspace - Flash calls one method which then calls the appropriate code for a folder, learning design etc, rather than separate methods on the interface for each resource type.

  1. … 1 more file in changeset.
after the learning design is extracted

it is validated using the learningDesignValidator

changes made to include learningDesignID in the constructor of StoreLearningDesignresultsDTO

added learningDesignID

LDEV-77: Issues exist with the data returned by getAccessibleWorkspaceFolders(). Data is missing, and the structure is different to the workspace data returned by getFolderContentsExcludeHome().

Trying to fix the problems by changing the DTO to be the same one used for getFolderContentsExcludeHome(). Put it in a temporary method for the moment so that we can try out the changed packet without breaking the existing code. More changes will probably be required for this problem.

  1. … 1 more file in changeset.
LDEV-73: Added a method to pass the details of the license table to Flash. The DTO code in lams.jar tweaks the data before sending - in this case we make sure the picture url is a complete url (maybe relative to the current server in db).

  1. … 1 more file in changeset.
removed code

the messages send to flash

are from the applicationResources file

added comments

changed the flashmessage

to "storeLearningDesignDetails"

moved to LearningDesignValidator

added some comments

refactored code so that the iterator is only when needed

added messages which will be sent to flash

used for learning design validator

validator - which has validation rules to determine whether the LD is valid or not

this DTO will indicate whether the learning design is valid or not.

if valid - the message included will be the learningdesign id of the LD saved

if not valid - returns the list of error messages/codes

learning design validator - if learning design isnt valid, server will return a list of ValidationErrorDTO objects which hold information about which rule was violated, and which is the offending activity (if applicable)

    • -0
    • +116
    ./org/lamsfoundation/lams/authoring/dto/ValidationErrorDTO.java
LDEV-75 Implemented a Flash client crash dump utility. Writes out the wddx packet from Flash to a file in the LAMS dump directory. The DumpDirectory is configured via DumpDir in the LAMS configuration file.

    • -0
    • +44
    ./org/lamsfoundation/lams/web/FlashCrashDumpServlet.java
  1. … 7 more files in changeset.
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