• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

  1. … 7 more files in changeset.
Import tool content works!!! in rsrc and submit tool with sigle file and pacakge testing!!!

extends BaseDAO and implements IBaseDAO to simplify the DAOs

  1. … 4 more files in changeset.
added OrganisationStateId constants

added getOrganisationTypeById method

Update import tool content interface.

  1. … 3 more files in changeset.
Added code field and its getter and setter which was missing

Added organisationState related methods

OrganisationState DAO hibernate implementation

OrganisationState DAO Interface

added organisationStateDAO to userManagementService

    • -0
    • +5
    ./org/lamsfoundation/lams/commonContext.xml
Random grouping now working.

Fixed issues in authoring - was trying to look up grouping by UUID and that won't work for more than one design with grouping (as the UUIDs may be duplicated). Modified authoring to get all the existing groupings via the grouping activities.

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.

  1. … 3 more files in changeset.
Working on import tool content.

    • -0
    • +1
    ./org/lamsfoundation/lams/commonContext.xml
Fixed Optional Activities so that there are methods that will return not-null min and max value - makes the optional activity display code easier. The client should ensure that the values aren't null but they are allowed to be null in the db so we have to cater for that.

  1. … 1 more file in changeset.
added localeLanguage and lacaleCountry properties

  1. … 1 more file in changeset.
added OrganisationState.hbm.xml to mappingResources of hibernate session factory

    • -0
    • +1
    ./org/lamsfoundation/lams/commonContext.xml
added organisationState member

remove unnecessary package names in front of class names, which were generated by middlegen hbm2java task

domain object for lams_organisation_state table

Fixed bugs in getCountActiveLearnerByLesson, changed calls to update lesson to use the lessonId rather than the lesson. Change allowed us to reduce the amount cached in the context.

  1. … 3 more files in changeset.
Working on import tool content.

  1. … 2 more files in changeset.
Add more dao in export tool content service.

    • -0
    • +5
    ./org/lamsfoundation/lams/commonContext.xml
added Privilege.hbm.xml and RolePrivilege.hbm.xml to the mappingResources for hibernate session factory

    • -0
    • +2
    ./org/lamsfoundation/lams/commonContext.xml
hibernate mapping files for privilege, role and privileges

  1. … 3 more files in changeset.
Remove getLearningDesign() method.

Modifying the getOrganisationForUserByRole calls to return just the course and class when specified, rather than the whole organisation tree.

Replaced getActiveLessons with getLesson, to suit the change from listing all the lessons in the learner client to just working with a single lesson.

Moved the logic to cache the lesson learners from learning into the lams.jar (in the LessonService).

Replaced getAllLessonsWDDX, getLessonData with getLessonDetails. Suits the change from listing all the lessons in the monitoring client to just working with a single lesson.

    • -10
    • +11
    ./org/lamsfoundation/lams/lesson/Lesson.java
    • -0
    • +152
    ./org/lamsfoundation/lams/lesson/service/LessonService.java
  1. … 2 more files in changeset.
Fix a bug in OrganisationDTO(Organisation organisation) constructor.

this.parentID = organisation.getParentOrganisation().getOrganisationId() will throw a NullPointerException at runtime if the organisation is the top level organisation like "Root"

Now this line of code is modified like this:

this.parentID = (organsiation.getParentOrganisation()==null) ? new Integer(-1) : organisation.getParentOrganisation().getOrganisationId();

So in an organisationDTO, if parentID is -1, it means the organisation is the top level organisation which has no parent.

Add import tool content method

    • -0
    • +1
    ./org/lamsfoundation/lams/commonContext.xml
  1. … 5 more files in changeset.
Add fileUtil method and package export success.

    • -0
    • +22
    ./org/lamsfoundation/lams/util/FileUtil.java
Update ToolContentManager API

Export toolcontent service.

    • -1
    • +2
    ./org/lamsfoundation/lams/commonContext.xml
    • -0
    • +44
    ./org/lamsfoundation/lams/util/FileUtil.java
  1. … 1 more file in changeset.