lamsfoundation

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5431 Reset activity completion on force uncomplete in Monitor

  1. … 38 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-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. … 182 more files in changeset.
LDEV-4440 Wookie NoStruts

    • -0
    • +37
    ./lams/tool/wookie/web/controller/AuthoringController.java
    • -0
    • +60
    ./lams/tool/wookie/web/controller/LearningController.java
  1. … 6 more files in changeset.
LDEV-4407 Tools to stop using learnerService

There is no need to have a separate ILearnerService designed

for tools only. As long as they require only one method from it

completeToolSession() which we can simply move to

ILamsToolService. After which we just remove learnerService

from the tools.

  1. … 58 more files in changeset.
LDEV-4451 Implement ToolSessionManager.getConfidenceLevels() in all tools

This method allows Scratchie to query available confidence levels from

the tools that can provide it. Actually, only Assessment and MCQ will

implement it for real, all other tools will implements it as "return

null;".

  1. … 28 more files in changeset.
LDEV-4187: Get an learner's status from the tool for a particular tool session, which can be used to regenerate learner progress.

LDEV-3750 Improve performance of pushing marks to gradebook

  1. … 36 more files in changeset.
LDEV-3824: Replace Wookie with a stub.

    • -11
    • +0
    ./lams/tool/wookie/dao/IWookieConfigItemDAO.java
    • -42
    • +0
    ./lams/tool/wookie/dao/IWookieDAO.java
    • -41
    • +0
    ./lams/tool/wookie/dao/IWookieSessionDAO.java
    • -60
    • +0
    ./lams/tool/wookie/dao/IWookieUserDAO.java
    • -14
    • +0
    ./lams/tool/wookie/dbupdates/autopatchContext.xml
    • -19
    • +0
    ./lams/tool/wookie/dbupdates/patch20140102.sql
    • -14
    • +0
    ./lams/tool/wookie/dbupdates/patch20150930.sql
    • -21
    • +0
    ./lams/tool/wookie/dbupdates/patch20151217.sql
    • -56
    • +0
    ./lams/tool/wookie/dto/NotebookEntryDTO.java
    • -85
    • +0
    ./lams/tool/wookie/dto/WidgetData.java
    • -73
    • +0
    ./lams/tool/wookie/dto/WidgetDefinition.java
  1. … 119 more files in changeset.
LDEV-3660: Remove export potfolio resources: Java classes, JPS, DB entries and labels. Remove localLinkPath attribute from CSS tag as it was only used for export portfolio.

  1. … 371 more files in changeset.
LDEV-3556: Remove LAMS 1 methods for importing Tool content.

    • -51
    • +1
    ./lams/tool/wookie/service/WookieService.java
  1. … 27 more files in changeset.
LDEV-3638: Remove lesson and all its resources on demand. Files in content repository stay. Clean up unnecessary code, format.

    • -3
    • +16
    ./lams/tool/wookie/service/WookieService.java
  1. … 47 more files in changeset.
LDEV-3640: Add cascades in tool tables.

    • -0
    • +21
    ./lams/tool/wookie/dbupdates/patch20151217.sql
  1. … 28 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

    • -0
    • +14
    ./lams/tool/wookie/dbupdates/patch20150930.sql
  1. … 19 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.

    • -555
    • +517
    ./lams/tool/wookie/service/WookieService.java
  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
    • +1
    ./lams/tool/wookie/wookieApplicationContext.xml
  1. … 42 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
    • +1
    ./lams/tool/wookie/wookieApplicationContext.xml
  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.

    • -0
    • +5
    ./lams/tool/wookie/wookieApplicationContext.xml
  1. … 41 more files in changeset.
LDEV-3486 Assign marks to learner in leader aware tools when he gets force completed

    • -59
    • +23
    ./lams/tool/wookie/service/WookieService.java
  1. … 33 more files in changeset.
LDEV-3316: Get rid of HibernateTemplate and HibernateDaoSupport usage in set of LAMS DAO types from lams_tool_wookie

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
    • +1
    ./lams/tool/wookie/dbupdates/autopatchContext.xml
    • -1
    • +1
    ./lams/tool/wookie/wookieApplicationContext.xml
  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
    • +1
    ./lams/tool/wookie/dbupdates/autopatchContext.xml
    • -1
    • +1
    ./lams/tool/wookie/wookieApplicationContext.xml
  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
    • +1
    ./lams/tool/wookie/dbupdates/autopatchContext.xml
  1. … 32 more files in changeset.
LDEV-3293: Rewrite Application Context configuration files for Spring 4.

    • -2
    • +5
    ./lams/tool/wookie/dbupdates/autopatchContext.xml
    • -7
    • +5
    ./lams/tool/wookie/wookieApplicationContext.xml
  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.
LDEV-3244 Release define later flag after canceling edit tool in monitor

    • -4
    • +16
    ./lams/tool/wookie/service/WookieService.java
    • -1
    • +1
    ./lams/tool/wookie/wookieApplicationContext.xml
  1. … 62 more files in changeset.
LDEV-3225: Add better contribution management in Monitoring.

  1. … 41 more files in changeset.
LDEV-3171: Remove users from activities. Fix several bugs.

    • -21
    • +26
    ./lams/tool/wookie/service/WookieService.java
  1. … 34 more files in changeset.
LDEV-3171: Give a Monitor an option to remove learner's content from activities when moving him backwards in a sequence. Implementation of content-removing method for most of tools.

  1. … 59 more files in changeset.