Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5143 Show all learners in group in leader selection learning UI

Even one who have not reached the leader selection activity yet.

LDEV-3155 Make choose leader Ajax call not send malformed redirect

  1. … 1 more file in changeset.
LDEV-4802 Ignore invalid websocket close codes

For unknown reason browsers sometimes close websockets with an invalid

close code, for example 15393. It prevents from running @OnClose methods

in LAMS websocket servers. Since we do not have control over this

situation, it is better to skip CloseReason parameter all together.

  1. … 6 more files in changeset.
LDEV-5143 Allow promoting to leader a learner who did not reach activity

  1. … 21 more files in changeset.
LDEV-5143 Refresh learners in Leader Selection on leader change

  1. … 1 more file in changeset.
LDEV-5143 Add proper error message on missing Leader Selection session

LDEV-5143 Change Leader in Assessment

  1. … 7 more files in changeset.
LDEV-5143 Extract TBL monitoring Change Leader feature

It will be used in other tools afterwards.

  1. … 8 more files in changeset.
LDEV-5057 Use UTF-8 as default encoding for message sources

  1. … 33 more files in changeset.
LDEV-4945 Fix mysql comments on patch files

  1. … 76 more files in changeset.
LDEV-4945 Fix mysql comments on patch files

  1. … 101 more files in changeset.
Merge branch 'LDEV-4932'

# Conflicts:

# lams_common/src/java/org/lamsfoundation/lams/dbupdates/patch02040021.sql

# lams_tool_survey/src/java/org/lamsfoundation/lams/tool/survey/web/controller/MonitoringController.java

  1. … 2 more files in changeset.
LDEV-4932 Add CSRF to monitor and central

  1. … 48 more files in changeset.
LDEV-4743 Squash tool patches updating to version 3.1

  1. … 117 more files in changeset.
LDEV-4935 Secure Leader Selection websockets

User gets checked if he participates in the given activity.

LDEV-4932 Secure edit in monitor with CSRF Guard

* In order to secure /definelater.do path, added definelater() method to

AuthoringController to the tools missing it

* Remove unnecessary forms from monitor in Vote, NB, QA tools

  1. … 109 more files in changeset.
LDEV-4932 Add CSRF to Leader selection

Prevent CSRF for changing leader selection in monitor

  1. … 5 more files in changeset.
LDEV-4929 Add missing service method names to xApplicationContext.xmls

* Alphabetize method names in to xApplicationContext.xmls

  1. … 42 more files in changeset.
LDEV-4900 Update Gradebook marks of non-leaders on leader finish

* Gradebook now pushes updated marks to LTI consumer. It happens only if

user has finished the lesson

  1. … 60 more files in changeset.
LDEV-4802 Stop websocket threads even more gracefully

An exception can occur also when session gets open, not only when it

gets closed.

  1. … 7 more files in changeset.
LDEV-4743 Squash/Update SQL scripts ready for LAMS 3.1 release

  1. … 124 more files in changeset.
LDEV-4678 Remove no longer needed @Autowired applicationContext

  1. … 20 more files in changeset.
LDEV-4678 WebUtil.putActivityPositionInRequestByToolSessionId transformed into service method

Also introduce ICommonToolService that will hold methods shared by all

tools.

  1. … 140 more files in changeset.
LDEV-4678 Remove all ServiceProxy classes

Also get rid of LearningWebUtil.putActivityPositionInRequest(Long

activityId, HttpServletRequest request, ServletContext context) and

LearningWebUtil.getActivityMapping(ServletContext context) methods. As

it's better to invoke according service methods directly.

  1. … 46 more files in changeset.
LDEV-4696 Make all @ManyToOne and @OneToOne lazy

Hibernate 3 used lazy loading of single-object relationships by default.

JPA's default setting is eager. When loading entities all references are

loaded immediately using JOINs. A large entity, like Learning Design,

can have a query consisting of 25 JOINs. It makes it very slow.

There is no way to change JPA's default behaviour. In order to make JPA

annotations behave like old Hibernate, each of them got an explicit

attribute saying that loading is lazy.

  1. … 169 more files in changeset.
LDEV-4696 Make all @ManyToOne and @OneToOne lazy

Hibernate 3 used lazy loading of single-object relationships by default.

JPA's default setting is eager. When loading entities all references are

loaded immediately using JOINs. A large entity, like Learning Design,

can have a query consisting of 25 JOINs. It makes it very slow.

There is no way to change JPA's default behaviour. In order to make JPA

annotations behave like old Hibernate, each of them got an explicit

attribute saying that loading is lazy.

  1. … 169 more files in changeset.
LDEV-4696 Fix incorrect annotation in Leader Selection

@OneToMany with mappedBy can not have @JoinColumn

LDEV-4696 Convert Leaderselection to Hibernate annotations

Also fixed transaction not started exception by adding setGroupLeader to

leaderselectionApplicationContext

LDEV-4440 TBLMonitoring links fixed

  1. … 8 more files in changeset.
LDEV-4440 Switch controllers to use @Autowired service beans

Also in cases when service bean in Controller has the same name as in

applicationContext, @Qualifier(..) can be removed. Which was done almost

in all cases, except for messageService due to "messageService" name

seems to be more preferable than adminMessageService,

centralMessageService and so on. Thus they were kept as before:

@Autowired

@Qualifier("centralMessageService")

private MessageService messageService;

  1. … 179 more files in changeset.