Project

General

Profile

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

# Date Author Comment
754 05/24/2001 11:21 AM bojilova

change the call from getDateFunction() to getDateTimeFunction()

752 05/24/2001 10:21 AM bojilova

change the call from getDateString() to getDateFunction()

747 05/23/2001 03:19 PM bojilova

- changed to use the DBAdapter uniform interface for all apperance of "sysdate"
and uniqueid generation from sequence
MetaCatUtil:
- reads from metacat.properties the dbadapter class implemented the interface
and creates an instance of that class (in static public variable named dbAdapter) for use....

742 05/16/2001 09:45 AM bojilova

fix in the return of the last revisionid on UPDATE instead of the previous one

734 05/03/2001 05:12 PM bojilova

- changes to expect revisionid to come from the client on INSERT/UPDATE/DELETE;
now the client should send accession# as:
sitecode.uniqueid.revisionid
INSERT checks if sitecode.uniqueid part does not exist in xml_documents and xml_revisions and revisionid=1...

697 02/07/2001 02:07 PM bojilova

- fixed missing replication of public_access
- new attribute catalog_id added in xml_documents and xml_revisions
as a FK to xml_catalog; catalog_id is replicated also

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

692 02/01/2001 10:56 AM bojilova

there were more mentions of DOCTITLE attr - cleared them

691 01/31/2001 10:50 AM bojilova

cleared DOCTITLE attribute in xml_documents and xml_revisions
cleared all mentions of doctitle

688 01/31/2001 10:05 AM bojilova

added new "getaccesscontrol" action for a given docid

686 01/26/2001 09:37 AM berkley

fixed white space problem in toXML that was preventing in line end tags from being popped from the stack.

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.

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

660 01/12/2001 09:55 AM bojilova

- turned on the validation in order only valid xml docs comformed to the specified dtd (if any) to be submitted in metacat
- with validation "on" white spaces are reported from ignorableWhitespace() callback, not from characters() (as with validation "off")...

645 01/08/2001 05:11 PM bojilova

- appling acl through access files only
- clearing around update/delete of access files - to delete the related records from both xml_access and xml_relation tables
- included check for user permissions for setting acl on the resources in the access file
- moved RelationHandler.deleteRelations(docid) down in RelationHandler obj just before the write of the new relations

638 01/04/2001 05:12 PM bojilova

included support for submition of access files
+ storing the acl info in xml_access table and relationship records in xml_relation table like
<aclfile, "isaclfilefor", recourceIdentifier> for every resource included in the access file

634 01/03/2001 09:41 AM berkley

updating a package file now updates the relations that are created from it. Also, if you delete a package file, it will delete the relations associated with it.

628 12/20/2000 01:25 PM berkley

added revision support to the delete function

625 12/20/2000 09:38 AM berkley

cleaned up code

622 12/19/2000 01:46 PM berkley

changed accession number schema to <sitecode>.<serialnumber>.<revisionnumber>. DocumentIdentifier.java parses docids into parts for easy manipulation. You can now specifiy a specific revision by asking for document <sitecode>.<serialnumber>.<revisionnumber> or you can get the newest revision by asking for <sitecode>.<serialnumber> or by asking for <sitecode>.<serialnumber>.newest.

600 12/12/2000 01:36 PM bojilova

one more write() method was needed

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

590 12/07/2000 03:11 PM berkley

added replication for the xml_catalog table. Right now it is only replicated when the deltaT handler is called. I will add more replication times later.

584 12/06/2000 01:26 PM berkley

added a logging system for replication. The log file location is set in metacat.properties

582 12/06/2000 09:59 AM berkley

made replication on insert or update us. Also made a method in AccessionNumber public so that you can tell if an accession number has already been used.e place be

580 12/05/2000 02:50 PM berkley

updated file locking mechanisms to use revisions instead of dates.

577 12/01/2000 03:27 PM berkley

added replication_on_insert handling. Changed replication from date_updated base replication to revision number replication.

575 11/30/2000 01:32 PM berkley

added revision number tracking support to xml_documents and xml_revisions. Also added an updated flag as a replacement for date based replication handling.

574 11/30/2000 11:43 AM berkley

replication on insert functionality is now working.

573 11/29/2000 03:18 PM berkley

added more replication/file locking functionality.

572 11/29/2000 09:15 AM berkley

added more locking support and support for remote update of files.

571 11/29/2000 09:07 AM berkley

added more locking functionality for replication

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

569 11/28/2000 10:16 AM berkley

cleaned up code, added new static methods to MetacatReplication for handling static queries and getting URL content.

567 11/28/2000 08:27 AM berkley

created locking action in replication servlet and added semi-support to documentImpl to handle documents updatedee by replicatio

561 11/22/2000 02:55 PM berkley

added functionality to allow the replication servlet to assertain and insert user and group info into the local database. started implementation of insert replication handler (it is commented out in this commit)

559 11/22/2000 09:39 AM berkley

fixed compatibility problem by overloading the write method. Jivka's new parameter (Reader acl) is now defaulted to null if it is not explicitly declared.

555 11/21/2000 10:04 AM bojilova

new class for parsing ACL XML file and loading acl data into metacat db

552 11/17/2000 02:34 PM berkley

added support for server_location in the xml_revisions table.

549 11/16/2000 03:26 PM berkley

removed dependence on a server code in the accession number of each document. the file's resident server is now located in xml_documents.server_location.

541 11/15/2000 10:18 AM bojilova

fixed bug/typo

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

463 09/20/2000 02:50 PM berkley

added extra timing information to the main() driver method.

459 09/20/2000 01:15 PM bojilova

change Assession# generation to use the same db connection

457 09/15/2000 05:40 PM bojilova

changes related to decrease the time of INSERT of document.
With these changes I inserted 200KB file for 3 minutes, 50KB for 50sec.
This is mainly simplifing the DBSAXNode class and
using batching feature of Oracle JDBC driver.

451 09/13/2000 03:03 PM bojilova

fix bug in toXML() about getting output of XML document like:
<paragraph

447 09/13/2000 01:09 PM bojilova

fix for "Document not found" err message on "getdocument" action

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

429 09/01/2000 05:14 PM Matt Jones

Fixed document reading bug (bugzilla bug #111) so that reading documents
is no longer a power function of the number of nodes in the document
(which used to be the case). Now, reading a document occurs entirely
within DocumentImpl, by making a single SQL call to get the document data,...

428 09/01/2000 01:47 PM bojilova

change the 2 executions in archiveDocRevision()
with 1 statement:
"insert into xml_revisions
select ... from xml_documents where docid = ..."

427 09/01/2000 12:04 PM bojilova

small changes on hasWritePermission()

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

421 08/30/2000 11:19 AM bojilova

cleared static methods in AccessionNumber classes for fixing bug found
when multiple requests to the servlet at a time.

415 08/28/2000 01:28 PM Matt Jones

Minor update to remove unneeded constructor in DocumentImpl class.

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

396 08/22/2000 11:56 PM Matt Jones

Folded the functionality from DBSAXDocument into the DocumentImpl class.
Now DocumentImpl handles both the reads and the writes to the database.
Eventually, it will implment the full DOM Document interface. Eliminated
the DBSAXDocument.java file as it is no longer relevant....

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