lamsfoundation

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updating export portfolio for the new stylesheets. New sheets applied and some extra data added to the page (such as learner name). Doesn't look right yet as the images aren't available and the css references have had to be hardcoded and this should be done via the css tag.

    • -0
    • +31
    ./lams/learning/export/Portfolio.java
  1. … 3 more files in changeset.
Added user id as a parameter to the export portfolio url for learner. This allows the teacher to download the portfolio for a particular user.

Fixing null ptr exception - previous activity is sometimes null when doing a subactivity within an optional activity.

    • -1
    • +1
    ./lams/learning/web/util/ActivityMapping.java
Optional activity wasn't showing title and description - values were missing from the form.

Implementing gate and grouping screens for export portfolio.

    • -6
    • +50
    ./lams/learning/web/action/GroupingAction.java
    • -1
    • +1
    ./lams/learning/web/util/ActivityMapping.java
  1. … 38 more files in changeset.
Adding lessonID to the activity form, so that the passon.swf can have it separately and make it part of the connection name. Changed form.activityId to form.activityID for consistency.

    • -6
    • +7
    ./lams/learning/web/action/ActivityAction.java
    • -5
    • +16
    ./lams/learning/web/form/ActivityForm.java
  1. … 1 more file in changeset.
remove userDAO reference , use baseDAO instead

    • -1
    • +1
    ./lams/learning/web/util/LearningWebUtil.java
remove userDAO reference , use baseDAO instead

update user related method calls only

    • -1
    • +1
    ./lams/learning/web/action/LearnerAction.java
Removing learnerProgress from the user's shared session. This should allow preview and learner to run without interfering with each other.

    • -12
    • +26
    ./lams/learning/service/ILearnerService.java
    • -28
    • +9
    ./lams/learning/web/action/ActivityAction.java
    • -42
    • +14
    ./lams/learning/web/action/GateAction.java
    • -11
    • +4
    ./lams/learning/web/action/GroupingAction.java
    • -8
    • +4
    ./lams/learning/web/action/LearnerAction.java
    • -4
    • +10
    ./lams/learning/web/util/ActivityMapping.java
    • -80
    • +53
    ./lams/learning/web/util/LearningWebUtil.java
  1. … 11 more files in changeset.
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.