LDEV-2074 Improvements handle insert/merge of two designs with floating activities. Only set readOnly to true when value is not set in LearnerService (when moving to Floating Activities).
LDEV-2074 Fixes progress related bugs found. No long set nextActivity when moving to a floating Activity (only set as attemped); Flags floating activities as readOnly (true) when they are attempted (LiveEdit).
LDEV-2074 Updated the Progress Engine to handle floating (reference) activities, activation from the progress bar and progress status of the activities. Display floating activities in non-flash progress bar with valid links to launch the activities (to-do: still need to fix window pop-up size).
LDEV-1971From a tip from a Fiona, the context path "rams/" or "lams/' is actually stored in the db, so we can get it from there instead of getting it from the context of the request
LDEV-1971 : Main export server only adjusts image urls for lams, not in rams,this is because "/lams/secure/www" was included in the regexnow the "lams" bit is retrieved from the request context using:request.getContextPath().substring(0, 5);
For LDEV-1784. When the max number of optional activities has been reached, the choose button on the optional activity summary page will not appear, instead a message appears telling the user that they have reached the maximum number of optionals.Also added a tick image to signify which activities were completed
LDEV-1847 - Fixed export portfolio so custom inmages for gmap are bundled with the export.Now the class is centralised in learner so this can be used in future for other tools.
LDEV-1817: Define later branching was breaking Preview. Now the preview hack allows it to be used with Random Grouping and this required regetting the grouping at one point to avoid a CGLIB class cast exception (hack on hack). Bleah.The chosen grouping now works as I clear the number of groups before creating a group (and then allocating to a branch), otherwise I could run into the max number of branches test. Another hack.
LDEV-1763Flattened branching tree when performing a learner export portfolio. Branching activity and sequence activity headings are removed and the activities are placed directly under the main tree.
LDEV-1624. Download of file wasn't being triggered in Safari as the browser appears to not be sending in the session cookies. Fixed it by removing the newline at the end of the filename, which is appended to the url for downloading.
Branching preview screen wasn't selecting the group properly for a chosen branching. So when you return to the selection screen, it has some odd behaviour about when it displays a default branch.
Fixed up code that creates the folder so that it only tries to create it when the folder doesn't exist - eitherwise it gives a false error when it tries to create the images folder for a second time.
LDEV-1571: Sync gates to open for group based and teacher chosen branching. The "potential list of learners" is restricted to the group of learners associated with the group assigned to the branch.