lams-github

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3275: Set default log level to DEBUG for LAMS classes.

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
    • +1
    /lams_build/conf/xdoclet-hibernate-template.xml
  1. … 79 more files in changeset.
LDEV-3275: Remove duplicate error log.

LDEV-3325: fixing missing label

LDEV-2975: updating translations

LDEV-3324: general refactoring

    • -0
    • +42
    /lams_tests/tests/org/lamsfoundation/lams/util/LamsUtil.java
LDEV-3275: Add SsoConsumer in LAMS Central as requests (index.jsp, index.do) immediate after j_security_check are also being authenticated. They also are considered an authentication attempt, but they bypass shared session creation in SsoProducer and it causes errors. This was addressed by a simple check - no shared session in UniversalLoginModule, no authentication attempt.

LDEV-3319: update dbupdates scripts to use temporary tables for 'temp_select'.

Although the whole db update process is now globally synchronized in LAMS, it is better to use 'temporary' MySQL tables in case of 'temp_select' tables.

LDEV-3319: update create_lams_11_tables.sql to create 'patches' table with compound primary key.

    • -1
    • +1
    /lams_common/db/sql/create_lams_11_tables.sql
LDEV-3319: update 'autopatch' and 'discovery' libraries in LAMS components.

Replace jar libraries. Update 3rdParty.userlibraries to use autopatch-1.4.2-lams and discovery-1.0.5-lams. Update build.xml to deploy correct libs to wildfly.

    • binary
    /lams_build/lib/autopatch/autopatch-1.4.2-lams.jar
    • binary
    /lams_build/lib/autopatch/discovery-1.0.5-lams.jar
LDEV-3319: automatically perform 'patches' table upgrade if invalid primary key found.

There is a difference in 'patches' table structure in legacy autopatch and autopatch-1.4.2 version. In new version, primary key is compound and built from 'system_name' and 'patch_level' columns. There was however no validation and upgrade process present to alter primary key. Introduce such mechanism with this commit. If 'patches' table is present, but connection metadata reports single column primary key - 'alter table' query is executed (for MySQL: ALTER TABLE patches DROP PRIMARY KEY, ADD PRIMARY KEY(system_name, patch_level);)

JUnit tests of autopatch component were updated.

LDEV-3319: update .cvsignore for 'autopatch' and 'discovery' 3rd party projects. add eclipse-specific configuration files and build paths to ignores.

LDEV-3319: catch and ignore SQLException thrown when isClosed() condition is checked on Statement. Exemplary stacktrace below.

2014-10-10 20:21:35,092 ERROR [com.tacitknowledge.util.migration.jdbc.util.SqlUtil] (MSC service thread 1-6) Error closing Statement: java.sql.SQLException: The statement is closed.

at org.jboss.jca.adapters.jdbc.WrappedStatement.checkState(WrappedStatement.java:1324)

at org.jboss.jca.adapters.jdbc.WrappedStatement.getUnderlyingStatement(WrappedStatement.java:1239)

at org.jboss.jca.adapters.jdbc.WrappedStatement.getWrappedObject(WrappedStatement.java:1255)

at org.jboss.jca.adapters.jdbc.WrappedStatement.isClosed(WrappedStatement.java:1159)

at com.tacitknowledge.util.migration.jdbc.util.SqlUtil.close(SqlUtil.java:89)

LDEV-3319: Record changes made by jliew (http://code.lamsfoundation.org/fisheye/browse/otherlams/autopatch) on top of autopatch-1.4.2-lams version.

LDEV-3319: customize build versions with '-lams' suffix.

LDEV-3319: add 'target' directory to .cvsignore

    • -0
    • +1
    /3rdParty_sources/tacitknowledge/autopatch/.cvsignore
    • -0
    • +1
    /3rdParty_sources/tacitknowledge/discovery/.cvsignore
LDEV-3319: add 'autopatch-1.4.2' and 'discovery-1.0.5' libraries to 3rdParty_sources. Libraries are commited as is - with build scripts, sources code, tests and resources to enable later modificaiton and build. Sources were taken from github projects, rewinded to last available version tag (autopatch-1.4.2, discovery-1.0.5) and detached from tacitknowledge repo.

    • -0
    • +17
    /3rdParty_sources/tacitknowledge/autopatch/.mailmap
    • -0
    • +186
    /3rdParty_sources/tacitknowledge/autopatch/CHANGELOG
    • -0
    • +58
    /3rdParty_sources/tacitknowledge/autopatch/README.md
  1. … 194 more files in changeset.
LDEV-3302 fixed failing to open edit mark dialog, close button, CKEditor autogrow feature

    • -10
    • +8
    /lams_tool_spreadsheet/web/common/header.jsp
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
    • +1
    /lams_admin/conf/xdoclet/listeners.xml
  1. … 18 more files in changeset.
LDEV-3275: Allow NULL attributes in shared sessions.

LDEV-3324: committing all jar as binaries as CVS didn't do this originally

committing this jar as binaries as they should have been in the first places. CVS you are such a dork!

Importing functional tests for LAMS Admin

    • -0
    • +45
    /lams_tests/.classpath
    • -0
    • +17
    /lams_tests/.project
    • -0
    • +11
    /lams_tests/.settings/org.eclipse.jdt.core.prefs
    • -0
    • +1642
    /lams_tests/lib/selenium-2.43.1/CHANGELOG
    • binary
    /lams_tests/lib/selenium-2.43.1/libs/apache-mime4j-0.6.jar
    • binary
    /lams_tests/lib/selenium-2.43.1/libs/cglib-nodep-2.1_3.jar
    • binary
    /lams_tests/lib/selenium-2.43.1/libs/commons-codec-1.9.jar
    • binary
    /lams_tests/lib/selenium-2.43.1/libs/commons-exec-1.1.jar
    • binary
    /lams_tests/lib/selenium-2.43.1/libs/commons-jxpath-1.3.jar
    • binary
    /lams_tests/lib/selenium-2.43.1/libs/commons-lang3-3.3.2.jar
    • binary
    /lams_tests/lib/selenium-2.43.1/libs/commons-logging-1.1.3.jar
  1. … 46 more files in changeset.
LDEV-3311 When progress bar is collapsed load the next activity in *a full frame size*

LDEV-2866 rolling back to the previous version of these jsps (as committed changes were done solely for testing purposes and not supposed to be committed)

    • -49
    • +49
    /lams_tool_lamc/web/learning/AnswersContent.jsp
LDEV-3323 fix exception on releasing marks in monitor

LDEV-3322: adding id tags

LDEV-3322: adding id tags

LDEV-3322: adding id tags

    • -3
    • +3
    /lams_admin/web/signupmanagement/add.jsp