Project

General

Profile

Statistics
| Revision:

# Date Author Comment
3142 01/11/2007 09:59 AM berkley

finally got the getallids function working

3141 01/09/2007 06:22 PM berkley

added functionality to get a list of ids used in the system

3140 01/09/2007 11:38 AM berkley

added getalldocids function to get all docids that match a certain scope.

3120 12/13/2006 04:38 PM perry

Added preliminary support for multiple spatial schemas in the same metacat instance .. bug 2551

3118 12/11/2006 07:07 PM perry

Initial architecture for dynamically generating SLD/OGC:Filter documents to control which docids get shown on the map. The sldfactory servlet is in place to handle this but is not fully functional since there is currently no way to quickly and dynamically generate a list of allowable docids with a level of performance acceptable for real-time web mapping.

3104 11/29/2006 05:40 PM perry

Merged the spatial web.xml.combined into the default web.xml.tomcat5

3099 11/23/2006 12:32 AM Matt Jones

Updated MetaCatServlet so that it supports a web-based interface for configuring its own properties the first time it is run (determined by the property "configured" being set to false). Which properties are exposed in the web interface is determined by the list of properties in the 'metacat.properties.metadata' file. This file is managed by the new OptionsMetadata class in the utilities module, and provides information that allows metacat to build a human-readable configuration page for the properties. Still need to finish filling out the information in metacat.properties.metadata for the rest of the properties that we want to be editable. This autoconfiguration process is the first step towards building a turnkey installer for metacat....

3098 11/20/2006 06:11 PM perry

Ensure that spatial operations are only triggered when runSpatialOption is set to true.

3083 11/12/2006 01:55 AM Matt Jones

Modified the configuration classes to allow configuration through the web interface of all of the properties set in the metacat.properties file. The layout of this form still needs work, in particular because java.util.Properties does not maintain any order for the properties, nor does it allow for metadata about each property to be set and saved in the file. We can probably overcome this by creating a shadow file that lists all of the options and their metadata (such as grouping, controlled values, etc).

3082 11/11/2006 03:48 AM Matt Jones

Renamed method.

3081 11/11/2006 03:45 AM Matt Jones

Began work on a web interface for configuring metacat at runtime. This system
checks the 'configured' property when metacat starts up. If configured=false, then
it loads an HTML form containing the properties that need to be set. The user configures the properties and they are written into the metacat.properties file. Then metacat needs to be restarted. ...

3079 11/10/2006 10:54 AM Matt Jones

Eliminated unneeded log information in source code file.

3078 11/10/2006 10:51 AM Matt Jones

Eliminated the MetacatUtil.printMessage() method in favor of using the Log4J debugging methods.

3077 11/10/2006 10:25 AM Matt Jones

Removed the release ant token from all files in 'src'.

3076 11/09/2006 11:22 PM Matt Jones

Changed the filename that is used when data files are downloaded and when XML files are downloaded in XML format. Now, data files use the format "docid-docname". See bug #2566.

3073 11/09/2006 03:49 PM perry

Only run spatial cache regeneration once. Plus some fixes to spatial_query action api.

3070 10/26/2006 05:13 PM perry

Changed float object handling in spatial components in order to compile on jdk 1.4.2

3069 10/25/2006 06:32 PM perry

Ensure that spatial cache respects changed access constraints for updated documents

3068 10/25/2006 06:29 PM perry

Ensure that spatial cache respects changed access constraints for updated documents

3057 10/05/2006 04:47 PM perry

Correctly cache doc title in the spatial cache

3055 10/04/2006 02:44 PM perry

fix to docid overrides to handle an empty result set

3054 09/28/2006 02:21 PM perry

Fixed geometry logic to swap north and south if n < s

3053 09/28/2006 01:13 AM Matt Jones

Reverting to previous QueryTerm.java that uses 'LIKE' for comparisons. This
allows substring matching to work properly, but prevents the postgres index
from being used. As a result, full table scans are done on the tables, causing
a major performance hit. Need to determine how to eliminate the use of LIKE...

3052 09/27/2006 04:21 PM Matt Jones

Modifications to the table definitions to add indices that should be used
when searching the database. Added an upgrade script to create these
indices as well. Modified QueryTerm.java to use the '=' comparator rather
than 'LIKE' so that we can do index scans rather than table scans. This needs...

3051 09/18/2006 04:47 PM perry

fixed point centroid calculation to reflect bboxs that cross the dateline

3050 09/18/2006 04:45 PM perry

fixed point centroid calculation to reflect bboxs that cross the dateline

3048 09/18/2006 12:07 PM perry

Make spatial query more accurate by actually intersecting geometries in addition to a simple bbox filter. Important for testing intersection of irregular shaped objects or multi-geometries

3047 09/18/2006 11:21 AM perry

Added docid override mechanism to DBQuery. Bypasses the queryspec.printSQL method and creates an optimized docid query in cases (like the spatial query) where you know the docids a priori

3045 09/13/2006 04:46 PM perry

Updated spatial query to also look at point spatial cache as some documents may only be represented as a single point.

3044 09/13/2006 04:10 PM perry

Rewrote spatial query handler to use geotools directly against the spatial cache.

3043 09/13/2006 12:24 PM perry

Allow only public readable docs in the spatial cache

3040 09/11/2006 02:22 PM perry

Added javadoc comments for all new spatial classes. Optimized the title query in SpatialDocument.

3039 09/11/2006 12:58 PM perry

Removed old spatial classes

3037 09/07/2006 07:10 PM perry

Fixed polygon generator for cases where bbox crosses the dateline or the poles

3035 08/31/2006 04:54 PM perry

refactory java classes for spatial harvester

3034 08/31/2006 04:37 PM perry

initial import of changes to metacat source and config files to support spatial option

3028 07/31/2006 02:50 PM perry

Fixed parameter order for call to createSpatialQuery and fixed bounding box intersection logic.

3024 07/19/2006 03:00 PM sgarg

added exception handler for normalize function. if StringIndexOutOfBoundsException is thrown then it is reported and nodedata value is forwarded without normalization.

3023 07/19/2006 08:56 AM sgarg

Cleaned up the code with proper debug statements..

3022 07/17/2006 11:23 AM sgarg

Replaced getIdentifyingName and ldapAuthenticate with new code. ldapAuthenticate will first try to form a secure connection. If the secure connection fails then based on the value specified
in metacat.properties, an insecure connection will be made. authenticate() function first tries to connect using the dn specified with the default ldap base and url. in case that fails,...

3011 06/14/2006 08:44 AM Duane Costa

Add qformat parameter in call to executeAdvancedSearch() method.

Refactor code to get the relative paths of the resultset XSL and search results JSP from the MetacatHelper class rather than hard-coded.

3010 06/14/2006 08:42 AM Duane Costa

Change relative path to the login page.

3009 06/14/2006 08:41 AM Duane Costa

Add new methods getResultsetXSL and getResultsJSP.

3008 06/14/2006 08:35 AM Duane Costa

Add qformat parameter to runQuery() and executeAdvancedSearch() methods.

Omit unused StringTokenizer objects.

3007 06/14/2006 08:32 AM Duane Costa

Add qformat parameter to resultsetToHTML() method. Set the qformat paramater in the transformer if it is specified.

3006 06/14/2006 08:31 AM Duane Costa

Add serialVersionUID class variable to eliminate Eclipse warnings.

3004 06/09/2006 01:09 PM sgarg

Allow admin to update any document

3003 06/08/2006 11:09 AM sgarg

check for nullpointerexception

3002 06/07/2006 04:11 PM sgarg

Fix for a bug in MetacatServlet. Metacat assumed that it is supposed to get the schema information from the second line of the document. This is based
on the assumption that xml decleration will always be present. This is good practice but not required. Hence the fix -> Metacat should ignore the...

2997 05/08/2006 01:46 PM sgarg

Fix for bug# 2371

2996 05/08/2006 01:09 PM sgarg

Modified code so that database is queried just once when a document is read. Currently the read is being done in the constructor and then again in
the function.

2995 05/01/2006 11:20 AM Duane Costa

Two changes to Metacat Harvester implementation:

(1) Removed call to deprecated Thread.stop() method. Added boolean class variable, Harvester.keepRunning. When the thread is destroyed, set Harvester.keepRunning to false.

(2) Access the harvestList.xsd schema file by finding it locally in the web application rather than via a URL to cvs.ecoinformatics.org.

2992 04/19/2006 09:17 AM berkley

fixed bugs in teh client that were preventing the lsid service from working right

2990 04/18/2006 02:08 PM berkley

modified the client so it will work consistently with the web service

2989 04/17/2006 02:59 PM berkley

updated the client so it throws a DocumentNotFoundException if you attempt to read a docuemnt that doesn't exist

2986 04/14/2006 04:39 PM Matt Jones

Missed a period.

2985 04/14/2006 04:37 PM Matt Jones

Patch to make the getLastDocid function actually work on the text node.

2984 04/14/2006 03:51 PM Matt Jones

Patch for making getlastdocid work when the identifier is a large number
greater than can be encompassed by an int. Now it uses a long to
represent the number, which doesn't solve the problem but probably does
make it work for the vast majority of cases.

2981 04/14/2006 02:08 PM Matt Jones

Added new function getLastDocid to the metacat client so that it is
accessible to clients that need it.

2970 03/24/2006 10:16 AM sgarg

Changes in the spatial query. The spatial query can be generated on the client side in form of an squery rather than specifically creating one on the server side.
Commented out the code which creates spatial query based on the coordinates sent to Metacat. Instead of that, a temporary method was added which creates the squery...

2948 03/03/2006 11:47 AM sgarg

iModified code -- the booleans werent really getting tested :(

2946 03/03/2006 11:36 AM sgarg

iModified the switch to turn/off the spatial searching.:wq

2945 03/02/2006 07:32 PM harris

Fixed a bug in the query system.

2938 03/01/2006 01:20 PM harris

Some style changes and small changes to the spatial querying system.

2935 02/27/2006 04:39 PM harris

Fixed the way the text query was written.

2926 02/27/2006 08:49 AM harris

interim checkin.

2924 02/24/2006 11:35 PM Matt Jones

Initial support for displaying FGDC metadata documents in metacat.
Added new returndoctype and returnfields to all query forms in the knp
skin to allow FGDC documents to display in the resultsets. Need to add
these to the other skins as well, and to clean up the FGDC stylesheet to...

2922 02/24/2006 06:15 PM Matt Jones

Patched to fix regression bug that prevented insertion of documents
without a DOCTYPE or namespace declaration due to an
ArrayOutOfBoundsException. Now these documents can be inserted, which
is useful for inserting FGDC documents that frequently do not have a...

2919 02/24/2006 04:55 PM harris

Modified the way the results page is displayed.

2918 02/24/2006 02:11 PM sgarg

Fix in getNamespace function. Bug reported by Margaret in testing for cases where no namespace is specified.

2916 02/24/2006 01:16 PM Matt Jones

This is a utility class for generating a pathquery document from an array of docids that one wants to query for. Its hacked together in that the default query parameters are all hardcoded into the class, which is obviously wrong. Need to figure out where those default params should be derived from.

2915 02/23/2006 11:16 AM harris

Integration of new shapefile writers (r. reeves code) with MSO.

2913 02/22/2006 10:22 AM harris

Continued integration of the spataial stuff with the metacat servlet.

2912 02/20/2006 07:41 PM harris

Integration of the metacat servlet with the spatial option -- rubberbanding is implemented too.

2910 02/19/2006 09:11 PM harris

Implementation of the rubber-bad query that PMARK has implemented through the UI.

2909 02/16/2006 01:41 PM harris

metacat spatial option code -- code that produces layers depending on the
metacat transaction.

2904 01/25/2006 04:42 PM harris

Got rid of some debugging.

2902 01/20/2006 12:26 PM sgarg

bugfixes to teh previous commit... cleaner exit for the indexing thread

2901 01/20/2006 09:58 AM sgarg

Added a flag for indexing threads so that they exit once Metacat has unloaded.

2897 01/20/2006 08:34 AM sgarg

Added checks for null pointers and changed the name of the config file

2896 01/20/2006 08:21 AM sgarg

Using java.util.Property instead of Options. Options is a singleton class. Hence it cant be used for reading skin property files without changing it into a non-singleton class

2893 01/19/2006 02:35 PM sgarg

Making changes for passing the params to the xsl for skins.

2892 01/19/2006 12:06 PM Duane Costa

Remove CR characters from end of line. Formatting changes only, no functional changes.

2891 01/12/2006 11:50 AM harris

Modified the lsid code to lookup document type-appropriate stylesheets from
the lsid prooperties file.

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

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.

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

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.

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.

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)