Made changes to to work with the vertical table.
style changes for Attribute info display, set width for first column that uses added highlightAttrib and empty column; changed shading in bordered, coleven and coloddchanged .bordered width to 350px for first column, added border-bottom to columns; innercolodd, innercoleven border removed...
changed nceas.xsl to correct path for images
Fixed bug with file updating (lost qformat value). Also fixed bug with message.
add CSV download as an option for retrieving datasets.NOTE: depends on opencsv jar in the /first project...
include both assessments and questions in the results of a search (driven by option in search form)
use hidden input to pass desired form action rather than tying it to the button label.
Modified by removing name='action' attribute from jsp navigation button, since it was binding with the bean 'action' property.
Modified by removing name='action' attribute from jsp navigation button, since it was binding with the bean action property. Also changed Upload Message display toshow the more general messages returned by the call to clientRequest (doensn't exclude non-upload messages, such as general errors).
Test file to see how long it will take to build records in xml_queryresult table.
Changed message to look for in tomcat log to verify metacat servlet has started ok.
Flow chat of query process
Change the debug level for Metacat initialization message.
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
organize css references
Converted some java 1.5 code to java 1.4 code. Removed usages of "String.contains()", "Node.getTextContent()" and "Node.setTextContent.
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.