Project

General

Profile

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

# Date Author Comment
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.

802 07/20/2001 09:03 PM bojilova

added support for multiple group membership

800 07/20/2001 11:23 AM Matt Jones

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 be
read a t the time the cosntructor is called. if false, then...

799 07/19/2001 02:20 AM Matt Jones

Completely removed the socket-server feature that used to provide
file upload. It is now replaced by multipart/form-data over http.

798 07/19/2001 01:52 AM Matt Jones

Modified Metacat to support large data file uploads. This is accomplished
by supporting a new content type for data sent to metacat:
multipart/form-data
which allows multiple files to be sent in a standard MIME format. The
MetacatServlet.handleGetOrPost() method now checks the incoming content...

793 07/16/2001 12:32 PM bojilova

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=248
Included utility function about gettig the latest docid for a user:
DBUtil.getLastDocid(username).
Metacat parameters:
action='getlastdocid'
username

780 06/12/2001 02:56 PM berkley

fixed error with exception handling in metacat servlet and added new dtds to the sql script

745 05/22/2001 03:24 PM Matt Jones

Fixed bug in metacat where return doctypes were not being properly
back traced. Changed DBQuery.findDocuments() so that it no longer
takes a returndoc array, but instead retrieves the returndoc array
fromthe QUERYSpecification. The QuerySpecification was augmented...

744 05/21/2001 02:30 PM Matt Jones

Added ability to process multiple "returndoc" elements in
a pathquery document. Now, any query hit will be back traced to an
associated package if that package is listed in one of the
"returndoctype" elements.

743 05/21/2001 01:51 PM Matt Jones

Modifications that change the package handling behavior of metacat. Package
membership is now determined by an identifier being used as either the subject
or object in a triple. One can not request arbitrary returndocs -- only
those types that have package information embedded can be "returndoctype"...

738 05/04/2001 02:30 PM bojilova

fix to view abstract only when abstractpath parameter was specified

733 05/02/2001 02:52 PM bojilova

Tomcat has got configurated mime type mappings, but some are
missing. Thus added support for them in MetaCatServlet as:
File type > MIME type
-------------
----------------
.xml -> "text/xml"
.xsd -> "text/xml"
.dtd -> "text/plain"
.css -> "text/css"...

731 05/01/2001 04:42 PM bojilova

- merged "getabstract" and "getdatadoc" actions to "read" action;
- put MIME types everywhere for the returned data;
- zip when more than one doc/files were requested or when specified by qformat="zip" parameter;
- get rid of "relation" parameter, instead use "docid" parameter name only - when more that one docid - zip them;...

725 03/05/2001 04:25 PM bojilova

Included back getting the list of users and groups stored in auth scheme
through new action="getprincipals". No extra parameters are needed.
Any logged in users are able to get this information

699 02/21/2001 02:29 PM bojilova

implemented interface for download of DTD or Schema file from Metacat file system
through the params:
action="getdtdschema"
doctype

695 02/06/2001 01:51 PM bojilova

Included check up for <!DOCTYPE ... PUBLIC/SYSTEM ... >
in order to set the validation parser at runtime
In case of:
- no DOCTYPE declaration
- <!DOCTYPE docname>
validation is turned "off"
In case of:
- <!DOCTYPE ... PUBLIC ...>
- <!DOCTYPE ... SYSTEM ...>...

688 01/31/2001 10:05 AM bojilova

added new "getaccesscontrol" action for a given docid

680 01/19/2001 11:05 AM bojilova

included new servlet parameter "public" specifing public read access for the submitted document
the expected values are "yes" or "no"
public parameter is optional and if it is not specified, means "no"

675 01/18/2001 03:15 PM berkley

added precise location information (class.method) to each catch statement so that errors are more easily traced.

673 01/18/2001 12:46 PM bojilova

fixed typo

669 01/18/2001 11:52 AM Matt Jones

Added license terms to source code files, and cleaned up some javadoc
documentation in a few places.

667 01/18/2001 11:25 AM berkley

closed all preparedStatement variables

661 01/16/2001 01:49 PM berkley

fixed bug in data file permission checking. (commited wrong file last time)

649 01/09/2001 11:09 AM berkley

fixed minor error

648 01/09/2001 11:03 AM berkley

added support for data file upload via a random, authenticated socket.
The action added to metacatServlet is getdataport. A client can send a getdataport request. the server returns a random port number and starts a thread to handle the request on the given random port. The thread will only accept requests from the client that has the session id equal to that of the user that made the getdataport request. the user must be authenticated and logged in to make a getdataport request. Once the port number is received by the client the connection can be made. The first two parameters in the data stream must be the filename, followed by session id. (note that it only wants the session id not the whole cookie and the "JSESSION=" must be stripped from the text.) If the session number is correct, the upload is allowed, the file is written and xml_documents is updated with the new data file information.

641 01/05/2001 08:22 AM berkley

fixed url error in data download function

636 01/04/2001 04:04 PM berkley

added support to download a data file through metacat using a metacat url or a docid parameter.

625 12/20/2000 09:38 AM berkley

cleaned up code

619 12/15/2000 11:11 AM bojilova

fixed typos around acltext and dtdtext params

617 12/14/2000 03:06 PM bojilova

fixed typo

598 12/12/2000 12:50 PM bojilova

DBEntityResolver:
- added new parameter dtd for upload on Metacat file system; optional; Reader
- new routines to upload dtd if provided
- systemID of metadata document is used to exctract the filename of new dtd;
- the new dtd is uploaded on Metacat file system as specified by dtdPath property;...

593 12/11/2000 12:26 PM berkley

removed the initial connection pool creation step in init()

592 12/08/2000 02:39 PM higgins

comment out line in read action that sends a copy of docid prior to returning doc
in XML format (apparent debug statement left in by mistake)

566 11/27/2000 01:55 PM Matt Jones

Modified stylesheets and server code to use a single "read" action instead
of the earlier "getdocument" and "getrelateddocument" actions. In the
process, developed and started to utilize a new suite of URL "protocol
handlers" that are in the package "edu.ucsb.nceas.protocols" and handle...

557 11/21/2000 11:43 AM bojilova

added interface to handle a new "acl" parameter bringing the text of a xml access file for a given metadata document
the "acl" parameter is optional and should be sent on INSERT or UPDATE action.

524 11/09/2000 02:04 PM berkley

changed naming scheme

510 11/03/2000 09:38 AM bojilova

XSLT transformation on "login" and "logout" action

509 10/31/2000 03:26 PM bojilova

AuthMcat
- new class for authentication through MCA; implements AuthInterface
AuthSession
- assigning HttpSession obj only after successful athentication;
- cleared isAuthenticated field - not needed
- cleared invalidate() method - not needed
AuthInterface...

505 10/27/2000 07:07 PM Matt Jones

Began work on new UI for the KNB web site. It will be the main query
interface from the KNB website.

503 10/24/2000 01:03 PM bojilova

merge AUTH_LDAP to the main branch

486 10/03/2000 02:23 PM berkley

removed debug print statements.

485 10/03/2000 02:16 PM berkley

added code for getting stylized related documents

483 10/03/2000 12:55 PM berkley

allowed both indexing threads to run without interfering with each other.

478 09/29/2000 03:37 PM berkley

fixed bug that caused a nullPointerException when a null resultset was returned.

473 09/27/2000 01:11 PM berkley

added support for urls of the form "metacat://server.xyz.com?docid=XXX:yy"

465 09/26/2000 03:06 PM berkley

Added backtrack functionality. Backtracking works by passing a returndoc parameter. There can be more than one. If a document that is hit by a query is not of type returndoc then it searches the database for a related file of type returndoc. If one is found it is displayed, if no relation is found, the original is displayed....

462 09/20/2000 01:25 PM bojilova

fix the small bug with output like:
Fatal processing error

<success>
<docid>null</docid>
</success>
on hadleInsertOrUpdateAction()

458 09/20/2000 10:58 AM berkley

Updated the download data function. the download data function now pulls a document from the database, zips it up and sends the zip stream to the client. It also zips up any related files. a relation parameter is used to pass related files to the servlet. If only one document should be zipped and sent, a single docid in the param hashtable is sufficient.

453 09/15/2000 12:52 PM berkley

Added functionality for package specifications. metacatservlet now contains a new action called getrelateddocument that handles retrieving related documents using the metacatURL specification (metacatURL.java). DBQuery contains new code in runQuery that embeds relation tags in the returned hashtable describing the documents related to each docid. querySpecification contains a new method which prints the sql that does the relation query.

444 09/12/2000 12:42 PM berkley

removed print statments