Project

General

Profile

Statistics
| Revision:

# Date Author Comment
3316 07/25/2007 03:10 PM barteau

Refactored almost all of the JSP API methods and fields to a new package (edu.ucsb.nceas.metacat.clientview).

3313 07/24/2007 04:58 PM Jing Tao

Revised the access query part.

3312 07/24/2007 11:35 AM Jing Tao

Remove the subtree constrain in access query

3311 07/20/2007 05:11 PM Jing Tao

Add new variable indicate if this query term in a union group.

3310 07/13/2007 05:32 PM Jing Tao

Remove an method

3309 07/13/2007 05:31 PM Jing Tao

Change some log.

3308 07/12/2007 04:56 PM Jing Tao

Merge the getting return fields for both elements and attributes.

3307 07/10/2007 04:44 PM Jing Tao

Get rid of back tracing part

3305 06/22/2007 02:53 PM barteau

Fixed bug: successfully removes related sub Doc ID's from metadata.
New functionality:
1) Updates field in FGDC metadata Doc ID with new version of Doc ID, and
2) Recurses sub-documents for deletion, when deleting an FGDC metadata Doc ID (deletes entire package).

3304 06/21/2007 04:13 PM Jing Tao

Add debug in query method.

3300 06/18/2007 05:11 PM barteau

Several newly developed methods providing a JSP API into metacat. Most of the new methods were developed to support FGDC metadata.
Some of the other new methods merely provide convenience to the JSP code. New methods include:
nextVersion, getFGDCdistinfo, addDistInfoToFGDC, vectorToHtmlSelect, mapToHtmlSelect, htmlInput, getSessValue, setSessValue, query, getSelectQueryMap,...

3289 05/18/2007 05:34 PM barteau

Modified method "doMetadataUpload". Improved file type parsing. Also changed call to "upload", to send Integer.MAX_VALUE as the file size,
since file size is not available until read (i.e. "Content-Length", which is available, isn't the same as the individual file sizes)....

3287 05/17/2007 06:35 PM Jing Tao

Change a log level. Sometime it confuses people.

3285 05/14/2007 04:35 PM barteau

Metacat JSP API Additions. The new methods currently only handle inserts of new metadata files and related data files. It also handles instance creation and login support, with
a few convenience methodes intended to be called by a JSP file.
Update and delete support will be added. Also, the new methods currently only handle FGDC metadata files. More XML grammars will be added.

3277 05/11/2007 12:07 PM Jing Tao

Add more statement to output performance info in a file in delimitere format

3276 05/11/2007 12:06 PM Jing Tao

Add statement to output search time to a delimitered file

3275 05/11/2007 12:04 PM Jing Tao

Add a new method to output delimited debug info.

3271 05/10/2007 05:59 PM Jing Tao

Add formated output for time measurement.

3270 05/10/2007 05:57 PM Jing Tao

Add new method to record the total search time to a file.

3269 05/10/2007 05:57 PM Jing Tao

Add new method to write debug info to a given file.

3264 05/08/2007 09:31 PM Jing Tao

Change the debug level for some statement

3263 05/08/2007 06:48 PM Jing Tao

Fixed bug that search "soil" will cause an exception.

3262 05/08/2007 11:41 AM berkley

paging now works in a more normal manner. also fixed a bug where the last page would display too many results.

3259 05/08/2007 11:26 AM Jing Tao

Change the debug level for timing

3258 05/08/2007 11:25 AM Jing Tao

Recovered some overwitten code.

3257 05/07/2007 03:47 PM berkley

updated the kepler skin to use paging. need to do a bit more work on this to make it behave more like other web applications

3255 05/06/2007 01:51 PM Jing Tao

Changed a wrong debug information.

3253 05/05/2007 11:07 PM Jing Tao

Fixed bug that search will get a error in adding relationship.

3252 05/04/2007 06:41 PM Jing Tao

Add time debug information for query.

3251 05/04/2007 06:32 PM Jing Tao

Modify the time debug message

3250 04/26/2007 05:22 PM Jing Tao

Fixed bug that if Writer object is null, code will generate null exception

3248 04/19/2007 03:45 PM Jing Tao

Remove the access query for return field since we remove the partial tree access control in eml.

3247 04/18/2007 04:03 PM berkley

removed a bunch of commented out code

3246 04/18/2007 03:55 PM berkley

got a better version of paging working. still needs to be cleaned up and debugged more.

3245 04/18/2007 11:31 AM Jing Tao

Fix bug that if there is a search value is different to others, the query wouold work.

3244 04/18/2007 02:26 AM Matt Jones

Added a new class called Sitemap that is used to generate a series of XML documents representing the URLs of metacat documents following the sitemap protocol. The Sitemap class extends TimerTask so that it can be scheduled to run once a day or so. New configuration options were added to metacat.properties to control where the sitemaps are written and hw often they are updated. By default we do it once a day, as more often is overkill for search engines....

3242 04/17/2007 03:58 PM Jing Tao

transfer to value to upper case.

3241 04/17/2007 03:36 PM Matt Jones

Added new feature to allow metacat documents to be retrieved from a URL that does not use the query url syntax, instead embedding the docid and qformat in the url path, as in this example:
http://localhost:8180/knb/metacat/test.1.1/knb
This format allows clients to read documents without entering a query URL, which will be used in a subsequent step to allow search engines to better index metacat content.

3240 04/17/2007 03:25 PM Matt Jones

Decreased the debug message priority to 'debug' level for messages when reading an XML document.

3239 04/17/2007 02:22 PM Jing Tao

Fixed bug that modified query wasn't add.

3238 04/16/2007 05:32 PM Jing Tao

Add some new constance

3237 04/16/2007 05:32 PM Jing Tao

Add method to handle union operator.

3235 04/16/2007 10:27 AM sledge

Limited use of predicates in XPath return fields

3234 04/13/2007 11:49 AM Jing Tao

Add event log for timed replication.

3233 04/13/2007 11:49 AM Jing Tao

Add even log in replication.

3230 04/12/2007 06:34 PM Jing Tao

Somehow the change went to the head rather than branch. So i rollback the change in head.

3229 04/12/2007 06:13 PM Jing Tao

This commit is for branch. In this commit the correct ip and user name will be stored in access_log table in replication event. However, it only for Forcereplication. And the test isn't completed yet. This commit is only for future use.

3227 04/12/2007 10:23 AM berkley

checking in timing print statments

3226 04/11/2007 05:41 PM Jing Tao

Add a new method to print out more effecient query.

3225 04/10/2007 04:32 PM Jing Tao

Add new data structure and method to handle query terms which have same search value.

3224 04/10/2007 04:31 PM Jing Tao

Add a new method to compare the query terms to see if they have same search value.

3223 04/05/2007 05:28 PM Jing Tao

Get rid of user_owner=public part in access query.

3222 04/03/2007 01:17 PM berkley

reformatted a bit and removed unneeded code

3221 04/03/2007 01:10 PM berkley

paging now works well. sped up the caching by using SAX instead of DOM parsing. it seems fast. need some other people to test for me though. the two params needed are 'pagesize' and 'pagestart'. I haven't updated any of the web interfaces to use this, so if you want to try it, you'll have to type in the url the old fashioned way

3220 04/02/2007 04:38 PM Jing Tao

Add a new overload method - createResultDocument and add a new check for null.

3219 04/02/2007 03:23 PM berkley

got paging working. metacat also now caches resultsets for users' sessions. the paging is a bit slow, due to some xpath statements. i need to get this optimized now.

3217 03/29/2007 04:03 PM Duane Costa

Fix bug in advanced search that first surfaced in Java 1.5.0/Tomcat 5.5. Only set the sessid parameter if the sessionId string that is passed in is non-null.

3211 03/22/2007 09:59 AM berkley

adding changes to make paged query results possible

3202 03/07/2007 05:06 PM Jing Tao

Add exception handle code according the change in SpacialHarvest class.

3201 03/07/2007 05:05 PM Jing Tao

Change the exception handle way accroding the change in SpatialDataset class.

3200 03/07/2007 05:03 PM Jing Tao

Change the shape file store object to be static and make them synchronized in order to be thread safe.

3199 03/07/2007 05:01 PM Jing Tao

Change the constructor to prive so other class can only go through getInstance to get object.

3198 03/07/2007 05:00 PM Jing Tao

Change some log info.

3197 03/07/2007 03:14 PM Jing Tao

Check if the word is "infinity" before casting a string to double ojbect.

3196 03/07/2007 02:29 PM berkley

more changes for the ajax stuff. it now works on the production server

3182 02/15/2007 02:59 PM Chris Jones

One more patch for bug 2469:
Although the correct parentid values were being indexed in xml_path_index
for leaf node xpaths, they were still incorrect for relative and absolute
paths. This patch modifies traverseParents() and changes the parent node id
to be indexed to that of the leaf node, no matter if the path is a leaf,...

3181 02/15/2007 10:55 AM Chris Jones

As a continued fix for http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2469,
I've fixed the indexing implementation in both buildIndex() and
traverseParents(). Duane pointed out that the incorrect parent node ids
were being indexed in xml_path_index, causing some stylesheets to render...

3161 01/29/2007 07:16 PM Chris Jones

As a fix to http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2748, I'm applying
the patch sent to me from Mike Frenock when he reported this bug.

This patch changes MetaCatServlet.handleUploadAction() by first setting
a boolean flag on whether the file to be uploaded exists already. If it...

3157 01/25/2007 10:35 PM Chris Jones

This is just a code cleanup patch that re-aligns some indentations and removes
some debugging code.

3156 01/25/2007 10:27 PM Chris Jones

As a partial fix to http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2747,
I've modified AuthLdap.getGroups() and removed the code that handles LDAP
referral connect and search timeout issues in a separate thread. I've replaced
this code with ReferralException code that uses two JNDI parameter settings:...

3155 01/25/2007 10:00 PM Chris Jones

As a partial fix to http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2747,

I'm applying 3 patches to AuthLdap.java that simplify the code that addresses
timeout issues when connecting and searching referral LDAP databases, fixes the
getGroups() method to correctly get groups in referral LDAP databases, and does...

3152 01/25/2007 09:41 AM Matt Jones

Fixed the implementation of the buildIndex function which was not
working for new document insertions. A previous fix in updatePathIndex
for ATTRIBUTE data inadvertantly caused a foreign key duplication
exception for insertions of ELEMENT nodes when multiple relative paths...

3150 01/18/2007 05:03 PM Jing Tao

Add code to handle double quotes in normalize method.

3149 01/18/2007 04:33 PM Chris Jones

I'm fixing a compile problem under jdk 1.4.2, where the get() method in
HashMap needs an Object as a parameter, not a primitive data type. I changed
the long to a Long as the lookup key.

3148 01/18/2007 03:20 PM Chris Jones

As part of a patch fix for:

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2469
I've changed DocumentImpl.java in three locations:
buildIndex()
traverseParents()
updatePathIndex()

This patch modifies buildIndex(). Like the prior two patches, it changes...

3147 01/18/2007 03:07 PM Chris Jones

As part of a patch fix for:

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2469

I've changed DocumentImpl.java in three locations:

buildIndex()
traverseParents()
updatePathIndex()

This patch modifies traverseParents(). It changes pathsFoundForIndexing from...

3146 01/18/2007 02:52 PM Chris Jones

As part of a patch fix for:

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2469

I've changed DocumentImpl.java in three locations:

buildIndex()
traverseParents()
updatePathIndex()

This patch modifies updatePathIndex() by changing the pathsFound input...

3145 01/18/2007 02:26 PM Chris Jones

As part of a patch fix for:

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2469

I've added a second constructor to PathIndexEntry.java. The first
constructor is used to represent a record entry from the xml_index
table, and the new second constructor represents a record entry in...

3144 01/18/2007 02:20 PM Chris Jones

As part of a patch fix for:

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2469

I've added the complimentary setter methods to the getter methods
that are already present in the class:

setNodeId()
setNodeName()
setParentNodeId()
setNodePrefix()
setNodeIndex()...

3143 01/18/2007 10:36 AM berkley

added a method to query metacat to see if a particular docid is registered or not

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