lams_tool_imscc

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3340: Remove .clay files. They were used to model the database but are obsolete now.

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

LDEV-3381: Upgrade to WildFly 8.2. Add proper source code.

  1. … 664 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-3334: Add session and cookie configuration to jboss-all.xml. Remove obsolete configuration from web.xml files.

  1. … 35 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.

  1. … 226 more files in changeset.
LDEV-3381: Upgrade to WildFly 9 Alpha2 version.

  1. … 41 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-3293: fix hibernate dtd declarations. Change 'hibernate.org' to 'www.hibernate.org'.

In order for hibernate DTDEntityResolver not to load hibernate-mapping-3.0.dtd from internet (and use local one), namespace declaration of dtd must exactly match the namespace declared in DTDEntityResolver class.

  1. … 93 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-3315: Clean up roles and paths to secured resources in all modules. Remove AUTHOR ADMIN role.

  1. … 72 more files in changeset.
LDEV-3315: Remove AUTHOR ADMIN role. Allow AUTHOR role to preview lessons. Allow MONITOR role to edit activities and run Live Edit.

  1. … 72 more files in changeset.
LDEV-3315: Clean up roles and paths to secured resources in all modules.

  1. … 38 more files in changeset.
LDEV-3303 CKEditor should respect height parameter overriden by editor instance

  1. … 36 more files in changeset.
LDEV-3303 CKEditor should respect height parameter overriden by editor instance

  1. … 37 more files in changeset.
LDEV-3293: Use Spring support for Hibernate 4 instead of 3 (session factory and filters). Use new path for Hibernate DTDs. Make XDoclet generate hbm.xml files with the correct path by providing it a new template.

  1. … 110 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.
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-3293: Use new Spring ApplicationContext classes.

  1. … 34 more files in changeset.
LDEV-3293: Add Spring 4.0.6 libraries and their sources. Make LAMS use them and reference Hibernate 4.3.5 embedded in WildFly 8.1.

  1. … 6317 more files in changeset.
LDEV-3275: Decrease version of Hibernate from 4.x (delivered to WildFly) to 3.6.10 (newer than used before, but still 3.x as otherwise Spring won't work with it).

  1. … 3092 more files in changeset.
LDEV-3275: Add TLDs. Undertow is strict about it. Fix TLD deployment path in Ant build file.

    • -0
    • +34
    ./web/WEB-INF/tlds/jstl/permittedTaglibs.tld
    • -0
    • +51
    ./web/WEB-INF/tlds/jstl/scriptfree.tld
  1. … 43 more files in changeset.
LDEV-3275: Fix TLD files so they conform to XSD. Undertow is strict about it.

  1. … 34 more files in changeset.
LDEV-3275: Use Apache Commons Longing version 1.0.4 -> 1.7.4 delivered with WildFly.

  1. … 17 more files in changeset.
LDEV-3275: Use Apache Commons Lang version 2.6 delivered with WildFly.

  1. … 38 more files in changeset.
LDEV-3275: Use Apache Commons IO version 2.1 -> 2.4 delivered with WildFly. Previous similar upgrades were: Apache Commons Collections 3.1 -> 3.2.1 Apache Commons BeanUtils 1.6 -> 1.8.3 Saaj 1.2 -> 1.3 JaxRPC same version, but delivered with WildFly.

  1. … 111 more files in changeset.
LDEV-3275: Deploy EAR libraries as WildFly modules. In JBoss there were several folders where libraries could be simply copied. In WildFly it is more organised, with module.xml files describing each library. In order not to keep libs in EAR, so only real LAMS code remains there, they are moved to WildFly as modules and get referenced by EAR with META-INF/jboss-deployment-structure.xml.

  1. … 38 more files in changeset.
LDEV-3275: Upgrade Servlet API to version 3.1.0.

  1. … 280 more files in changeset.