Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-1382: The content repository needs the user details from the session to function properly, so it was throwing an exception on import. The previous code looked at the path, but we need the filename!

LDEV-1382: The content repository needs the user details from the session to function properly, so it was throwing an exception on import. The previous code looked at the path, but we need the filename!

  1. … 1 more file in changeset.
LDEV-1374: To ensure file names are not munged by zip utilities or operating systems using different encodings, we want to use filenames that use only the simplest of characters in zip archives. Added a new method getZipCompatiblePath() which converts a normal path to a numeric filename with the appropriate extension.

  1. … 1 more file in changeset.
LDEV-1382: If the content repository is called from a webservice, the HttpSession won't exist, so it was throwing a null pointer error. Now it throws a meaningful error.

LDEV-1374: Encode the filenames of files coming from the content repository.

LDEV-1214: Overwrite any existing files in the content repository - previously we threw an error.

Converted all "identity" hibernate id generation entries to "native" - hopefully this will be a little more portable.

  1. … 77 more files in changeset.
Updated address of FSF in copyright statement

  1. … 1378 more files in changeset.
Implemented putting the user id in the version record for files in the content repository. (LDEV-180) Replaces changes previously checked in.

The content repository gets the user from the shared session object (the userDTO). This allowed the content repository changes to be made without any changes to other parts of LAMS (hence the parts changed previously had to be changed back).

  1. … 8 more files in changeset.
In firefox, file name with space must be enclosed by double quote, otherwise, the file name will be truncated from first space.

Started to record user id against entries in content repository - not yet completed.

  1. … 14 more files in changeset.
Update to fix problem with context paths.

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.