Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3514: Use postInterceptor instead of preInterceptor. PreInterceptor apparently runs before Hibernate transaction gets created. When an exception in the proxied method occurs, the transaction is canceled and is not re-created when retry is attempted. This leads to "no session" or "read only transaction on write" errors. PostInterceptor seems to work when the transaction is already created, so retries happen witin its scope.

  1. … 39 more files in changeset.
LDEV-3514: Wrap all transactional methods with TransactionRetryInterceptor. Set number of attempts to 3. Remove previous safety mechanism for completeActivity() method.

  1. … 41 more files in changeset.
LDEV-3514: Wrap all transactional methods with TransactionRetryInterceptor. Set number of attempts to 3. Remove previous safety mechanism for completeActivity() method.

  1. … 42 more files in changeset.
LDEV-3507: Remove error message when Tool Content was not found. A simple getter method should not report errors.

  1. … 10 more files in changeset.
LDEV-3507: Remove error message when Tool Content was not found. A simple getter method should not report errors.

  1. … 10 more files in changeset.
LDEV-3486 Assign marks to learner in leader aware tools when he gets force completed

LDEV-3454 Upgrade survey export * Upgrade the survey export to use the latest poi lib * Optimize the sql scripts used in this export methods to be more efficient (when possible)

LDEV-3486 Assign marks to learner in leader aware tools when he gets force completed

  1. … 32 more files in changeset.
LDEV-3455: Rest authoring support added

LDEV-3455: Submission deadline should not have been included in the REST authoring interface as it is set in monitoring. Removing.

  1. … 6 more files in changeset.
LDEV-3455: Rest authoring support added

LDEV-3454 Upgrade survey export * Upgrade the survey export to use the latest poi lib * Optimize the sql scripts used in this export methods to be more efficient (when possible)

LDEV-3452: Save Conditions along with Questions (cascade) when creating a lesson and importing a LD.

  1. … 3 more files in changeset.
LDEV-3452: Save Conditions along with Questions (cascade) when creating a lesson and importing a LD.

  1. … 3 more files in changeset.
LDEV-3428: Do not create default conditions when Tool output definitions are fetched. They only get created when Tool defaut content is cloned.

Fix class cast exeption when changing grade of first activity in sequence.

Fix lesson mark calculation exception.

Pass IDs to service methods instead of DB objects.

  1. … 8 more files in changeset.
LDEV-3428: Do not create default conditions when Tool output definitions are fetched. They only get created when Tool defaut content is cloned.

Fix class cast exeption when changing grade of first activity in sequence.

Fix lesson mark calculation exception.

Pass IDs to service methods instead of DB objects.

  1. … 9 more files in changeset.
LDEV-3432: Remove limitation for reflect instructions.

  1. … 9 more files in changeset.
LDEV-3432: Remove limitation for reflect instructions.

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

LDEV-3326 added advanced option to include other users results after survey responses are sent

  1. … 24 more files in changeset.
LDEV-3326 1) after the view all responses is pressed, even on refresh you shouldn't be able to re-edit your take. 2) Unlike Q&A, your answer must be included in the stats. 3) In the paging component that shows free text, the text displayed there ignores CRs. 4) make the paging component page wide instead and just get rid of the "Open response" label 5) put the number of answers that we are displaying

  1. … 6 more files in changeset.
LDEV-3326 added advanced option to include other users results after survey responses are sent

  1. … 20 more files in changeset.
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-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. … 87 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. … 53 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-3258: Set target Survery user for notification emails. Wrap Notification Service method in a new transaction so existing one can be even read-only.

  1. … 1 more file in changeset.