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.
Fixed some bugs.
Removed user-specific config settings.
Added a couple of configurable constants for host and context. Added JDoc comments.
JUnit tests for ClientViewHelper. Includes tests for logging in, logging out, downloading a single data file, and downloading a package zip file.
less emphasis on emphasis class (reduced font size)
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).
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.
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...).
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.
add very minimal skin for transforming ajax search resultset for 'first' skin
add latest stable prototype (ajax) release
use updated edml schema to get correct element/attribute for assessment
Fixed a bug that Option wasn't initialized.
In test target, add copy command (copy metacat.properties to build dir).
some hints about installing new shape files and/or adjusting styles etc.
switch to updated sanparks boundaries file
replace older sanparks boundaries shapefile with updated version (includes mokala)
Add installation instruction for enabling earthgrid.
Mokala is actually farther north than the garden route parks....
organize the various file action buttonsannotate 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)
Added new functionality for action="Set Access". Includes methods handleChangeAccess, setPublicAccess and getNodeTextStack. Also, cleaned up some code as a result.
Modified string constant "SUB_DOCS_PATH" to be static and public accessible.
Modified to accept (and display) parameters "publicRead" and "message". Modifications to allow users to change public access to package.
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)....
Some minor code cleanup.
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.
use garden route park boundary box coordinates for the four "missing" areas (knysna, tsit, mokala, wilderness)
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.
sych left nav list and map locations with the sanparks.org "Parks A-Z" listing.still missing spatial data for:Knysna National Lake AreaMokala National ParkTsitsikamma National ParkWilderness National Park
fix IE compatibility issue with iframe content documents
Modified a sql command from "like" to "=". It dramatically improves the peformance of build index.
Add two indexes to improve delete and update speed.
Add two indexes to improve delete and upgrade performance.
Add two indexes to improve deleting and update speed.
Add two indexes to improve peformance of deleting and update
Grant the public read access to the data files, if it was done for the metadata file. Also cleaned-up some debug statements.
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.
move the navstrip background to the iframe class so that it extends when displaying longer pages (eml docs, say)
crop to 112 height - removes bottom light green line
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...
move
explicitly set white background for main content.
add filler for title element so that rendering in IE is not compromised.use regtext class for paragraph
added national parks locations from shapefile(thank you shaun+postgis)
use "within" rather than "intersects" as the spatial search criteria for dataset location.(see bugzilla #2972)
rearrange login validation javascript so that it actually works
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
keep the commented out lines incase we want to switch to no-iframes skin
changes used when experimenting with the no-iframe method of skinning (does not conflict with the previous method if skinning that uses iframes)
remove unused page import
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)...
Modifications to accomodate Downloads. Includes "Download" forms/buttons.
Modifications to accomodate Downloads.
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.
Created new XPath constants for FGDC queries.
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.
clean up the commented out option listclose <form> tag
deleted a empty bulletin.
comment out annoying alert() debug statements
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.
refactored <access> and <allow> element creation. Added logic to give both owner and skin admin privilages to access uploaded data objects.
Minor fixes to improve the registry CSS to match the new NCEAS skin. Still reliant on iframes, so the overall L+F is broken.
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.
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.
Moved images to images/ subfolder
NCEAS skin changes: moved images into subfolder for organization, moved search javascript into search.js to cut down on replication. Modifications to nceas.css and midnight.css to clean up integration of Drupal theme.
Add debug information.
Use localhost to replace the host name in case axi is configured to reject remote admin.
Get rid of the hard code kepler for web context.
Add a new test to test new query method with qformat.
Add a new method - query which can specify qformat.
Add new query method which can specify qformat.
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
Replaced the reference to knp.js with a generalized call to the skins javascript, using the qformat's setting.
use INTERSECTION for query operator (aka AND) so that we actually limit by the park name...
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
Modified the "clientDeleteRequest" method to handle meta-file deletes.
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.
Added property "metaFileDocId", and constant "UPDATE_MESSAGE", to accomodate update and delete operations.
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.
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.
Modified form action URL's. Removed call to map. Used shorter version of JSP syntax in forms.
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
insert mapframe in included page, rather than index.jsp -columns layout correctly this way.
rearrange map controls to right side of image.remove extraneous style.css ref
do not use absolute positioning for mapFrame - goofs up the cursor bounding box dragging offset
do not render Kruger-specific layers in mapbuilder frame
use Arial for Park_Name labels on geoserver/mapbuilder rendering
include SANParks boundary layer in the geoserver for sanparks skin
use the sanparks giraffe image
Updated the NCEAS skin to reflect the new structure of the NCEAS web site. There is now a new nceas.xsl file that handles the XSLT transforms for both metacat resultsets and for EML documents. This file imports xsl templates from the style/common dir in order to render the results table and EML document within an HTML document that follows the style of the NCEAS website. This required refactoring the original resultset.xsl and eml.xsl files in style/common so that the use of iframes can be easily eliminated. ...
Change the release tag for the EML stylesheets to be used by metacat to EML_RELEASE_2_0_1_UPDATE_4 so that the new stylesheet changes are incorporated. To pick up these changes in a local metacat build, you need to delete the files in metacat/lib/schema as well as metacat/lib/style/common/eml-*, then do a clean build with "ant clean install". When you do this, you should see the "geteml" target run in the build, and youshould be prompted for your CVS password to download the new schema versions....
Added a refactored resultset stylesheet that allows skins to override the container format to not use iframes. The continaing skin can now import resulttable.xsl and call the result table template directly.
add some hierarchy to left nav organization list
minor formatting changes
removed panel head corners because they did not display correctly in I.E. on the Metacat build , adjusted option buttons.
I changed blue corners because of display problem with Internet Explorer on Metacat Build files.