LDEV-1179: Export portfolio now displays a different msg for run offline activities. The screen comes from the learning war, and is called from the code on AbstractExportPortfolioServlet. Tools don't have to do anything, but they can override a new method in the servlet and supply the name of the activity (as per the tool's authoring screen) or do their own screen. Our tools will just display the name of the activity.
LDEV-1401: Extra line crept into previous change and this caused the export portfolio to not list a branching activity or any activities after the branch.
LDEV-1375: Added some commented out code that could be used if we don't want the sequence page to be included for sequences that are branches within a branching activity.
LDEV-1375: Adding a page for sequence activities for class export portfolio. This requires setting it up as a system tool so that we have a url for the export portfolio.
LDEV-1134: Removed some of the extra cautious code that was there as it can trigger a class cast exception (due to the way Hibernate loads objects). Code was originally there to catch bugs during development, but now it is just causing problems.
LDEV-1109: Fixing bugs in the authoring support for tool output based branching and getting the progress engine working. A rough implementation of the condition checking down for one MCQ condition for demonstration purposes. Two new methods added to the tool contract.
LDEV-1109: Implement more of the authoring support for tool output based branching. Added the table to store the conditions designed in authoring and refactored the branch mapping table to support the conditions. Modified the authoring code to expect the new objects from the authoring client.
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.