Added code to fix bug# 1344. Response template is called when cancel delete is pressed
Added code to fix bug# 1344. Response template is called when cancel delete is pressed.
Fixed a bug in previous commit. Also removed ^M characters that were added in version 1.200
Integrating build.xml from webmdentry into metacat build file.
Integrating ldap templates into metacat CVS tree
Integrating ldapweb.cgi & create-ldap-account.pl into metacat CVS tree.
Integrating ldapweb.cfg code into metacat CVS tree.
Made changes to fix bug# 1538. Changed the code of the normalize function in MetaCatUtil.java. Earlier code was not taking care of characters above 123.
In DBSAXHandler.java, added call to normalize function before text is written to db.
Add a new test case for testing get newest revision number.
Add a new method to get newest version of a given document.
Add a new method to get newest version for a given document.
Modified code to fix bug# 1551 by adding a conditional statement.
Fixed bug #1551 by adding a conditional statement.
Made changes to fix bug# 1310. Now while parsing old documents, the script checks for ACLs also.
Modify value of redirect to match the servlet-mapping URL values in web.xml. The old value used the servlet class name. This worked in Tomcat 4 but seems to break in Tomcat 5 on Windows. The new value uses the servlet-mapping URL value. This should work in both Tomcat 4 and Tomcat 5.
Modify property values of harvester registration servlets to match the servlet-mapping URL values in web.xml. The old values used the servlet class names. This worked in Tomcat 4 but seems to break in Tomcat 5 on Windows. The new values use the servlet-mapping URL values. This should work in both Tomcat 4 and Tomcat 5.
Minor enhancement to support multiple email addresses for harvester administrator and site contact. Each address is separated by a comma or semicolon.
Removed hardcoded path from EventLogTest.
Fixed a bug.
Thanks Jing, Fixed those code comments.
Adde a function to the metacat client to set access on an xml document in ametacat repository.
One last clarification to the install instructions regarding the sql scripts.
Modified build dist and distsrc targets to be sure the ant tokens arefiltered correctly in the documentation, otherwise the CSS styles do notshow up properly.
Modified the build to be smarter about making sure that the EML schemasand styles are in place (so manually running 'geteml' should no longerbe needed), and renamed the 'loaddtdschemas' target to 'register-schemas'.Reorganized and clarified installation instructions to make the order of...
Fixed some typos in the README, and rearranged a little.
Moved deletion of stylsheets from clean to fullclean target so that thestyles will be guaranteed to be in place in the released version even aftera clean build.
Added classpath to javadoc call so that we avoid javadoc errors thatcomplain about not being able to find the servlet classes.
Added dependency check for eml so that the schemas and dtds are notchecked out of CVS if they already exist in the lib directory. This isbased on checking for the key schema or dtd file from the 2.0.0beta6,2.0.0, and 2.0.1 releases, so if you've messed with this directory in...
Added dependency check to see if the httpclient.jar and utilities.jar arealready present in lib. If they are, building utilities is skipped. Thisallows us to ship a distribution with just the jar files rather than thesource from the utilities module and still have the compile work. Now...
Added sample eml 2.0.1 document for use in the tests.
Modified buildIndex() to now include an '@' sign in the path for ATTRIBUTEnodes. Removed a bunch of debugging information. Fixed the BuildIndexTestso that it would work on any machine (removed hardcoded paths).
Added code that changes the node column size
New README in preparation for the 1.4.0 release, and updated the propertiesfile with the new version number.
Added in servlet action 'buildindex' for building the XML_index table entriesfor either a set of documents (if one or more docid params are provided) orfor the whole set of documents in the xml_documents table. The buildindexaction is restricted to only be accessible by users who are listed in the...
Created a list of all of the servlet actions in the documentation and listedall reuired and optional parameters for each action. These need to bedocumented but at least the list is all in one place now.
Added new sections to the Metacat documentation describing the Metacatclient API and the Metacat 'getlog' servlet action for event reporting.
Updated metacat documentation with additional properties and fixed thedescription of several properties. We really need to clean out unusedproperties and generally clean up the configuration morass.
Added a property listing servlet administrators.
Changed DBSAXHandler.run() to now use the new DocumentImpl.buildIndex() methodfor populating the xml_index table. The new method uses a jdbc ResultSetfor populating the index rather than doing it with the DBSAXNode, so it isfaster and can be run at any time on any document. This will allow us to...
Updated the build index test.
Compose the Metacat URL from the httpserver and the servletpath properties, replacing hard-coded references to servlet.
Send redirect to HarvesterRegistration, instead of using the full class name which works on Tomcat-only installations but not with Apache.
Change the date format to one that is standard on both Oracle and Postgres.
Revisions to Metacat Installation Instructions page. Most of the edits in this revision involve the build.properties file. A new HTML table was created to describe the properties and their values.
Whitespace changes that fix a few formatting problems after Jing's commit.
Replace relative path to harvester registration login servlet with context path generated through ant build
Add properties and filters for harvester registration servlets
Add new feature that delete can be broadcasted by force replication.
The new buildIndex() function now can write allof the appropriate index paths to the database for any given document. Next need to create a function to rebuild on demand, and modify DBSAXHandler.run() to use the new buildIndex() function.
corrected wrong variable names in build file.
Added harvester servlets to the web.xml files.
Added test class for buildIndex() routine. Not completed yet.
Added changes to buildIndex() function. Now it is finding the right set ofpaths, just have to save these in a hash and then add them to the DB xml_indextable.
changed function parameters in accordance with changes in PermissionController
Modified inline data permission handling, so that access rules for old version of inline data can be checked correctly.
Added a function which returns inline data id with out the revision number.
Changed error text that is returned when an invalid eml is inserted.
Added another test to check if access is checked when an old version of inline data is read using action=readinlinedata
Changed the ESA nad LTSS skins to display all data from the KNB at the request ofOJ Reichman.
Add a code to load eml201 parser to fix the bug that couldn't generate access rule for eml201 doc.
Add a note that you should put full name as state name to generate a key. Otherwise, the trustkey will be not recongized.
Fixed some more bugs.
Added sql for counting packages.
fixed error in input param
Added code to send showWgList, showSiteList, showOrganization, lsite and usite for one tmpl to other.
Fixed a bug in creation of EML documents when coordinates from the site_list have to be used.
Added lines for updating xml_catalog in the upgrade script to point to thenew schema locations.
Fixed error in handling of multiple additional metadata tags...
Updated build.xml to use new sql scripts.
New schema changes, including upgrade scripts. Includes renamed postgresscripts.
Test added to insert eml 2.0.0 document and update it with eml 2.0.1 document.
Updates to the config for the esa skin, and added an LTSS skin.
removed errors being generated in handling of qformat when action=insert. If qformat is not specified, xml is assumed as default.
Changing 'Submit Entry' to 'Submit Dataset'
Fixed a bug in handling of associated parties.
Fixed the bug described in 1671. The bug came into picture, when no keyword type is suggested for a particular keyword. This resulted in ignoring of that row of data.
Beginning new method for building the xml_index table. This uses theJDBC resultset directly rather than DBSaxNode, and recurses through therecords of the table. The new function 'buildIndex()' would be called, butcurrently is not linked in to any code, so it shouldn't get in the way....
removed a bug which was pointed out by Bing and fixed by Jing.
Removed some unused code
Revisions to text for the ESA / LTSS registry.
Added a new method to check upload function when a data stream is passed.
Added new upload function which takes InputStream as input.
Adding InlineDataAccessTest.java which has tests regarding inline data access. Also updated AccessControlTest.java
fixed some bugs in document update
Added method to metacat client for reading inline data - readInlineData()
Made changes in AccessControl and Online Data Access tests.
Fixed a bug in upload function. For online data updates, access was not checked.
Modifications to the registry to support the new ESA skin. Factored out some ofthe configuration-specific code into properties that are set in the variouscfg files in the skins. New properties in the cfg files are lsite, usite,showSiteList, showWgList, showOrganization. These now need to be set in every skin...
Changed properties to use the xml_index table by default.
Adding new file with tests regarding access controls related to online data... the tests which are failing are commented out for the time being .. once the bugs are fixed in metacat, they will removed.
Add additional comments to the test cases.
Remove obsolete comment.Fix broken URL in HarvestSiteScheduleTest.java
Fixed handling of various docid formats.
Code added to handle errors resulting from following urls: http://metacat.nceas.ucsb.edu/knb/metacat?action2 - no action specified http://metacat.nceas.ucsb.edu/knb/metacat?action=insert - no docid specified http://metacat.nceas.ucsb.edu/knb/metacat?action=login - no username specified...
Added check for null condition so that proper error text is returned to user.
Checked to be sure the instance has been initialized in the getDBCOnnectionstatic method call. Assuming it has been initialized could (and does)lead to NullPointerExceptions when used outside of the metacat servletif the conneciton pool isn't initialized properly.
Reformatted code for readability. It was crazy. Still has problems, but itsbetter. Will be working on some new methods on monday.
Fixed a bug in access handling when no access is specified.
Some changes and a bug fix
Added eml-2.0.1 tags for eml processing.
Also fixed a bug. The error returned in case of no revision number specified was just null. Now it says that revision number is required.