Fixed a bug in previous commit. Moved normalization function before the string size is counted so that size change due to normalization is taken into account.
Added code to fix bug 1323. % sign is replaced by its http equivalent now
Added code to check id document is passed as part of the params. This is done toprevent NullPointerException which results in sending null to the user.
Added code to fix bug# 1344. Response template is called when cancel delete is pressed.
Integrating ldapweb.cgi & create-ldap-account.pl 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 method to get newest version of a given document.
Add a new method to get newest version for a given document.
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.
Minor enhancement to support multiple email addresses for harvester administrator and site contact. Each address is separated by a comma or semicolon.
Thanks Jing, Fixed those code comments.
Adde a function to the metacat client to set access on an xml document in ametacat repository.
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
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...
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...
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.
Whitespace changes that fix a few formatting problems after Jing's commit.
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.
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.
Add a code to load eml201 parser to fix the bug that couldn't generate access rule for eml201 doc.
Added sql for counting packages.
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...
New schema changes, including upgrade scripts. Includes renamed postgresscripts.
removed errors being generated in handling of qformat when action=insert. If qformat is not specified, xml is assumed as default.
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
Added new upload function which takes InputStream as input.
fixed some bugs in document update
Added method to metacat client for reading inline data - readInlineData()
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...
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.
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.
Merging in changes made in branch 'dataaccess' by Jing Tao.
Added upload functionality to metacat client for upload online data
Add warning if default harvest list file is not found on disk.
Change relative path to harvestList.xsd schema to allow harvest list editor to run standalone.
Changed path for eml xsd stylesheet
Modified directory name for eml-2.0.x checkouts to match with that in build.xml
Removed some debugging code added in last commit
Added code to read EML2.0.1 into source code.
Made change in the registry so that new documents produced are of eml-2.0.1 standard.Also made changes in create-registry folder
Added code to make enteries for eml 2.0.1 into the database
Improvements to Harvester registration web form.
Add diagnostic output
Get rid of some useless code.
Improve handling of default values.Call fileNew() if no default Harvest List file is specified.Improve documentation for default properties.
Fixed schema loading scripts to use the new ant token for the EML2 namespace.
Add File Validate menu itemAdd column to display the row numberAdd name of file to the title barLoad properties from .harvestListEditor in home directory instead of from metacat.properties
Harvest List Editor, a GUI tool for editing Harvest List XML files
Fixed a bug which was introduced because 'eml2namespace' was replaced by 'eml2_0_0namespace' in metacat.properties
Adding a new perl script. Running this script creates a new skin.
Store session attributes as username and password for consistency with Metacat
Improvements to Harvester registration form
Made initial changes for accepting EML version 2.1.0 in Metacat
Revised the api and ecogrid can use it easily.
Fixed a bug that couldn't find eml2 data format.
Improve Harvester registration login
fixed the bug that couldn't assign access rule for the data file come with morpho.
Change method accessNumberUsed to static method.
Change eml2 to eml200
Change the code when Eml parser name changed.
New class to replace EmlSAXHandler.
Rename this class to Eml200SAXHandler.
Integrate Harvester properties with build.properties and metacat.properties.Eliminate the need for a separate harvester.properties file.Improve email message to the site to include more summary information.
Fixed bug# 1309. Also put a regex check on ending year and beginning year.
Made changes to fix bug # 1365.
Made changes to fix bug# 1303 and 1367.(Both are related)Following variables can now be specifieD from the cfg file to control behaviour of the skin: hasKeyword, hasMethod, hasSpatial, hasTaxonomic and hasTemporal. Following two also can be used: spatialRequired and temporalRequired
Made changes to fix bug# 1303 and 1367.(Both are related) - corresponding changes need to be made in tmpl file and testing needs to be done before bugs can be closed.
Made changes to fix 1301. Works fine with eml2 - need to check if works with emlbeta6.
Refactored a number of methods to allow for more effective JUnit testing
Made changes to control whether a skin wants to use keywords or not. Keywords probably will be used by all skins alsways. But similar changes can be made for Geographic Coverage or Temporal COverage to control whether a particular section of the insert data template needs to be shown or not. This can be controlled from .cfg file. For example, in nceas.cfg is you define hasKeyword = false, none of the templates will show the keyword part. (Unless, you are using NCEAS skin and you try to modify a document which already has keywords.)
Removed beta6 specific code which is no longer being used.
Removed repetition of code. Also fixed the link to the modified file submitted from responseTemplate
Changes to comments
Replace Harvester dbDriver property with database property
Added ou also to getprincipal output. So now organizationUnitName is also returned in getprincipal output.
Made changes so that PISCO and NRS trees are also returned in getPrincipals action.
Allow user to set frequency to 0 for testing purposes
Modify schema location
Fixed getprincipals output. Earlier DNs for LTER were in URL form. Now they appear in DN form.Earlier:ldap://knb.lternet.edu:389/DN,baseNow:DN
Have to make changes so that PISCO and NRS also show up.
Fixed two small bugs.