Project

General

Profile

Statistics
| Revision:

# Date Author Comment
3736 02/26/2008 10:23 AM ben leinfelder

add debug statements so it's clear what transformer parameters are being passed

3735 02/25/2008 05:16 PM Jing Tao

Use dev=1 replace dev like '1'. since postgres 8.3 doesn't support it.

3733 02/25/2008 01:07 PM ben leinfelder

include contextURL and cgi-prefix as parameters in all the transforms (initially used for nceas skin to remove ant tokens in the XSL files....but will be used by other skins as they are converted away from at tokens)

3731 02/22/2008 03:52 PM Jing Tao

Add debug info for special charater.

3730 02/22/2008 03:16 PM Jing Tao

Remove the relation query.

3725 02/20/2008 07:38 PM Jing Tao

Add server url to system id.

3721 02/07/2008 12:31 PM Matt Jones

Improved the javadoc documentation for the upload() methods to clarify what upload() does and contrast it to insert() and update().

3678 01/11/2008 03:44 PM ben leinfelder

prevent null pointer exception when there are no nodes found (just an empty list)

3675 01/10/2008 11:13 AM barteau

Modification for changes to the field "MetacatUtil.skinconfigs" (bug 3057 fix).
Also changes reading skin.configs properties/files (bug 3058 fix).

3674 01/10/2008 11:11 AM barteau

Modification for changes to the field "MetacatUtil.skinconfigs".

3673 01/10/2008 11:08 AM barteau

Changes to the field "skinconfigs":
1) Made it private
2) Created setter and getter methods
3) Created a 'hasSkinConfig' method

3646 12/07/2007 04:42 PM ben leinfelder

fix mistake where there is an attempt to select nodetype column from table xml_path_index table (it's not there!)

3635 12/05/2007 12:40 PM ben leinfelder

changes for fix to bug #2999 (only one attribute of an element is returned in resultset doc)
-added merging for large TEXT nodes when they have been broken up.
-allow multiple attributes to be returned in the resultset doc (uses newly-available field type to determine text vs attribute node).

3634 12/05/2007 12:38 PM ben leinfelder

add retrieval of field type for each node (TEXT, ATTRIBUTE, etc).
this is to support a fix for bug#2999

3625 11/30/2007 01:26 PM barteau

Fixed a couple of bugs: 1) Threw an error when updating a packages public access (lost the data files doc id's) and 2) returns a message after access is changed.
Both were fixed by not attempting to get a child text node from a text node.

3603 11/20/2007 04:17 PM barteau

Changed confirm.jspx to confirm.jsp

3602 11/20/2007 04:09 PM barteau

Modified redirect URL to navigate to a skin-specific confirmation page, rather than a common one.

3568 11/05/2007 10:44 AM Jing Tao

Fixed bug that should throw an exception in upload method.

3552 11/01/2007 01:56 PM barteau

Fixed bug with file updating (lost qformat value). Also fixed bug with message.

3543 10/30/2007 05:55 PM Jing Tao

Change the debug level for Metacat initialization message.

3540 10/29/2007 03:09 PM barteau

Converted some java 1.5 code to java 1.4 code. Removed usages of "String.contains()", "Node.getTextContent()" and "Node.setTextContent.

3539 10/29/2007 03:09 PM barteau

Converted some java 1.5 code to java 1.4 code. Removed usages of "String.contains()", "Node.getTextContent()" and "Node.setTextContent.
Wrote two new methods: 1) getTextContent, and 2) setTextContent, to emulate the org.w3c.dom implementation that ships with java 1.5.

3530 10/25/2007 05:01 PM barteau

Seperated web API code, from plain java code, by creating seperate constructors and handling Http stuff in just two methods: "clientRequest" and "handleDownloadResponse".
Results in using HttpServlet code in an isolated/thin layer, making it easier to test and reuse all other methods.

3517 10/12/2007 04:02 PM barteau

Added new functionality for action="Set Access". Includes methods handleChangeAccess, setPublicAccess and getNodeTextStack. Also, cleaned up some code as a result.

3516 10/12/2007 03:57 PM barteau

Modified string constant "SUB_DOCS_PATH" to be static and public accessible.

3514 10/12/2007 03:48 PM barteau

Added param to indicate if public has read access or not, in the method "readFromMetacat". It only does this if reading a metadata document, for a skin-format,
and the user is not public. This is useful to the skin's metadata display/editing form, for indicating public accessiblity (or inaccessibility)....

3512 10/11/2007 03:58 PM barteau

Fixed bug where the Permission Order was always being set to 'allowFirst'.
It was comparing against the constant AccessControlInterface.DENYFIRST with the variable name surrounded by quotes. Removed the quotes and updated comments.

3507 10/08/2007 11:44 AM Jing Tao

Modified a sql command from "like" to "=". It dramatically improves the peformance of build index.

3502 10/04/2007 03:42 PM barteau

Grant the public read access to the data files, if it was done for the metadata file. Also cleaned-up some debug statements.

3501 10/04/2007 03:28 PM barteau

Find out if the document is a Member of an EML package, and if that's not the case, than skip the test to see if access is set through EML metadata.

3492 10/03/2007 10:01 AM ben leinfelder

use "within" rather than "intersects" as the spatial search criteria for dataset location.
(see bugzilla #2972)

3486 09/28/2007 05:00 PM barteau

Fixed 3 bugs:
1) If there is a call to this class without an "action" (i.e. the initial time the login form is loaded) a null pointer exception would be thrown.
2) If the user logged out, and then tried to query, the server would send an error (invalidated session)...

3483 09/28/2007 04:06 PM barteau

Created method "private void download(ClientView bean, HttpServletResponse response)", along with several other additions to support downloading.
Includes functionality for FGDC-related package downloads (zip file) and individual data file downloads, with original filenames.

3482 09/28/2007 04:02 PM barteau

Created new XPath constants for FGDC queries.

3481 09/28/2007 04:00 PM barteau

Created method "synchronized public InputStream sendParameters(Properties args) throws Exception".
Sends a request to Metacat. An alternative to the sentData method. Allows for sending multiple parameters with the same name, different names, or any combo.

3468 09/24/2007 09:59 PM Jing Tao

Add debug information.

3464 09/19/2007 06:43 PM Jing Tao

Add a new method - query which can specify qformat.

3463 09/19/2007 06:42 PM Jing Tao

Add new query method which can specify qformat.

3458 09/17/2007 02:30 PM barteau

Modified the "clientDeleteRequest" method to handle meta-file deletes.

3457 09/17/2007 02:28 PM barteau

Clear the bean's "action" property after most operations are complete, in case user refreshes the browser (it won't repeat). Modified "delete" code, and "handleFileUpdate" method. Added new methods: getStringFromInputStream and makeRedirectUrl.

3456 09/17/2007 02:21 PM barteau

Added property "metaFileDocId", and constant "UPDATE_MESSAGE", to accomodate update and delete operations.

3430 09/12/2007 03:37 PM Jing Tao

Fixed a bug the search title in morpho will return everything.

3420 09/11/2007 03:36 PM walbridge

Refactored upload code to allow arbitrary POST parameter ordering, and open the door to multiple files in one HTTP request. Two new methods to MetaCatUtil to facilitate the file processing: writeTempFile and copyFile.

3395 09/04/2007 05:20 PM barteau

Modifications to the removeDataDocIdFromFGDC method, to use the metadata Doc Id rather than the data file Doc Id, to locate the FGDC node branch to update.

3393 09/04/2007 05:13 PM barteau

Modifications to the clientRequest method to handle calls for 'Delete' actions.

3392 08/31/2007 04:43 PM Jing Tao

Fixed bug that if user choose to many documents in spatial query, the result set will be 0.

3375 08/27/2007 11:55 AM barteau

Uncommented metacat client upload commands.

3372 08/24/2007 02:11 PM barteau

Changes for java 1.4 compilation, and further development.

3371 08/24/2007 02:11 PM barteau

Further development.

3368 08/22/2007 05:20 PM Jing Tao

Add code to handle the docid list is too long to be run in extended query.

3367 08/21/2007 03:44 PM barteau

Changes to make java 1.4 compliant.

3366 08/20/2007 04:14 PM barteau

Updated handlePackageUpload (in development).

3365 08/20/2007 04:08 PM barteau

Added static variables.

3364 08/20/2007 01:36 PM barteau

Replaced "Formatter" usage (java 1.5) for java 1.4 compiling.

3363 08/17/2007 03:35 PM barteau

Removed "Formatter" usage, to make java 1.4 compatible.

3362 08/17/2007 03:12 PM barteau

Removed "Formatter" usage, to make java 1.4 compatible.

3361 08/17/2007 03:11 PM barteau

Removed "generics" to make java 1.4 compatible.

3360 08/16/2007 09:14 PM Jing Tao

Change String.contains which only java 1.5 have to String.indexOf

3358 08/13/2007 07:13 PM Jing Tao

Change a handleReturnField to public which will be used in ecogrid.

3357 08/13/2007 05:18 PM Jing Tao

Add return doctype and return field into the key of query cache.

3356 08/13/2007 05:07 PM walbridge

Backing out change, certain cases cause the file to upload as 0 bytes, which pass all tests but leave us with no data. Will re-commit after 1.8 release and more complete testing.

3355 08/13/2007 04:40 PM Jing Tao

Fixed bug that searching for parameters.

3354 08/13/2007 03:22 PM walbridge

Updated com.oreilly.servlet (cos.jar) from 19Jun2001 to current 05Nov2002 version. Fixed uploading in MetaCatServlet.java to allow parameters after file object, was disabled for a workaround in the previous library.

3350 08/08/2007 03:38 PM Jing Tao

Add a try-catch to handle if a query result is too long.

3349 08/08/2007 02:35 PM Jing Tao

Removed a code to check if there is a docid in a vector since every docid should exist once.

3344 08/07/2007 01:40 PM berkley

fixed a bug in metacat that was preventing it from using non-TLS authentication. ldap was throwing a namingException which was causing the exception handling to go to the wrong block so non-tls auth never even got tried. this shoudl hopefully fix the problem with sanparks

3343 08/03/2007 03:52 PM Jing Tao

Add code to expire cached query result when metacat have a insert, update or delete action.

3342 08/02/2007 04:58 PM Jing Tao

Add a cache mechanism for public user.

3340 08/01/2007 03:51 PM Jing Tao

Add a result set cache

3338 07/31/2007 04:10 PM Jing Tao

Fix a bug that move node from xml_nodes to xml_nodes_revisions.

3337 07/31/2007 04:08 PM Jing Tao

Change a method to private

3333 07/30/2007 02:17 PM Jing Tao

Remove offset in findResultDoclist

3332 07/27/2007 11:23 AM Jing Tao

Add a delay time for initial indexing

3329 07/26/2007 06:25 PM Jing Tao

Use or to replace union

3328 07/26/2007 06:24 PM Jing Tao

Add code to handle none-same value query term.

3321 07/25/2007 03:27 PM barteau

Initial checkin. The "Client View FGDC Helper", to provide FGDC specific methods for client views. This is an API class for the clientview package.

3320 07/25/2007 03:27 PM barteau

Initial checkin. The "Client View HTML Helper", to provide HTML specific methods for client views. This is an API class for the clientview package.

3319 07/25/2007 03:23 PM barteau

Initial checkin. The "Client View Bean Helper", to provide a controller for ClientView bean users. This is the main API class for the clientview package.

3318 07/25/2007 03:21 PM barteau

Initial checkin. The "Client View Bean Info", to complete the JavaBean architecture for the ClientView bean. This class can be used in java component building tools.

3317 07/25/2007 03:19 PM barteau

Initial checkin. The "Client View Bean", to provide the "model" in the MVC architecture. This JavaBean is used in client view JSP documents (the "Views")
and the ClientViewHelper class (the "Controller").

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.