Project

General

Profile

Statistics
| Revision:

metacat / src / edu @ 4175

# Date Author Comment
4175 07/28/2008 05:07 PM daigle

Qualify harvester properties

4174 07/28/2008 05:06 PM daigle

Replace tomcatDir with deployDir

4173 07/28/2008 05:05 PM daigle

Use qualified properties

4168 07/28/2008 04:56 PM ben leinfelder

use the docid, not the filename when updating this node.
fixes bug: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3260

4167 07/28/2008 04:07 PM ben leinfelder

include leading slash for path to the spatial files (context is given without a trailing slash)

4159 07/24/2008 01:52 PM daigle

Add support for separate LDAP and organization level configurations

4155 07/24/2008 01:47 PM daigle

Fix the db script suffix.

4154 07/22/2008 02:20 PM daigle

Add functionality to allow developer to bypass configuration utility

4141 07/18/2008 09:32 AM daigle

FIx comments for getContextDir to reflect that we no long append webapps to the path

4140 07/18/2008 09:30 AM daigle

Add sql debug statements

4139 07/18/2008 09:30 AM daigle

Use SystemUtil.getContextDir() instead of constructing directory path.

4135 07/16/2008 03:39 PM berkley

fixed bug where the searchmode param was put into the search fields

4132 07/16/2008 11:58 AM daigle

Differentiate between tomcat directory and deployment directory.

4125 07/15/2008 10:11 AM daigle

Replace Options class with PropertyService

4124 07/15/2008 10:08 AM daigle

Create PropertyService using log directory instead of servlet context.

4123 07/15/2008 09:58 AM daigle

Append context url onto system id instead of server url.

4110 07/11/2008 10:11 AM daigle

Move references to sql scripts into the WEB-INF directory.

4109 07/11/2008 10:10 AM daigle

Add method to return a map of db script suffixes from metacat.properties

4108 07/11/2008 10:09 AM daigle

Fix backup file pathing issues. Modify checkAndSetProperty to get skin specific values from request.

4107 07/11/2008 10:08 AM daigle

implement getPropertiesByGroup() method

4106 07/11/2008 10:06 AM daigle

Implement form submittal processing.

4105 07/11/2008 10:05 AM daigle

use metacat.properties to determine script suffixes

4091 07/07/2008 03:39 PM daigle

Change default-style property to application.default-style

4087 07/07/2008 02:16 PM daigle

Add addProperty and addPropertyNoPersist for new properties

4085 07/07/2008 01:50 PM daigle

Backup properties should use addProperty, not setProperty

4084 07/07/2008 01:49 PM daigle

Add GeneralPropertyException to property setters

4080 07/06/2008 09:25 PM daigle

Merge 1.9 changes into Head

4011 06/19/2008 01:33 PM berkley

fixed bug 3403

4010 06/18/2008 04:30 PM Jing Tao

Merge METACAT_1_8_1 to cvs head.

3995 06/12/2008 02:41 PM berkley

added support to upload an xml document using multipart encoding. the enables better support for web interfaces that wish to use multipart to upload xml documents. the action is 'insertmultipart'

3993 06/12/2008 12:43 PM berkley

made it so that the error and success messages from a multipart upload can be transformed using xslt. also added upload functionality to the sms skin

3941 06/06/2008 12:44 PM Jing Tao

Check into cvs head. Comment out an obsoleted code.

3938 06/05/2008 07:08 PM Jing Tao

Check into CVS head. Add code to handle that referral server is down.

3922 05/29/2008 04:43 PM Jing Tao

Check into cvs head. Remove "nodedata='document'" in xml_nodes and xml_nodes_revisions deleting query.

3917 05/27/2008 06:18 PM Jing Tao

Check into cvs head. Modify the query of deleting xml_nodes_revisions table.

3904 05/22/2008 04:22 PM Jing Tao

Check into cvs head. Add a debug statement for printing out eml document

3898 05/19/2008 06:46 PM Jing Tao

Check into cvs head. In handle replication list method, parser will be intialized every time when it handles a list from another server.

3897 05/19/2008 06:45 PM Jing Tao

Check into head. Add a new method to get server name.

3864 05/14/2008 02:13 PM Jing Tao

Check in to cvs head. Don't close db connection before returning the connection pool.

3859 05/13/2008 03:09 PM Jing Tao

Add to cvs headd. Add code to correct invalidated eml 201 doucments.

3858 05/13/2008 03:07 PM Jing Tao

Add to cvs head. Change the run method signature.

3827 05/08/2008 05:15 PM Jing Tao

Checkin to head. Remove this class from Runnable and add sql to delete extral nodes in xml_nodes_revision table.

3818 05/02/2008 03:41 PM Jing Tao

Modify the delete xml_index table query.

3816 05/01/2008 04:47 PM Jing Tao

Add code to execute sql command and finish the task.

3814 04/30/2008 05:18 PM Jing Tao

A class to correct invalid eml201 documents. Metacat 1.8.0 and ealier version points incorrect eml-resource.xsd. We need fix eml documents.
Haven't done yet.

3799 04/18/2008 06:05 PM Jing Tao

Add a new class will build query result able in advance. It has been done yet.

3786 04/09/2008 06:30 PM Jing Tao

Fixed a bug pathexpr was modified if pathexpr is an attribute.

3780 04/02/2008 04:28 PM daigle

Changes to remove ANT tokens for the turnkey install project

3772 03/20/2008 05:37 PM ben leinfelder

Enable file naming when returning a zip file of the requested documents.
File names for each docid are provided as additional parameters named by the actual docid value that they are providing a name for. An example query string might look like:

action=read&docid=doc.1.1&docid=doc.2.1&qformat=zip&doc.1.1=fileName1.txt&doc.2.1=fileName2.jpg...

3771 03/20/2008 05:32 PM Jing Tao

Fixed bug that lsid couldn't be shown up in result page of kepler skin. The bug is that in extended query, lsid attribute was treated as a element, but it is attribute.
I also optimized the query by deleting xml_documents table from query. The table is not needed.

3769 03/19/2008 05:57 PM Jing Tao

Fixed bug that kepler skin wouldn't return actor name in query. The reason is there was no separate vector to store returnfield with "]". So those fields with or without "]" are handled
together (which shouldn't). When seperate those return fields, the bug was fixed.

3768 03/18/2008 04:31 PM daigle

Include the contextURL as a parameter for the transformer. Remove leading / from resultset paths

3766 03/17/2008 06:51 PM Jing Tao

Add a new string buffer to store normalized query xml itself.

3759 03/05/2008 05:08 PM Jing Tao

Don't transfer character which is greater than 128 or less thank 32 to numerical entity symbol.

3757 03/04/2008 05:37 PM Jing Tao

Using reponse.getOutputStream to replace reponse.getWriter in query and read method. So metacat can send correct special character back.

3755 02/29/2008 10:03 PM Jing Tao

Modify normolize method by adding code to handle < > ' and "

3754 02/29/2008 04:05 PM Jing Tao

Remove an obsolete class.

3753 02/29/2008 03:16 PM Jing Tao

Remove an obsolete private method getPartNodeRecordList.

3752 02/29/2008 03:14 PM Jing Tao

Remove an obsolete class.

3749 02/28/2008 02:33 PM Jing Tao

Add timeout parameter for searching user name. If some exception happens, it wouldnot throw it, just print it out.

3741 02/27/2008 08:42 AM ben leinfelder

if there is no clientViewBean in the session, insert a new one - saves us from nullPointerException when using this in skins that may not be aware of the bean uses.

3740 02/27/2008 08:41 AM ben leinfelder

ignore commented out DOCTYPE declarations (don't force validation on them)

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.