Project

General

Profile

  • svn:eol-style: native
  • svn:executable: *
  • svn:keywords: Author Date Id Revision

# Date Author Comment
2759 11/17/2005 01:27 PM sgarg

Using xml_path_index instead of xml_index to find documents which havnt been indexed.

2758 11/17/2005 12:37 PM sgarg

Replaced hardcoded namespaces with variable defined in metacat.properties

2753 11/17/2005 11:38 AM Matt Jones

Changed logMetacat to be a local variable in MetaCatServlet to avoid any potential threading issues.

2752 11/16/2005 05:27 PM Matt Jones

Metacat has had problems with threading issues when accessed from ecogrid. These problems may stem from the use of shared global variables within the servlet that are not protected against threading problems. We used a lot of these, which I am eliminating in this commit. Besides final variables used as constants (which are not a problem), now there are only three unprotected variables (sessionHash, logMetacat, and conn) which are harder to eliminate. I will be discussiong this with Sid tomorrow to see how to eliminate them.

2749 11/16/2005 12:38 PM Jing Tao

Fixed bug that data file upload failed, record couldn't be deleted.

2729 11/10/2005 01:34 PM sgarg

1. Added code to start the indexing thread.
2. Fixed a bug in the query on xml_nodes and xml_index
3. Added more debug statements
4. Fixed a bug in code which determines namespace

2712 11/01/2005 02:19 PM sgarg

Modification in algo:

1. Find if the root element has prefix (e.g. <eml:eml>). If found, go to step
2, otheriwse go to step 3.

2. Look for xmlns:prefix element to find the ns
(e.g.:xmlns:eml="eml://ecoinformatics.org/eml-2.0.0")
2.a If not found go to step 4...

2711 11/01/2005 02:09 PM sgarg

Bugfix for 2091. Removed the function needValidation(). Added function getPrefix which returns the prefix. And use the following steps to find out the namespace

1. Find if the root element has prefix (e.g. <eml:eml>). If found, go to step
2, otheriwse go to step 3....

2701 10/31/2005 12:56 PM sgarg

Bugfix to the code which sets parentnodeid in xml_path_index. (Use setInt instead of setFloat)

2690 10/24/2005 05:11 PM sgarg

Added warning to be displayed in the log when document is not inserted.

2682 10/20/2005 11:38 AM sgarg

Added a new action - getloggedinuserinfo - which returns information about the user in the following format.

<user>
<username>uid=sgarg,o=NCEAS,dc=ecoinformatics,dc=org</username>
<name>Saurabh Garg</name>
<isAdministrator/>
<isMOderator/>
</user>

2668 10/10/2005 12:27 PM sgarg

Changes in log levels of some commands mentioned in the previos commit.

2663 10/10/2005 11:06 AM sgarg

Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call

2648 10/04/2005 05:22 PM Jing Tao

Add code to guess the docid's revision in read action.

2594 09/15/2005 03:24 PM sgarg

added code to define LOG_CONFIG_NAME

2582 09/09/2005 10:42 AM Jing Tao

Change sessionHash to static variable and add a static get method.

2576 09/08/2005 01:41 PM sgarg

Modified MetaCatUtil to read metacat access control lists from metacat.properties. Also coded various methods which can be used to find out if a user is an admin, moderator or on allowed/denied submitter list.

Modified MetaCatServlet to check if a user is allowed to insert/update before insert and update is done.

2570 09/08/2005 10:04 AM Matt Jones

Formatting cleanup, fixed a missing 'private' declaration. Preparing for LSID integration work.

2558 09/06/2005 11:29 AM sgarg

Added new methods to MetaCatUtil: isAdministrator and isModerator.

These methods are used to check if a given username is part of the admin and moderator list specified in metacat.properties

Modified DocumentImpl and MetaCatServlet to use these functions.

2556 09/06/2005 08:42 AM sgarg

Added the patch provided by Johnoel. Check out the following link to bugzilla for more info: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2081

2521 07/25/2005 11:49 AM sgarg

Adding a new method to MetaCatServlet for getting the value of paths to be indexed from metacat.properties file and indexing those paths in xml_path_index

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.

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

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

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

2292 09/16/2004 11:15 AM sgarg

changed function parameters in accordance with changes in PermissionController

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.

2268 09/09/2004 03:51 PM sgarg

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

2259 08/31/2004 03:45 PM sgarg

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

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.

2245 08/19/2004 06:09 PM sgarg

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

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.

2169 05/14/2004 02:38 PM sgarg

Made initial changes for accepting EML version 2.1.0 in Metacat

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

Change eml2 to eml200

2113 04/08/2004 01:49 PM Matt Jones

Added the EventLog functionality to the servlet as action=getlog. Valid parameters are ipAddress, principal, docid, event, start, end. All parameters can be repeated except start and end.

2102 04/02/2004 01:43 PM Matt Jones

Added additional logging calls for read, upload, insert, update, delete, and
other commands. Now need to get a reporting function working and this
bug 101 will be largely finished.

2101 04/02/2004 11:43 AM Matt Jones

Modified EventLog to eliminate the separate revision column and instead fold
that into the docid string. Log now includes read events, but need to update
the data sent there.

2099 04/02/2004 10:15 AM Matt Jones

Modified SQL scripts to add the new access_log table. I've partially tested this under postgres but have not yet tested under oracle.

2098 04/02/2004 09:13 AM Matt Jones

Reformatted code for readability and consistency.

2089 03/31/2004 05:49 PM Jing Tao

Revise the handle query and squery method, not finished yet.

2080 03/31/2004 11:45 AM Matt Jones

Set content type properly for getversion action.

2079 03/31/2004 11:42 AM Matt Jones

Added a simple action for finding out the current metacat version. The information is pulled from the property file, so be sure to update the version in the property file before shipping a release.

2072 03/29/2004 01:59 PM Matt Jones

Moved decision about whether to use xml_index for
query to the metacat.properties as "usexmlindex". Default
is now false. Still have some refactoring to do to remove a
few more uses of the xml_index table.

2067 03/26/2004 03:25 PM Matt Jones

Removed the "getdataguide" action as it was always experimental and is no longer used in metacat or morpho.

2045 03/15/2004 02:08 PM Jing Tao

Fixed the bug for sessionid storing, revision couldn't be zero and Ldap DN is case sensitive.

1956 12/10/2003 01:15 AM Matt Jones

Enabled stylesheet parameters to be passed through metacat even when the
'query' function is called. Previously, query would interpret all
parameters except a few hardcoded ones to be pathexpressions that should be
built into a squery. Now, metacat.properties contains a new configuration...

1951 12/05/2003 01:21 PM Matt Jones

Moved the metacat.properties file from the jar file to now be located in
the tomcat context directory in WEB-INF. Now the metacat configuration is
editable in place. This change depends on a new Options.java class in the
utilities module, so be sure you do a "clean" build in metacat so that you...

1906 11/18/2003 04:51 PM Jing Tao

If the sessionid is null and user will be treated as public.

1816 09/04/2003 03:22 PM Jing Tao

Fixed the bug that if path query without xml declaration will cause a non well-formed result doc.

1760 07/27/2003 08:51 PM Jing Tao

Change string to stringreader to save memory.

1723 07/02/2003 04:03 PM berkley

got interservlet session handling working.

1717 07/02/2003 12:09 PM berkley

fixed errors with jing and my merges

1716 07/02/2003 12:04 PM berkley

changes to make session management between monarch and metacat work.

1665 06/17/2003 04:06 PM Jing Tao

Revise the code for read from metcat.

1629 04/30/2003 03:04 PM Jing Tao

Add code to hanlder wirte and update funtion.

1617 04/25/2003 03:04 PM Jing Tao

Get the file size limit from property rather than hard code.

1610 04/23/2003 11:04 PM Jing Tao

Revise code to decide use which parser.

1556 04/15/2003 09:18 PM Jing Tao

Add contenttypeprovider when read a data file.

1490 03/19/2003 02:58 PM Jing Tao

Finished the implementation for action readinlinedata. The prototype is action=readinlinedata&inlinedataid=eml.23.1.1

1489 03/19/2003 11:07 AM Jing Tao

Set default content type for data file.

1483 03/18/2003 05:30 PM Jing Tao

Add a new action readilninedata for metacat. By this action, user can read inline data only.

1482 03/18/2003 02:15 PM Jing Tao

Add a flag in read action that the user want inline data in xml document or not.

1471 03/12/2003 04:26 PM Jing Tao

Add eml parser checking here.

1466 03/10/2003 11:59 AM Jing Tao

Add code to handle validate xml instance by noNamespaceSchemaLocation.

1444 03/03/2003 06:05 PM Jing Tao

Just now made a wrong sumbit and revise it.

1443 03/03/2003 06:02 PM Jing Tao

Add access query for control the return fields.

1433 02/27/2003 06:23 PM Jing Tao

Change the calling method.

1429 02/26/2003 05:36 PM Jing Tao

Chane a info for output.

1409 02/14/2003 05:01 PM Jing Tao

Set a condition to for setting eml2 parser.

1395 02/11/2003 03:05 PM Jing Tao

Change schemalocationkeywords constant from private to public and it can be reused.

1384 02/04/2003 03:48 PM Jing Tao

Add schema validation parameter here.

1377 01/28/2003 12:29 PM Jing Tao

Change some output for inser documents.

1369 01/16/2003 05:23 PM Jing Tao

Create a action setaccess for assign access rule to single file.

1360 01/08/2003 05:29 PM Jing Tao

Merge code from branch monarch.

1342 12/19/2002 10:03 AM Jing Tao

Change the code for validation.

1298 09/09/2002 03:32 PM Jing Tao

Add some debug message for displaying search time.

1293 07/14/2002 03:02 PM Jing Tao

Add a control for readForRemoteServer is only for data file.

1292 07/14/2002 12:33 PM Jing Tao

Merge cvs branch replication to cvs head.

1221 06/14/2002 09:36 AM Jing Tao

Add code to shrink connection pool size. If all connections are free.

1217 06/13/2002 11:54 AM Jing Tao

Merge DBConnection branch to head.

1142 05/24/2002 04:09 PM Jing Tao

Change back to Connection. DBConnection will store in cvs branch..

1125 05/23/2002 05:58 PM Jing Tao

Add DBConnectionPool object in servlet's init method and DBConnectionPool's release method in servlet's destory method.

1076 05/10/2002 06:24 PM Jing Tao

Add control to send data or not

1070 05/09/2002 05:40 PM Jing Tao

Add a control to get data file granted in handleUploadMethod.

1064 05/08/2002 04:06 PM Jing Tao

Delete a some useless code for connection pool

1056 05/07/2002 04:57 PM Jing Tao

Revised handleUploadRequet.

1041 04/30/2002 08:25 AM Jing Tao

Adding a hub control to data file in handleUpLoad method. Data file was changed can be replicate to all server or only home host.

1028 04/25/2002 11:21 AM Jing Tao

Adding a new feature that in uploaddatafile that the datafile can be replicated.

949 02/26/2002 01:55 PM Jing Tao

Only delete some incorrect comment.

947 02/26/2002 08:37 AM Jing Tao

The feature of check permission before Metacat handle a "read" action. If user doesn't have permission, its request will be rejected.
After creating a DocumentImpl object. A method named hasReadPermission in that class will be called to make sure the user has permission to read it.

943 02/22/2002 03:02 PM Jing Tao

A new action named export was add to it. This action will export a zip output stream for a data package. In the zip output stream, meta data documents, data files and a html summary file are include. The stucture will looks like:
package----/metadata/metadata docments...

906 01/22/2002 11:30 AM berkley

updated metacat so that the xmlparserv2.jar file is no longer needed. replaced all of teh oracle xml processing with xalan and xerces.

867 11/01/2001 02:29 PM berkley

fixed the error where the ldap authenticate took 15 seconds to execute

847 10/19/2001 02:50 PM Matt Jones

Fixed the function to return the max id for a given scope. Now the function
takes a parameter named 'scope' and returns the largest docid that has been
used under that scope in this metacat instance (it used to return the most
recently created docid, which is clearly different). For compatibility with...

846 10/19/2001 10:34 AM berkley

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

845 10/18/2001 04:57 PM Matt Jones

Fixed problem with metacat handleReadAction where the OutputStream from the
response object was closed and an attempt to reopen a PrintWriter was made
on the same response, which is illegal. Now the OutputStream is converted
to a PrintWriter in order to write the XML error message back to the client....

832 09/14/2001 04:00 PM Matt Jones

Added support for multiple user interfaces by enabling style sheet
transformations to be configured from within metacat rather than
from in the database. Now, metacat uses the qformat parameter to determine
a "style set", which is mapped to an xml configuration file that...

822 08/16/2001 10:48 AM Matt Jones

Revised build.xml and metacat.properties to make it easier to
install alternative stylesheets for metacat. In the process,
replaced the deprecated copydir and copyfile commands in build.xml
with appropriate "copy" commands.