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.
False warning being thrown as not all progress engine calls supply the tested parameter (and other bits of code copes with that). Changed the warning so that it is a proper warning.
LDEV-1576: Going back to a completed sequence activity was causing the first child activity to be marked as current (when it was already completed). Now it checks that the activity isn't completed before marking it as current.
LDEV-1005: Added lesson name to headings, added help button, improved layout, improved browser compatibility on the page sizing, added scrolling to the iframe, hide the branches that the user isn't doing, adding support for the jump ahead in preview.
LDEV-1558: Once a learner completes a lesson by hitting a "stop after activity" branch, it stays completed, irrespective of whether the user hits resume or if Live Edit is done and new activities are added to the end of the design.
LDEV-1558: When a learner completes a lesson at the end of a branch (ie a branch that stops, rather than continuing) then the parent activities are also marked as complete.
LDEV-1534: Deadlock happening on users starting the lesson when run from test harness. The exception was being caught but not logged properly. Is now always logged so we can debug this problem now!
LDEV-1400: When a branch / sequence is selected but the lesson is completed, the completion flag is removed so that it will go to the end of the sequence, rather than going straight to the end of the lesson.
lams_central shouldn't have dependency in lams_learning - moving method from LearnerService to LessonService in lams_common, as a result also moving Index*Beans to lams_common