Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Working on the delete side of preview. Untested.

  1. … 4 more files in changeset.
Update lams.jar - new method validateActivity added to ScheduleGateActivity

remove getParameter from LocaleFilter

change prority of locale

  1. … 1 more file in changeset.
Add more overload getMessage methods.

New filter for locale.

Implementing Preview - basic running of preview done, deletion of old preview lessons not completed.

  1. … 9 more files in changeset.
Persist toolSessionName.

Change toolSessionManager interface to add new toolSessionName.

  1. … 5 more files in changeset.
Staff group name from client.

LDEV-75: Tweaked the Flash crash dump - must be logged in to do a dump and the file now has a .xml extension.

  1. … 1 more file in changeset.
Steve and my changes collided. Hopefully this version contains all our changes.

Add group name

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. … 3 more files in changeset.
Added a general "user doesn't have the rights to do this" exception. This may be used for throwing an exception in the service layer and be picked up in the web layer for translation to a Flash error message. See usage in WorkspaceAction.java for example.

Teacher view of the learner url did not include the user id. This stopped the tools showing the specific data for a learner.

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. … 5 more files in changeset.
Changed name of parentLearningDesign to originalLearningDesign. This field links the lesson version of a design back to its original design, but the parent name suggests that the parent learning design contains the child learning design (this is the meaning in the activity table) so the name was changed.

  1. … 9 more files in changeset.
Added methods to WebUtil which get a Long or an Integer from the request parameters where the parameter may be optional (previously they had to be mandatory).

  1. … 1 more file in changeset.
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. … 6 more files in changeset.
LDEV-72 - made changes to Configuration, ConfigurationLoader and ConfigurationKeys

Added licenseID to learning designs in the FolderContentDTO. This allows the Flash client to list the license type in the workspace window, rather than having to request the whole learning design just to get the license details.

  1. … 1 more file in changeset.
learning design validator changes

LDEV-73: Added method to check that two licenses are the "same" for import purposes ie compares license id and name.

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

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.

LDEV-73: Added LicenseDTO for passing License data back to Flash. Having a separate DTO allows us to tweak 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).

This is used in the authoring call to get all the license details.

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

Moved the WDDX null entry checking to the base packet handling servlet (AbstractStoreWDDXPacketServlet) so that all packets will be checked, not just authoring packets.

LDEV-79: Added remove lesson feature to the dummy monitoring interface.

  1. … 2 more files in changeset.
LDEV-79: Added a new DISABLED state for a lesson - when disabled the lesson shouldn't be returned to users. Changed getLessonsForUser() to not return DISABLED lessons, but left getAllLessons() getting all (including disabled) lessons. But added a comment to indicate that getAllLessons includes disabled lessons.

  1. … 1 more file in changeset.
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.
Add DISABLE_LESSON to lesson class