Added literalLayout, para and geographic Description to the list of paths to be indexed
New header for the ESA skin
(Commit done by Saurabh Garg for Callie Bowdish)
Adding new gifs for the ESA header
Adding gifs for the new ESA header
(Commit done for Callie Bowdish by Saurabh Garg)
Added some more search parameters - like para and literalLayout.
Also made the changes in text suggested by Mark.
renaming enum to catalogEnum to prevent compilation errors for jdk1.5
Bugfixes to the previous commit and adding comments etc.
Changes to the upgrade script so that 'IN' and 'NOT IN' are not used in the queries and hence the upgrade script is much faster.
Changes made to the drop-down list of US states and territories and to the abstract section of the data registry form and guide, by Veronique Connolly.
New changes in text which Veronique suggested.
Changes to the ESA skin so as to search on particular given fields instead of searching everything
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.
Added new paths to be indexed to metacat.properties
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.
Check if all the paths in returnfield are indexed. If yes, then you xml_path_index for getting values of returnfields instead of using xml_nodes + xml_index
Adding code to check if all the paths being searched for indexed are not. If all paths are indexed, the code will use xml_path_index instead of using xml_nodes and xml_index
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
Adding new files for upgrading version 1.5 database to version 1.6 database
Added code to create new tables xml_path_index and xml_nodes_revisions...
Added target for upgrading DB to version 1.6
Changed the name of the function
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
Fixed bug in previous commit
Modified postgres script so that:1. Foreign key for rootnodeid in xml_revision points to xml_node_revision table instead of xml_nodes2. Added a new table xml_path_index which is used to index the paths specified by user in metacat.properties3. Addes a new table xml_nodes_revision which stores the nodes of old revisions and deleted documents...
Added a new property 'indexed_paths'. All the paths mentioned under this property will be configured in xml_path_index table.See bug 2154
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...
Add servlet mapping for replication.
Changes made to the address and abstract sections of the data registry form and guide by Veronique Connolly.
Minor documentation fix. buildindex action should be all lowercase.
Add image for LTER skin.
Modifications to the lter skin.
Adding acknowledgement for Mellon support.
Making changes in postgres db upgrade script such that instead of JDBC, SQL is used for updating the DB
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.
Replacing '' with '_' so that there is no ambiguity in javascript ids generated as part of the resultset
Minor edits to installation instructions for Metcat 1.5.0.
Adding perl script for changing ldap password for an account.
Removing the token for cvsroot for checking out webmdentry as build.xml no longer depends on webmdentry module
Removing dependency on webmdentry module
an index page for the developer tools
Increase height of .iframesearchboxclass to accomodate Internet Explorer.
Changes in tablehead and highlight styles made by Veronique Connolly
(Submitted by Saurabh Garg for Veronique Connolly)
Skin for Kruger National Park. Includes some improved text for the mainpage, as well as addition of a login form for the main page.
Ne wlogin form for dev skin that does not require the full DN.
Added code to delete all entries in xml_queryresult table when buildIndex for a docid is called.
Fixed a bug - there is a white space at the end of data medium
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"
Adding move up, move down and delete gifs for register-dataset.cgi
Fixed a bug in last commit. Doing a search likepathquery 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>...
Fixed a bug - when returnfield_id is not found in xml_returnfield, records are not added to xml_queryresults
added an upload form for binary files in the dev skin
Modified the upgrade java script to provide more effective feedback during thenodedata copy operation so that users don't think it has failed or crashed.
Updated properties to use release from the build.xml file.
Updated version in the metacat properties to 1.5.0rc1.
Add an "advanced search" link that points to the LTER query interface page.
Updated README with contributors.
Fixed typos in README, update version for release.
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.
Replacing token for checkout of eml-2.0.1
Fix documentation bug. The documentation said that the operator name was INTERSECTION, but the actual name is INTERSECT.
Changes made for release 1.5
1. removed the call to QuerySpecification.printAttributeSQL() from QuerySpecification.printExtendedSQL()2. in QuerySpecification.printExtendedSQL() if ( returnFieldList.size() == 0 ) then it returns null3. DBQuery.addReturnfield() doesnt execute the element query if printExtendedSQL returns null
A minor change from containAtrributeReturnField to containsAttributeReturnField
I've added in a test in QuerySpecification.printExtendedSQL that checksto see if attributes, and sometimes only attributes, are in the originalreturnfield request. If so, the printAttributeQuery is called.
Adding lter skin.
Commenting out lines regarding /servlet/metacat again as we are trying to use "/context/metacat" where context is the tomcat context.
Fixed web.xml so that /servlet/metacat/* points to the metacat servlet
Added tomcat5 in build.propertiesIn build.xml, fixed a bug from previous commit
Changed the handleReturnField() method so that it handles path expressions withonly attributes in the path.
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'
Fixed a bug in previous commit
Modified code for computing the returnfield string - earlier only elements were used to construct the string. e.g. /dataset/titleNow attributes are also added to the returnfield. e.g. title/@id
Changes in the documentation for the new release
Replaced 1.4.0 with release
release
Added code which checks out utilities from cvs. Modified distsrc to include utilities src also. Changed version from 1.4 to 1.5
Changing username from knb to metacat for postgres
When a path expression includes element content and attribute content, thenthe SQL generated needs to search for attribute nodetypes with parentnodenames equal to the path expression element content. However, whenonly searching for attribute content (such as just @packageId), then...
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, sincethe index starts at 0....
dropping the sequences as well in the postgres drop list.
Added new tables from metacat 1.5 to the drop list.
Updated install instructions with IPv6 instructions for postgres.
Changed "NCEAS Data Registry" to "NCEAS Data Repository" for sender. Veronique
(Commit done by Saurabh Garg for Veronique)
Changed "registry" to "repository" for the nceas skin. Veronique Connolly
Commenting out link to /servlet from web.xml for tomcat5
Removed unwanted code.
Removing call to normalize from getNodeRecordList()
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
Fixed a bug in previous commit and added a test for characters like mu.
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
Added code which creates the triggers for the new tables. This is for Oracle only.
Removed the code which created triggers. Added this code in the build file
Removing code added for creating nodedata column in xml_index table
Fixed typo.
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...
Changes made to the css files by Veronique (tablehead class).
(Committed done by Saurabh Garg for Veronique)
Changes made by Veronique to generic guide following Mark Stromberg suggestions.
Fixed a bug from previous commit which removed whitespaces from documents.
Removed irrelevant code from previous commit