Project

General

Profile

Statistics
| Revision:

# Date Author Comment
2521 07/25/2005 11:49 AM sgarg

Adding a new method to MetaCatServlet for getting the value of paths to be indexed from metacat.properties file and indexing those paths in xml_path_index

2520 07/25/2005 11:45 AM sgarg

Adding new files for upgrading version 1.5 database to version 1.6 database

2519 07/25/2005 11:45 AM sgarg

Added code to create new tables xml_path_index and xml_nodes_revisions...

2518 07/21/2005 04:59 PM sgarg

Added target for upgrading DB to version 1.6

2517 07/21/2005 04:54 PM sgarg

Changed the name of the function

2516 07/21/2005 04:52 PM sgarg

Modified xmltables script so that:
1. Foreign key for rootnodeid in xml_revision points to xml_node_revision table instead of xml_nodes
2. Added a new table xml_path_index which is used to index the paths specified by user in metacat.properties
3. Addes a new table xml_nodes_revision which stores the nodes of old revisions and deleted documents

2515 07/21/2005 04:46 PM sgarg

Fixed bug in previous commit

2514 07/21/2005 04:31 PM sgarg

Modified postgres script so that:
1. Foreign key for rootnodeid in xml_revision points to xml_node_revision table instead of xml_nodes
2. Added a new table xml_path_index which is used to index the paths specified by user in metacat.properties
3. Addes a new table xml_nodes_revision which stores the nodes of old revisions and deleted documents...

2513 07/21/2005 04:18 PM sgarg

Added a new property 'indexed_paths'. All the paths mentioned under this property will be configured in xml_path_index table.
See bug 2154

2512 07/21/2005 04:08 PM sgarg

Added a new function which can used to control the carriage return at the end of the debug message and 'Metacat' in front of the message...

2511 07/13/2005 02:39 PM Jing Tao

Add servlet mapping for replication.

2510 07/07/2005 09:00 AM sgarg

Changes made to the address and abstract sections of the data registry form and guide by Veronique Connolly.

2509 06/08/2005 11:13 AM Duane Costa

Minor documentation fix. buildindex action should be all lowercase.

2508 06/06/2005 12:57 PM Duane Costa

Add image for LTER skin.

2507 05/26/2005 02:25 PM Duane Costa

Modifications to the lter skin.

2505 05/24/2005 05:24 PM sgarg

Adding acknowledgement for Mellon support.

2504 04/22/2005 04:05 PM sgarg

Making changes in postgres db upgrade script such that instead of JDBC, SQL is used for updating the DB

2503 04/22/2005 02:18 PM sgarg

Fixed a bug in printSQL function. The bug came into the picture for queries which involve multiple query groups and one of the query groups does a % search.

2502 04/20/2005 02:46 PM sgarg

Replacing '' with '_' so that there is no ambiguity in javascript ids generated as part of the resultset

2501 04/20/2005 10:22 AM Duane Costa

Minor edits to installation instructions for Metcat 1.5.0.

2499 04/19/2005 12:11 PM sgarg

Adding perl script for changing ldap password for an account.

2498 04/19/2005 11:39 AM sgarg

Removing the token for cvsroot for checking out webmdentry as build.xml no longer depends on webmdentry module

2497 04/19/2005 11:37 AM sgarg

Removing dependency on webmdentry module

2496 04/18/2005 04:23 PM berkley

an index page for the developer tools

2495 04/15/2005 01:59 PM Duane Costa

Increase height of .iframesearchboxclass to accomodate Internet Explorer.

2494 04/15/2005 09:16 AM sgarg

Changes in tablehead and highlight styles made by Veronique Connolly

(Submitted by Saurabh Garg for Veronique Connolly)

2493 04/14/2005 08:39 PM Matt Jones

Skin for Kruger National Park. Includes some improved text for the main
page, as well as addition of a login form for the main page.

2492 04/14/2005 08:38 PM Matt Jones

Ne wlogin form for dev skin that does not require the full DN.

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.

2490 04/14/2005 02:49 PM sgarg

Fixed a bug - there is a white space at the end of data medium

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"

2488 04/14/2005 01:47 PM sgarg

Adding move up, move down and delete gifs for register-dataset.cgi

2487 04/13/2005 06:22 PM sgarg

Fixed a bug in last commit. Doing a search like
pathquery version="1.2">
<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype><returnfield>originator/individualName/surName</returnfield><querygroup operator="INTERSECT"><queryterm casesensitive="false" searchmode="contains"><value>%</value></queryterm><queryterm casesensitive="false" searchmode="contains"><value>National Center for Ecological Analysis and Synthesis</value><pathexpr>organizationName</pathexpr></queryterm></querygroup></pathquery>...

2486 04/13/2005 11:38 AM sgarg

Fixed a bug - when returnfield_id is not found in xml_returnfield, records are not added to xml_queryresults

2485 04/13/2005 10:46 AM berkley

added an upload form for binary files in the dev skin

2484 04/12/2005 11:44 PM Matt Jones

Modified the upgrade java script to provide more effective feedback during the
nodedata copy operation so that users don't think it has failed or crashed.

2483 04/12/2005 09:02 PM Matt Jones

Updated properties to use release from the build.xml file.

2482 04/12/2005 08:58 PM Matt Jones

Updated version in the metacat properties to 1.5.0rc1.

2481 04/08/2005 03:24 PM Duane Costa

Add an "advanced search" link that points to the LTER query interface page.

2480 04/08/2005 01:58 PM Matt Jones

Updated README with contributors.

2479 04/08/2005 01:48 PM Matt Jones

Fixed typos in README, update version for release.

2478 04/08/2005 01:34 PM sgarg

Modified the code so that lastid file is created in a skin when lastid file is not found.
Commented out the code which uses AdminDB module and uncommented the test function.

2477 04/08/2005 10:06 AM sgarg

Replacing token for checkout of eml-2.0.1

2476 04/08/2005 09:27 AM Duane Costa

Fix documentation bug. The documentation said that the operator name was INTERSECTION, but the actual name is INTERSECT.

2475 04/08/2005 09:09 AM sgarg

Changes made for release 1.5

2474 04/07/2005 05:04 PM sgarg

1. removed the call to QuerySpecification.printAttributeSQL() from QuerySpecification.printExtendedSQL()
2. in QuerySpecification.printExtendedSQL() if ( returnFieldList.size() == 0 ) then it returns null
3. DBQuery.addReturnfield() doesnt execute the element query if printExtendedSQL returns null

2473 04/07/2005 04:08 PM Chris Jones

A minor change from containAtrributeReturnField to
containsAttributeReturnField

2472 04/07/2005 04:06 PM Chris Jones

I've added in a test in QuerySpecification.printExtendedSQL that checks
to see if attributes, and sometimes only attributes, are in the original
returnfield request. If so, the printAttributeQuery is called.

2471 04/07/2005 03:41 PM Duane Costa

Adding lter skin.

2470 04/07/2005 01:33 PM sgarg

Commenting out lines regarding /servlet/metacat again as we are trying to use "/context/metacat" where context is the tomcat context.

2469 04/07/2005 12:54 PM sgarg

Fixed web.xml so that /servlet/metacat/* points to the metacat servlet

2468 04/07/2005 11:10 AM sgarg

Added tomcat5 in build.properties
In build.xml, fixed a bug from previous commit

2467 04/07/2005 10:53 AM Chris Jones

Changed the handleReturnField() method so that it handles path expressions with
only attributes in the path.

2466 04/06/2005 07:04 PM sgarg

Added a check if printAttributeQuery() for returnPath to see that it is not null so that that this doesnt happen

xml_index.path like 'null' AND xml_nodes.nodename like 'id'

2465 04/06/2005 06:46 PM sgarg

Fixed a bug in previous commit

2464 04/06/2005 06:25 PM sgarg

Modified code for computing the returnfield string - earlier only elements were used to construct the string. e.g. /dataset/title
Now attributes are also added to the returnfield. e.g. title/@id

2463 04/06/2005 02:38 PM sgarg

Changes in the documentation for the new release

2462 04/06/2005 02:21 PM sgarg

Replaced 1.4.0 with release

2461 04/06/2005 02:12 PM sgarg

Added code which checks out utilities from cvs. Modified distsrc to include utilities src also. Changed version from 1.4 to 1.5

2460 04/06/2005 11:46 AM sgarg

Changing username from knb to metacat for postgres

2459 04/06/2005 02:23 AM Chris Jones

When a path expression includes element content and attribute content, then
the SQL generated needs to search for attribute nodetypes with parent
nodenames equal to the path expression element content. However, when
only searching for attribute content (such as just @packageId), then...

2458 04/06/2005 02:13 AM Chris Jones

When searching for attributes in the XPATH expression, an 'index out of bounds'
exception was thrown when only an attribute was included in the path string.

This fix changes the pathexpr.indexOf comparison to 0 rather than 1, since
the index starts at 0....

2457 04/05/2005 05:03 PM Matt Jones

dropping the sequences as well in the postgres drop list.

2456 04/05/2005 04:57 PM Matt Jones

Added new tables from metacat 1.5 to the drop list.

2455 04/05/2005 04:46 PM Matt Jones

Updated install instructions with IPv6 instructions for postgres.

2454 04/05/2005 01:40 PM sgarg

Changed "NCEAS Data Registry" to "NCEAS Data Repository" for sender. Veronique

(Commit done by Saurabh Garg for Veronique)
2453 04/05/2005 01:38 PM sgarg

Changed "registry" to "repository" for the nceas skin. Veronique Connolly

(Commit done by Saurabh Garg for Veronique)
2452 04/04/2005 05:48 PM sgarg

Commenting out link to /servlet from web.xml for tomcat5

2451 04/04/2005 05:47 PM sgarg

Removed unwanted code.

2450 04/04/2005 04:50 PM sgarg

Removing call to normalize from getNodeRecordList()

2449 04/04/2005 04:45 PM sgarg

Changing the normalize function. Adding changes submitted by Johnoel. Removing code for converting " as " can be stored as it on Oracle. Removing code which strips out \n and \r

2448 04/04/2005 04:21 PM sgarg

Fixed a bug in previous commit and added a test for characters like mu.

2447 04/04/2005 04:17 PM sgarg

Removed occurence of enum which is a keyword in Java 1.5

2446 04/04/2005 04:15 PM sgarg

Removed occurence of enum which is a keyword in Java 1.5

Changed the queries so that PreparedStatement.setString() and .setInt() are used instead of write the string directly into the sql statements

2445 04/04/2005 02:47 PM sgarg
  • empty log message ***
2444 04/04/2005 02:45 PM sgarg

Added code which creates the triggers for the new tables. This is for Oracle only.

2443 04/04/2005 02:43 PM sgarg

Removed the code which created triggers. Added this code in the build file

2442 04/04/2005 10:12 AM sgarg

Removing code added for creating nodedata column in xml_index table

2441 04/01/2005 04:30 PM Matt Jones

Fixed typo.

2440 04/01/2005 04:09 PM sgarg

Adding test for checking Metacat behaviour when characters outside A-Z,a-z,0-9 are entered.

Related bugs: 1711, 1538 (1711 has been fixed as tested by this file. Have to add code to test 1711)

Currently checking for
> when < > & is entered - test fails as expected as document is invalid...

2439 04/01/2005 11:37 AM sgarg

Changes made to the css files by Veronique (tablehead class).

(Committed done by Saurabh Garg for Veronique)

2438 04/01/2005 11:31 AM sgarg

Changes made by Veronique to generic guide following Mark Stromberg suggestions.

(Commit done by Saurabh Garg for Veronique)

2437 03/31/2005 06:00 PM sgarg

Fixed a bug from previous commit which removed whitespaces from documents.

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

2434 03/29/2005 07:57 PM sgarg

Modified code such that nodedata column in xml_index is not created and used. So now we are using the same logic for using xml_index which was used for metacat release 1.4

2433 03/29/2005 12:09 PM sgarg

Modified text, style and formating for the skins.

(Commit done by Saurabh Garg for Veronique)

2432 03/29/2005 11:56 AM sgarg

Replaced Usage Constraints with Usage Rights and Data Originator with Dataset Owner.

(Commit done by Saurabh Garg for Veronique)

2431 03/29/2005 08:12 AM sgarg

Modified so that database upgrade script to version 1.5 is called based on which database the user is using.

2430 03/29/2005 08:06 AM sgarg

Added new database upgrade script for postgres.
Modified the database upgrade script for oracle
Added comment to DBquery.java
Fixed a bug in xmltables.sql

2429 03/25/2005 09:59 AM sgarg

Added code so that metacat administrator can delete any document.

2428 03/23/2005 01:30 PM Chris Jones

Added the trailing '/' that was ommitted when XPATH queries included attributes.
This is a partial bug fix for:

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2052

2427 03/22/2005 09:55 AM Duane Costa

Changed default maxHarvests value to 0. Added logic to ignore maxHarvests value when it is set to 0 or a negative number. This allows Harvester to run indefinitely without shutting down after reaching a maximum number of harvests. The previous default value of 30 would cause Harvester to terminate after 30 harvests.

2426 03/22/2005 09:53 AM Duane Costa

Fixed bug in command-line mode which caused array index out of bounds exception.

Changed default maxHarvests value to 0. Added logic to ignore maxHarvests value when it is set to 0 or a negative number. This allows Harvester to run indefinitely without shutting down after reaching a maximum number of harvests. The previous default value of 30 would cause Harvester to terminate after 30 harvests.

2425 03/18/2005 11:19 AM sgarg

Added code to check if the document is indexed yet! So entry into xml_queryresult is only made if the doc is in xml_index.

2424 03/18/2005 08:51 AM sgarg

Added code such that an offset can be specified in metacat.properties for entering records into xml_queryresult table. The value of xml_returnfield.usage_count should be more than the value specified in metacat.properties for records to be entered into xml_queryresult. so if you want results for any combination of returnfields should be stored in xml_queryresult only after that combination has been requested 50 times, set this value to 50

2423 03/17/2005 06:52 PM Jing Tao

Modify the update for xml_relation.

2422 03/17/2005 05:58 PM sgarg

Made changes in the sql scripts to create new tables xml_returnfield and xml_queryresult

2421 03/17/2005 05:26 PM sgarg

Changes for entering new records into xml_queryresult:

1. Added a function which checks if there is a record exsists in xml_returnfield table for a given combination of return fields. If a record is found, the id for the record is returned. otherwise a new record is created in the xml_returnfield table and the id of the new record is returned....

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.