• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Link added to validation service (learningDesignService) for AuthoringService

LearningDesignValidator now LearningDesignService in lams_common

applicationResources (used by AuthoringService) moved to org.lamsfoundation.lams.central pkg

Added a flag to the Flash crash dump, which allows Flash to give a parameter which is then inserted into the filename. Useful for dumps where the data has to be split across multiple dumps due to Flash restrictions.

Changes to suit the deletion parts of learning design preview

  1. … 8 more files in changeset.
Correctly copies UD_ID value when copying a LearningDesign

Made ValidationError keys public

Added messages for ScheduleGate errors

Updated FlashMessage flag sent with error FlashMessage in validateLearningDesign method

storeLearningDesignDetails updated to validate the LearningDesign before sending response WDDX packet to flash client.

Updated buildScheduleGate to only set start and end time offsets.

Updated to run validActivity method for each Activity validated and add any error messages retrieved to the list of Validation Errors.

Some i18n Change.

Basic config for i18n

  1. … 6 more files in changeset.
Removed some unused code and made the tag handling more robust when the serverURL is missing from the configuration.

    • -56
    • +29
    ./org/lamsfoundation/lams/web/tag/CssTag.java
LDEV-75: Tweaked the Flash crash dump - must be logged in to do a dump and the file now has a .xml extension.

  1. … 4 more files in changeset.
When getting the contents of a folder, check the permissions on subfolders, not just on folder itself. Otherwise the client displays subfolders that the user has no access to (e.g. other user's home folders).

Changed the calls to get the workspace folders and folder contents to be one call getFolderContents. The call uses dummy values to indicate when it wants the very root of all directories and when it needs the organisation workspaces. This allows Flash to call the same method (and the same data) for all parts of the display tree, which makes drag and drop much easier.

Most of the "rearranging" of the data and the dummy values has been kept in the Action class as it is designed to suit Flash, rather than being normal business logic.

  1. … 1 more file in changeset.
Changed code to suit new name for the field linking designs to their runtime versions (new name LearningDesign.originalLearningDesign). Modified the copyLearningDesign routines to only set the field when creating a runtime design - don't want to link the designs when the user duplicates a design in authoring. Finally, changed the delete learning design methods to delete a design even if it is the parent of other designs (note: this leaves the child designs pointing to a parent that does not exist).

  1. … 2 more files in changeset.
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