LDEV-1134: Preview now lets the author select a branch to view, but the author can only do one branch. To view all branches, the author needs to run preview multiple times.
LDEV-1134: Branching: Added stopAfterActivity flag to activity, which will allow us to "end" a lesson at the end of the activity. Progress engine changes done.
LDEV-1134: Branching: View screen for the class export portfolio. Fixing problems with previous version - parallel activities were generating a link rather than just a heading, and a gate heading was appearing for learning and it should not appear at all.
Branching: Added a new field firstActivity to the SequenceActivity, so Flash can easily indicate where to start in a sequence activity. That way, the logic works in the same way as it does in a learning design.
Branching: Added a new field firstActivity to the SequenceActivity, so Flash can easily indicate where to start in a sequence activity. That way, the logic works in the same way as it does in a learning design.
LDEV-1134: Dummying up a branching page for the progress engine. Had missed the entry for the abstract branching class in the Hibernate file when I switched from 1 branching class to 3.
LDEV-1241: Problem with progess engine getting stuck when a user is in a parallel activity within an optional activity required a change to the LearnerProgress.setProgressState() method call. Learner classes changed to match.
LDEV-1155 revert to storing temp portfolio on server as a constant 'export.zip'; URLEncoded the portfolio name when it is passed as a URL parameter (for i18n purposes); strip out punctuation chars from the export portfolio filename that is downloaded by users.
LDEV-1225: While testing, found that the notSupported.jsp doesn't work properly. This page only appeared when the system tools (gates and grouping) don't work in export portfolio properly, so its not worth trying to fix it. Now if they don't work there is an entry in the main page but no "no supported" page.
LDEV-1182 & LDEV-1126: Fixing up behaviour of the close.jsp - which is called when the user completes an activity that was already finished. There were problems with the parallel activities when one was finished and the user clicked resume (or restarted learner) and with force complete. Now instead of just showing the "close" message, it detects that it is not in the popup window and instead of trying to close it now forwards to the next appropriate screen.
LDEV-1155 filename parameter in response parameter needs to be enclosed by quotes otherwise firefox truncates the filename when it encounters the first space
LDEV-1097: Remove the finish button from the learner progress view of the grouping screen, plus updated some out of date method calls relating to force complete.
LDEV-1131: If the user is using a custom stylesheet, export portfolio wasn't copying the images directory for the stylesheet. Changed the export so it now copies the theme's special images (using the new image_directory column in the theme) as well as the default images.
LDEV-1125: Getting a blank screen for the next activity if you force complete a user on a parallel activity. The code to calculate the next url was there but the calculated url wasn't being returned to the Action class.
LDEV-988: Made the GroupingAction page handle both doing a grouping and going back to the screen later via the progress bar. To do this I had to make change performGrouping so it checks if the grouping has been done before trying to do it. Also changed the completeActivity to move the logic that closes the popup window to completeActivity rather than completeToolSession - now it is called for system tools like grouping as well as the normal tools.