Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3347: alter hibernateProperties settings. set default Infinispan cache for contentrepository entities to 'contentrepository-entity'.

    • -17
    • +7
    ./lamsfoundation/lams/applicationContext.xml
LDEV-3275: Make XStream use enhanced mode in which it can instantinate classes without no-arg constructors. This requires Oracle's JVM to be used, but it is a requirement of LAMS anyway. Otherwise multiple LAMS classes (mainly DTOs) would have to be given no-arg constructors or implement Serializable.

    • -1
    • +2
    ./lamsfoundation/lams/util/FileUtil.java
  1. … 9 more files in changeset.
LDEV-3275: Add missing dependencies. Update XStream to version 1.5.0, and its corresponding libraries. Reimplement LD attachment importing. Reimplement Content Repository credential check. Moja joda-time library to separate folder as it is not a part of XStream deployment anymore, but it is still needed in LAMS code.

    • -0
    • +3
    ./lamsfoundation/lams/util/FileUtil.java
  1. … 348 more files in changeset.
LDEV-3315: Omit organisation role check for preview lessons.

    • -8
    • +14
    ./lamsfoundation/lams/security/SecurityService.java
LDEV-3315: Omit organisation role check for preview lessons.

    • -8
    • +14
    ./lamsfoundation/lams/security/SecurityService.java
LDEV-3373: Set current and next activity for learners who finished a lesson, when the activity was added in Live Edit.

  1. … 3 more files in changeset.
LDEV-3373: Set current and next activity for learners who finished a lesson, when the activity was added in Live Edit.

  1. … 3 more files in changeset.
LDEV-3315, LDEV-3367: Refactor SecurityService methods. Improve security in several places.

    • -74
    • +79
    ./lamsfoundation/lams/security/SecurityService.java
  1. … 16 more files in changeset.
LDEV-3315, LDEV-3367: Refactor SecurityService methods. Improve security in several places.

    • -74
    • +79
    ./lamsfoundation/lams/security/SecurityService.java
  1. … 16 more files in changeset.
LDEV-3315: No need for own SecurityException as JRE already has got one.

  1. … 3 more files in changeset.
LDEV-3315: No need for own SecurityException as JRE already has got one.

  1. … 4 more files in changeset.
LDEV-3315, LDEV-3367: Refactor SecurityService methods. Replace Monitoring and Gradebook own security code with SecurityService checks.

    • -1
    • +3
    ./lamsfoundation/lams/commonContext.xml
    • -14
    • +14
    ./lamsfoundation/lams/security/SecurityDAO.java
    • -37
    • +265
    ./lamsfoundation/lams/security/SecurityService.java
  1. … 11 more files in changeset.
LDEV-3315, LDEV-3367: Refactor SecurityService methods. Replace Monitoring and Gradebook own security code with SecurityService checks.

    • -1
    • +3
    ./lamsfoundation/lams/commonContext.xml
    • -14
    • +14
    ./lamsfoundation/lams/security/SecurityDAO.java
    • -37
    • +265
    ./lamsfoundation/lams/security/SecurityService.java
  1. … 13 more files in changeset.
LDEV-3320: Switch TransactionManager used by LAMS to JTA. Update hibernate.properties to use JTA platform as transactions provier. Update hibernate.properties to use TransactionAwareSessionContext .

In order for Infinispan and Hibernate to correctly cooperate within transactions - it is recommended to use TransactionManager that supports JTATransactions (LAMS was using JDBCTransaction type). http://infinispan.org/docs/6.0.x/user_guide/user_guide.html#_jta_transactions_configuration

    • -12
    • +7
    ./lamsfoundation/lams/applicationContext.xml
LDEV-3364: add TransactionAwareSessionContext implementation to fix 'No Session Found for current thread' issue.

This is not yet bound to hibernate.properties

    • -0
    • +162
    ./lamsfoundation/lams/util/hibernate/TransactionAwareSessionContext.java
LDEV-3366: Fix Learning Library IDs which were not set correctly when importing a Learning Design.

    • -0
    • +13
    ./lamsfoundation/lams/dbupdates/patch02040033.sql
LDEV-3366: Fix Learning Library IDs which were not set correctly when importing a Learning Design.

    • -0
    • +13
    ./lamsfoundation/lams/dbupdates/patch02040033.sql
LDEV-3359: Fix LearningLibraryID when importing a Tool activity.

    • -0
    • +12
    ./lamsfoundation/lams/tool/Tool.java
  1. … 1 more file in changeset.
LDEV-3359: Fix LearningLibraryID when importing a Tool activity.

    • -0
    • +12
    ./lamsfoundation/lams/tool/Tool.java
  1. … 1 more file in changeset.
LDEV-3364: Fix CRON ResendMessagesJob execution when no Hibernate Session was bound to thread.

Remove EventNotificationService usage via singleton reference and call DAO methods with service layer in-between to support transactions.

    • -4
    • +29
    ./lamsfoundation/lams/commonContext.xml
    • -0
    • +16
    ./lamsfoundation/lams/events/IEventNotificationService.java
LDEV-3331: Allow logging in via integrations. Allow redirecting to a given URL after log in. Adjust sysadmin "login as" functionality.

  1. … 3 more files in changeset.
LDEV-3315: Add security service and use it in vital entry points.

LDEV-3315: Add security service and use it in vital entry points.

    • -2
    • +2
    ./lamsfoundation/lams/commonContext.xml
LDEV-3349: Fix processing bug so the LD can get to validator.

LDEV-3315: Add security service and use it in vital entry points.

    • -0
    • +21
    ./lamsfoundation/lams/commonContext.xml
    • -0
    • +39
    ./lamsfoundation/lams/security/ISecurityDAO.java
    • -0
    • +59
    ./lamsfoundation/lams/security/ISecurityService.java
    • -0
    • +123
    ./lamsfoundation/lams/security/SecurityDAO.java
    • -0
    • +37
    ./lamsfoundation/lams/security/SecurityException.java
    • -0
    • +138
    ./lamsfoundation/lams/security/SecurityService.java
  1. … 9 more files in changeset.
LDEV-3349: Fix processing bug so the LD can get to validator.

LDEV-3315: Add utility methods for security. Use the new SecurityService in several places.

  1. … 5 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
    • +1
    ./lamsfoundation/lams/applicationContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/beanRefContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/commonContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/integrationContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/messageContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/toolApplicationContext.xml
  1. … 70 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
    ./lamsfoundation/lams/applicationContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/beanRefContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/commonContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/integrationContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/messageContext.xml
    • -1
    • +1
    ./lamsfoundation/lams/toolApplicationContext.xml
  1. … 69 more files in changeset.
LDEV-3275: Add missing library dependencies.

  1. … 9 more files in changeset.