lams_tool_scratchie

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-3381: Upgrade to WildFly 9 Alpha2 version.

  1. … 41 more files in changeset.
LDEV-3379: Fix issues regarding 'limit' keyword usage in HQL queries. Reformat source.

  1. … 3 more files in changeset.
LDEV-3312 Improve security of Scratchie tool. 1) isAnswerCorrect.do to spawn a thread on the backend to record result 2) check user has access to current answer

LDEV-3314 Scratchie tool to calculate max mark correctly when producing ToolOutputDefinition

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-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.

  1. … 5 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-3314 Scratchie tool to calculate max mark correctly when producing ToolOutputDefinition

LDEV-3312 Improve security of Scratchie tool. 1) isAnswerCorrect.do to spawn a thread on the backend to record result 2) check user has access to current answer

LDEV-3303 CKEditor should respect height parameter overriden by editor instance

  1. … 36 more files in changeset.
LDEV-3273 switched to the latest version of jQuery Validation Plugin

    • -14
    • +14
    ./web/pages/authoring/parts/additem.jsp
  1. … 14 more files in changeset.
LDEV-3303 CKEditor should respect height parameter overriden by editor instance

  1. … 37 more files in changeset.
LDEV-3299: Put Scratchie answers in correct order for QTI export, even if their orderId field is corrupted.

LDEV-3299: Put Scratchie answers in correct order for QTI export, even if their orderId field is corrupted.

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-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. … 52 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: Remove obsolete servlet reference.

  1. … 1 more file 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-3273 switched to the latest version of jQuery Validation Plugin

    • -14
    • +14
    ./web/pages/authoring/parts/additem.jsp
  1. … 14 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.