Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3316: clean some test code that shouldn't get into repository.

LDEV-3316: add missing 'insert' method to ICompetenceMappingDAO after reference changed from implementation to interface in AuthoringService.

LDEV-3316: Introduce LAMSBaseDAO. This is basically a copy of BaseDAO type but not extending HibernateTemplate. In order to get rid of HibernateTemplate, in next steps: subtypes will be moved from BaseDAO type hierarchy into LAMSBaseDAO hierarchy.

    • -0
    • +557
    ./lamsfoundation/lams/dao/hibernate/LAMSBaseDAO.java
LDEV-3316: change DAO references from implementations to corresponding interfaces.

  1. … 1 more file in changeset.
LDEV-3382 Add datetime parameter check to LoginRequest.

    • -0
    • +9
    ./lamsfoundation/lams/dbupdates/patch02040034.sql
  1. … 1 more file in changeset.
LDEV-3335, LDEV-3340: Make SessionManager a storage for servlet context, so it can be accesses by other classes at any time. Remove obsolete SSO classes.

    • -1
    • +1
    ./lamsfoundation/lams/util/LanguageUtil.java
    • -89
    • +85
    ./lamsfoundation/lams/util/NumberUtil.java
  1. … 7 more files in changeset.
LDEV-3335, LDEV-3340: Remove a filter which sets inactive timeout in sessions. With new SSO it is just needed in Central and it is already taken care of by SessionListener.

  1. … 33 more files in changeset.
LDEV-3335, LDEV-3340: Remove or simplify SSO components. Fix sysadmin LoginAs functionality.

    • -37
    • +39
    ./lamsfoundation/lams/util/LanguageUtil.java
  1. … 12 more files in changeset.
LDEV-3335, LDEV-3334: Use SSO mechanism introduced in WildFly 9. Do not create web.xml files with XDoclet as it can not produce them based on 3.1 schema. Use static ones instead. Make SessionManager just a proxy to webserver's HTTP session. Remov custom shared sessions and JSESSIONIDSSO cookie as they are obsolete. Remove own session monitoring as the container should take care of invalidation. Move injecting UserDTO into session to SsoHandler intead of UniversalLoginModule as an authentication request may not reach the latter due to WildFly credentials caching.

    • -5
    • +2
    ./lamsfoundation/lams/commonContext.xml
    • -0
    • +133
    ./lamsfoundation/lams/integration/security/SsoHandler.java
    • -10
    • +12
    ./lamsfoundation/lams/util/CSSThemeUtil.java
    • -502
    • +14
    ./lamsfoundation/lams/web/session/SessionManager.java
  1. … 217 more files in changeset.
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.