Additional Harvester development
Fixed a small bug.
Fix enter for bug 1306.
Fix for bug 1325. new javascript function added.
Made changes so that & and other characters dont mess up the url that is passed to metacat.
Additional development of Harvester implementation
Added a new OBFS site to the list of sites. Information provided by Stromberg.
Mixed a bug reported by Rick and Dan. The form inserted a organizationName tag with no value. This happened only in NCEAS as the tag was included from the drop down site list which doesnot exsist in NCEAS version. Hence, a empty tag was inserted in the eml document.
Bug 1301 - changes made for a repeatable add keyword button
Bug 1301 - changes made for a repeatable add keyword button.
Made changes to fix bug# 1300: 1,2,3,4
Made text changes mentioned in bug# 1308
Made changes to fix bug# 1326. The templateVar are now passed on to the responseTemplate also in case of error - so that it can show a link which will send all the values back to register-dataset.
Changes made to fix bug# 1326. There is a link which call register-dataset.cgi with all the inputs such as that resgiter-dataset calls reEnterDataSet
Harvester source files
Deleting .project file that was added by mistake by Eclipse (and me).
Comments and notes on registry by Rick Reeves and Andrea Chadden. I have annotated it with bug #s and comments.
Made changes to fix Bug 1311 1)
Added docid in edit form - Bug 1304
Added a view button as mentioned in bug 1304.
Made some hanges mentioned in bug 1297.
Did editing to support changes mentioned in bug 1295
Made changes mentioned in Bug 1295.
deletaData.tmpl added a space in the end of docid. This led to an error while deleteing. This error was pointed out by Rick in his document.
Adding in a web.xml file specific to tomcat 5. Notice servlet.jar isnow servlet-api.jar
The tomcat 5 release notes includes this:
------------------------Enabling invoker servlet:------------------------
Starting with Tomcat 4.1.12, the invoker servlet is no longer available by...
In order to use tomcat five, a couple of changes in web.xml need to take place.I'm adding in web.xml.tomcat5 as a choice with the changes.
deleted versions 22 and r2a to avoid confusion and duplication.
Revisions to Harvester Class Diagram and Harvester Class Descriptions.
Resubmitted as binary. Modification of the Harvester database ER diagram. Includes foreign key added to the XML_DOCUMENTS table from the SITE_SCHEDULE table
Modification of the Harvester database ER diagram. Includes foreign key added to the XML_DOCUMENTS table from the SITE_SCHEDULE table
Fixed hardcoded admin account so that it works with more than just OBFSRegistry.
New site list for NRS reserves in the confgiruation file from K Browne.
Fixed registry bug involving a string comparison (used numericequality instead of string equality).
Adjusted the text on the NCEAS repository page. Changed the project listso that it now displays short title but uses the long title in theentry. This was doen because the long titles were far too long to displaydecently in the list (the box scrolled way off the right of the page).
Removed unneeded Net::LDAP dependency. Now all authentication occursindirectly through Metacat.
Added skin for the UCNRS data registry based on earlier work. Minormodifications to the templates to accomodate this. Fixed a validationbug in the register-dataset.cgi, and removed an unnecessary Net::LDAPlogin as well because the authentication is handled by metacat.
Restoring AuthLdap to previous search filter. Determined that the problem wasa missing o: attribute in the UCNRS LDAP directory. Adding it in makes the oldmethod work. The change I had made caused some confusion about authenticationbecause using just uid for a filter caused too many return dn's, and it was just...
Fixed validation check for samplingDescription.
Another eml.jar version with the appropriate config.xml in place.
New eml.jar that includes the parser bug fix against eml-2.0.0 schemas.
Changed label for NCEAS project group list on the web form.
Changes to re-enable the nceas admindb access for the production install.
Removed some debugging test code that isn't needed.
Revised the registry guide to include descriptions of the new fields, andmade some minor formatting changes.
Changing version in build in preparation for a release.
Added studyExtent and samplingDescription fields to the registry to accomodateSandy's request for a temporalDescription field. This is a little more thanshe wanted, but it was needed to satisfy EML minimum requirements.
Modified LDAP authentication to support a lookup for the NRS system. Ifthe auth on the provided string fails as a DN, try to look up a newDN based on the UID. If we get a match, use that DN for auth and seeif that works. This allows us to use a referral within the...
Update result set from relation to trip.
Removed obsolete SRB support files that are no longer used.
Added taxonomic coverage and authority fields, and fixed a bug in reentrywith the methods fields. Now we are collecting information on all of theadditional fields Sandy requested except for a general temporal description,which doesn't fit neatly in EML. Will need to consider how to accomodate...
Added the ability to describe taxonomicCoverage to the registry. Thisallows an arbitrary number of species or other taxa to be listed, and theediting form can dynamically grow through a simple javascript approach(also used in Methods). Need to test thoroughly, and need to test on...
Added geographic description to the fields of data collected, as it isa required field and was being improperly defaulted to an empty string in theXML document. This is a new field for all registries.
Modifications to add "Methods" collection to the data registry, and tomake the forms HTML 4.0.1 valid (in an attempt to figure out some ofthe rendering and layout oddities I'm seeing).
Changed "Document ID" to "ID" which is mroe appropriate for data packages.
New formatting and text for the NCEAS data registry.
Further changes to the registry scripts to support the NCEAS registrywith access to the project list fromthe admindb. Also, fixed a bug withthe script where creators were getting duplicated in the editing processaccidentally.
Configuration file for NCEAS registry.
Modifications that allow working group entries to be put in as creators, anda whole bunch of re-formatting for horribly formatted code that I need toread to finish this thing up.
Adding style files for the new NCEAS skin for metacat, which includesfiles needed for the NCEAS data repository.
Updated registry further for NCEAS-specific needs. Confirm data templatenow handles new wg field. Still need to write WG metadata into EML document.
Additional work on the NCEAS/AdminDB integration. Working Groups nowpresented as a dropdown box for multiple selection. Need to write theinfo to the XML file now and handle it in confirmation template.
Preliminary changes to support the NCEAS data registry connection to theAdminDB to retrieve project lists.
Harvester Class Diagram
Remove corrupted version
Revisions to the Harvester ERD diagram showing how I think the design canbe simplified to eliminate duplicate information. Needs further workbefore it is implementable.
Harvester Class Diagram, class descriptions, sequence of operations.
Improvements to the OBFS stylesheet, especially for EML display. Now weimport the eml_xsl.css stylesheet and override several of its templates.
Relocated to metacat/lib/harvester
Relocated to metacat/docs/dev/harvester
Relocate to metacat/docs/dev/harvester
took out h2 tags, added valign=top to TD containing logo, and added missing quotes on a link target=top
deleted harvesterConfiguration.xsd. This has been replaced by harvestDocument.xsd now found in metacat/lib/harvester and metacatHarvesterERD.vsd (/metacat/docs/dev/harvester) which models the database tables to be added to metacat.
This is the harvesterDocument.xsd. It will be used to validate harvestDocument.xml documents.
This is the metacat database schema with the additions for harvester.
moved document to metcat/test/harvest directory
This is a sample of a harvest document relocated from the metacat/lib directory
This is a sample of a harvest document.
This is an xml schema that describes the harvest document. The harvest document provides a metacat docid, a document type and a url for "get" ing the eml document.
Enabled stylesheet parameters to be passed through metacat even when the'query' function is called. Previously, query would interpret allparameters except a few hardcoded ones to be pathexpressions that should bebuilt into a squery. Now, metacat.properties contains a new configuration...
Updates that allow registry script to update the lastid field more efficientlyby calling the metacat 'getlastdocid' function for a given scope. Also somedebugging support added, and a bug where the error message was inproperlysaved across calls to metacat, resulting in spurious error messages.
Build changes that allow the registry install dependency on the beta6 stylesheet converters to be automatically satisfied. Now, if thewebmdentry module hasn't been checked out, it is, but otherwise thecheckout is skipped. A similar technique could be used for the EML...
Added new function "getLastId" to the Metacat.pm perl Metacat client. Returnsthe hisghest docid in use in a given scope.
New build system that creates a war file and deploys it to tomcat. Alsoupdated the web.xml files so that a better servlet path is used. Now, bydefault, the servlet path will be: /knb/metacat (as opposed to theprior servlet path which was /knb/servlet/metacat and depended on the...
Moved the metacat.properties file from the jar file to now be located inthe tomcat context directory in WEB-INF. Now the metacat configuration iseditable in place. This change depends on a new Options.java class in theutilities module, so be sure you do a "clean" build in metacat so that you...
Add harvester targets
Improvements to Harvester single file upload servlets
Harvester forms to support single file upload to metacat.
Fixed links to ldapweb to include the cfg param for proper styling.
removed search box from header
corrected image path
missed an edit when fixing the bug whereby form names aren't allowed to contain hyphens
build props for production metacat on ecoinfo
bug fix: added code to strip brackets and hyphens from form names in results page
added conditional setting of tomcat servlet.jar path, based on tomcat version in build properties
made results page table header into <th> so we can apply a different css style to eml stylesheet subheaders. added whitespace above& below section headers
overhaul of ant build file. removed duplicate code for getting dtds and schema. Renamed these targets, pulled all code for copying xsl into a single target (still need separate targets for getting beta6 eml files nad eml2+ files, since older version uses dtds instead of schema.) In future, as eml versions are added, the geteml2+ target shoudl be updated to use the ant iterator class found in the utilities module - this would enable the cvs tags to be defined as a comma-delimited list, and then a common target can be called multile times to do the checkouts, instead of duplicating code. Also added description= attributes to all the targets that looked as if they shoudl be public. These now appear (with their descriptions) when the user types ant -projecthelp
changed getdtdschema tarhet to copy eml css to cvs source tree metacat/lib/style/common directory, same as the copy for the XSL stylesheets. Created new ant parameter to hold value of path lib/style/common.
fixed iframe tag- had multiple closings. Also added text for browsers that can't display iframes
Remove email notification from registry script.