lamsfoundation

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Changed export portfolio to * reduce the number of error messages * move the html out of the I18N file and into jsps * use the learning design processor so that the activities are processed (and hence displayed) in the correct order.

    • -0
    • +129
    ./lams/learning/export/ActivityPortfolio.java
    • -11
    • +37
    ./lams/learning/export/Portfolio.java
    • -117
    • +0
    ./lams/learning/export/ToolPortfolio.java
    • -0
    • +206
    ./lams/learning/export/service/PortfolioBuilder.java
    • -1
    • +1
    ./lams/learning/web/action/LearnerAction.java
  1. … 6 more files in changeset.
appended lessonID to progressSummary query string

    • -1
    • +13
    ./lams/learning/web/action/ActivityAction.java
Added the define later special screen code to the wrong Action class.

  1. … 2 more files in changeset.
Preview changes: (1) when define later activity occurs don't tell the tool that it is define later but display a special screen before going to the next tool (2) for chosen grouping, schedule and permission gates show the normal page with an extra preview message then override the normal process and continue.

Also part A of a change to the Flash call to get the learner progress - it should take the lesson id not the progress id.

    • -3
    • +16
    ./lams/learning/web/action/GateAction.java
    • -2
    • +16
    ./lams/learning/web/action/GroupingAction.java
    • -2
    • +8
    ./lams/learning/web/action/LearnerAction.java
  1. … 9 more files in changeset.
Call passon to update the progress bar on tool pages, optional activities and the completed screen.

Should also cope with the user partially doing an optional activity, continuing on in the design, then coming back later to the optional activity to do more, and then going back to where they were up to in the sequence before jumping back.

    • -5
    • +69
    ./lams/learning/web/action/ActivityAction.java
    • -48
    • +1
    ./lams/learning/web/util/ActivityMapping.java
  1. … 7 more files in changeset.
Changing getLearnerActivityURL so that it returns a suitable url for the optional activity page.

All urls returned in this packet are now full urls, which requires a change on the client end.

    • -17
    • +10
    ./lams/learning/web/util/ActivityMapping.java
Modify progress engine to call the preview urls for tools when the lesson is a preview lesson.

    • -1
    • +1
    ./lams/learning/web/action/LearnerAction.java
    • -5
    • +8
    ./lams/learning/web/util/ActivityMapping.java
Added support for chosen grouping.

    • -1
    • +2
    ./lams/learning/web/action/GroupingAction.java
    • -2
    • +2
    ./lams/learning/web/action/LearnerAction.java
    • -4
    • +4
    ./lams/learning/web/util/ActivityMapping.java
    • -8
    • +6
    ./lams/learning/web/util/LearningWebUtil.java
  1. … 6 more files in changeset.
Clean up grouping code so that the shared code is in lams.jar, and making it so that learner can't trigger the chosen grouping. I18N the grouping screen and added a wait page for the chosen grouping.

    • -16
    • +22
    ./lams/learning/web/action/GroupingAction.java
  1. … 7 more files in changeset.
Random grouping now working. Changed to make learner service changes to stop a hibernate lazy initialisation exception when grouping has just been run. Also reduced the amount of data needed to be cached in the session - only the lesson id is needed not the complete lesson.

    • -2
    • +2
    ./lams/learning/web/action/GroupingAction.java
    • -2
    • +2
    ./lams/learning/web/action/LearnerAction.java
    • -22
    • +17
    ./lams/learning/web/util/LearningWebUtil.java
  1. … 2 more files in changeset.
Removed the original SessionBean from the system. If needed again, the shared session bean developed by Dapeng can be used. Fixed various issues with Optional Activities and Parallel activites. Should be able to run through a sequence with them okay now.

    • -34
    • +2
    ./lams/learning/web/action/ActivityAction.java
    • -1
    • +0
    ./lams/learning/web/action/LearnerAction.java
    • -70
    • +0
    ./lams/learning/web/bean/SessionBean.java
    • -2
    • +2
    ./lams/learning/web/util/ActivityMapping.java
  1. … 1 more file in changeset.
Changed calls to update lesson to use the lessonId rather than the lesson. Change allowed us to reduce the amount cached in the context. This fixed various issues with Optional and Parallel activities.

    • -13
    • +23
    ./lams/learning/service/ILearnerService.java
    • -4
    • +7
    ./lams/learning/web/action/GateAction.java
    • -10
    • +3
    ./lams/learning/web/action/GroupingAction.java
    • -5
    • +6
    ./lams/learning/web/action/LearnerAction.java
    • -46
    • +4
    ./lams/learning/web/util/LearningWebUtil.java
  1. … 3 more files in changeset.
Replaced getActiveLessons with getLesson, to suit the change from listing all the lessons in the learner client to just working with a single lesson.

Also moved the logic to cache the lesson learners into the lams.jar (in the LessonService).

    • -15
    • +20
    ./lams/learning/service/ILearnerService.java
    • -9
    • +3
    ./lams/learning/web/action/GateAction.java
    • -6
    • +2
    ./lams/learning/web/action/GroupingAction.java
    • -61
    • +40
    ./lams/learning/web/action/LearnerAction.java
  1. … 4 more files in changeset.
Implementing the gate screens for learner.

    • -12
    • +121
    ./lams/learning/web/action/GateAction.java
  1. … 11 more files in changeset.
Moving gate and group url support to a lams_system_tool table - the first "inch" towards making these pluggable tools in a later version of LAMS.

    • -1
    • +2
    ./lams/learning/web/action/LearnerAction.java
    • -11
    • +8
    ./lams/learning/web/util/ActivityMapping.java
  1. … 9 more files in changeset.
Got the existing grouping and gate screens working from the learner interface. More work yet to be done on them.

    • -15
    • +63
    ./lams/learning/service/ILearnerService.java
    • -8
    • +13
    ./lams/learning/web/action/GateAction.java
    • -2
    • +2
    ./lams/learning/web/action/GroupingAction.java
    • -10
    • +26
    ./lams/learning/web/action/LearnerAction.java
    • -2
    • +2
    ./lams/learning/web/util/ActivityMapping.java
  1. … 2 more files in changeset.
Worked on the learner progress. Was always going back to the first activity when we exited a lesson - the learner progress in the session was out of date (wasn't updated as the tool's called the complete tool method). The learner progress is now in the special LAMS session object and is updated when tool's call the complete method.

Also set up the string that will be used to inform Flash of the learner's progress. This string (attempted&=completed&=current) will be passed to Flash via passon.swf in the tool display jsp.

    • -4
    • +1
    ./lams/learning/web/action/GroupingAction.java
    • -9
    • +1
    ./lams/learning/web/action/LearnerAction.java
    • -15
    • +13
    ./lams/learning/web/form/ActivityForm.java
    • -19
    • +42
    ./lams/learning/web/util/LearningWebUtil.java
  1. … 3 more files in changeset.
adjusted xdoclet for exit

    • -1
    • +1
    ./lams/learning/web/action/LearnerAction.java
Added "exitted lesson" screen and I18N'd the text of the welcome screen. Made the Action more robust with respect to exceptions - most exceptions are now caught and a proper error message is sent back to Flash (rather than nothing being returned). Changed the LearnerActions to not forward to page when the wddx packet is returned. We now have a Flash interface so forwarding to a page (rather than letting Flash bring up the next bad) is now bad. Had to change the dummy learner screen to still forward temporarily otherwise the dummy screen won't display the tool pages.

    • -98
    • +137
    ./lams/learning/web/action/LearnerAction.java
  1. … 5 more files in changeset.
Added real learner page back in (with a link from the dummy page) so that mitch can set up the Flash movie. Also set the charset/encoding for these pages to UTF-8

  1. … 16 more files in changeset.
Fixed the export portfolio - when the resource files were renamed I missed a hardcoded entry in the constants.

Renaming applicationResources.properties to ApplicationResources.properties

  1. … 31 more files in changeset.
Updated copyright statement - only support GPL v 2.0

    • -5
    • +23
    ./lams/learning/export/Portfolio.java
    • -25
    • +23
    ./lams/learning/export/ToolPortfolio.java
    • -20
    • +23
    ./lams/learning/progress/ProgressException.java
    • -20
    • +23
    ./lams/learning/service/ILearnerService.java
  1. … 52 more files in changeset.
Display the activity title and description int the portfolio, rather than tool details, as the activity fields may be edited by the user but the tool values are system values. This action class is not used.

Display the activity title and description int the portfolio, rather than tool details, as the activity fields may be edited by the user but the tool values are system values. Moved the ordered list tags into the Servlet code, so that the code could completely replace the ordered list section with something else, without touching the translations.

  1. … 1 more file in changeset.
Display the activity title and description int the portfolio, rather than tool details, as the activity fields may be edited by the user but the tool values are system values.

Changed learning design activities and transition collections to use all-delete-orphan cascade management. This will ensure that the secondary records are created and removed as required.

This required fixing code that trigger cascade problems and also highlighted some session problems with the learner cache created by Jacky.

    • -5
    • +6
    ./lams/learning/web/action/LearnerAction.java
    • -5
    • +9
    ./lams/learning/web/util/LearningWebUtil.java
  1. … 35 more files in changeset.
Moved the language/message/resource file to the conf area. Will now be deployed to the lams-dictonary.jar to make I8N easier.

  1. … 5 more files in changeset.
Split learner and export urls (in Tool) to have separate urls for teacher, learner and authoring modes.

    • -1
    • +1
    ./lams/learning/web/util/ActivityMapping.java
  1. … 3 more files in changeset.
Add start date for learnerProgress.

  1. … 4 more files in changeset.