Project

General

Profile

Statistics
| Revision:

# Date Author Comment
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.

2419 03/17/2005 04:42 PM sgarg

Added a function which gives back a string which is generated by sorting the returnfields requested for given query specifications

2418 03/17/2005 04:39 PM sgarg

Fixed a bug in last commit

2417 03/17/2005 04:37 PM sgarg

Added new parameters to control the size of resultset for browsers and application like morpho. Also a parameter to specify the length of xml_queryresult.queryresult_string

2416 03/16/2005 03:48 PM sgarg

Changes made in the css for the skins.

2415 03/16/2005 03:41 PM sgarg

Fixed some bugs from previous commits. Veronique changes the text of error messages. Added a new stage to distinguish errors because of logins.

2414 03/16/2005 03:37 PM sgarg

Added new actions so that error message is not shown the first time resetPassword and changePasswords are called. Also fixed a bug where $cfg was not being passed to genericHeader.tmpl

2413 03/16/2005 03:12 PM sgarg

Registry templates redesigned by Veronique Connolly and Saurabh Garg

2412 03/16/2005 03:06 PM sgarg

Changes to the Data Registry Guide made by Veronique Connolly

2411 03/16/2005 03:02 PM sgarg

Fixed formatting of the html page generated by using tables in all ldap files.

(Commit done by Saurabh Garg for Veronique)

2410 03/16/2005 02:49 PM sgarg

Changes made by Veronique and Saurabh in the css for the skins.

2409 03/16/2005 02:46 PM sgarg

Made changes in the contact information for the skins.

2408 03/16/2005 02:43 PM sgarg

Modified the text in the index files.

(Commit done by Saurabh Garg for Veronique)
2407 03/16/2005 02:42 PM sgarg

Modified the text in the header files.

(Commit done by Saurabh Garg for Veronique)

2406 03/10/2005 11:47 AM sgarg

Modified the offset which is used for creating the resultset. This helps in fixing the 'more than 1000 enteries in IN query' bug on Oracle.

2405 03/08/2005 03:14 PM sgarg

Changes made to Data Registry Guide by Veronique Connolly

(Commit done by Saurabh Garg for Veronique)
2404 03/08/2005 03:13 PM sgarg

Changes made to Data Registry Form by Veronique Connolly and Saurabh Garg

2403 03/08/2005 02:30 PM sgarg

Changed the code which handles Associated Party, Keywords and Taxonomic Information.

2402 03/08/2005 02:17 PM sgarg

Changes made to Data Registry Guide by Veronique Connolly

(Commit done by Saurabh Garg for Veronique)

2401 03/07/2005 02:15 PM Duane Costa

Modify harvestListEditorDist target to create the Harvest List Editor distribution using naming conventions that are consistent with other KNB releases.

2400 03/07/2005 10:16 AM Duane Costa

Change documentType to eml://ecoinformatics.org/eml-2.0.1.

2399 03/04/2005 11:51 AM sgarg

Added a check for eml2.0.1 documents in ContentTypeProvider.java

2398 03/03/2005 04:33 PM Jing Tao

Add new query to fix existed xml_relation table datapackage type bug.

2397 03/03/2005 03:02 PM Jing Tao

Using a variable to replace the hard code for namesapce in inserting record to xml_relation table.

2396 03/03/2005 01:50 PM sgarg

Fixed a bug in the format of query result.

2395 03/03/2005 01:30 PM Jing Tao

upgrade-db-1.5.sql will be written back from src to distribution src.

2394 03/03/2005 12:04 PM sgarg

Added sql command to delete also schema entries also. Earlier the script only deleted old dtd entries

2393 03/03/2005 11:16 AM Jing Tao

Add a new target to fix the bug in xml_catalog table.

2392 03/03/2005 11:12 AM Jing Tao

SQL command to update system_id to points to localhost.

2391 03/02/2005 05:57 PM Jing Tao

Fixed a bug which systemid will always points to knb.

2390 02/24/2005 11:01 AM sgarg

Changes made in entry form based on recommendations from Laura Downey

(Commit done for Veronique Connolly by Saurabh Garg)

2389 02/08/2005 01:06 PM sgarg

Made changes in admin info as requested by Mark Stromberg.

2388 01/31/2005 02:49 PM Duane Costa

Updated the diagram with terminology that is consistent with the current harvester design.

2387 01/26/2005 10:03 AM Duane Costa

Modify Harvester documentation to provide instructions for configuring and running Harvester as a servlet.

2386 01/25/2005 03:14 PM Duane Costa

Formatting improvements.

2385 01/25/2005 03:01 PM Duane Costa

Formatting improvements.

2384 01/25/2005 01:57 PM Duane Costa

Implement a new HarvesterServlet for running Harvester as a servlet. This eliminates the need to run Harvester in a terminal window. By default, the HarvesterServlet is commented out in lib/web.xml.tomcat(3,4,5). The user documentation will be modified to instruct Harvester administrators to uncomment the HarvesterServlet entry.

2383 01/25/2005 01:54 PM Duane Costa

Add a new HarvesterServlet for running Harvester as a servlet. This eliminates the need to run Harvester in a terminal window. By default, the HarvesterServlet is commented out. The user documentation will be modified to instruct Harvester administrators to uncomment the servlet entry.

2382 01/20/2005 02:22 PM Duane Costa

Change URL value for Harvest unit tests.

2381 01/20/2005 01:42 PM Duane Costa

Re-implement logic to prune old log entries from the HARVEST_LOG and HARVEST_DETAIL_LOG tables. The old logic caused integrity constraint violations in the database because it tried to delete parent records from HARVEST_LOG prior to deleting child records from HARVEST_DETAIL_LOG....

2380 01/20/2005 01:37 PM Duane Costa

Formatting improvements.

2379 01/18/2005 01:26 PM sgarg

nodedata added to xml_index for nodes with nodetype=ATTRIBUTE also.

2378 01/18/2005 12:24 PM sgarg

Modified code to add nodedata column to xml_index and enter data into it from xml_nodes table

2377 01/18/2005 12:17 PM sgarg

Modified xmltables to add nodedata as part of the xml_index tables.

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.

2375 01/14/2005 12:41 PM Duane Costa

Increase number of rows in harvest list from 300 to 1200.