| Revision:

metacat @ 522

# Date Author Comment
522 11/09/2000 01:41 PM berkley

changed naming scheme

521 11/09/2000 01:23 PM berkley

servlet to handle metacat replication requests.

520 11/09/2000 01:21 PM berkley

a timer based thread that does Delta-T replication checking.

519 11/09/2000 01:21 PM berkley

a parser to handle replication xml messages

518 11/08/2000 03:06 PM bojilova

change for using the db connection

517 11/08/2000 10:18 AM berkley

updated xml_relation table

516 11/07/2000 10:09 PM Matt Jones

Changed target of the javadoc builds to the build/docs/apiDocs directory
so that we no loger version track the javadoc html files -- they changes
too much between each of the times we would generate them. Also, removed
the old javadoc documentation that was found in the "docs" subdirectory.

515 11/07/2000 08:22 PM Matt Jones

Updated the Javadoc documentation so that the current release can be provided
on the web site.

514 11/06/2000 05:21 PM Matt Jones

Fixed problem with AuthInterface, AuthLdap, and AuthMcat where the
sigantures of the methods of these classes were not in agreement, which was
causing AuthLdap to no longer compile. Changed parameter signatures so that
the 'user' parameter is used consistently in all of the methods.

513 11/06/2000 10:38 AM bojilova

bug fix about util.openDBConnection() for xmlIndex tread

512 11/03/2000 12:02 PM bojilova

small fix for exception when srbMaster is not running

511 11/03/2000 11:12 AM bojilova

not needed

510 11/03/2000 09:38 AM bojilova

XSLT transformation on "login" and "logout" action

509 10/31/2000 03:26 PM bojilova

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

508 10/31/2000 02:29 PM bojilova

added "qformat=html" form parameter for "login" and "logout" actions

507 10/31/2000 02:14 PM bojilova

changed action's value:
"Login" to "login"
"Logout" to "logout"

506 10/30/2000 05:12 PM Matt Jones

Modified stylesheets to use the default.css file from the new KNB web site.
Also, provided a new resultset.xsl that represents a simple freetext query
of the KNB data repository. Updated build.xml to relect the location of the
new css stylesheet.

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.

504 10/26/2000 02:38 PM Matt Jones

Fixed the LDAP authentication adapter ( so that it now looks up
the distinguished name for a user before attempting to do authentication.
This is because the user's distinguished name can sometimes be based on
their uid attribute, but sometimes be based on their cn (common name)...

503 10/24/2000 01:03 PM bojilova

merge AUTH_LDAP to the main branch

502 10/24/2000 09:07 AM bojilova

clear System.exit(0) within the static block

500 10/09/2000 02:58 PM Matt Jones

Fixed typo in stylesheet.

499 10/09/2000 12:33 PM Matt Jones

More user interface changes to the HTML MARINE interface. Minor
rearrangement of columns, some link changes.

498 10/06/2000 06:40 PM Matt Jones

Replaced imagemap with anchor links in the web interface to simplify the
rearrangement of the interface. This new feature uses javascript to
submit the form when the link is clicked.

497 10/05/2000 06:50 PM Matt Jones

Various changes to improve consistency of the MARINE and METACAT user
interfaces as presented through the XSL->HTML conversions. Eliminated
one (extraneous) copy of the rowcol.css style sheet in favor of sharing
a single css stylesheet in xmltodb/lib/style/rowcol.css. Modified all...

491 10/03/2000 04:28 PM bojilova

Included script for insert of all eml dtds.

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.

488 10/03/2000 03:47 PM berkley

added ability to enterpret relationdoctype tag.

487 10/03/2000 02:26 PM berkley

added new linkage to the title in the table

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.

482 10/03/2000 08:05 AM berkley

made package changes

481 10/02/2000 10:56 AM bojilova

- cleared copyfile of since it is no longer in use
- added copyfile of from xmltodb/lib to the servlet classpath
same like

480 10/02/2000 10:32 AM bojilova

moved it from src/edu/ucsb/nceas/metacat dir to here

478 09/29/2000 03:37 PM berkley

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

477 09/29/2000 01:52 PM berkley

changed the look of relations

476 09/28/2000 11:05 AM bojilova

Changed to prevent the insertion if the provided Accession# is in use as Dan suggested.

475 09/27/2000 02:37 PM berkley

removed system.out.printlns

474 09/27/2000 01:12 PM berkley

added a "server" parameter which tells the system the path to the server on which metacat is running. This is used for metacat:// urls.

473 09/27/2000 01:11 PM berkley

added support for urls of the form "metacat://"

472 09/27/2000 01:10 PM berkley

added package and resource data and structures

471 09/26/2000 04:02 PM bojilova

Separate thread used for writing into xml_index table.
This cut the time of the response on insert almost in half.
The tread is started afterwards
(on end of document parsing and inserting into xml_nodes) from
DBSAXHandler and uses new(separate) db connection....

470 09/26/2000 03:09 PM berkley

added new fields

469 09/26/2000 03:09 PM berkley

added support for returndoc handling.

468 09/26/2000 03:08 PM berkley

added a packagedoctype parameter so that the servlet knows what kind of doctype a package

467 09/26/2000 03:08 PM berkley

updated for returndoc field

466 09/26/2000 03:07 PM berkley

This class syncronously indexes any package file that is loaded into the database.r

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

464 09/26/2000 01:03 PM bojilova

included new method getPoolSize()

463 09/20/2000 02:50 PM berkley

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

462 09/20/2000 01:25 PM bojilova

fix the small bug with output like:
Fatal processing error

on hadleInsertOrUpdateAction()

461 09/20/2000 01:22 PM bojilova

writeDocID() not needed any more
throw SAXException from everywhere

460 09/20/2000 01:21 PM bojilova

on character(cbuf, start, len) included:
if currentNode.getTagName().equals("title")
instead of using:
currentDocument.setTitleFromChildElement() in endDocument() call

459 09/20/2000 01:15 PM bojilova

change Assession# generation to use the same db connection

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.

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.

456 09/15/2000 03:16 PM berkley

updated this style sheet to display only resource documents and their related files. Also added hidden input params to the images on the left so that the related document info is sent back to the servlet when documentation or an abstract is requested.

455 09/15/2000 12:53 PM berkley

this stylesheet now processes relation information.

454 09/15/2000 12:53 PM berkley

This allows for the easy handling of metacat:// urls. The documentation in the source code explains the specification for the url in detail.

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

452 09/14/2000 12:33 PM bojilova

store generated Access# in meta_file_id tag if there are any

451 09/13/2000 03:03 PM bojilova

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

450 09/13/2000 01:59 PM berkley

added parentnodeid to xml_index table

449 09/13/2000 01:57 PM berkley

added parentnodeid to xml_index

447 09/13/2000 01:09 PM bojilova

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

446 09/13/2000 01:07 PM bojilova

fix for "public" authentication

445 09/12/2000 01:38 PM bojilova

xml_documents.public_access modified to be
ie all documents to have public access by default

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

440 09/11/2000 01:36 PM bojilova

3 indexes added on:
xml_nodes (rootnodeid)
xml_nodes (parentnodeid)
xml_documents (docid, doctype)

439 09/06/2000 09:34 AM berkley

sql file defining the table structure for eml-package data.

438 09/05/2000 02:01 PM berkley

added documentation and cleaned up the markup.

437 09/05/2000 01:51 PM berkley

added support for getabstract action

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.

435 09/05/2000 01:49 PM berkley

Added support for viewabstract

434 09/05/2000 08:46 AM berkley

added resource.xsl to the catalog

433 09/05/2000 08:45 AM berkley

no message

432 09/05/2000 08:43 AM berkley

style sheet for resource documents

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.

430 09/01/2000 05:24 PM Matt Jones

Updated the test.xml file to use more XML features for testing insert,
update, and read functions of DocumentImpl. Now the document contains
comments and processing instructions.

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()

426 08/31/2000 05:08 PM bojilova

get rid of the FK in xml_acess table that points to xm_documents.docid
since xml_access.docid(s) point to current and revised documents
(ie xml_documents.docid and xml_revisions.docid)

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

424 08/31/2000 02:43 PM berkley

this file is no longer used.

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

422 08/31/2000 02:18 PM berkley

changed xslf for new resultfield scheme

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.

420 08/29/2000 01:58 PM berkley

changed paths in returnfield parameters

419 08/29/2000 11:01 AM berkley

added alt tags

418 08/29/2000 11:01 AM berkley

added alt tag

417 08/29/2000 11:00 AM berkley

new graphics and their adobe illustrator vector files

416 08/29/2000 10:58 AM berkley

changed colors and layout

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

Minor update to remove unneeded constructor in DocumentImpl class.

414 08/28/2000 11:38 AM bojilova

new table xml_access and new attrs to xml_documents for ACL

413 08/25/2000 04:18 PM bojilova

for getDoctypes() added
WHERE entry_type='DTD' condition in the select statement