Project

General

Profile

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

# Date Author Comment
2087 03/31/2004 05:47 PM Jing Tao

Add a new transferm method for string reader.

2075 03/30/2004 10:09 AM Matt Jones

Reformatted DBQuery.java for readability and consistency.

2074 03/30/2004 10:02 AM Matt Jones

Changed printAttributeQuery() to no longer depend on the xml_index table. Now, if useXMLIndex is false, the method will use a recursive query on xml_nodes to match paths instead of using xml_index.

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.

2069 03/29/2004 11:24 AM Matt Jones

Created new printExtendedSQL function that can get the extended
return fields using only xml_nodes and not xml_index. One
step closer to eliminating the dependence ofn xml_index.

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.

2043 03/09/2004 06:18 PM sgarg

Replaced Hash table with Vector of Vector datastructure in getting <param> from Query. This was done so that the results are represented in same order as they appeared in the document.

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

1834 10/08/2003 05:39 PM Jing Tao

Add a new method to find document from queryspecification.

1630 04/30/2003 06:03 PM Jing Tao

Field data will be normalized.

1450 03/04/2003 12:05 PM Jing Tao

Fixed a bug which cause infinite loop.

1448 03/04/2003 10:20 AM Jing Tao

Add access control for return fields.

1445 03/03/2003 06:06 PM Jing Tao

Add access control for return fields in the subtree.

1427 02/26/2003 05:30 PM Jing Tao

Change the code to handle permission checking.

1361 01/09/2003 04:28 PM Jing Tao

If a text node was split into two parts, now it will be combined.

1356 01/08/2003 03:05 PM Jing Tao

Merge the code to handle export single document.

1353 01/07/2003 05:03 PM Jing Tao

Support return field has attributes.

1349 01/03/2003 05:53 PM Jing Tao

Change the code for percentage search.

1347 01/03/2003 02:12 PM Jing Tao

Fixed a bug that after finding a non-dataset document, then go back to find dataset document for it in xml_relation table.

1303 10/11/2002 10:33 AM Jing Tao

Create a shortcut for the query to get user's onwer doc lists. Create a private method named getOwnerQuery. If the coming query equals the owner query, the access permission checking would NOT append to the comming query. Because the owner has all permission.

1300 10/09/2002 05:25 PM Jing Tao

Add the checking permission query into orignal query.

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

Delete the code for permission checking in execute extened query. It was redundant. Add some debug message for displaying search time.

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

Merge cvs branch replication to cvs head.

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

Merge DBConnection branch to head.

1096 05/20/2002 05:23 PM Jing Tao

Add debugMessage level in this class

963 03/06/2002 04:17 PM berkley

fixed my tagging error

962 03/06/2002 03:58 PM berkley

some small changes I had to make to get the QAENGINE demo to work right. this should be committing in a branch

957 03/05/2002 01:09 PM Jing Tao

Add a throwing exception in haspermission method.

953 03/05/2002 09:19 AM Jing Tao

Access document was added to exported data package too.

948 02/26/2002 01:53 PM Jing Tao

When user request a data package, the old version documents would be exported. Only export the request one.

During the export function. Every document will be check if the user has the permission to read or not.

945 02/26/2002 08:23 AM Jing Tao

A new method named hasPermissionToExportPackage was added. So when MetaCat handle export action, it will check if user has permission to read the data package. If it has, MetaCat will export a zip output stream to it. Otherwise, MetaCat will be through a exception.

940 02/22/2002 02:50 PM Jing Tao

A public method named getZippedPackage() and other relative private methods were add to this class. The public method can give a zip output stream if a docid and other parameters were passed to it.

894 01/15/2002 08:46 AM berkley

fixed bug with ampersands in the returned relations in the resultset.

834 09/17/2001 10:01 AM Matt Jones

Fixed bug in metacat where an Exception was thrown when a search returned
an empty resultset. Now we avoid the function call that threw the exeption.

820 08/08/2001 05:07 PM bojilova

fixed an error of NullPointerException

818 08/02/2001 10:29 AM berkley

fixed error with out of cursors error because pstmts were not getting closed in DBQuery

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

790 07/06/2001 11:58 AM bojilova

added constructor in DocumentImpl for use in DBQuery.findDocuments();
this new constructor is used with getDocumentInfo() to get the doc info only;
because the other constructor builds the whole xml doc which is not needed here and time consuming;
this happens on backtracking only.

768 06/01/2001 04:12 PM bojilova

MS SQL Server stores trailing spaces in varchar fields which shouldn't be
thus added docid.trim() in the Java code

766 06/01/2001 01:26 PM bojilova

the ODBC multi-threading problem:
in DBQuery we open ResultSet in the db connection and we are trying to
open another Resultset by AccessControlList which does not work
thus open separate connection for use by AccessControlList.

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

739 05/08/2001 02:40 PM bojilova

as John were testing Metacat on postgres,
he discovered that Connection needs more precise check
whether it is open because of db timing outs.
So used to be:
if ( conn null ) { get new connection from db; }
Now changed to:
if ( conn null || conn.isClosed() ) { get new connection from db; }...

710 02/26/2001 04:42 PM berkley

added print info and timing info

706 02/23/2001 02:14 PM bojilova

included flag in DBQuery to run pathqueries with or without the index,
but for the command line only.

705 02/23/2001 10:31 AM berkley

added timing info to main

692 02/01/2001 10:56 AM bojilova

there were more mentions of DOCTITLE attr - cleared them

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.

674 01/18/2001 01:46 PM berkley

removed print statements

673 01/18/2001 12:46 PM bojilova

fixed typo

671 01/18/2001 12:27 PM berkley

fixed introduced problem with preparedStatements

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

626 12/20/2000 10:20 AM berkley

fixed sql error

624 12/20/2000 09:28 AM berkley

removed package doctype filtering from the resultset.

612 12/13/2000 02:18 PM bojilova

fixed typo

610 12/13/2000 12:53 PM berkley

commented out print statement

607 12/13/2000 11:29 AM bojilova

problems with passing the connection between objects

606 12/13/2000 11:12 AM berkley

overwrite Jivka's overwrite

605 12/13/2000 10:56 AM bojilova

problem with passing the connection between objects

604 12/13/2000 10:23 AM bojilova

problem with passing the connection between objects

603 12/13/2000 09:45 AM berkley

removed print statement

602 12/13/2000 09:41 AM berkley

fixed bug where some relations were not returned because the sql did not take into account an sql that had a directory structure in it.

570 11/28/2000 05:15 PM bojilova

AccessControlList
- methods for parsing and loading acl file
- checkup method for permission for given principal on given resource
DBQuery
- checkup for READ permission using AccessControlList.hasPermission()
DocumentImpl
- using AccessControlList object to parse and load an acl file into xml_access table...

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

541 11/15/2000 10:18 AM bojilova

fixed bug/typo

535 11/13/2000 05:04 PM Matt Jones

Modified pathquery.dtd and QuerySpecification to allow some new constraints
on queries submitted to Metacat. Now, queries can contain an optional
set of <owner> tags that identify the users for which documents should be
returned, and a list of <site> tags constraining the site identifiers...

524 11/09/2000 02:04 PM berkley

changed naming scheme

489 10/03/2000 03:48 PM berkley

added functionality to return the doctype of a relation in a relationdoctype tag. This information is now returned automatically in the resultset under the path resultset/relation/relationdoctype.

475 09/27/2000 02:37 PM berkley

removed system.out.printlns

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

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.

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

436 09/05/2000 01:50 PM berkley

Added a method called getNodeContent which retrieves the content of a node in a document. If there are more than one nodes with the same name returned, it returns an array with all of the data.

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

405 08/23/2000 03:55 PM berkley

changed the field names to be case-sensitive in the returnfields

401 08/23/2000 10:22 AM berkley

added support for the returnfield parameter
-added the dynamic parameters to the returned hash table of documents

372 08/17/2000 09:02 AM berkley

Made changes to createSQuery to allow for multiple parameters of the same name. Also changed the param list to include only "Hashtable params" without a "String doctype" since the doctype is already contained in the params.

350 08/14/2000 02:26 PM berkley

Added createSQuery() to handle structured queries of an arbitrary number of parameters. Also modified createQuery() to handle a null query in a graceful manner.

349 08/14/2000 01:53 PM Matt Jones

Added "release" keyword to all metacat source files so that the release
number will be evident in software distributions.

342 08/11/2000 11:26 AM berkley

added createSQuery

296 07/26/2000 01:40 PM higgins

no message

203 06/26/2000 03:35 AM Matt Jones

Merged in substantial changes to DBWriter and associated classes and to
the MetaCatServlet in order to accomodate the new UPDATE and DELETE
functions. The command line tools and the parameters for the
servlet have changed substantially.

185 06/21/2000 07:20 PM Matt Jones

1) Simplified database connection creation by adding new utility routine in MetaCatUtil that reads configuration information from the properties file.
2) Created MetaCatUtil.getOption() to retrieve options from properties file.
3) Unified SAX Parser creation by specifying parser driver in the properties file and dynamically loading it using the XMLReaderFactory interface....

184 06/20/2000 07:57 PM Matt Jones

cleaned up code for getting options from the properties file, made the database connection inthe MetaCatUtil class use the properties file for the conneciton info

181 06/20/2000 05:14 PM Matt Jones

integrated new structured query facility (DBQuery) into the servlet demo (MetaCatServlet)

180 06/20/2000 03:45 PM Matt Jones

removed debugging code

178 06/20/2000 03:31 PM Matt Jones

fixed QuerySpecification to produce SQL that does UNION or INTERSECT set operations for query group combinations

172 06/16/2000 04:24 PM Matt Jones

completed work on creating structured query prototype in DBQuery and QuerySpecification classes

170 06/16/2000 01:31 PM Matt Jones

continued work on structured query. Now QuerySpecification generates SQL for a given xml input, and DBQuery uses that SQL to send the query to the db

155 06/14/2000 01:54 PM Matt Jones

added incomplete classes for structured query