• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-4073: Periodically check server state and refresh configuration cache once it is started.

  1. … 3 more files in changeset.
LDEV-3997 Support for LTI 1.1

* httpclient was removed as it's now available as WV internal library

* added new libraries required to verify OAuth signature and util classes for LTI

  1. … 16 more files in changeset.
LDEV-3768: Remove XDoclet library and corresponding Ant tasks. Generate and use static configuration files instead.

  1. … 403 more files in changeset.
LDEV-3735: Remove jdom library references and source code.

  1. … 73 more files in changeset.
LDEV-3646: Add websocket server and client code.

Add Ant code for deploying the server class to <WAR>/WEB-INF/classes folder for WildFly to pick it up on start up.

Clean up and formatting.

  1. … 18 more files in changeset.
LDEV-3602: Clear authentication cache on session invalidation.

  1. … 4 more files in changeset.
LDEV-3422: Remove JSP precompilation from Ant build files.

  1. … 3 more files in changeset.
LDEV-3338: Upgrade jdom from version 0.7 to 1.1.2 shipped with WildFly. There is a version 2.x available, but it has different API and it would have to be included as a separate library again.

  1. … 84 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-3275: Add missing dependency.

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. … 12 more files in changeset.
LDEV-3275: Add dependecies and source code for Undertow.

  1. … 558 more files in changeset.
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-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. … 111 more files in changeset.
LDEV-3275: Move lams-dictionary.jar back to lams.ear as it is a module defined in application.xml and these can not reside in lib dir.

  1. … 2 more files in changeset.
LDEV-3275: Move tool JARs to EAR/lib for automatic detection.

  1. … 6 more files in changeset.
LDEV-3275: Add TLDs. Undertow is strict about it.

Fix TLD deployment path in Ant build file.

  1. … 44 more files in changeset.
LDEV-3275: Add XML RPC to Ant build path.

LDEV-3275: Rename Ant build variable jboss.home to server.home so it is separated from the server's name.

  1. … 7 more files in changeset.
LDEV-3275: Use Apache Commons Codec version 1.3 -> 1.9 delivered with WildFly.

  1. … 9 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: Make Ant use WildFly libraries to build EAR.

The libraries have to be exactly listed, instead of using **/*.jar. This is becaus full (not slimmed) WildFly contain other library versions than used by LAMS (located in lams_build/lib). When starting up WildFly libraries would be loaded first and probably foreshadow/clash with versions delivered with EAR.

Also an attempt to correctly deliver MySQL connector lib to WildFly modules dir was committed. Other libraries delivery will follow the same pattern.

  1. … 4 more files in changeset.
LDEV-3275: Partial switch to new server dir structure.

  1. … 8 more files in changeset.
LDEV-3275: Minify Ant .properties files.

Most of the variables were constant, never changed. Since build file inheritance was introduced to LAMS, it is fairly easy to change relative paths in build files themselves. So only root path were left in .properties files and variables that can actually change from project to project.

  1. … 11 more files in changeset.
LDEV-2915: Make lams_build/build.properties an optional file included before ALL OTHER property files, so variables can be defined there.

LDEV-2839 fixed ability to run "deploy-war" target manually when jsp.precompile option is ON

LDEV-3174: Added UTF-8 encoding to Ant Java compiler.

  1. … 2 more files in changeset.