added code to give access to moderator group on the review document
Added template for getting the review
Made changes so that the user is prompted to login before entering a dataset
Added functionality for storing comments and displaying them. Also added functionality for reading the eml document.
bugfixes in previous code and added functionality to store reviews on various documents...
modified mod_revise so that Revision Requested is added to the document in additionalMetadata/moderatorComment which can be used by the skin in searching for documents which havnt been requested for revision
Following changes:1. Fixed a bug in checking of contact email address field2. Added functions to display the result of accept, reject and revise actions3. Added variable to control if the document creator should be the skin admin4. a common function to check if the present user is a moderator
Some small bug fixes...
New functions in the dataset registry to support moderation feature needed for ESA
If skin cfg specified access rights to be included for a certain set of users and groups, then those are entered in the access permissions given.
Fix for bug 2220. And check the cfg file if the eml documents generated should be publically readable or not.
bug fix so that error is displayed if station or reserve is not selected
Added code to enter publication date into the dataset.
Fix for 2214. Allow 0 in coordinates now.
Fix for bug 2215. Error message is displayed if project name is not selected in the nceas skin.
Modified the code so that lastid file is created in a skin when lastid file is not found.Commented out the code which uses AdminDB module and uncommented the test function.
Replaced Usage Constraints with Usage Rights and Data Originator with Dataset Owner.
(Commit done by Saurabh Garg for Veronique)
Fixed some bugs from previous commits. Veronique changes the text of error messages. Added a new stage to distinguish errors because of logins.
Changed the code which handles Associated Party, Keywords and Taxonomic Information.
Fix for bug# 1344
Added code to fix bug 1323. % sign is replaced by its http equivalent now
Added code to fix bug# 1344. Response template is called when cancel delete is pressed.
Fixed bug #1551 by adding a conditional statement.
Made changes to fix bug# 1310. Now while parsing old documents, the script checks for ACLs also.
Fixed a bug in creation of EML documents when coordinates from the site_list have to be used.
Modifications to the registry to support the new ESA skin. Factored out some ofthe configuration-specific code into properties that are set in the variouscfg files in the skins. New properties in the cfg files are lsite, usite,showSiteList, showWgList, showOrganization. These now need to be set in every skin...
Made change in the registry so that new documents produced are of eml-2.0.1 standard.Also made changes in create-registry folder
Fixed bug# 1309. Also put a regex check on ending year and beginning year.
Made changes to fix bug # 1365.
Made changes to fix bug# 1303 and 1367.(Both are related)Following variables can now be specifieD from the cfg file to control behaviour of the skin: hasKeyword, hasMethod, hasSpatial, hasTaxonomic and hasTemporal. Following two also can be used: spatialRequired and temporalRequired
Made changes to fix bug# 1303 and 1367.(Both are related) - corresponding changes need to be made in tmpl file and testing needs to be done before bugs can be closed.
Made changes to fix 1301. Works fine with eml2 - need to check if works with emlbeta6.
Made changes to control whether a skin wants to use keywords or not. Keywords probably will be used by all skins alsways. But similar changes can be made for Geographic Coverage or Temporal COverage to control whether a particular section of the insert data template needs to be shown or not. This can be controlled from .cfg file. For example, in nceas.cfg is you define hasKeyword = false, none of the templates will show the keyword part. (Unless, you are using NCEAS skin and you try to modify a document which already has keywords.)
Removed beta6 specific code which is no longer being used.
Removed repetition of code. Also fixed the link to the modified file submitted from responseTemplate
Fixed a bug which doesn't occur everytime. The bug occurs when lastid in (cfg).lastid is not unique. i.e. there is already a document in the server which has same docid. The earlier algorithm was:
while(not unique){ get accession number; update accession number written in document; (BUG)...
Added extra parameters (cfg & docid) to be passed on to generic response screen.
made changes so that organization name for the site or project is entered beforeany other creater.
fixed a bug in reloading of kewords from an eml file for edit-datapackage form.
Minor changes to allow the registry to work in the knb skin, mainly inhow to treat the 'site' field. Now it is a free-text organizationfield in the KNB skin. Need to test, install this on ecoinfo and link itinto the KNB web pages.
Added subroutine for replacing characters that might create problem in HTML.Specifically written for "being used in any text field. This create aproblem in confirmData template, when you specify input name value pair with valuehaving a " in it.
Made changes so that & and other characters dont mess up the url that is passed to metacat.
Mixed a bug reported by Rick and Dan. The form inserted a organizationName tag with no value. This happened only in NCEAS as the tag was included from the drop down site list which doesnot exsist in NCEAS version. Hence, a empty tag was inserted in the eml document.
Bug 1301 - changes made for a repeatable add keyword button
Made changes to fix bug# 1326. The templateVar are now passed on to the responseTemplate also in case of error - so that it can show a link which will send all the values back to register-dataset.
Did editing to support changes mentioned in bug 1295
Fixed hardcoded admin account so that it works with more than just OBFSRegistry.
Fixed registry bug involving a string comparison (used numericequality instead of string equality).
Removed unneeded Net::LDAP dependency. Now all authentication occursindirectly through Metacat.
Added skin for the UCNRS data registry based on earlier work. Minormodifications to the templates to accomodate this. Fixed a validationbug in the register-dataset.cgi, and removed an unnecessary Net::LDAPlogin as well because the authentication is handled by metacat.
Fixed validation check for samplingDescription.
Changes to re-enable the nceas admindb access for the production install.
Removed some debugging test code that isn't needed.
Added studyExtent and samplingDescription fields to the registry to accomodateSandy's request for a temporalDescription field. This is a little more thanshe wanted, but it was needed to satisfy EML minimum requirements.
Added taxonomic coverage and authority fields, and fixed a bug in reentrywith the methods fields. Now we are collecting information on all of theadditional fields Sandy requested except for a general temporal description,which doesn't fit neatly in EML. Will need to consider how to accomodate...
Added the ability to describe taxonomicCoverage to the registry. Thisallows an arbitrary number of species or other taxa to be listed, and theediting form can dynamically grow through a simple javascript approach(also used in Methods). Need to test thoroughly, and need to test on...
Added geographic description to the fields of data collected, as it isa required field and was being improperly defaulted to an empty string in theXML document. This is a new field for all registries.
Modifications to add "Methods" collection to the data registry, and tomake the forms HTML 4.0.1 valid (in an attempt to figure out some ofthe rendering and layout oddities I'm seeing).
New formatting and text for the NCEAS data registry.
Further changes to the registry scripts to support the NCEAS registrywith access to the project list fromthe admindb. Also, fixed a bug withthe script where creators were getting duplicated in the editing processaccidentally.
Modifications that allow working group entries to be put in as creators, anda whole bunch of re-formatting for horribly formatted code that I need toread to finish this thing up.
Updated registry further for NCEAS-specific needs. Confirm data templatenow handles new wg field. Still need to write WG metadata into EML document.
Additional work on the NCEAS/AdminDB integration. Working Groups nowpresented as a dropdown box for multiple selection. Need to write theinfo to the XML file now and handle it in confirmation template.
Preliminary changes to support the NCEAS data registry connection to theAdminDB to retrieve project lists.
Updates that allow registry script to update the lastid field more efficientlyby calling the metacat 'getlastdocid' function for a given scope. Also somedebugging support added, and a bug where the error message was inproperlysaved across calls to metacat, resulting in spurious error messages.
Remove email notification from registry script.
This is the merge from the branch WEB_UI_REDESIGN_BRANCH back into the head.The only files that have been removed are those in lib/style/eml2; other filesthat have been cvs removed (only from lib/ and lib/style) have been re-addedelsewhere (i.e. moved from one directory to another)....