fixed bug with ampersands in the returned relations in the resultset.
added a manual timeout to counteract the hideously long ldap time out that is encountered when a referred ldap server is down.
fixed a couple bugs with doctypes that I found while setting up a demo
new README for 1.0.2
new build file with updated release number
updated the referral mechanism so that metacat doesn't crash when a referral server is not available
made it so we can now use multiple accessfilestypes and packagdfiletypes in the metacat.properties file. Also fixed a bug introduced when the 'http://' was removed from behind the server name in the loaddtd.sql script and the knb.xml file
Updated properties to reflect the new EML version.
Added new dtd to style-set config file.
More changes to build process. No longer need the instdtd targetbecause it is handled by the install target. Updated installationinstructions accordingly.
Updated documentation to reflect new installprocess.
Modified build.xml to properly copy the docs into the distribution, whichrequired some changes in the ant token filtering scheme.
updated documentation. removed a lot of typos and updated all of the new stuff for the new release
Updated the installation doc to reflect the new install procedure.
Updated build.xml to improve dtd handling so that DTDs can be included inthe distribution.
moving metacat docs to xmltodb
Improvements to the build process that make it easier to install the DTDsform EML. There are now three new targets in the build.xml file:
getdtd: uses cvs to get a working copy of a tagged release of eml instdtd: copies the DTDs from the build directory to the install directory...
Removed all of the redundant/obsolete copies of eml dtds from themetacat module. Now one must get the dtds from the mdstandards/emlmodule instead. This is doen to ensure that the DTDs installed are up todate.
Note that I am adding build support into the build.xml file for automatically...
Updated the SQL for loading DTD references to use the correct filenames and paths and identifiers.
updated for new eml release
Fixed the getUsers() and getPrincipals() methods so that they no longerfail when large result sets are requested. The problem was that theLDAP server was returning a "size limit exceeded" message when the resultsetfrom the query exceeded the default limit of 500 entries. Now we...
Re-enabled referrals which I had turned off for debugging purposes.
Modified AuthLdap to fix the may problems associated with group and userqueries. Now the getGroups() and getUsers() methods work as advertised,and there is a test of each of the methods in "main" for testing purposes.Simplified the class substantially. Fixed the getAttributes method as...
fixed error where person with 'all' permission could not update the access file.
fixed referral catching mechanism in authLdap.ldapAuthenticate() so that it will refer through a bunch of linked servers instead of just one....I still haven't figured out why the getGroups method wont work.
fixed the error where the ldap authenticate took 15 seconds to execute
I think i have fixed the ldap referral bug. the test lter account that david made for me works, however I would like matt or someone more knowedgeable with ldap to please check my code. the changes I made are around line 200 of AuthLdap. I put a comment in the source where the code needs to be checked.
Fix for bug #309 so that Metacat will now follow LDAP referrals. Previouslythe default was to ignore referrals. Now we explictly set the JNDIContext.REFERRAL value to the value in the metacat.propert "referral".The metacat.properties file has been modified to add the "referral" property,...
updated web.xml file for the download servlet
added new permission 'changepermission' and made 'all' inclusive for all permissions
README and build changes in preparation for the 1.0.0 release of Metacat.The files contributing to this release are being tagged in CVS as"METACAT_1_0_0".
Updated the knb.xml configuration to use the new public IDs associated witheml beta 4.
fixed access control bug. the character data in the sax parser was not getting trimmed and causing problems. also fixed hard coded eml-dataset public id in the web index file
Added new beta5 version of eml-software dtd, and added to catalog.
added new docid to returndoc for web form
changed package and access file doctype
took out hard coded paths for style dirs
removed the stylesheet sql script since we don't need it anymore
Added new DTD files for the new release of EML. Changed the namingconvention for all new DTDs, so the public IDs are now consistentlyversioned.
Updated metacat login semantics. Now, metacat assumes the username passedin is the 'full' distinguished name of the user. If that fails, theninstead it tries looking up the string and seeing if it can determinewhat the DN is, then uses it. The preferred method of logging in via...
New version of the IE5 stylesheet that is XSLT 1.0 compliant.
CHanged style-set handling for case when a stylesheet for a specificdoctype has not been registered. Now we are using a simple "ascii tree" view of the XML document. I'm hoping we can get a nicer generic displayset up over the long run, but for now this handles the basics.
Removed all DTDs from the metacat module in anticipation of gettingthem from the standard "mdstandards/eml" module. This will meanthat an update to the build script is necessary in order to copy and renamethe dtds from the eml module.
Updated build.xml and README for a Beta 3 release. This is a temporaryrelease until the full Release 1.0 is produced next week.
Fixed the function to return the max id for a given scope. Now the functiontakes a parameter named 'scope' and returns the largest docid that has beenused under that scope in this metacat instance (it used to return the mostrecently created docid, which is clearly different). For compatibility with...
fixed bug where the whole filename of a data file was not appended to the file input stream so metacat just returned a null document
Fixed problem with metacat handleReadAction where the OutputStream from theresponse object was closed and an attempt to reopen a PrintWriter was madeon the same response, which is illegal. Now the OutputStream is convertedto a PrintWriter in order to write the XML error message back to the client....
default css stylesheet so that metacat will look right
removed errant comment that was causing an error in the xml_documents table
fixed to get groupnames for a user using any identifying name
added insert statement for eml-attribute-2.0.dtd entry in xml_catalog
for action=servercontrol&subaction=addadded function for downloading of the certificate filefrom the specified URL of the source serverand uploading it onto this server
added input box in replMain web page for downloading of the certificate filefrom the specified URL of the source serveradded new metacat property "certPath" for uploading the certificate file onto destination server
server property is used in replication thusit should include the SSL port number
changes in replication to use https
fix around one way replication:when server A sends document to the servers in its list of replication servers with replicate=1 in xml_replication table,the server B received the document does NOT need the opposite check on its end.
fixed error:writing on the replication server required the whole acc# (including the rev#)
Fixed bug in metacat where an Exception was thrown when a search returnedan empty resultset. Now we avoid the function call that threw the exeption.
Minor bug fixes following change in style handling. Fixed image locations,cleaned up main resultset stylesheet.
Added support for multiple user interfaces by enabling style sheettransformations to be configured from within metacat rather thanfrom in the database. Now, metacat uses the qformat parameter to determinea "style set", which is mapped to an xml configuration file that...
small fix to enable resolving external entities included in the DTD;external entities are now resolved successfully by DBEntityResolver using the specified system idsand thus there no need of registering the relative system ids,This is because EntityResolver uses its internal implementation to map the relative system ids to the...
Removed the requirement that the relationship for ACL associations be"isRelatedTo". Now the relationship in the triple can be anything, like"describes access control rules for". This doesn't affect the ACLprocessing because it is based on the ACL document type, not the...
More fully completed the eml-dataset XSLT stylesheet for translatinginto HTML format. Now more of the relevant fields are completed, andthe coverages are shown. Still need to systematically address everyfield that could be present, but I hit the major ones.
Added new filter for style-path
Modified metacat stylesheets to now use a "style-path" filter for settingthe path to XSL and CSS style sheets. this allows the stylelocation to be configured independently of the main web url for metacatlinks.
changes to store namespace prefixes separately from the local names of nodes (elements and attributes)in xml_nodes.nodeprefix column
added nodeprefix column to xml_nodes table for storing of namespace prefixes per nodes
Updated index page to launch proper initial query.
Updated stylesheet to reflect the new eml2 schema.
Revised build.xml and metacat.properties to make it easier toinstall alternative stylesheets for metacat. In the process,replaced the deprecated copydir and copyfile commands in build.xmlwith appropriate "copy" commands.
added support for Namespaces.Metacat now can store and retrieve XML documents with Namespaces.Namespace is stored as separate record in xml_nodes table with type "NAMESPACE" where nodename is the prefix and nodedata is the uri of the namespace.
fixed an error of NullPointerException
- when the Access file goes first before the Package file (eml-dataset-2.0)relations are not available in xml_relation, thus updated the codeto check and run ACL also after the Package file is saved.- cut out the rev# from subject and object in xml_relation as needed by ACL...
fixed error with out of cursors error because pstmts were not getting closed in DBQuery
Updated build file to resotre changes that were lost when version1.54 was committed.
look for relationship "isRelatedTo" b' that is the word that is used in the triples
Fixed returndoctype param.
Updated stylesheet to use new package returndoc type for searches(eml-dataset-2.0).
updated with the new eml modules
changed web-base-url to http://knb.ecoinformatics.org
made ant copy the dtds
added new dtds
dtds that have entities removed for morpho/metacat compatibility
Clean up after building distribution.
Updated build.xml with new targets to create metacat distributions.Run "ant dist" to create a non-source distribution and "ant distsrc" to create a source distribution. Best if this is run on a cleancheckout to be sure not to include extraneous files that are not in CVS.
Updated README file for the beta2 release. Added list of known issues,which will need to be edited for the final release.
fixed the compilation bug about the change of group parameter in DocumentImpl.write()
changed accessdoctype=-//NCEAS//eml-access-2.0//ENb' AccessControlList is changed to use eml-access-2.0.dtd already
added support for multiple group membership
Changed the constructors so that the nodeRecordList is automaticallyretrieved by the DocumentImpl(Connection,String) constructor. thisrestores its earlier behavior, but the implementation is totallydone by DocumentImpl(Connection,String,boolean).
Added fix to DocumentImpl that showed problems when the DocumentImpl(conn)constructor was called. Now there is a new constructor: DocumentImpl(Connection, String, boolean)where the boolean value is used to determine if the nodeset should beread a t the time the cosntructor is called. if false, then...
Completely removed the socket-server feature that used to providefile upload. It is now replaced by multipart/form-data over http.
Modified Metacat to support large data file uploads. This is accomplishedby supporting a new content type for data sent to metacat: multipart/form-datawhich allows multiple files to be sent in a standard MIME format. TheMetacatServlet.handleGetOrPost() method now checks the incoming content...
Simplified ReplicationHandler:It is run now in the same thread started from DBSAXHandler;thus the same connection opened in that thread is used,i.e. no need for new connection and no complains as "Connection is closed" in ReplicationHandler;"Connection is closed" error happens when in the current thread there are try to use connection opened in another thread,...
tests made on Oracle and SQL Server.
support for the new terms included in pathquery.dtd
included new terms for searchmode:equals (former matches-exactly)isnot-equalless-thangreater-thanless-than-equalsgreater-than-equals
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=248Included utility function about gettig the latest docid for a user:DBUtil.getLastDocid(username).Metacat parameters:action='getlastdocid'username
don't need to override the old meta_file_id tags with docid without revsince Morpho inserts docids before sending the docs to Metacat
added the new software module