get rid of the FK in xml_acess table that points to xm_documents.docidsince xml_access.docid(s) point to current and revised documents(ie xml_documents.docid and xml_revisions.docid)
storing user_owner and user_updated where needednew function in DocumentImpl checking for "write" perm on UPDATE or DELETEadded delete from xml_index of the old version of docid on UPDATE
this file is no longer used.
changed xslf for new returnfield scheme. the returnfields are now returned as <param name="<returnfield>"> tags.hThe sql for the returnfield query was redone to fix a previous problem with slow queries
changed xslf for new resultfield scheme
cleared static methods in AccessionNumber classes for fixing bug foundwhen multiple requests to the servlet at a time.
changed paths in returnfield parameters
added alt tags
added alt tag
new graphics and their adobe illustrator vector files
changed colors and layout
Minor update to remove unneeded constructor in DocumentImpl class.
new table xml_access and new attrs to xml_documents for ACL
for getDoctypes() addedWHERE entry_type='DTD' condition in the select statement
fixed typ-o
Changes with Srb authentication: including quering of Srb/MCAT during the Srb connection for:- groupname of connected user- list of groups and users in MCAT for ACL function for MetaCat
update of build.xml based on Matt's recommendations
added an image-path property to get around the messed up images when loading images from tomcat. To add your own image directory,create a directory under /opt/httpd/html/img/ and add the path to the image-path property in build.xml. Then all img tags in your documents...
image-path
Continued code redesign for the DocumentImpl class. Now the "delete" and"write" methods are static, so a DocumentImpl objject need not be createdin order to initiate a INSERT, UPDATE, or DELETE action (it is createdimplicitly by the DBSAXHandler). When doing a "READ" action, one still...
Folded the functionality from DBWriter into DocumentImpl, continuing thework started earlir to create a more DOM-like model for the classes, inwhich a single DocumentImpl class handles both reading and writing ofdocuments to the database. Modified shell scripts and MetaCatServlet to...
removed extraneous dash (-) from output loop that was entered unintentionallyi
changed the field names to be case-sensitive in the returnfields
changed the field names to be case-sensitive
added the returnfield element to be used for dynamically choosing which fields to return from xml_nodes.
added support for the returnfield parameter-QuerySpecification now sets a flag (containsExtendedSQL) when there are returnfield items in the pathquery document.the accessor method containsExtendedSQL() can be called by other classes to check for extended return parameters...
added support for the returnfield parameter-added the dynamic parameters to the returned hash table of documents
added support for the returnfield parameter
marine.properties is no longer needed because the marine servlet uses all of the metacat properties.
a way to access the marine servlet without using javascript
updated the URL given the new <returnfield> paramet
Folded the functionality from DBSAXDocument into the DocumentImpl class.Now DocumentImpl handles both the reads and the writes to the database.Eventually, it will implment the full DOM Document interface. Eliminatedthe DBSAXDocument.java file as it is no longer relevant....
Updated the readxml shell script to use the new DocumentImpl class insteadof the old DBReader class.
Removed DBReader.java because the functionality of that class has beenreplaced by the more efficient DocumentImpl class.
Created new class "DocumentImpl" which represents an XML Document. Thisdocument will eventually implment the DOM Document interface. For now,it implments all of the functionality that was present in DBReader, pluscuts down on the number of database calls required to read a document. And...
Added script to register document types in the xml_catalog table for ourcommon public ID's.
Added install feature for copying dtd's to the servlet directory so thatthey are accessible to the metacatservlet.
Added new utility query to return all of the xml_nodes info for a givendocument id in metacat.
Updated documentation for NodeComparator.java.
Modified the DBReader and ElementNode classes to more efficiently readdocuments from the database. In the old implementation, a db connectionwas opened for each and every node in a document, recursively fromthe rootnode. In the new implementation, all of the data from xml_nodes is...
redirector to access the marine servlet
modified the xsl to work with the new servlet architecture.o
marineServlet now overrides the transformQuery() function to allow it to put the values back into the text boxes of the xsl stylesheet rendered form.
-fixed the bug where a pathquery document was not valid inside of the <query> tags in a resultset document.-provided override support for a new function called transformQuery() which allows specific applications to customize what is returned in the <query> tag
Fixed small bug in transforming the document to HTML. If there wasno stylesheet for a given doctype, and so the transformation couldn'toccur, the XML doc was returned, but the content-type was still set(incorrectly) to html. Now it is not set to text/html when an xml doc is...
removed extraneous protected tags and replaced them with private tags
Modified behavior of handleSQuery() to now send the resultset documentback to the client application -- this was a bug introduced by recentchanges to the servlet. Also, generally cleaned up the servlet toproduce cleaner documentation and removed some extraneous code and remarks....
decrease the number of "initialConnections" to 5, "increaseConnections" stay 5, decrease the "maximumConnections" to 10
Changed release to version to alpha 8 (1.0a8) and tagged metacat inCVS as METACAT_ALPHA_8
Updated default html forms for metacat queries to use the "anyfield" keyword for constructing a default query. This should now work withthe new handleQuery method of MetaCatServlet.BugID:Submitted by:Reviewed by:
changed to work with the new MetaCatServlet model. marineServlet now only overwrites one method in MetaCatServlet.
changed the prototype of overwritable functions to "protected" instead of "private".
change the resultset format for DataGuide
Changed the flow of query and SQuery. SQuery now only handles a preformatted pathquery document as input (in the "query" parameter).HandleQuery now handles all structured queries derived by CGI parameters.
Made changes to createSQuery to allow for multiple parameters of the same name. Also changed the param list to include only "Hashtable params" without a "String doctype" since the doctype is already contained in the params.
fixed bug with handleSQuery() that kept DMan from access the squery functionality
- created transformResultset() which transforms an xml resultset document and displays it to the client useing DBTransform- renamed transformDocument() to createResultDocument() and modified its functionality to only return a restultset xml document- changed handleSQuery() and handleQuery() to use the new methods
Changed "xmltodb" to "html-path/style" so that the resultset.xslstylesheet could be found in various servlet contexts.
html-path
changed release version
Modified binaries to change classpath for metacat.jar under newbuild process.
Repository reorganization, and some file cleanup to make the XSL and CSSfiles portable to various installations of metacat (by using thebuild.xml file substitution in the XSL files). Removed "xsqltest" directorybecause it is no longer needed. Created new "style" directory inside of...
removed unneeded replace command
Added user and password to build.xml for filter substitution.
remove handleQueryAction() in favor of directly calling handleQuery() and handleSQuery() from doGetOrPost()
Cleared hardcoded paths for the location of .html files and usethe new "htmlpath" property from metacat.properties file
sorry, I needed new property "html-path" with value "/xmltodb" for me.Chad, for you should be I think "/berkley"
New "servletpath" and "installdir" properties
Set a filter for installdir property
set filtering="yes" attribute on the copy command of metacat.properties
Added decodeMouseAction(Hashtable) to decode the mouse click action outside of handleGetOrPost to allow for easy modification of images in a different application.
added new constructor to allow the creation of a metacatutil object that uses a properties file other than edu.ucsb.nceas.metacat.metacat.
Fixed build.xml bug -- jar file was included recursively in itself, causingever-growing size of jar on install. Changed location of jar file that isbuilt (from build.dest to build.dir) to fix the problem.
added eml-resource to the catalog
Broke up handleQueryAction into handleQuery, handleSQuery, runQuery and transformDocument. handleQueryAction is now a base function which makes calls to each of these functions to create, run and transform a query from CGI parameters.
Added createSQuery() to handle structured queries of an arbitrary number of parameters. Also modified createQuery() to handle a null query in a graceful manner.
Added "release" keyword to all metacat source files so that the releasenumber will be evident in software distributions.
Updated build process to now use a copy of the source files so that keywordsubstitution can ocur before the build. This allows for substitution ofhardcoded values into the source before the compile. Currently, I amusing this feature to do the following:...
added Logout link
added Logout handling
clear lib dir from paths like xmltodb/lib/something.html
on "DELETE" added delete from xml_index table for a given docidbefore delete from xml_documents, b' of foreign key in xml_index(docid)to xml_documents(docid)
Changed exception handling mechanisms for DBReader
added createSQuery
broke up handleQueryAction into handleQuery, handleSQuery, runQuery and transformDocument
changed paths
changed getRootNode method from public to private
simple JavaScript to put focus on username field
replaced some deprecated methods with the new v2.2 of Java Servlet API
changed paths, b' of new dev server
no message
changing paths, b' of new dev environment
added HTTPSession.setMaxInactiveInterval(-1)for every new Session - never to expire
added "anonymous" user connection
updated properties file to reflect new db location
added web.xml configuration file for Tomcat Servlet engine
-Reorganized xmltodb module to support new install process for the newlinux server (dev.nceas.ucsb.edu). Added "build.sh" shell script thatcalls ant withthe proper umask set for installation. Use:
./build.sh install
to post a new copy of the servlet and its supporting files to the install...
rearrange html pages for login and metacat access
renamed index.html to metacat.html
unused
it was smashed to 95 bytes only
removed old xmldbms source tree because it is no longer being used as a reference