Project

General

Profile

  • svn:eol-style: native
  • svn:executable: *
  • svn:keywords: Author Date Id Revision

# Date Author Comment
4754 01/15/2009 11:38 AM walbridge

- move moderatorComments into //additionalMetadata/metadata/ as per EML 2.1 (Bug #3679)
- overlay skin-specific email properties on system-level properties (email hostname)

4746 01/13/2009 03:19 PM walbridge

DRY out login request code

4745 01/13/2009 12:20 PM walbridge

Ensure that file permission is always set. If unset, it'll cause the EML document to be invalid.

4744 01/13/2009 12:00 PM walbridge

Complete implementation of otherEntity editing and deletion, syncronizing changes to EML document. Now all elements which are created by the form can also be edited (Bug #3319). Also prevented associated party duplication on modification.

4742 01/12/2009 04:33 PM walbridge

only shift once; fix typo in writeFile

4741 01/12/2009 12:32 PM walbridge

Fix issue with missing AdminDB parameters causing the registry script to fail (Bug #3741)

4739 01/09/2009 03:30 PM walbridge

standardize registry debug messages with 'Registry:' prefix

4738 01/09/2009 02:37 PM walbridge

Further fixes for allowing editing with otherEntity objects, completed deserialization and copying of file metadata from existing data objects (Bug #3319). Still needs more work.

4737 01/09/2009 12:27 PM walbridge

fix typo preventing guide pages from showing (Bug #3726)

4731 01/06/2009 04:35 PM daigle

Don't die if the xml-debug file can't be written to the temporary directory. Instead, write a warning. Include the directions for making the temporary dir writable to the apache user in documentation.

4730 01/06/2009 12:28 PM walbridge

Include error checking for required distribution elements, which must be non-empty strings in EML 2.1 (bug #3721).

4726 01/02/2009 01:50 PM walbridge

Update moderators element to current token, fix undefined variable in ESA logic.

4625 11/24/2008 03:03 PM walbridge

Number of ESA-related fixes:
- fix review panel to reference valid URL using cgiPrefix
- update ESA document creation to use XSLT methods instead of split()
- add code for ESA access rules fix (to be used in 1.9.1)
- use moderators in metacat.properties (postpone skin-based configuration till 1.9.1)...

4606 11/20/2008 05:31 PM walbridge

Further ESA fixes: More 2.1.0 compliance, fix security issue

4601 11/19/2008 06:57 PM walbridge

updated handleModAccept to be EML 2.1.0 compliant, streamlined document generation to use EML creation functions.

4600 11/19/2008 06:26 PM walbridge

Update accessElement to accept a value for publicly readable

4594 11/19/2008 04:08 PM walbridge

Add wrapper function for transforming XML documents to current EML, change ESA skin to use newAssessionNumber, parse EML document with query instead of split()

4578 11/19/2008 11:13 AM walbridge

Add incrementRevision function to replace duplicated code

4577 11/19/2008 10:58 AM walbridge

CODE FORMATTING ONLY: Fix all the inconsistencies I found within the script to follow the standards used within 80% of the code: No tabs, 'if (eval) {' operator spacing, four spaces indentation, replace exit(0) with exit().

4554 11/10/2008 06:35 PM walbridge

add start of otherEntity processing for registry edits

4553 11/10/2008 06:21 PM walbridge

Editing documents should check for ACL elements under //access now instead of //dataset/access

4552 11/10/2008 06:07 PM walbridge

Transform EML 2.0.x documents to 2.1.0 which are found when editing with the registry, using an XSLT transformation.

4541 11/10/2008 02:59 PM walbridge

Remove EML2 beta6 document conversion support, the files required for conversion have been deprecated from Metacat.

4520 11/06/2008 11:29 AM walbridge

Update STMML to the newest version as per EML 2.1.0

4519 11/06/2008 11:28 AM walbridge

Dump copy of EML document being uploaded when debug mode is enabled.

4517 11/05/2008 05:20 PM walbridge

Partial fix for #3496, making the registry create EML 2.1.0 documents. The documents are internally valid 2.1.0 (they run against the validator correctly) but aren't inserting into Metacat correctly as of yet.

4394 09/26/2008 10:28 AM walbridge

Further rework on ldapweb.cgi for 1.9 compatibility. Finished changes needed to have skinnable presentation for ldapweb.cgi, and reworked the organization logic to be compatible with our current method of storing the data (organization.* within metacat.properties).

4378 09/23/2008 04:42 PM walbridge

Number of fixes, including removing all lastid code and replacing with a single function which always queries remotely instead of relying on lookups, solving #3019. Fixed parsing of spatial coordinates for site-based skins, removed dependency on AppConfig as we're fully using .properties files at this point.

4368 09/23/2008 09:36 AM daigle

Source the lib directory in the metacat application. This is the new location of Metacat.pm

4357 09/16/2008 02:54 PM walbridge

Further improvements to the registry to properly support the new properties. Removed all variables previously passed around between forms which should always be available canonically from the skin.properties file and replaced with refences to properties value for the skin being used. Removed some cruft from both files, fixed mior issues mentioned in bug #3487.

4190 07/31/2008 05:26 PM walbridge

Allow script to be run from command line, more token changes including all path changes for URLs and directories.

4182 07/30/2008 10:23 AM walbridge

Consolidation of property names in register-dataset.cgi; returned runConfiguration to default true

4080 07/06/2008 09:25 PM daigle

Merge 1.9 changes into Head

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

Merge METACAT_1_8_1 to cvs head.

3758 03/05/2008 05:05 PM Jing Tao

Modified the normalize subroutine - don't use 26 (url encoding) to replace x%x

3629 11/30/2007 04:47 PM walbridge

Workaround for a bizzare submission issue stemming from the debug sub. Modified the NCEAS project list to be robust and rely on the presence of the AdminDB module and a working connection to the DB for listing projects.

3598 11/20/2007 01:26 PM walbridge

Updated the ResponsibleParty object creation to be more robust. Now handles N MetadataProvider elements as expected.

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.

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.

3422 09/11/2007 03:53 PM walbridge

Added submission of data files to the registry. New parameter 'hasUpload' can be set on a per-skin basis to enable the uploading of data objects to be associated with a metadata document. NCEAS skin is using this by default, to be changed in the future for other skins....

3387 08/29/2007 05:30 PM Jing Tao

Getting project list from nceas admin db.

3386 08/28/2007 05:02 PM Jing Tao

fixed bug that input form coudn't be shown.

3292 06/04/2007 11:56 AM Jing Tao

Fixed bug that docid has no seperator in email.

3291 05/29/2007 03:11 PM Jing Tao

Remove the rule that the access allow rule should equals three.

2994 04/25/2006 03:37 PM sgarg

added function to get list of projects for NCEAS from a given project list

2894 01/19/2006 02:37 PM sgarg

variable for showing instructions

2869 12/16/2005 02:34 PM sgarg

added code to give access to moderator group on the review document

2864 12/16/2005 12:06 PM sgarg

Added template for getting the review

2859 12/16/2005 08:52 AM sgarg

Made changes so that the user is prompted to login before entering a dataset

2858 12/15/2005 04:49 PM sgarg

Added functionality for storing comments and displaying them. Also added functionality for reading the eml document.

2847 12/15/2005 10:01 AM sgarg

bugfixes in previous code and added functionality to store reviews on various documents...

2808 12/01/2005 02:08 PM sgarg

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

2801 12/01/2005 10:19 AM sgarg

Following changes:
1. Fixed a bug in checking of contact email address field
2. Added functions to display the result of accept, reject and revise actions
3. Added variable to control if the document creator should be the skin admin
4. a common function to check if the present user is a moderator

2784 11/28/2005 04:50 PM sgarg

Some small bug fixes...

2783 11/28/2005 02:47 PM sgarg

New functions in the dataset registry to support moderation feature needed for ESA

2645 10/04/2005 12:20 PM sgarg

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.

2644 10/04/2005 11:40 AM sgarg

Fix for bug 2220. And check the cfg file if the eml documents generated should be publically readable or not.

2636 10/03/2005 03:15 PM sgarg

bug fix so that error is displayed if station or reserve is not selected

2615 09/30/2005 05:29 PM sgarg

Added code to enter publication date into the dataset.

2613 09/30/2005 04:03 PM sgarg

Fix for 2214. Allow 0 in coordinates now.

2612 09/30/2005 02:47 PM sgarg

Fix for bug 2215. Error message is displayed if project name is not selected in the nceas skin.

2478 04/08/2005 01:34 PM sgarg

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.

2432 03/29/2005 11:56 AM sgarg

Replaced Usage Constraints with Usage Rights and Data Originator with Dataset Owner.

(Commit done by Saurabh Garg for Veronique)

2415 03/16/2005 03:41 PM sgarg

Fixed some bugs from previous commits. Veronique changes the text of error messages. Added a new stage to distinguish errors because of logins.

2403 03/08/2005 02:30 PM sgarg

Changed the code which handles Associated Party, Keywords and Taxonomic Information.

2362 01/07/2005 03:56 PM sgarg

Fix for bug# 1344

2348 12/21/2004 03:04 PM sgarg

Added code to fix bug 1323. % sign is replaced by its http equivalent now

2345 12/21/2004 10:54 AM sgarg

Added code to fix bug# 1344. Response template is called when cancel delete is pressed.

2334 12/16/2004 02:33 PM sgarg

Fixed bug #1551 by adding a conditional statement.

2333 12/16/2004 02:07 PM sgarg

Made changes to fix bug# 1310. Now while parsing old documents, the script checks for ACLs also.

2280 09/15/2004 02:00 PM sgarg

Fixed a bug in creation of EML documents when coordinates from the site_list have to be used.

2258 08/28/2004 03:25 AM Matt Jones

Modifications to the registry to support the new ESA skin. Factored out some of
the configuration-specific code into properties that are set in the various
cfg 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...

2223 07/22/2004 02:31 PM sgarg

Made change in the registry so that new documents produced are of eml-2.0.1 standard.
Also made changes in create-registry folder

2152 04/30/2004 08:27 PM sgarg

Fixed bug# 1309. Also put a regex check on ending year and beginning year.

2151 04/30/2004 07:28 PM sgarg

Made changes to fix bug # 1365.

2149 04/30/2004 07:06 PM sgarg

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

2148 04/30/2004 11:09 AM sgarg

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.

2144 04/29/2004 11:16 AM sgarg

Made changes to fix 1301. Works fine with eml2 - need to check if works with emlbeta6.

2138 04/26/2004 04:46 PM sgarg

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

2137 04/26/2004 02:59 PM sgarg

Removed beta6 specific code which is no longer being used.

2136 04/26/2004 02:29 PM sgarg

Removed repetition of code. Also fixed the link to the modified file submitted from responseTemplate

2057 03/22/2004 10:37 AM sgarg

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

2056 03/22/2004 08:43 AM sgarg

Added extra parameters (cfg & docid) to be passed on to generic response screen.

2049 03/16/2004 06:57 PM sgarg

made changes so that organization name for the site or project is entered before
any other creater.

2042 03/09/2004 03:59 PM sgarg

fixed a bug in reloading of kewords from an eml file for edit-datapackage form.

2038 03/06/2004 11:51 PM Matt Jones

Minor changes to allow the registry to work in the knb skin, mainly in
how to treat the 'site' field. Now it is a free-text organization
field in the KNB skin. Need to test, install this on ecoinfo and link it
into the KNB web pages.

2037 02/27/2004 03:21 PM sgarg

Added subroutine for replacing characters that might create problem in HTML.
Specifically written for "being used in any text field. This create a
problem in confirmData template, when you specify input name value pair with value
having a " in it.

2032 02/20/2004 04:45 PM sgarg

Made changes so that & and other characters dont mess up the url that is passed to metacat.

2029 02/11/2004 01:08 PM sgarg

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.

2028 02/10/2004 06:13 PM sgarg

Bug 1301 - changes made for a repeatable add keyword button

2024 02/10/2004 09:37 AM sgarg

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.

2015 02/05/2004 04:36 PM sgarg

Did editing to support changes mentioned in bug 1295

2005 01/12/2004 06:37 PM Matt Jones

Fixed hardcoded admin account so that it works with more than just OBFS
Registry.

2003 01/12/2004 05:44 PM Matt Jones

Fixed registry bug involving a string comparison (used numeric
equality instead of string equality).

2000 01/08/2004 06:57 PM Matt Jones

Removed unneeded Net::LDAP dependency. Now all authentication occurs
indirectly through Metacat.

1999 01/08/2004 06:48 PM Matt Jones

Added skin for the UCNRS data registry based on earlier work. Minor
modifications to the templates to accomodate this. Fixed a validation
bug in the register-dataset.cgi, and removed an unnecessary Net::LDAP
login as well because the authentication is handled by metacat.

1997 01/08/2004 08:31 AM Matt Jones

Fixed validation check for samplingDescription.

1993 01/07/2004 03:13 PM Matt Jones

Changes to re-enable the nceas admindb access for the production install.

1992 01/07/2004 11:07 AM Matt Jones

Removed some debugging test code that isn't needed.

1989 01/06/2004 06:41 PM Matt Jones

Added studyExtent and samplingDescription fields to the registry to accomodate
Sandy's request for a temporalDescription field. This is a little more than
she wanted, but it was needed to satisfy EML minimum requirements.