Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moved the language/message/resource file to the conf area. Will now be deployed to the lams-dictonary.jar to make I8N easier.

  1. … 49 more files in changeset.
Changed paths to suit the new locations of BaseDAO and IBaseDAO. See lams_common project for description of BaseDAO and IBaseDAO changes.

Converted to Servlet 2.4, JSTL 1.1. Also switched the web.xml, struts config file to be generated with xdoclet.

  1. … 42 more files in changeset.
Added a "copy node" function to the content repository, added "copy" functionality to the toolContentHandler.

    • -0
    • +126
    ./lamsfoundation/lams/contentrepository/service/INodeFactory.java
    • -0
    • +263
    ./lamsfoundation/lams/contentrepository/service/NodeFactory.java
  1. … 5 more files in changeset.
Clarifying naming of bean - documentation change only.

Modified the ToolDownload to pick up the name of the tool content handler bean from the servlet definition, rather than hardcoding a standard name. This is needed as we can't have duplicated bean names across projects - the beans overwrite each other when loaded in lams_learning and lams_monitoring.

  1. … 3 more files in changeset.
* Removed repositoryLocation within FileDAO in applicationContext.xml * Change FileDAO to use Configuration.get(ConfigurationKeys.CONTENT_REPOSITORY_PATH) to get the repository path

Fix static bug: shared by webapp, so download does not work when tools switch.

  1. … 1 more file in changeset.
The saveDB() call that I added previously to sort out the junit problems doesn't work in practise - it will cause an exception when the entire node is deleted.

Upgraded Hibernate to 3.0

  1. … 49 more files in changeset.
Move common.js in Lams_central to /includes/javascript subfolder

  1. … 11 more files in changeset.
Made the hibernate properties a separate bean. All the session factories should now use this shared hibernate properties bean.

  1. … 1 more file in changeset.
Fixed some javadoc problems

No longer rollback on checked exceptions - causes problems if the calling handles the exception and tries to continue the transaction.

Converted to use JNDI datasource and the transaction manager from lams.jar

  1. … 7 more files in changeset.
Completed generic tool file download servlet.

    • -0
    • +117
    ./lamsfoundation/lams/contentrepository/client/ToolDownload.java
  1. … 47 more files in changeset.
Started client download servlet. Trying out in forum - there is some issue with accessing the servlet. Checked in as this code has been released to Dolly.

    • -0
    • +397
    ./lamsfoundation/lams/contentrepository/client/Download.java
  1. … 23 more files in changeset.
Removed unnecessary include - not sure how it go in here in the first place!

Fixed up the documentation for the new class

  1. … 179 more files in changeset.
Added new class org.lamsfoundation.lams.contentrepository.client.ToolContentHandler The class handles a simple connection to the content repository, and allows a file to be stored and retrieved. Designed to be used by tools when their only use of the content repository is to store files for online and offline instructions.

  1. … 5 more files in changeset.
Override Ozgur's change - do not want the logging commented out.

Informal fix for the AccessDeniedException from the configureContentRepository for first timers. Ozgur

toString() seems to be triggering the AOP credentials check. Did a quick hack to stop it failing the check, but need to find out why and fix properly

SetProperties wasn't working for file nodes - had forgotten to update the validate test, so was expected a file to be included even when just the properties had changed. Altered validation to check inputStream and check on disk for a file.

  1. … 2 more files in changeset.
Improved the javadoc comment.

Added a call to set a custom property, and cleaned up some unnecessary classes - I had moved the service related classes to the service package earlier but the old classes haven't been removed.

  1. … 3 more files in changeset.
Fixed bug with date - had Java coded to use java.sql.Date and it should be java.sql.Timestamp. This will cause the time component to be lost.

Restructured code to specify application context files by name in the web.xml.

    • -0
    • +175
    ./lamsfoundation/lams/contentrepository/applicationContext.xml
  1. … 111 more files in changeset.
Moved code around so that the main repository class was named a service class and exists in the service directory (as per LAMS programming standards)

    • -0
    • +87
    ./lamsfoundation/lams/contentrepository/service/SimpleTicket.java
  1. … 108 more files in changeset.
Rejigged a few things to make junit work locally, now that main code uses JNDI database. Included moving the test context to the src area so that is in jar and available for junit testing in other projects. Changed name of createCredential to createCredentials. More consistent with other methods. Fixed a transaction bug - this method was defined as createCredentials in the Spring xml file.

  1. … 4 more files in changeset.