removed inadvertent comments
added needed table fields for storing document location in xml_documents
removed dependence on a server code in the accession number of each document. the file's resident server is now located in xml_documents.server_location.
changed alpha to dev in odbc driver param
removed servercode param
removed server-code param
no message
added new server_location field to xml_documents with a foreign key to xml_replication.serverid
now updates the xml_replication last_checked field
updated javadoc documentation
fixed bug/typo
added server-code property
added servercode prop.
changed action scheme
Modified pathquery.dtd and QuerySpecification to allow some new constraintson queries submitted to Metacat. Now, queries can contain an optionalset of <owner> tags that identify the users for which documents should bereturned, and a list of <site> tags constraining the site identifiers...
can now send a file to another server
can now download a document from a server
Changed utility query to include the user_owner field rather than thetitle field, which is now obsolete.
Fixed typo in DBSAXHandler debug message.
not needed any more
it is not needed to be here
changes for using SRB v1.1.8 at LTER, NM
SRB v1.1.8
added replication properties
changed naming scheme
servlet to handle metacat replication requests.
a timer based thread that does Delta-T replication checking.
a parser to handle replication xml messages
change for using the db connection
updated xml_relation table
Changed target of the javadoc builds to the build/docs/apiDocs directoryso that we no loger version track the javadoc html files -- they changestoo much between each of the times we would generate them. Also, removedthe old javadoc documentation that was found in the "docs" subdirectory.
Updated the Javadoc documentation so that the current release can be providedon the web site.
Fixed problem with AuthInterface, AuthLdap, and AuthMcat where thesigantures of the methods of these classes were not in agreement, which wascausing AuthLdap to no longer compile. Changed parameter signatures so thatthe 'user' parameter is used consistently in all of the methods.
bug fix about util.openDBConnection() for xmlIndex tread
small fix for exception when srbMaster is not running
not needed
XSLT transformation on "login" and "logout" action
AuthMcat- new class for authentication through MCA; implements AuthInterfaceAuthSession- assigning HttpSession obj only after successful athentication;- cleared isAuthenticated field - not needed- cleared invalidate() method - not neededAuthInterface...
added "qformat=html" form parameter for "login" and "logout" actions
changed action's value:"Login" to "login" "Logout" to "logout"
Modified stylesheets to use the default.css file from the new KNB web site.Also, provided a new resultset.xsl that represents a simple freetext queryof the KNB data repository. Updated build.xml to relect the location of thenew css stylesheet.
Began work on new UI for the KNB web site. It will be the main queryinterface from the KNB website.
Fixed the LDAP authentication adapter (AuthLdap.java) so that it now looks upthe distinguished name for a user before attempting to do authentication.This is because the user's distinguished name can sometimes be based ontheir uid attribute, but sometimes be based on their cn (common name)...
merge AUTH_LDAP to the main branch
clear System.exit(0) within the static block
Fixed typo in stylesheet.
More user interface changes to the HTML MARINE interface. Minorrearrangement of columns, some link changes.
Replaced imagemap with anchor links in the web interface to simplify therearrangement of the interface. This new feature uses javascript tosubmit the form when the link is clicked.
Various changes to improve consistency of the MARINE and METACAT userinterfaces as presented through the XSL->HTML conversions. Eliminatedone (extraneous) copy of the rowcol.css style sheet in favor of sharinga single css stylesheet in xmltodb/lib/style/rowcol.css. Modified all...
Included script for insert of all eml dtds.
added functionality to return the doctype of a relation in a relationdoctype tag. This information is now returned automatically in the resultset under the path resultset/relation/relationdoctype.
added ability to enterpret relationdoctype tag.
added new linkage to the title in the table
removed debug print statements.
added code for getting stylized related documents
allowed both indexing threads to run without interfering with each other.
made package changes
- cleared copyfile of marine.properties since it is no longer in use- added copyfile of srbProps.properties from xmltodb/lib to the servlet classpath same like metacat.properties
moved it from src/edu/ucsb/nceas/metacat dir to here
fixed bug that caused a nullPointerException when a null resultset was returned.
changed the look of relations
Changed to prevent the insertion if the provided Accession# is in use as Dan suggested.
removed system.out.printlns
added a "server" parameter which tells the system the path to the server on which metacat is running. This is used for metacat:// urls.
added support for urls of the form "metacat://server.xyz.com?docid=XXX:yy"
added package and resource data and structures
Separate thread used for writing into xml_index table.This cut the time of the response on insert almost in half.The tread is started afterwards(on end of document parsing and inserting into xml_nodes) fromDBSAXHandler and uses new(separate) db connection....
added new fields
added support for returndoc handling.
added a packagedoctype parameter so that the servlet knows what kind of doctype a package
updated for returndoc field
This class syncronously indexes any package file that is loaded into the database.r
Added backtrack functionality. Backtracking works by passing a returndoc parameter. There can be more than one. If a document that is hit by a query is not of type returndoc then it searches the database for a related file of type returndoc. If one is found it is displayed, if no relation is found, the original is displayed....
included new method getPoolSize()
added extra timing information to the main() driver method.
fix the small bug with output like:Fatal processing error<success> <docid>null</docid></success>on hadleInsertOrUpdateAction()
writeDocID() not needed any morethrow SAXException from everywhere
on character(cbuf, start, len) included:if currentNode.getTagName().equals("title") currentDocument.setTitle(cbuf)instead of using:currentDocument.setTitleFromChildElement() in endDocument() call
change Assession# generation to use the same db connection
Updated the download data function. the download data function now pulls a document from the database, zips it up and sends the zip stream to the client. It also zips up any related files. a relation parameter is used to pass related files to the servlet. If only one document should be zipped and sent, a single docid in the param hashtable is sufficient.
changes related to decrease the time of INSERT of document.With these changes I inserted 200KB file for 3 minutes, 50KB for 50sec.This is mainly simplifing the DBSAXNode class andusing batching feature of Oracle JDBC driver.
updated this style sheet to display only resource documents and their related files. Also added hidden input params to the images on the left so that the related document info is sent back to the servlet when documentation or an abstract is requested.
this stylesheet now processes relation information.
This allows for the easy handling of metacat:// urls. The documentation in the source code explains the specification for the url in detail.
Added functionality for package specifications. metacatservlet now contains a new action called getrelateddocument that handles retrieving related documents using the metacatURL specification (metacatURL.java). DBQuery contains new code in runQuery that embeds relation tags in the returned hashtable describing the documents related to each docid. querySpecification contains a new method which prints the sql that does the relation query.
store generated Access# in meta_file_id tag if there are any
fix bug in toXML() about getting output of XML document like:<paragraph
added parentnodeid to xml_index table
added parentnodeid to xml_index
fix for "Document not found" err message on "getdocument" action
fix for "public" authentication
xml_documents.public_access modified to beNUMBER DEFAULT 1ie all documents to have public access by default
removed print statments
fixed xml tag error in squer
fixed bug in handleSQuery that returned the tag in the <query> tag of a resultset.BugID:Submitted by:Reviewed by: