Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3556: Remove LAMS 1 methods for importing Tool content.

  1. … 27 more files in changeset.
LDEV-3646: Remove obsolete data.

LDEV-3646: Add websocket server and client code. Add Ant code for deploying the server class to <WAR>/WEB-INF/classes folder for WildFly to pick it up on start up. Clean up and formatting.

  1. … 9 more files in changeset.
LDEV-3640: Generate only a warning when there is no foreign key to drop.

  1. … 28 more files in changeset.
LDEV-3638: Remove lesson and all its resources on demand. Files in content repository stay. Clean up unnecessary code, format.

  1. … 47 more files in changeset.
LDEV-3640: Add cascades in tool tables.

  1. … 28 more files in changeset.
LDEV-3638: Remove lesson and all its resources on demand. Files in content repository stay. Clean up unnecessary code, format.

  1. … 48 more files in changeset.
LDEV-3640: Add cascades in tool tables.

  1. … 27 more files in changeset.
LDEV-3633: Allow specyfing port which MySQL runs on. Disable SSL for building LAMS as it generates a warning message. New MySQL does not accept ALTER IGNORE TABLE statements.

  1. … 24 more files in changeset.
LDEV-3564 session id must be unique in tool's session table

  1. … 19 more files in changeset.
LDEV-3564 session id must be unique in tool's session table

  1. … 21 more files in changeset.
LDEV-3561: Initial implemntation of re-setting read-only flag of Activities on force uncomplete. Each Tools' service has a method to report whether there is significant users' content left it the Activity. If so, it reports the Activity as read-only. Otherwise the flag can be re-set. Grouping, Gate and Complex activities also have their way of checking their immutability.

  1. … 42 more files in changeset.
LDEV-3514: Use pretInterceptor instead of postInterceptor. Create new transactions for service method retries.

Attach activity to Hibernate session in completeActivity() method.

  1. … 42 more files in changeset.
LDEV-3514: Use pretInterceptor instead of postInterceptor. Create new transactions for service method retries.

Attach activity to Hibernate session in completeActivity() method.

  1. … 43 more files in changeset.
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: 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-3486 Assign marks to learner in leader aware tools when he gets force completed

  1. … 33 more files in changeset.
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: Rest authoring support added

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-3316: Get rid of HibernateTemplate and HibernateDaoSupport usage in set of LAMS DAO types from lams_tool_chat

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. … 86 more files in changeset.