lamsfoundation

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Basic config for i18n

  1. … 9 more files in changeset.
Add url construct method for sequence in one LearningProgress.

    • -1
    • +49
    ./lams/learning/web/util/ActivityMapping.java
Change toolSessionManager interface to add new toolSessionName.

  1. … 7 more files in changeset.
moved HTML out of export into resource file

also has functionality to bundle the stylesheets along with export

moved HTML out of export into resource file

some new constants

LDEV-61 Fixing tool sessions - all users were getting separate tool sessions. Modified learner service to suit changes to ToolActivity.createToolSessionForActivity()

Export portfolio was failing on linux - can't rely on the tmp directory having a trailing / \

Setup dummy learning functionality so that learner interface can be used in the Alpha version. Supports joining a lesson.

    • -0
    • +118
    ./lams/learning/web/action/DummyLearnerAction.java
    • -1
    • +1
    ./lams/learning/web/action/GroupingAction.java
    • -3
    • +3
    ./lams/learning/web/action/LearnerAction.java
    • -23
    • +21
    ./lams/learning/web/util/LearningWebUtil.java
  1. … 15 more files in changeset.
renaming of Portfolio and ToolPortfolio objects

modified it so that if it detects that the array of ToolPortfolios is null, it will just generate a main page stating that the portfolio export is not supported