Project

General

Profile

Statistics
| Revision:

# Date Author Comment
3551 10/31/2007 06:58 PM ben leinfelder

add CSV download as an option for retrieving datasets.
NOTE: depends on opencsv jar in the /first project...

3550 10/31/2007 06:57 PM ben leinfelder

include both assessments and questions in the results of a search (driven by option in search form)

3549 10/31/2007 05:36 PM ben leinfelder

use hidden input to pass desired form action rather than tying it to the button label.

3548 10/31/2007 05:14 PM barteau

Modified by removing name='action' attribute from jsp navigation button, since it was binding with the bean 'action' property.

3547 10/31/2007 05:13 PM barteau

Modified by removing name='action' attribute from jsp navigation button, since it was binding with the bean action property. Also changed Upload Message display to
show the more general messages returned by the call to clientRequest (doensn't exclude non-upload messages, such as general errors).

3546 10/31/2007 04:42 PM Jing Tao

Test file to see how long it will take to build records in xml_queryresult table.

3545 10/31/2007 12:18 PM barseghian

Changed message to look for in tomcat log to verify metacat servlet has started ok.

3544 10/30/2007 06:03 PM Jing Tao

Flow chat of query process

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

Change the debug level for Metacat initialization message.

3542 10/30/2007 08:57 AM ben leinfelder

add ability to retrieve response data using datamanager lib (note that this requires both the datamanager.jar and firstMetacatIntegration.jar from /eml and /first modules respectively...)
yes, this is more ajax...and still mostly Proof Of Concept-ish

3541 10/30/2007 08:47 AM ben leinfelder

organize css references

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.

3538 10/26/2007 01:12 PM barteau

Fixed some bugs.

3537 10/26/2007 01:02 PM barteau

Removed user-specific config settings.

3536 10/26/2007 01:00 PM barteau

Added a couple of configurable constants for host and context. Added JDoc comments.

3535 10/26/2007 12:51 PM barteau

JUnit tests for ClientViewHelper. Includes tests for logging in, logging out, downloading a single data file, and downloading a package zip file.

3534 10/25/2007 08:22 PM ben leinfelder

less emphasis on emphasis class (reduced font size)

3533 10/25/2007 08:22 PM ben leinfelder

included assessmentId in search results.
TODO: search for both assessment and question doctypes in same query and have the result page display them intelligently (segregate by doc type).

3532 10/25/2007 08:18 PM ben leinfelder

organize the bulk of the stylesheets in their own xsl directory.
note that these xsl files are being maintained in the "first" cvs module and should be copied from there.

3531 10/25/2007 08:16 PM ben leinfelder

get the ajax-specific first skins organized with some better naming.
these essentially provide a pointer to custom resultset style sheets so that we can just use Ajax.Updater from prototype and inject the returned html.
they do rely on the first skin (which makes it nice for changing the look and feel - not a bunch of css files lying around messing things up, etc...).

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.

3529 10/24/2007 12:11 PM ben leinfelder

add very minimal skin for transforming ajax search resultset for 'first' skin

3528 10/24/2007 12:10 PM ben leinfelder

add latest stable prototype (ajax) release

3527 10/24/2007 10:05 AM ben leinfelder

use updated edml schema to get correct element/attribute for assessment

3526 10/24/2007 09:27 AM ben leinfelder

use updated edml schema to get correct element/attribute for assessment

3525 10/23/2007 04:18 PM Jing Tao

Fixed a bug that Option wasn't initialized.

3524 10/23/2007 04:18 PM Jing Tao

In test target, add copy command (copy metacat.properties to build dir).

3523 10/23/2007 08:56 AM ben leinfelder

some hints about installing new shape files and/or adjusting styles etc.

3522 10/23/2007 08:53 AM ben leinfelder

switch to updated sanparks boundaries file

3521 10/23/2007 08:52 AM ben leinfelder

replace older sanparks boundaries shapefile with updated version (includes mokala)

3520 10/17/2007 07:18 PM Jing Tao

Add installation instruction for enabling earthgrid.

3519 10/17/2007 09:51 AM ben leinfelder

Mokala is actually farther north than the garden route parks....

3518 10/15/2007 04:48 PM ben leinfelder

organize the various file action buttons
annotate table cells with classes defined in stylesheet (now they can be customized for each skin!)
make the data labels (table cells) a bit more sleek (css)

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.

3515 10/12/2007 03:55 PM barteau

Modified to accept (and display) parameters "publicRead" and "message". Modifications to allow users to change public access to package.

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)....

3513 10/11/2007 04:37 PM barteau

Some minor code cleanup.

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.

3511 10/11/2007 07:16 AM ben leinfelder

use garden route park boundary box coordinates for the four "missing" areas (knysna, tsit, mokala, wilderness)

3510 10/09/2007 06:15 PM ben leinfelder

initial skin draft for FIRST project as metacat deployment.
will require [much] more customization to be fully useful for project, but this is a start.

3509 10/09/2007 09:34 AM ben leinfelder

sych left nav list and map locations with the sanparks.org "Parks A-Z" listing.
still missing spatial data for:
Knysna National Lake Area
Mokala National Park
Tsitsikamma National Park
Wilderness National Park

3508 10/08/2007 02:08 PM ben leinfelder

fix IE compatibility issue with iframe content documents

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

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

3506 10/04/2007 03:57 PM Jing Tao

Add two indexes to improve delete and update speed.

3505 10/04/2007 03:56 PM Jing Tao

Add two indexes to improve delete and upgrade performance.

3504 10/04/2007 03:55 PM Jing Tao

Add two indexes to improve deleting and update speed.

3503 10/04/2007 03:54 PM Jing Tao

Add two indexes to improve peformance of deleting and update

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.

3500 10/04/2007 01:23 PM ben leinfelder

move the navstrip background to the iframe class so that it extends when displaying longer pages (eml docs, say)

3499 10/03/2007 06:00 PM ben leinfelder

crop to 112 height - removes bottom light green line

3498 10/03/2007 05:59 PM ben leinfelder

make css work in IE. found an errant quotation mark that was throwing IE off and making super-ugly pages.
then it was smoothing out the details one by one...

3497 10/03/2007 05:58 PM ben leinfelder

move

3496 10/03/2007 05:57 PM ben leinfelder

explicitly set white background for main content.

3495 10/03/2007 05:57 PM ben leinfelder

add filler for title element so that rendering in IE is not compromised.
use regtext class for paragraph

3494 10/03/2007 02:25 PM ben leinfelder

crop to 112 height - removes bottom light green line

3493 10/03/2007 01:29 PM ben leinfelder

added national parks locations from shapefile
(thank you shaun+postgis)

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)

3491 10/03/2007 09:10 AM ben leinfelder

rearrange login validation javascript so that it actually works

3490 10/03/2007 08:50 AM ben leinfelder

added commented out reference to the all-in-one sanparks.xsl (resultset, eml, fgdc handling). this is for use with the no-iframe skin approach

3489 10/03/2007 08:46 AM ben leinfelder

keep the commented out lines incase we want to switch to no-iframes skin

3488 10/03/2007 08:44 AM ben leinfelder

changes used when experimenting with the no-iframe method of skinning (does not conflict with the previous method if skinning that uses iframes)

3487 10/03/2007 08:42 AM ben leinfelder

remove unused page import

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)...

3485 09/28/2007 04:10 PM barteau

Modifications to accomodate Downloads. Includes "Download" forms/buttons.

3484 09/28/2007 04:08 PM barteau

Modifications to accomodate Downloads.

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.

3479 09/27/2007 06:04 PM ben leinfelder

clean up the commented out option list
close <form> tag

3478 09/27/2007 02:38 PM Jing Tao

deleted a empty bulletin.

3477 09/27/2007 08:34 AM ben leinfelder

comment out annoying alert() debug statements

3476 09/26/2007 05:08 PM Jing Tao

fixed the bug that clicking create new user link(and change password and reset password links) will just show the new page in a frame.

3475 09/26/2007 04:41 PM walbridge

refactored <access> and <allow> element creation. Added logic to give both owner and skin admin privilages to access uploaded data objects.

3474 09/26/2007 04:23 PM walbridge

Minor fixes to improve the registry CSS to match the new NCEAS skin. Still reliant on iframes, so the overall L+F is broken.

3473 09/25/2007 04:12 PM walbridge

Cleaned up regexes used in register-dataset.cgi to support arbitrary numbers of elements for keywords. Cleaned up regexes for state selection, to omit default values. Added debug as a GET parameter, so a page can be debugged by appending `&debug=1'. Committed latest changes to file processing, to allow files to be deleted after returning to the entry page from confirmation or processing errors. Seperated out entryForm.js from entryForm.tmpl to simplify debugging.

3471 09/25/2007 04:04 PM walbridge

Changes in login processing to match new register-dataset.cgi workflow: user must login before seeing the form, to prevent data loss. New template login.xsl provides simple redirection back to register-dataset.cgi.

3470 09/25/2007 03:57 PM walbridge

Moved images to images/ subfolder

3469 09/25/2007 03:53 PM walbridge

NCEAS skin changes: moved images into subfolder for organization, moved search javascript into sea
rch.js to cut down on replication. Modifications to nceas.css and midnight.css to clean up integration of Drupal theme.

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

Add debug information.

3467 09/20/2007 04:49 PM Jing Tao

Use localhost to replace the host name in case axi is configured to reject remote admin.

3466 09/20/2007 03:57 PM Jing Tao

Get rid of the hard code kepler for web context.

3465 09/19/2007 06:44 PM Jing Tao

Add a new test to test new query method with qformat.

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.

3462 09/19/2007 04:13 PM ben leinfelder

use 'squery' searching so that both EML and FGDC can be searched based on location and an anyfield search string.
changed 'All' to use empty string ("") value rather than "%" - plays better with QueryGroup

3461 09/19/2007 10:37 AM barteau

Replaced the reference to knp.js with a generalized call to the skins javascript, using the qformat's setting.

3460 09/17/2007 03:25 PM ben leinfelder

use INTERSECTION for query operator (aka AND) so that we actually limit by the park name...

3459 09/17/2007 02:56 PM ben leinfelder

added:
-zoom on map with named locations for quick spatial searching based on selected park name (hooray javascript!)
-narrow search by selected park name
-cursor tracking in lat/lon
-alpha sort for left nav
-reference to fgdc in footer copy

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.

3455 09/17/2007 02:14 PM barteau

Confirmation dialag, which displays a message. Initial checkin. Intended to be the destination JSP when an entire data package is deleted (i.e. deleting the metadata file). Placed in common folder, since it is not skin specific.

3454 09/17/2007 02:11 PM barteau

Moved location of file from skin to common, since it is independant of a single skin. Modified most of the internal code to allow redirecting request to an appropriate destination.

3453 09/17/2007 02:07 PM barteau

Modified form action URL's. Removed call to map. Used shorter version of JSP syntax in forms.

3452 09/16/2007 09:43 AM ben leinfelder

include doctype of metadata for FGDC spatial harvesting.
also specify bounding elements for metadata_(E/W/N/S)
NOTE: bounding elements must correspond to elements as included in the enumerated indexed paths property

3451 09/16/2007 09:37 AM ben leinfelder

insert mapframe in included page, rather than index.jsp -
columns layout correctly this way.

3450 09/16/2007 09:36 AM ben leinfelder

rearrange map controls to right side of image.
remove extraneous style.css ref