lams_build

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3319: remove autopatch dependencies from <resources> declaration of jboss-deploymet. Libraries present in 'lib' directory are automatically added as project dependenies.

    • -4
    • +2
    ./conf/j2ee/jboss-deployment-structure.xml
LDEV-3320: fix Infinispan configuration as 2nd level cache of Hibernate. The problem was, that for plain Hibernate usage, Infinispan has to be eagerly initialized (an already present when Hibernate starts). Also RegionFactory was changed to JNDIRegionFactory.

  1. … 1 more file in changeset.
LDEV-3319: move AutoPatchService from module deployment to static jar dependency.

    • -4
    • +6
    ./conf/j2ee/jboss-deployment-structure.xml
LDEV-3315: Add security service and use it in vital entry points.

  1. … 12 more files in changeset.
LDEV-3318: fix jboss-log4j.xml configuration for Wildfly. Change appenders and errorHandlers from 'org.jboss.logging' to 'org.apache.log4j' types. Use 'jboss.server.base.dir' variable as base for logs files location.

    • -172
    • +146
    ./conf/j2ee/jboss-log4j.xml
LDEV-2847: Put build.properties file as the first one so it has priority over othe settings.

LDEV-2847: Put build.properties file as the first one so it has priority over othe settings.

LDEV-3315: Remove AUTHOR ADMIN role. Allow AUTHOR role to preview lessons. Allow MONITOR role to edit activities and run Live Edit.

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

    • -10
    • +16
    ./conf/j2ee/lams.application.xml
  1. … 38 more files in changeset.
LDEV-2846: Remove obsolete filters.

  1. … 3 more files in changeset.
LDEV-3275: Introduce SSO using Undertow mechanisms.

Valves do not exist in Undertow. Another approach had to be used.

In each WAR there is a file in META-INF/service dir which adds a class in request processing chaing.

For Central it is SsoProducer which put the authenticated account into shared session.

All other modules use SsoConsumer which takes the account and puts it into its security context.

In standalone.xml caching of credentials was switched off as it would prevent UniversalLoginModule from putting UserDTO into shared session.

TODO: use a simple pass-all authentication mechanism for static files like images and JS files.

  1. … 8 more files in changeset.
LDEV-2463 Added new method "learnerStrictAuth" available to LoginRequest. It works the same way as "learner" but requires hash to also contain lesson id parameter.

  1. … 4 more files in changeset.
LDEV-3309 Add isUpdateUserDetails parameter for LoginRequest so user details get updated

  1. … 6 more files in changeset.
LDEV-3309 Add isUpdateUserDetails parameter for LoginRequest so user details get updated

  1. … 6 more files in changeset.
LDEV-3275: Add dependecies and source code for Undertow.

    • -1
    • +2
    ./conf/j2ee/jboss-deployment-structure.xml
  1. … 557 more files in changeset.
LDEV-3275: Make LAMS Valve and Session libraries part of plain lams.jar. In JBoss these libraries had to be externalised as global valves were declared on server, not deployment level, and their code could not be a part of a deployment. If the same thing is attempted with Undertow, the server will (most probably) require all code referenced by a valve to be available during core start up, i.e. before processing LAMS EAR. Since the valves reference LAMS services and other classes, separation seems difficult to achieve. In such case valves (in Undertow: HTTP Handlers) will be a part of an deployment and will be declared for each WAR if necessary.

  1. … 2 more files in changeset.
LDEV-3275: Use "lams" security domain for the whole LAMS deployment. Turn off JDBC spying for faster start up. Can be manually turned on later for debugging.

    • -0
    • +9
    ./conf/j2ee/jboss-app.xml
LDEV-3275: Formatting

LDEV-3292: When looking for an unique LD title to create a lesson, search for LDs with given prefix instead taking all from given workspace folder.

  1. … 3 more files in changeset.
LDEV-3275: Make LAMS Session JAR a part of EAR instead of WildFly module as it uses other LAMS classes.

    • -1
    • +0
    ./conf/j2ee/jboss-deployment-structure.xml
  1. … 2 more files in changeset.
LDEV-3275: Add library dependencies. Reintroduce and upgrade Apache Commons Discovery 0.2 -> 0.5.

LDEV-3275: Add library dependencies. Reintroduce and upgrade Apache Commons Discovery 0.2 -> 0.5.

    • binary
    ./lib/jakarta-commons/commons-discovery-0.5.jar
    • -0
    • +33
    ./lib/jakarta-commons/discovery.module.xml
LDEV-3275: Add library dependencies.

    • -1
    • +7
    ./lib/jakarta-commons/validator.module.xml
LDEV-3275: Put /userfiles dir in each LAMS WAR. The ApplicationContext class from Tomcat embedded in JBoss allowed getRealPath() to return proper path even for non-existent resources. Undertow's FileResourceManager returns null in such cases. This prevents CKEditor Connector servlet from initialising as it checks the path where it later stores files.

Alternative solutions are:

- configure the servlet to use a dir present in all WARs, like "META-INF"; this in counter-intuitive and does not follow WAR structure guide

- upgrade to newer CKEditor connector servlet; makes sense as we use very old one, made for FCKEditor, and the new one is available; it requires some work, though

- patch the servlet's initialisation code so it creates the dir by itself; this would result in LAMS custom CKEditor connector library

LDEV-3275: Add library dependencies and source code.

    • -0
    • +2
    ./lib/jakarta-commons/digester.module.xml
  1. … 412 more files in changeset.
LDEV-3293: Use Hibernate 4 cache. Remove unused cache management from lams_admin.

    • -3
    • +1
    ./conf/j2ee/jboss-deployment-structure.xml
    • -29
    • +0
    ./lib/jboss/hibernate-jbosscache.module.xml
    • binary
    ./lib/jboss/hibernate-jbosscache2.jar
    • -29
    • +0
    ./lib/jboss/jbosscache-core.module.xml
  1. … 897 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.

    • -0
    • +268
    ./conf/xdoclet-hibernate-template.xml
  1. … 110 more files in changeset.
LDEV-3293: Add missing Spring libraries and configuration entries.

    • binary
    ./lib/spring/spring-jdbc-4.0.6.RELEASE.jar
  1. … 255 more files in changeset.
LDEV-3293: Add missing Spring libraries and remove obsolete Hibernate libraries.

    • -50
    • +0
    ./lib/hibernate/hibernate.module.xml
    • binary
    ./lib/spring/spring-expression-4.0.6.RELEASE.jar
LDEV-3293: Add missing Spring libraries and source code.

    • binary
    ./lib/spring/aopalliance.jar
    • binary
    ./lib/spring/spring-aop-4.0.6.RELEASE.jar
  1. … 203 more files in changeset.