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
Modify the update for xml_relation.
Made changes in the sql scripts to create new tables xml_returnfield and xml_queryresult
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....
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.
Added a function which gives back a string which is generated by sorting the returnfields requested for given query specifications
Fixed a bug in last commit
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
Changes made in the css for the skins.
Fixed some bugs from previous commits. Veronique changes the text of error messages. Added a new stage to distinguish errors because of logins.
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
Registry templates redesigned by Veronique Connolly and Saurabh Garg
Changes to the Data Registry Guide made by Veronique Connolly
Fixed formatting of the html page generated by using tables in all ldap files.
(Commit done by Saurabh Garg for Veronique)
Changes made by Veronique and Saurabh in the css for the skins.
Made changes in the contact information for the skins.
Modified the text in the index files.
Modified the text in the header files.
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.
Changes made to Data Registry Guide by Veronique Connolly
Changes made to Data Registry Form by Veronique Connolly and Saurabh Garg
Changed the code which handles Associated Party, Keywords and Taxonomic Information.
Modify harvestListEditorDist target to create the Harvest List Editor distribution using naming conventions that are consistent with other KNB releases.
Change documentType to eml://ecoinformatics.org/eml-2.0.1.
Added a check for eml2.0.1 documents in ContentTypeProvider.java
Add new query to fix existed xml_relation table datapackage type bug.
Using a variable to replace the hard code for namesapce in inserting record to xml_relation table.
Fixed a bug in the format of query result.
upgrade-db-1.5.sql will be written back from src to distribution src.
Added sql command to delete also schema entries also. Earlier the script only deleted old dtd entries
Add a new target to fix the bug in xml_catalog table.
SQL command to update system_id to points to localhost.
Fixed a bug which systemid will always points to knb.
Changes made in entry form based on recommendations from Laura Downey
(Commit done for Veronique Connolly by Saurabh Garg)
Made changes in admin info as requested by Mark Stromberg.
Updated the diagram with terminology that is consistent with the current harvester design.
Modify Harvester documentation to provide instructions for configuring and running Harvester as a servlet.
Formatting improvements.
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.
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.
Change URL value for Harvest unit tests.
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....
nodedata added to xml_index for nodes with nodetype=ATTRIBUTE also.
Modified code to add nodedata column to xml_index and enter data into it from xml_nodes table
Modified xmltables to add nodedata as part of the xml_index tables.
Modifying code so that nodedata is stored in xml_index table next to the paths.This helps in making the search faster.
Increase number of rows in harvest list from 300 to 1200.
Fixed a bug from previous commit
Some more modifications so that % search doesnt run a select on xml_nodes.
Modified code to fix bug # 1850
Add bat file and shell script for use with the distributable version of the Harvest List Editor.
Fixed as suggested in bug 1768
Add harvestListEditorDist target for building distributable versions of the Harvest List Editor tool.
Change default document type in Harvest List Editor to eml-2.0.1.
Remove DOS end-of-line carriage returns.Other minor formatting improvements to the code.
Modified code so that when a % search is done, a xml_nodes search is not done. This search is not required and hence saves time in doing a % search
Added code to check for NaN while converting String to double.
Added code to check for NaN valuse which converting string to double.
The guide on how to complete dr entries was updated to describe the current entryform.tmpl, and to fix bug 1302.
(Commit for Andrea Chadden by Saurabh Garg)
Fix for bug# 1344
Removed bugs in loading data when user wants to edit the data package
Fixed a bug in containsKey() function.
Modified database creation sql code so that in xml_nodes, nodedatanumerical coulmn is added.
Modified 'insert xml_nodes...' so that numerical data is added into numericalnodedata also.
Modified handling of greater-than and less-than so that comparison is done against nodedatanumerical column.
adding token for name of the database being used
Modified code to work with Postgresql also.
Adding new java code which upgrades the database for version 1.5
Added target and code for upgrading database to version 1.5
Fixed a bug in previous commit. Moved normalization function before the string size is counted so that size change due to normalization is taken into account.
I (Andrea) defined new styles in the .css files that are used in the entryForm.tmpl page.
(Committed for Andrea Chadden by Saurabh Garg)
I (Andrea) defined new styles in the .css files that are used in theentryForm.tmpl page.
I (Andrea) reformatted the file by changing the layout of tables, trs,and tds, and also by removing style info from the html in the file, anddefining styles in the associated .css files
Added code to fix bug 1323. % sign is replaced by its http equivalent now
Added code to check id document is passed as part of the params. This is done toprevent NullPointerException which results in sending null to the user.
Added code to fix bug# 1344. Response template is called when cancel delete is pressed
Added code to fix bug# 1344. Response template is called when cancel delete is pressed.
Fixed a bug in previous commit. Also removed ^M characters that were added in version 1.200
Integrating build.xml from webmdentry into metacat build file.
Integrating ldap templates into metacat CVS tree
Integrating ldapweb.cgi & create-ldap-account.pl into metacat CVS tree.
Integrating ldapweb.cfg code into metacat CVS tree.
Made changes to fix bug# 1538. Changed the code of the normalize function in MetaCatUtil.java. Earlier code was not taking care of characters above 123.
In DBSAXHandler.java, added call to normalize function before text is written to db.
Add a new test case for testing get newest revision number.
Add a new method to get newest version of a given document.
Add a new method to get newest version for a given document.
Modified code to fix bug# 1551 by adding a conditional statement.
Fixed bug #1551 by adding a conditional statement.
Made changes to fix bug# 1310. Now while parsing old documents, the script checks for ACLs also.
Modify value of redirect to match the servlet-mapping URL values in web.xml. The old value used the servlet class name. This worked in Tomcat 4 but seems to break in Tomcat 5 on Windows. The new value uses the servlet-mapping URL value. This should work in both Tomcat 4 and Tomcat 5.
Modify property values of harvester registration servlets to match the servlet-mapping URL values in web.xml. The old values used the servlet class names. This worked in Tomcat 4 but seems to break in Tomcat 5 on Windows. The new values use the servlet-mapping URL values. This should work in both Tomcat 4 and Tomcat 5.
Minor enhancement to support multiple email addresses for harvester administrator and site contact. Each address is separated by a comma or semicolon.
Removed hardcoded path from EventLogTest.
Fixed a bug.
Thanks Jing, Fixed those code comments.
Adde a function to the metacat client to set access on an xml document in ametacat repository.
One last clarification to the install instructions regarding the sql scripts.