Project

General

Profile

Statistics
| Revision:

# Date Author Comment
2847 12/15/2005 10:01 AM sgarg

bugfixes in previous code and added functionality to store reviews on various documents...

2846 12/15/2005 09:59 AM sgarg

Added setaccess method

2845 12/14/2005 10:19 AM sgarg

code to handle null pointer exception

2836 12/12/2005 11:32 AM sgarg

Added query for indexing attribute - needed for indexing packageId

2824 12/09/2005 10:17 AM tyburczy

Unix port of transform.bat

2823 12/08/2005 04:38 PM brooke

Simple DOS batch file to transform an XML document (eg an eml doc) into HTML (or whatever) using an XSLT stylesheet

2822 12/08/2005 02:57 PM Duane Costa

Eliminate hard-coding of the knb context from the advanced search code. Advanced search servlet determines the metacat context name by reading the metacat.properties file at servlet initialization.

2821 12/08/2005 02:02 PM Matt Jones

Simple bash script to query metacat (using wget) and transform the XML
resultset into a text file using an XSLT stylesheet.

2820 12/07/2005 02:14 PM Matt Jones

This is a basic commandline client for resolving LSIDs. It is meant as
a quick and dirty testing utility. It requires the SOAP::Lite,
SOAP::MIME, and MIME::Entity CPAN modules. Run without arguments, it
uses a default LSID and endpoint to resolve. WIth the lsid and endpoint...

2819 12/07/2005 10:59 AM Matt Jones

Reformatted LSID code for consistency.

2818 12/06/2005 03:09 PM Matt Jones

Added apache commons logging to the LSID servlet using log4j. Remove println statements.

2810 12/02/2005 10:25 AM sgarg

bugfix so that getlastdocid works for postgres

2808 12/01/2005 02:08 PM sgarg

modified mod_revise so that Revision Requested is added to the document in additionalMetadata/moderatorComment which can be used by the skin in searching for documents which havnt been requested for revision

2801 12/01/2005 10:19 AM sgarg

Following changes:
1. Fixed a bug in checking of contact email address field
2. Added functions to display the result of accept, reject and revise actions
3. Added variable to control if the document creator should be the skin admin
4. a common function to check if the present user is a moderator

2800 12/01/2005 10:11 AM sgarg

Added new variables to the script which creates templates for new skins

2793 11/30/2005 11:02 AM sgarg

fix for the access control check - earlier only permission 4 and 7 were checked for read. Now the query checks for permissions 5 and 6 also

2787 11/30/2005 08:34 AM sgarg

Modified code to that isModerator param is passed to the xsl which will render the results.

2784 11/28/2005 04:50 PM sgarg

Some small bug fixes...

2783 11/28/2005 02:47 PM sgarg

New functions in the dataset registry to support moderation feature needed for ESA

2780 11/28/2005 01:09 PM sgarg

Changing the table name back to xml_index

2777 11/23/2005 12:03 PM Duane Costa

Minor change to diagnostic output.

2776 11/22/2005 05:44 PM Jing Tao

Fixed a log bug.

2773 11/22/2005 02:45 PM Duane Costa

Modify the bean's get() methods that return String values to trim white space off the string prior to returning it. This is so that input fields that contain only white space will not be treated as valid search values.

2769 11/18/2005 05:10 PM Matt Jones

New SQL tables and db upgrade scripts that define a new table stucture for identifiers and delete the previously unused accession_number table. This is in anticipation of supporting LSID identifiers. Currently these tables are unused by the servlet but are in place for discussion.

2768 11/18/2005 04:44 PM Matt Jones

Cleaned up AccessionNumber class to get rid of unused methods. It seems the entire accession_number table is no longer used but has not been deleted from the build. Will do in subsequent commit.

2767 11/18/2005 01:25 PM sgarg

1. Modified buildIndex() so that only one connection is used for both indexing nodes and indexing paths.
2. Modified the indexing algo so that indexing of paths is done while nodes are being indexed. Results in a much faster indexing algo
3. Replaced access to NodeRecord.<variable> with NodeRecord.<getVariable>

2765 11/18/2005 01:18 PM Duane Costa

Change the maximum code level reported to the site contact from "info" to "notice". This is to reduce the amount of diagnostic output generated in the email reports to the site contact. Diagnositcs of type "error", "warning", and "notice" will be sent to the site contact, while messages of type "info" and "debug" will not (but they will still be sent to the Harvester Administrator).

2764 11/18/2005 01:17 PM sgarg

Modified the way checkDocumentTable is accessed. Also removed the while loop from the checkDocumentTable. Now if the document is not found, the thread goes to sleep - instead of checking again. (In hope of a more bugfree code)

2763 11/18/2005 01:11 PM sgarg

Replaced access to NodeRecord.<variable> with NodeRecord.<getVariable>

2762 11/18/2005 01:10 PM sgarg

1. Changed teh access modifier from public to private for variables
2. Added a new variable for nodedatanumerical
3. added a new constructor

2761 11/18/2005 01:08 PM sgarg

Moved printMessage statements to inside the if loop so that they are not printed each time getInstance is called

2759 11/17/2005 01:27 PM sgarg

Using xml_path_index instead of xml_index to find documents which havnt been indexed.

2758 11/17/2005 12:37 PM sgarg

Replaced hardcoded namespaces with variable defined in metacat.properties

2753 11/17/2005 11:38 AM Matt Jones

Changed logMetacat to be a local variable in MetaCatServlet to avoid any potential threading issues.

2752 11/16/2005 05:27 PM Matt Jones

Metacat has had problems with threading issues when accessed from ecogrid. These problems may stem from the use of shared global variables within the servlet that are not protected against threading problems. We used a lot of these, which I am eliminating in this commit. Besides final variables used as constants (which are not a problem), now there are only three unprotected variables (sessionHash, logMetacat, and conn) which are harder to eliminate. I will be discussiong this with Sid tomorrow to see how to eliminate them.

2751 11/16/2005 01:07 PM Jing Tao

Fixed the bug that replicate data file failed that the documents records wouldn't be deleted.

2750 11/16/2005 01:07 PM Jing Tao

the parameter of method getRevisionTableReList is docidWithoutRev.

2749 11/16/2005 12:38 PM Jing Tao

Fixed bug that data file upload failed, record couldn't be deleted.

2741 11/16/2005 09:57 AM Duane Costa

Bug #2207: Implementation of the Metacat Advanced Search engine.

2740 11/15/2005 04:59 PM Jing Tao

Fixed a bug in log

2739 11/12/2005 06:15 PM Jing Tao

Fixed log bug when xml_revision updated failed.

2738 11/11/2005 12:15 PM Matt Jones

Removed extra package declaration in LSID java file.

2737 11/11/2005 12:09 PM Matt Jones

Initial checkin of LSID support code for metacat. The LSID support here
provides access to metacat documents through an LSID identifier. The
identifier takes the form:
urn:lsid:ecoinformatics.org:jones:1:1

See http://lsid.sourceforge.net for more details....

2734 11/11/2005 10:01 AM sgarg

Changes in calls made to IndexingQueue class

2733 11/11/2005 10:00 AM sgarg

A version with less number of bugs.

2732 11/10/2005 02:13 PM sgarg

New code for run an indexing queue and indexing thread which runs every 24 hours

2731 11/10/2005 01:40 PM sgarg

Removed the call to indexing function in DBSAXHandler and added a call to indexing function IndexingQueue

2730 11/10/2005 01:38 PM sgarg

removed the indexing code from DBSAXHandler

2729 11/10/2005 01:34 PM sgarg

1. Added code to start the indexing thread.
2. Fixed a bug in the query on xml_nodes and xml_index
3. Added more debug statements
4. Fixed a bug in code which determines namespace

2728 11/10/2005 01:22 PM sgarg

New function which returns the formatted left join query. This is required as Oracle and postgres have different left join syntax

2726 11/09/2005 11:20 AM harris

Removed all hard links, and put the jsp page in the same context as the geoserver.

2725 11/08/2005 06:53 PM Jing Tao

Add more debug info.

2724 11/08/2005 02:14 PM Jing Tao

Using join query for more efficiency.

2723 11/08/2005 02:03 PM Jing Tao

Add class as parent class add method.

2722 11/08/2005 02:02 PM Jing Tao

Add method as parent class adding method.

2721 11/08/2005 02:02 PM Jing Tao

Add method as parent class adding a method.

2720 11/08/2005 02:01 PM Jing Tao

Add a method to get doc list query.

2719 11/08/2005 10:21 AM Jing Tao

Fixed bug to get docid list.

2717 11/02/2005 03:52 PM Jing Tao

Add more info transfer.

2716 11/02/2005 11:07 AM sgarg

Modified the WARNing message

2715 11/02/2005 10:31 AM sgarg

Fix for bug in the previous commit

2714 11/02/2005 10:16 AM sgarg

Modified the debug levels of debug statements

2713 11/01/2005 05:01 PM Jing Tao

Add code to handle replication document in xml_document table.

2712 11/01/2005 02:19 PM sgarg

Modification in algo:

1. Find if the root element has prefix (e.g. <eml:eml>). If found, go to step
2, otheriwse go to step 3.

2. Look for xmlns:prefix element to find the ns
(e.g.:xmlns:eml="eml://ecoinformatics.org/eml-2.0.0")
2.a If not found go to step 4...

2711 11/01/2005 02:09 PM sgarg

Bugfix for 2091. Removed the function needValidation(). Added function getPrefix which returns the prefix. And use the following steps to find out the namespace

1. Find if the root element has prefix (e.g. <eml:eml>). If found, go to step
2, otheriwse go to step 3....

2710 11/01/2005 11:31 AM sgarg

Faster script for upgrading oracle database

2703 10/31/2005 05:24 PM Jing Tao

Add code to handle catalog is null when inserting xml_revisions table.

2702 10/31/2005 04:19 PM Jing Tao

Add code to handle write record into xml_documents when catalog id is null.

2701 10/31/2005 12:56 PM sgarg

Bugfix to the code which sets parentnodeid in xml_path_index. (Use setInt instead of setFloat)

2700 10/31/2005 11:40 AM harris

Added some documentation and did a little cleanup.

2699 10/31/2005 09:26 AM harris

Continued work -- now the user can get info on all layers servered by the wms, including the metacat docs.

2698 10/27/2005 04:46 PM sgarg

Removed sql syntax not acceptable by Oracle.

2697 10/27/2005 04:15 PM sgarg

Changed the filter and ldapbase values in getUserInfo so that it works for both NCEAS and LTER ldap

2693 10/26/2005 09:44 AM sgarg

Bug fix in the changes made in previous commit

2690 10/24/2005 05:11 PM sgarg

Added warning to be displayed in the log when document is not inserted.

2688 10/24/2005 03:06 PM harris

Interim checkin -- getting the postgis database setup

2684 10/20/2005 11:42 AM sgarg

Modified the login method in the perl metacat client so that status of the user logging is also returned
Earlier if login info was not valid, 0 was returned. And 1 is sent back if login info was valid.

Now, if valid then following values are returned to indicate user status...

2683 10/20/2005 11:39 AM sgarg

Added support in the metacat client for the new function added to MetaCatServlet

2682 10/20/2005 11:38 AM sgarg

Added a new action - getloggedinuserinfo - which returns information about the user in the following format.

<user>
<username>uid=sgarg,o=NCEAS,dc=ecoinformatics,dc=org</username>
<name>Saurabh Garg</name>
<isAdministrator/>
<isMOderator/>
</user>

2681 10/20/2005 11:34 AM sgarg

Removed code entered in previous commit as it is no longer needed

2680 10/20/2005 11:32 AM sgarg

Also in the previous commit, the successful message changed. Now in addtion to the sessionid tag, the following tags also included: <name>[name of the user]</name>, <isModerator> (if is moderator) and <isAdministrator> (if is Administrator)

2679 10/20/2005 11:26 AM sgarg

Added a new function - getUserInfo to AuthInterface and AuthLdap
The function returns a string array for a given username. the array contains the name, organization name and email address of the user. In case of ldap, it is cn, o and mail attributes for ldapbase=username...

2678 10/18/2005 01:48 PM harris

Got the metacat datapackage selection (single point) working.

2677 10/17/2005 11:15 AM sgarg

Fixed a bug in QueryGroup which prevented QueryGroup from appending itself to the sql query when no queryTerm is present.

2676 10/14/2005 07:57 AM harris

Further work -- added additional layers, added the ability to query AOI. Almost have the js parseing the
correct metacat url, and sme style changes.

2675 10/13/2005 03:44 PM Matt Jones

Removed unused subroutines that were for testing.

2674 10/13/2005 03:43 PM Matt Jones

Adding the control-services.pl utility for failover montitoring. From
the README:

This program is designed to run as a script under the Hobbit system
monitoring program (http://hobbitmon.sourceforge.net/). When Hobbit is
configured properly, this script will be called to make changes to the...

2673 10/12/2005 08:47 PM harris

Remove debugging.

2672 10/12/2005 01:30 PM harris

Added some more layers

2671 10/12/2005 11:36 AM harris

Fixed the mapbuilder getfeatureinfo function and modified the config. Now the metacat url addresses are available from the rendering.

2670 10/12/2005 09:32 AM harris

The index page for the mapbuilder rendering -- running off the geoserver
wms/wfs server.

2669 10/12/2005 09:31 AM harris

These are the config files for the mapbuilder rendering app that connects to
geoserver to access the metacat spatial data. The display works but the ability
to get the url to the metacat document is not yet working. This code was
written against the mapbuilder 0.2.0.xx and it is recommended that it be run...

2668 10/10/2005 12:27 PM sgarg

Changes in log levels of some commands mentioned in the previos commit.

2666 10/10/2005 11:25 AM sgarg

Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call

2665 10/10/2005 11:22 AM sgarg

Commited the wrong MetaCatUtil.java file last time. Making the changes again.

1. Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
2. Commented out debugMessage()
3. Removed getLog() and earlier old log4j code...
2664 10/10/2005 11:20 AM sgarg

1. Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
2. Commented out debugMessage()
3. Removed getLog() and earlier old log4j code
4. Removed formattedDebugMessage

2663 10/10/2005 11:06 AM sgarg

Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call

2662 10/08/2005 06:47 PM Jing Tao

Add a new sql file to alter control file which from knb backup for new file location

2661 10/08/2005 06:45 PM Jing Tao

Copy the code to generate xml_path_index from xmltables.sql. xmltables.sql is working, so it may fix the bug.

2658 10/06/2005 11:37 AM sgarg

if moderator is logged into metacat and no option for enable-editing is specified then enable editing by default