Project

General

Profile

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

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

443 09/12/2000 12:28 PM berkley

fixed xml tag error in squer

442 09/12/2000 11:24 AM berkley

fixed bug in handleSQuery that returned the tag in the <query> tag of a resultset.
BugID:
Submitted by:
Reviewed by:

441 09/12/2000 10:37 AM bojilova

added check from "read" permission on "query" and "squery" actions
for connected user or for "public" connection

437 09/05/2000 01:51 PM berkley

added support for getabstract action

431 09/01/2000 05:37 PM Matt Jones

Modified MetaCatServlet to use the new DocumentImpl.toXml() method for
efficiency of reading documents. See bugzilla bug #111 for an explanation.

425 08/31/2000 05:01 PM bojilova

storing user_owner and user_updated where needed
new function in DocumentImpl checking for "write" perm on UPDATE or DELETE
added delete from xml_index of the old version of docid on UPDATE

423 08/31/2000 02:20 PM berkley

changed xslf for new returnfield scheme. the returnfields are now returned as <param name="<returnfield>"> tags.
hThe sql for the returnfield query was redone to fix a previous problem with slow queries

411 08/25/2000 01:49 PM bojilova

Changes with Srb authentication: including quering of Srb/MCAT during the Srb connection for:
- groupname of connected user
- list of groups and users in MCAT for ACL function for MetaCat

408 08/24/2000 06:28 PM Matt Jones

Continued code redesign for the DocumentImpl class. Now the "delete" and
"write" methods are static, so a DocumentImpl objject need not be created
in order to initiate a INSERT, UPDATE, or DELETE action (it is created
implicitly by the DBSAXHandler). When doing a "READ" action, one still...

407 08/24/2000 04:47 PM Matt Jones

Folded the functionality from DBWriter into DocumentImpl, continuing the
work started earlir to create a more DOM-like model for the classes, in
which a single DocumentImpl class handles both reading and writing of
documents to the database. Modified shell scripts and MetaCatServlet to...

393 08/22/2000 10:32 PM Matt Jones

Created new class "DocumentImpl" which represents an XML Document. This
document will eventually implment the DOM Document interface. For now,
it implments all of the functionality that was present in DBReader, plus
cuts down on the number of database calls required to read a document. And...

384 08/18/2000 03:41 PM berkley

-fixed the bug where a pathquery document was not valid inside of the <query> tags in a resultset document.
-provided override support for a new function called transformQuery() which allows specific applications to
customize what is returned in the <query> tag

383 08/18/2000 11:05 AM Matt Jones

Fixed small bug in transforming the document to HTML. If there was
no stylesheet for a given doctype, and so the transformation couldn't
occur, the XML doc was returned, but the content-type was still set
(incorrectly) to html. Now it is not set to text/html when an xml doc is...

382 08/18/2000 10:56 AM berkley

removed extraneous protected tags and replaced them with private tags

380 08/18/2000 10:38 AM Matt Jones

Modified behavior of handleSQuery() to now send the resultset document
back to the client application -- this was a bug introduced by recent
changes to the servlet. Also, generally cleaned up the servlet to
produce cleaner documentation and removed some extraneous code and remarks....

375 08/17/2000 03:20 PM berkley

changed the prototype of overwritable functions to "protected" instead of "private".

373 08/17/2000 09:04 AM berkley

Changed the flow of query and SQuery. SQuery now only handles a preformatted pathquery document as input (in the "query" parameter).
HandleQuery now handles all structured queries derived by CGI parameters.

371 08/16/2000 01:08 PM berkley

fixed bug with handleSQuery() that kept DMan from access the squery functionality

370 08/16/2000 11:48 AM berkley

- created transformResultset() which transforms an xml resultset document and displays it to the client useing DBTransform
- renamed transformDocument() to createResultDocument() and modified its functionality to only return a restultset xml document
- changed handleSQuery() and handleQuery() to use the new methods

361 08/15/2000 01:48 PM berkley

remove handleQueryAction() in favor of directly calling handleQuery() and handleSQuery() from doGetOrPost()

360 08/15/2000 01:02 PM bojilova

Cleared hardcoded paths for the location of .html files and use
the new "htmlpath" property from metacat.properties file

355 08/15/2000 08:58 AM berkley

Added decodeMouseAction(Hashtable) to decode the mouse click action outside of handleGetOrPost to allow for easy modification of images in a different application.

351 08/14/2000 02:28 PM berkley

Broke up handleQueryAction into handleQuery, handleSQuery, runQuery and transformDocument. handleQueryAction is now a base function which makes calls to each of these functions to create, run and transform a query from CGI parameters.

348 08/14/2000 01:43 PM Matt Jones

Updated build process to now use a copy of the source files so that keyword
substitution can ocur before the build. This allows for substitution of
hardcoded values into the source before the compile. Currently, I am
using this feature to do the following:...

346 08/14/2000 11:27 AM bojilova

added Logout handling

345 08/14/2000 11:11 AM bojilova

clear lib dir from paths like xmltodb/lib/something.html

343 08/11/2000 03:20 PM Matt Jones

Changed exception handling mechanisms for DBReader

341 08/11/2000 11:25 AM berkley

broke up handleQueryAction into handleQuery, handleSQuery, runQuery and transformDocument

336 08/10/2000 02:47 PM bojilova

changed paths, b' of new dev server

332 08/10/2000 11:56 AM bojilova

added "anonymous" user connection

329 08/08/2000 05:39 PM Matt Jones

-Reorganized xmltodb module to support new install process for the new
linux server (dev.nceas.ucsb.edu). Added "build.sh" shell script that
calls ant withthe proper umask set for installation. Use:

./build.sh install

to post a new copy of the servlet and its supporting files to the install...

328 08/07/2000 05:31 PM bojilova

rearrange html pages for login and metacat access

320 08/04/2000 04:34 PM bojilova

more precise handling of the Connection Pool

316 08/03/2000 04:20 PM bojilova

Changes related to "getdataguide" action

311 08/02/2000 04:26 PM bojilova

Added support for "anonymous" user

309 08/01/2000 11:26 AM bojilova

added Pool of Connections
DBQuery, DBReader, DBTransform, DBUtil are created on every request and use the connections from the Pool
same with DBWriter and DBValidate

302 07/27/2000 04:12 PM bojilova

Added "getdoctypes" and "getdataguide" action handlers

297 07/26/2000 01:48 PM bojilova

Added "Login Client" action for login from the Desktop Client

296 07/26/2000 01:40 PM higgins

no message

253 06/30/2000 06:09 PM Matt Jones

MetaCatServlet.java

251 06/30/2000 04:42 PM bojilova

finished user auth & session tracking

243 06/29/2000 04:27 PM Matt Jones

Fixed bug in DBEntityResolver so that it now properly delegates to
the system id found inthe database.
Changed DBValidate to use DBEntityResolver, rather than the OASIS
catalog, and to return validation results in XML format.

234 06/29/2000 01:05 PM bojilova

testing login

233 06/29/2000 12:08 PM bojilova

testing login

231 06/29/2000 10:54 AM bojilova

testing login