build_base.xml

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-4664 Adjust Ant build files for Java 11

  1. … 3 more files in changeset.
LDEV-4664 Tweak HTTP connection access

  1. … 4 more files in changeset.
LDEV-4664 Add required modules references

  1. … 4 more files in changeset.
LDEV-4661 Move dependency to lams.jar

  1. … 4 more files in changeset.
LDEV-4402 Upgrade to MySQL 8.0.11

This server version requires a newer connector and server time zone

settings.

  1. … 15 more files in changeset.
LDEV-4400, LDEV-3315 Toggle session ID change for each LAMS module

WildFly 10 changes session ID after authentication by default in order

to prevent session fixation attack. It breaks TestHarness, though. In

order to run TH, session ID change needs to be turned off.

Turning it off for Central is not enough as a request to any other

module, like Tool, triggers session ID change. In this case we need to

have session ID change turned on or off in each LAMS module, not just

Central.

  1. … 4 more files in changeset.
Merge remote-tracking branch 'origin/master' into lams31

Multiple conflicts resolved with JSON replace and class move to

packages.

  1. … 33 more files in changeset.
LDEV-4405 War deployment minifies Javascript files

  1. … 5 more files in changeset.
Merge branch 'LDEV-4402' into lams31

  1. … 1 more file in changeset.
LDEV-4402 Substitute Gson and Apache JSON with Jackson

Jackson is a top JSON library shipped with WF10.

Apache JSON resides in an ancient library which we do not need for

anything else.

We use GSon only for serializing Java objects to JSON, which Jackson can

do too.

  1. … 135 more files in changeset.
LDEV-4405 Minify LAMS css files by default

  1. … 2 more files in changeset.
LDEV-4402 Remove dependency to Xerces library

Apparently it is a part of Java or WF now

  1. … 2 more files in changeset.
LDEV-4367 SASS Used for CSS Development

First pass of converting our .css development to use SASS. Autobuild to

convert .scss to .css files has been set up for all projects where

target .css files were found. The overall ANT build has been modified

so the normal build will generate the .css files from .scss files. The

base variables are defined in lams_build/conf/sccs.

  1. … 158 more files in changeset.
LDEV-4360 Adjust Ant build paths

Since public and private projects are not in the same dir now,

we need to make sure Ant commands point to proper resources.

  1. … 2 more files in changeset.
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.