Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
package export success.

Add package saveToFile support.

Add saveFile() method on repository service and ToolContentHandler.

Add saveFile() method on repository service and ToolContentHandler.

Updated copyright statement - only support GPL v 2.0

  1. … 39 more files in changeset.
Updated copyright statement - only support GPL v 2.0

  1. … 65 more files in changeset.
Implemented a new method to store a package (or directory) of files.

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