Project

General

Profile

Statistics
| Revision:

# Date Author Comment
2347 12/21/2004 03:00 PM sgarg

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.

2345 12/21/2004 10:54 AM sgarg

Added code to fix bug# 1344. Response template is called when cancel delete is pressed.

2341 12/20/2004 04:02 PM sgarg

Integrating ldapweb.cgi & create-ldap-account.pl into metacat CVS tree.

2339 12/20/2004 03:12 PM sgarg

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.

2337 12/16/2004 04:34 PM Jing Tao

Add a new method to get newest version of a given document.

2336 12/16/2004 04:33 PM Jing Tao

Add a new method to get newest version for a given document.

2334 12/16/2004 02:33 PM sgarg

Fixed bug #1551 by adding a conditional statement.

2333 12/16/2004 02:07 PM sgarg

Made changes to fix bug# 1310. Now while parsing old documents, the script checks for ACLs also.

2332 11/15/2004 10:39 AM Duane Costa

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.

2330 11/09/2004 03:34 PM Duane Costa

Minor enhancement to support multiple email addresses for harvester administrator and site contact. Each address is separated by a comma or semicolon.

2327 09/24/2004 01:13 PM harris

Thanks Jing, Fixed those code comments.

2326 09/24/2004 12:02 PM harris

Adde a function to the metacat client to set access on an xml document in a
metacat repository.

2315 09/21/2004 03:36 PM Matt Jones

Modified buildIndex() to now include an '@' sign in the path for ATTRIBUTE
nodes. Removed a bunch of debugging information. Fixed the BuildIndexTest
so that it would work on any machine (removed hardcoded paths).

2314 09/21/2004 01:17 PM sgarg

Added code that changes the node column size

2312 09/21/2004 03:13 AM Matt Jones

Added in servlet action 'buildindex' for building the XML_index table entries
for either a set of documents (if one or more docid params are provided) or
for the whole set of documents in the xml_documents table. The buildindex
action is restricted to only be accessible by users who are listed in the...

2307 09/20/2004 04:25 PM Matt Jones

Changed DBSAXHandler.run() to now use the new DocumentImpl.buildIndex() method
for populating the xml_index table. The new method uses a jdbc ResultSet
for populating the index rather than doing it with the DBSAXNode, so it is
faster and can be run at any time on any document. This will allow us to...

2305 09/20/2004 02:30 PM Duane Costa

Compose the Metacat URL from the httpserver and the servletpath properties, replacing hard-coded references to servlet.

2304 09/20/2004 02:28 PM Duane Costa

Send redirect to HarvesterRegistration, instead of using the full class name which works on Tomcat-only installations but not with Apache.

2303 09/20/2004 09:49 AM Duane Costa

Change the date format to one that is standard on both Oracle and Postgres.

2301 09/17/2004 08:48 AM Matt Jones

Whitespace changes that fix a few formatting problems after Jing's commit.

2298 09/16/2004 05:04 PM Jing Tao

Add new feature that delete can be broadcasted by force replication.

2297 09/16/2004 04:40 PM Matt Jones

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.

2293 09/16/2004 12:08 PM Matt Jones

Added changes to buildIndex() function. Now it is finding the right set of
paths, just have to save these in a hash and then add them to the DB xml_index
table.

2292 09/16/2004 11:15 AM sgarg

changed function parameters in accordance with changes in PermissionController

2291 09/16/2004 11:13 AM sgarg

Modified inline data permission handling, so that access rules for old version of inline data can be checked correctly.

2290 09/16/2004 11:09 AM sgarg

Added a function which returns inline data id with out the revision number.

2289 09/16/2004 11:04 AM sgarg

Changed error text that is returned when an invalid eml is inserted.

2286 09/15/2004 08:25 PM Jing Tao

Add a code to load eml201 parser to fix the bug that couldn't generate access rule for eml201 doc.

2283 09/15/2004 04:09 PM Matt Jones

Added sql for counting packages.

2280 09/15/2004 02:00 PM sgarg

Fixed a bug in creation of EML documents when coordinates from the site_list have to be used.

2279 09/15/2004 01:02 PM Matt Jones

Added lines for updating xml_catalog in the upgrade script to point to the
new schema locations.

2278 09/15/2004 11:02 AM sgarg

Fixed error in handling of multiple additional metadata tags...

2276 09/15/2004 08:56 AM Matt Jones

New schema changes, including upgrade scripts. Includes renamed postgres
scripts.

2273 09/14/2004 03:24 PM sgarg

removed errors being generated in handling of qformat when action=insert. If qformat is not specified, xml is assumed as default.

2269 09/10/2004 04:42 PM Matt Jones

Beginning new method for building the xml_index table. This uses the
JDBC resultset directly rather than DBSaxNode, and recurses through the
records of the table. The new function 'buildIndex()' would be called, but
currently is not linked in to any code, so it shouldn't get in the way....

2268 09/09/2004 03:51 PM sgarg

removed a bug which was pointed out by Bing and fixed by Jing.

2267 09/09/2004 03:48 PM sgarg

Removed some unused code

2264 09/02/2004 02:38 PM sgarg

Added new upload function which takes InputStream as input.

2262 09/01/2004 02:43 PM sgarg

fixed some bugs in document update

2261 08/31/2004 05:52 PM sgarg

Added method to metacat client for reading inline data - readInlineData()

2259 08/31/2004 03:45 PM sgarg

Fixed a bug in upload function. For online data updates, access was not checked.

2258 08/28/2004 03:25 AM Matt Jones

Modifications to the registry to support the new ESA skin. Factored out some of
the configuration-specific code into properties that are set in the various
cfg 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...

2253 08/24/2004 03:35 PM sgarg

Fixed handling of various docid formats.

2252 08/24/2004 12:34 PM sgarg

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...

2251 08/24/2004 11:14 AM sgarg

Added check for null condition so that proper error text is returned to user.

2250 08/23/2004 02:21 PM Matt Jones

Checked to be sure the instance has been initialized in the getDBCOnnection
static method call. Assuming it has been initialized could (and does)
lead to NullPointerExceptions when used outside of the metacat servlet
if the conneciton pool isn't initialized properly.

2249 08/20/2004 01:32 PM Matt Jones

Reformatted code for readability. It was crazy. Still has problems, but its
better. Will be working on some new methods on monday.

2248 08/20/2004 09:21 AM sgarg

Fixed a bug in access handling when no access is specified.

2246 08/19/2004 06:20 PM sgarg

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.

2245 08/19/2004 06:09 PM sgarg

Merging in changes made in branch 'dataaccess' by Jing Tao.

2240 08/19/2004 11:34 AM sgarg

Added upload functionality to metacat client for upload online data

2238 08/10/2004 03:19 PM Duane Costa

Add warning if default harvest list file is not found on disk.

2237 08/04/2004 12:42 PM Duane Costa

Change relative path to harvestList.xsd schema to allow harvest list editor to run standalone.

2234 07/26/2004 05:49 PM sgarg

Changed path for eml xsd stylesheet

2229 07/23/2004 10:39 AM sgarg

Modified directory name for eml-2.0.x checkouts to match with that in build.xml

2225 07/22/2004 03:32 PM sgarg

Removed some debugging code added in last commit

2224 07/22/2004 03:29 PM sgarg

Added code to read EML2.0.1 into source code.

2223 07/22/2004 02:31 PM sgarg

Made change in the registry so that new documents produced are of eml-2.0.1 standard.
Also made changes in create-registry folder

2222 07/22/2004 02:24 PM sgarg

Added code to make enteries for eml 2.0.1 into the database

2221 07/22/2004 09:10 AM Duane Costa

Improvements to Harvester registration web form.

2203 07/08/2004 10:45 AM Duane Costa

Add diagnostic output

2188 06/23/2004 04:50 PM Jing Tao

Get rid of some useless code.

2187 06/14/2004 03:26 PM Duane Costa

Improve handling of default values.
Call fileNew() if no default Harvest List file is specified.
Improve documentation for default properties.

2184 06/10/2004 03:19 PM Matt Jones

Fixed schema loading scripts to use the new ant token for the EML2 namespace.

2179 06/04/2004 02:25 PM Duane Costa

Add File Validate menu item
Add column to display the row number
Add name of file to the title bar
Load properties from .harvestListEditor in home directory instead
of from metacat.properties

2177 06/03/2004 04:09 PM Duane Costa

Harvest List Editor, a GUI tool for editing Harvest List XML files

2176 06/01/2004 03:48 PM sgarg

Fixed a bug which was introduced because 'eml2namespace' was replaced by 'eml2_0_0namespace' in metacat.properties

2172 05/18/2004 02:25 PM sgarg

Adding a new perl script. Running this script creates a new skin.

2171 05/17/2004 04:36 PM Duane Costa

Store session attributes as username and password for consistency with Metacat

2170 05/14/2004 03:54 PM Duane Costa

Improvements to Harvester registration form

2169 05/14/2004 02:38 PM sgarg

Made initial changes for accepting EML version 2.1.0 in Metacat

2168 05/14/2004 10:53 AM Jing Tao

Revised the api and ecogrid can use it easily.

2167 05/13/2004 01:57 PM Jing Tao

Fixed a bug that couldn't find eml2 data format.

2166 05/12/2004 09:36 AM Duane Costa

Improve Harvester registration login

2165 05/11/2004 06:00 PM Jing Tao

fixed the bug that couldn't assign access rule for the data file come with morpho.

2164 05/10/2004 03:41 PM Jing Tao

Change method accessNumberUsed to static method.

2163 05/07/2004 04:05 PM Jing Tao

Change eml2 to eml200

2162 05/07/2004 03:43 PM Jing Tao

Change the code when Eml parser name changed.

2161 05/07/2004 03:42 PM Jing Tao

New class to replace EmlSAXHandler.

2160 05/07/2004 03:41 PM Jing Tao

Rename this class to Eml200SAXHandler.

2155 05/03/2004 03:59 PM Duane Costa

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.

2152 04/30/2004 08:27 PM sgarg

Fixed bug# 1309. Also put a regex check on ending year and beginning year.

2151 04/30/2004 07:28 PM sgarg

Made changes to fix bug # 1365.

2149 04/30/2004 07:06 PM sgarg

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

2148 04/30/2004 11:09 AM sgarg

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.

2144 04/29/2004 11:16 AM sgarg

Made changes to fix 1301. Works fine with eml2 - need to check if works with emlbeta6.

2139 04/28/2004 10:54 AM Duane Costa

Refactored a number of methods to allow for more effective JUnit testing

2138 04/26/2004 04:46 PM sgarg

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.)

2137 04/26/2004 02:59 PM sgarg

Removed beta6 specific code which is no longer being used.

2136 04/26/2004 02:29 PM sgarg

Removed repetition of code. Also fixed the link to the modified file submitted from responseTemplate

2133 04/22/2004 10:35 AM Duane Costa

Changes to comments

2132 04/19/2004 01:26 PM Duane Costa

Replace Harvester dbDriver property with database property

2130 04/14/2004 06:41 PM sgarg

Added ou also to getprincipal output. So now organizationUnitName is also returned in getprincipal output.

2129 04/14/2004 05:27 PM sgarg

Made changes so that PISCO and NRS trees are also returned in getPrincipals action.

2127 04/14/2004 01:48 PM Duane Costa

Allow user to set frequency to 0 for testing purposes

2126 04/14/2004 01:48 PM Duane Costa

Modify schema location

2121 04/14/2004 11:27 AM sgarg

Fixed getprincipals output. Earlier DNs for LTER were in URL form. Now they appear in DN form.
Earlier:
ldap://knb.lternet.edu:389/DN,base
Now:
DN

Have to make changes so that PISCO and NRS also show up.

2117 04/12/2004 08:20 PM sgarg

Fixed two small bugs.

2116 04/12/2004 04:49 PM sgarg

Made changes in XML that is sent back as result of action=getprincipals. Changes are as following:

1. <authSystem> tag contains organization attribute which specifies organization name
2. <user> tag now has <organization> tag which specifies the organization name of the user. This is being generated as null for LTER as of now.

2115 04/09/2004 04:12 PM sgarg

Perl script for transfering documents from one metacat to another metacat. list_of_docids contains list of names of the documents that will be transfered.