Project

General

Profile

  • svn:eol-style: native
  • svn:executable: *
  • svn:keywords: Author Date Id Revision

# Date Author Comment
3098 11/20/2006 06:11 PM perry

Ensure that spatial operations are only triggered when runSpatialOption is set to true.

3077 11/10/2006 10:25 AM Matt Jones

Removed the release ant token from all files in 'src'.

3070 10/26/2006 05:13 PM perry

Changed float object handling in spatial components in order to compile on jdk 1.4.2

3034 08/31/2006 04:37 PM perry

initial import of changes to metacat source and config files to support spatial option

3024 07/19/2006 03:00 PM sgarg

added exception handler for normalize function. if StringIndexOutOfBoundsException is thrown then it is reported and nodedata value is forwarded without normalization.

3004 06/09/2006 01:09 PM sgarg

Allow admin to update any document

2996 05/08/2006 01:09 PM sgarg

Modified code so that database is queried just once when a document is read. Currently the read is being done in the constructor and then again in
the function.

2767 11/18/2005 01:25 PM sgarg

1. Modified buildIndex() so that only one connection is used for both indexing nodes and indexing paths.
2. Modified the indexing algo so that indexing of paths is done while nodes are being indexed. Results in a much faster indexing algo
3. Replaced access to NodeRecord.<variable> with NodeRecord.<getVariable>

2751 11/16/2005 01:07 PM Jing Tao

Fixed the bug that replicate data file failed that the documents records wouldn't be deleted.

2734 11/11/2005 10:01 AM sgarg

Changes in calls made to IndexingQueue class

2731 11/10/2005 01:40 PM sgarg

Removed the call to indexing function in DBSAXHandler and added a call to indexing function IndexingQueue

2714 11/02/2005 10:16 AM sgarg

Modified the debug levels of debug statements

2703 10/31/2005 05:24 PM Jing Tao

Add code to handle catalog is null when inserting xml_revisions table.

2702 10/31/2005 04:19 PM Jing Tao

Add code to handle write record into xml_documents when catalog id is null.

2701 10/31/2005 12:56 PM sgarg

Bugfix to the code which sets parentnodeid in xml_path_index. (Use setInt instead of setFloat)

2668 10/10/2005 12:27 PM sgarg

Changes in log levels of some commands mentioned in the previos commit.

2663 10/10/2005 11:06 AM sgarg

Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call

2652 10/04/2005 07:19 PM Jing Tao

Fixed bug which can cause eml beta6 couldn't run access control.

2646 10/04/2005 04:16 PM Jing Tao

Fixed bug couldn't delete xml_nodes when moving to xml_nodes_revision in replication.

2641 10/04/2005 10:58 AM Jing Tao

Change the code to make sure DocumentImpl class's constructor should have rev attached.

2626 10/02/2005 03:36 PM Jing Tao

Add code to transfer string to date type.

2625 10/01/2005 09:57 PM Jing Tao

Add function transfer string to date.

2621 10/01/2005 09:18 PM Jing Tao

Rewrite replication for revision document.

2616 09/30/2005 05:40 PM Jing Tao

Fixed some bug in replication.

2607 09/30/2005 12:47 PM Jing Tao

Add code to handle replicate the deleted document.

2595 09/15/2005 03:29 PM Jing Tao

Add default constructor and change some viriable to protected.

2593 09/14/2005 11:50 AM sgarg

Added code to start threads which initiate indexing once insertion to xml_nodes is complete.

2580 09/08/2005 04:07 PM sgarg

Fix for bug 2060.

Moved the call to starting of indexing thread from endDocument to DocumentImpl after commit has been done. This way when ever a document is indexed it has already been entered in xml_nodes and xml_documents

2558 09/06/2005 11:29 AM sgarg

Added new methods to MetaCatUtil: isAdministrator and isModerator.

These methods are used to check if a given username is part of the admin and moderator list specified in metacat.properties

Modified DocumentImpl and MetaCatServlet to use these functions.

2526 07/26/2005 09:17 AM sgarg

Bugfix to the previous commit.

Also made changes so that while indexing the path in buildIndex(), instead of seperate database calls to the database for each path, one call is made with all the paths in it.

2524 07/25/2005 11:57 AM sgarg

Modified code to enter/remove data from xml_path_index and enter data into xml_nodes_revision when action=insert, update and delete are performed.

2491 04/14/2005 07:44 PM sgarg

Added code to delete all entries in xml_queryresult table when buildIndex for a docid is called.

2489 04/14/2005 01:51 PM sgarg

Adding the call to normalize function for now -- too many calls to normalize function are made and this needs to be looked into. Removing call to normalize function caused trouble in text like this "A&B"

2450 04/04/2005 04:50 PM sgarg

Removing call to normalize from getNodeRecordList()

2436 03/31/2005 05:29 PM sgarg

Removed irrelevant code from previous commit

2435 03/29/2005 08:18 PM sgarg

Removed code which entered value for nodedata in xml_index

2429 03/25/2005 09:59 AM sgarg

Added code so that metacat administrator can delete any document.

2420 03/17/2005 04:48 PM sgarg

Added code for updating xml_queryresult for action=delete and action=update

For both actions, the entries in xml_queryresult are deleted.
This works for action=update because deletion of entry is simple and the entries will be created again when the docid is part of a search result next time.

2376 01/18/2005 12:11 PM sgarg

Modifying code so that nodedata is stored in xml_index table next to the paths.
This helps in making the search faster.

2372 01/13/2005 05:26 PM sgarg

Modified code to fix bug # 1850

2315 09/21/2004 03:36 PM Matt Jones

Modified buildIndex() to now include an '@' sign in the path for ATTRIBUTE
nodes. Removed a bunch of debugging information. Fixed the BuildIndexTest
so that it would work on any machine (removed hardcoded paths).

2301 09/17/2004 08:48 AM Matt Jones

Whitespace changes that fix a few formatting problems after Jing's commit.

2298 09/16/2004 05:04 PM Jing Tao

Add new feature that delete can be broadcasted by force replication.

2297 09/16/2004 04:40 PM Matt Jones

The new buildIndex() function now can write allof the appropriate index paths to the database for any given document. Next need to create a function to rebuild on demand, and modify DBSAXHandler.run() to use the new buildIndex() function.

2293 09/16/2004 12:08 PM Matt Jones

Added changes to buildIndex() function. Now it is finding the right set of
paths, just have to save these in a hash and then add them to the DB xml_index
table.

2292 09/16/2004 11:15 AM sgarg

changed function parameters in accordance with changes in PermissionController

2269 09/10/2004 04:42 PM Matt Jones

Beginning new method for building the xml_index table. This uses the
JDBC resultset directly rather than DBSaxNode, and recurses through the
records of the table. The new function 'buildIndex()' would be called, but
currently is not linked in to any code, so it shouldn't get in the way....

2259 08/31/2004 03:45 PM sgarg

Fixed a bug in upload function. For online data updates, access was not checked.

2253 08/24/2004 03:35 PM sgarg

Fixed handling of various docid formats.

2249 08/20/2004 01:32 PM Matt Jones

Reformatted code for readability. It was crazy. Still has problems, but its
better. Will be working on some new methods on monday.

2246 08/19/2004 06:20 PM sgarg

Added eml-2.0.1 tags for eml processing.

Also fixed a bug. The error returned in case of no revision number specified was just null. Now it says that revision number is required.

2245 08/19/2004 06:09 PM sgarg

Merging in changes made in branch 'dataaccess' by Jing Tao.

2224 07/22/2004 03:29 PM sgarg

Added code to read EML2.0.1 into source code.

2169 05/14/2004 02:38 PM sgarg

Made initial changes for accepting EML version 2.1.0 in Metacat

2163 05/07/2004 04:05 PM Jing Tao

Change eml2 to eml200

2162 05/07/2004 03:43 PM Jing Tao

Change the code when Eml parser name changed.

2092 04/01/2004 03:39 PM Jing Tao

Fixed a bug if a document already has index, but now metacat doesn't use index. If you try to delete this one, will cause error.

2076 03/30/2004 01:35 PM Matt Jones

Excluded the update of the xml_index table in insert,update, and delete if the usexmlindex option is set to false.

2045 03/15/2004 02:08 PM Jing Tao

Fixed the bug for sessionid storing, revision couldn't be zero and Ldap DN is case sensitive.

2039 03/08/2004 06:07 PM Jing Tao

Fixed bug that version could not be zero in replication.

1804 08/14/2003 04:41 PM Jing Tao

in toxml method, add new code to handle dtd.

1781 08/10/2003 02:26 PM Jing Tao

If xml document uploading failed, the inline data file will be deleted either.

1766 07/30/2003 09:04 AM Jing Tao

Change a array size from 4*10(testing) to 4*1024.

1763 07/29/2003 09:07 AM Jing Tao

Using reader to replace string to read inline data.

1758 07/25/2003 08:39 AM Jing Tao

Change the year from YY to YYYY

1757 07/25/2003 08:13 AM Jing Tao

Revise inital value for insert a new server. Change some debug level.

1755 07/23/2003 06:13 PM Jing Tao

Fixed a bug in registryDataFile.

1751 07/23/2003 12:04 PM Jing Tao

Get rid of to_date function.

1621 04/26/2003 05:24 PM Jing Tao

Add some debug message.

1618 04/26/2003 03:18 PM Jing Tao

Add delete access subtree in delete method.

1591 04/19/2003 07:08 PM Jing Tao

Move the code that writes triple to db to DBSAXHandler class.

1582 04/18/2003 08:29 PM Jing Tao

Change a method from private to public and it can be shared by other class.

1575 04/17/2003 10:54 PM Jing Tao

Add relation handler and access handler here.

1554 04/15/2003 09:17 PM Jing Tao

Change eml2namespace variable from private to public.

1551 04/14/2003 07:18 PM Jing Tao

Get eml2 name space from peroperty file.

1515 04/07/2003 10:28 AM Jing Tao

Move a methods

1480 03/18/2003 02:10 PM Jing Tao

Add code handle if put inline data into xml document or not.

1467 03/10/2003 06:45 PM Jing Tao

Fixed a bug in reading data file.

1460 03/06/2003 02:25 PM Jing Tao

Fixed a bug that when reading a inline file, there is null at the end.

1458 03/05/2003 06:37 PM Jing Tao

Add code to put back inline data from file system.

1441 03/03/2003 12:14 PM Jing Tao

Fixed bug the no matter the xml is base on schema or dtd, the output will add a line for doctype. This will cause eml document invalidate.

1439 02/28/2003 06:55 PM Jing Tao

Add code to handle read part of tree. Now the subtree access control for reading works.

1435 02/28/2003 10:40 AM Jing Tao

Fixed a bug that access control couldn't write into db.

1432 02/27/2003 06:23 PM Jing Tao

Add the code to handle subtree control for reading(but finished yet).

1431 02/27/2003 11:22 AM Jing Tao

Does not setting namepaces-prefix feature true for sax parser. If set it true, namespace will be treat as both namespace and attribute.

1427 02/26/2003 05:30 PM Jing Tao

Change the code to handle permission checking.

1407 02/14/2003 04:56 PM Jing Tao

Set up an eml parser.

1396 02/11/2003 03:08 PM Jing Tao

Add code to call SchemaLocationResolver.

1390 02/05/2003 05:14 PM Jing Tao

Set mutiple external schema locations for parser.

1383 02/04/2003 03:26 PM Jing Tao

Make the paser knew namespace and schema validation.

1292 07/14/2002 12:33 PM Jing Tao

Merge cvs branch replication to cvs head.

1217 06/13/2002 11:54 AM Jing Tao

Merge DBConnection branch to head.

1081 05/12/2002 06:30 PM Jing Tao

Add a access control for MetaCatServlet to update a document which home server is not local metacat.

1072 05/10/2002 02:21 PM Jing Tao

In writeDocumentToDB method, during insert action, rev value can be assigned too. It is useful for replication.

1069 05/09/2002 05:39 PM Jing Tao

Revised the method writeDataFile, writeReplication and writeToDB

1063 05/08/2002 04:04 PM Jing Tao

Fixed some DB connection bug.

1059 05/08/2002 09:25 AM Jing Tao

Add the feature to get doc home server into method getDocumentInfo.
Add a method to return docHomeServer.

1055 05/07/2002 04:56 PM Jing Tao

Add three methods into this class. One is named getServerCode, to given a server name, it return server code in xml_replication table.
One named insertServerIntoReplicationTable, if a server is not in the server list, it will insert it.
One is named WriteReplication, this method will be used in forceReplication. It delete the replication code in it.

1039 04/30/2002 08:18 AM Jing Tao

Add a hub control in write and writeData method. If hub==super, metacat can replicate any document in its database to any server in server list. If it is not super, metacat only replicate local documents to any server in server list. If a document' home host is not itself, metacat only force replicate the document to the document's home host.

1034 04/26/2002 05:27 PM Jing Tao

In writeDataFile method, using getDataFileLockGrant(docid) replace getDataFileLockGrant(docid, serverCode). The latter will cause a problem