Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3405 fix tablesorter sorting

LDEV-3429 fixed problem with importing old forum sequences due to Forum class' renamed fields

LDEV-3429 fixed problem with importing old forum sequences due to Forum class' renamed fields

LDEV-3425: use criteria instead of query to get topic thread (no impact on performance).

LDEV-3425: get rid of 'synchronized' action processing for LearningAction#replyTopic. 'synchronized' was introduced here to fix database deadlock with Message entity. In this use case, we can get rid of this deadlock without killing tool performance, using 'select for update' (performance tuning with TestHarness - 30forums.zip)

LDEV-3425: add 2LC to forum tool hibernate entities. (performance tuning with TestHarness - 30forums.zip)

LDEV-3425: declare transaction attributes for readOnly methods of IForumService. This stops hibernate from flushing session on transaction commit. (performance tuning with TestHarness - 30forums.zip)

LDEV-3405 fix tablesorter sorting

LDEV-3405 Forum monitor to implement paging

  1. … 15 more files in changeset.
LDEV-3405 XSS injection prevention

LDEV-3405 * last message->last message date * date format * caching of all messages at monitor start (in order to prevent DB queries from tablesorter)

  1. … 3 more files in changeset.
LDEV-3405 add a column in between name and Number of post with 'latest posting'

  1. … 3 more files in changeset.
LDEV-3405 * added initial sorting and ability to sort by number of posts * slightly modified statistics design, and significantly - view marks and edit mark pages * removed obsolete viewAllMarks feature

  1. … 6 more files in changeset.
LDEV-3405 Forum monitor to implement paging

  1. … 9 more files in changeset.
LDEV-3395 Implement a minimum number of characters for forum postings

  1. … 26 more files in changeset.
LDEV-3395 Implement a minimum number of characters for forum postings

  1. … 14 more files in changeset.
LDEV-3316: Get rid of HibernateTemplate and HibernateDaoSupport usage in set of LAMS DAO types from lams_tool_forum. Move DAO hibernate implementations to 'hibernate' sub-package. Introduce DAO interfaces and use references to them instead of to implementations in ForumService.

  1. … 11 more files in changeset.
LDEV-3316: Get rid of HibernateTemplate and HibernateDaoSupport usage in set of LAMS DAO types from lams_tool_forum

LDEV-3323 fix exception on releasing marks in monitor

LDEV-3332: revert spring-beans schema declaration in application context xml files. export spring meta-inf in jboss-deployment-structure.xml

It is way more elegant approach to fix an issue with spring-beans.xsd loading from internet.

  1. … 76 more files in changeset.
LDEV-3332: fix spring contexts declaration to find spring-beans-4.0.xsd locally at classpath.

Having spring module defined as a set of spring jars (as we do have in Wildfly), it is impossible for spring to resolve xsd schema mapping file 'spring.schemas' correctly. With set of jars, we have 5 instances of this file (with different content) under the same path 'META-INF/spring.schemas'. This ended up in spring not beeing able to map spring-beans-4.0.xsd URL path to local resource location. Finally, this xsd was loaded from internet - and that significantly slowed Wildfly startup.

With this fix LAMS is way (depends on internet connection) faster to start.

  1. … 75 more files in changeset.
LDEV-3319: Synchronize patch execution with an external monitor. Modules in WildFly can be loaded in parallel. AutoPatch is not ready for this as it uses static methods with unsynchronized collections. Each AutoPatchService instance should be run sequentially.

  1. … 32 more files in changeset.
LDEV-3323 fix exception on releasing marks in monitor

LDEV-3300: Remove Forum questions from the parent object as they may be accidentaly saved by cascade.

LDEV-3300: Remove Forum questions from the parent object as they may be accidentaly saved by cascade.

LDEV-3293: Rewrite Application Context configuration files for Spring 4.

  1. … 77 more files in changeset.
LDEV-3293: Use the new Spring's support for Hibernate 4 instead of Hibernate 3. Switch from using HibernateDaoSupport.getSession() to its getSessionFactory().getSession(). The latter is sure to close the session automatically while a session returned by the first method should be closed manually. Theoritecally we do it in OpenSessionInViewFilter, but it may not be always the case, leading to open Hibernate session being left behind.

  1. … 79 more files in changeset.
LDEV-3293: Cast DAO methods' results to their return type. Java 8 is more restrictive about generics. Hibernate find() methods returns List<?> and it can not be quietly cast to List<SomeClass>. Each occurence was explicitly casted and warnings about the type being unchecked were supressed.

  1. … 55 more files in changeset.
LDEV-3277 mark notifyTeachers method as PROPAGATION_REQUIRED, to allow saving notification event in case of an error

  1. … 5 more files in changeset.
LDEV-3272: Trim subjects of Forum topics edited in Pedagogical Planner.