| Revision:

metacat / src @ 4780

# Date Author Comment
4780 01/26/2009 04:38 PM daigle

Handle sessions with null ids gracefully.

4779 01/26/2009 04:38 PM daigle

Do not throw exception when skin metadata file is missing. Instead, remove the skin from the available skins list, write an error message to the log and continue on. This was already done for the skins properties file.

4778 01/26/2009 01:46 PM daigle

Check for null session ID when touching session.

4776 01/26/2009 10:19 AM daigle

Get the organization list from<orgname>= property. Add these values back into

4774 01/23/2009 03:40 PM daigle

Changing the ChangePassword method to fix password reset broke the password change functionality. Moved the fix (add dc to username) into the handleResetPassword function.

4773 01/23/2009 11:10 AM daigle

Fix typo after the error message

4772 01/23/2009 09:39 AM daigle

Include the dc in the user name when connecting to ldap to change password.

4771 01/22/2009 03:04 PM walbridge

Handle non-responsive LDAP referrals without killing the script, but still require the main LDAP to be up.

4770 01/22/2009 02:39 PM daigle

Add cgiPrefix to the template variables.

4769 01/21/2009 04:28 PM daigle

Don't worry about checking for user permissions when inserting a new document

4767 01/20/2009 12:26 PM walbridge

Add a few more debugging messages to LDAPweb to help find timeout issues

4766 01/20/2009 10:09 AM daigle

Do not back up password properties

4762 01/19/2009 11:53 AM daigle

Only configure skins that are correctly configured in the skins directory.

4761 01/19/2009 11:52 AM daigle

Check for existance of backup file location at startup time.

4760 01/16/2009 04:09 PM daigle

Only show the backup configuration screen if the system cannot discover a directory.

4758 01/15/2009 07:41 PM walbridge

A slew of fixes in the process of fixing bug #3679:
- omit port number from the contextUrl if running on 80, looks bad in exposed URLs
- explicitly pass the metacat object to newAccessionNumber, the global definition of the object had introduced a difficult to track bug...

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)

4751 01/14/2009 04:05 PM daigle

Process affiliated ldap info

4749 01/14/2009 03:32 PM walbridge

Fix problem with failing authentication for creating new accounts. (Bug #3725)

4748 01/13/2009 05:27 PM walbridge

minor change to help nick test irccat

4747 01/13/2009 05:20 PM walbridge

Enable debugging for LDAPweb.

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.

4743 01/13/2009 11:11 AM walbridge

Fix typos in error messages.

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)

4734 01/08/2009 09:45 AM daigle

Move the logMetacat global

4733 01/08/2009 09:41 AM daigle

Only check user permissions for online data if the data already exists.

4732 01/07/2009 10:13 AM daigle

Get the metacat url from the SystemUtil.

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

4729 01/06/2009 10:28 AM daigle

Add back the auth.base variable to Use this variable when creating ldap distinguished name.

4728 01/06/2009 10:17 AM walbridge

Update properties usage to be correct, use proper LDAP URL, move template function higher up to prevent prototyped subroutine definition issues.

4726 01/02/2009 01:50 PM walbridge

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

4725 01/02/2009 08:16 AM daigle

Try to create the backup directories before creating th ebackup files.

4722 12/30/2008 05:34 PM walbridge

Add script for converting documents with docnames into the filename stored within the objectName field of the EML. This, along with changes in the 1.9 release should eliminate incorrect filenames (Bug #2566).

4719 12/26/2008 04:33 PM daigle

Create a propertyService.getTestInstance method to facilitate unit tests

4712 12/26/2008 01:22 PM daigle

Add external (backup) directory discovery methods.

4711 12/26/2008 01:22 PM daigle

Remove org configuration methods since they are not used. Get the backup configuration directories when doing a bypass. Implement the refresh method.

4710 12/26/2008 01:20 PM daigle

This service now holds a registry of active services. Refreshing of services must go through this class. Also holds some common values that are discovered via servlet context.

4709 12/26/2008 01:18 PM daigle

Implement refresh methods inherited from base class

4708 12/26/2008 01:17 PM daigle

Remove the configuration directory from the PropertyService constructor

4707 12/26/2008 01:16 PM daigle

Do not worry about creating backup directories here

4706 12/26/2008 01:16 PM daigle

Use configured backup dir when discovering data directories

4705 12/26/2008 01:15 PM daigle

Do not worry about creating backup directories here

4704 12/26/2008 01:14 PM daigle

Handle backup configuration action

4703 12/26/2008 01:13 PM daigle

Class to support backup directory configuration

4702 12/26/2008 01:11 PM daigle

Deleted this file. Organization level configuration is not used.

4699 12/26/2008 01:09 PM daigle

Renamed MetaCatUtil to MetacatUtil

4698 12/26/2008 01:07 PM daigle

Renamed MetaCatUtil to MetacatUtil

4692 12/19/2008 12:11 PM daigle

Added files to create any version of database schema from scratch

4686 12/19/2008 09:44 AM daigle

Move global connection variable setters into the constructor so they are retrieved every time we get a new dbConnetion object

4685 12/18/2008 06:13 PM walbridge

Robustly handle file naming as per bug #2566 and the feedback of the scientific programmers (

4684 12/18/2008 04:14 PM daigle

revert the changes for: -- On update, check if the accession number exists in the db. If not, change the action to insert.

4683 12/18/2008 02:49 PM walbridge

Quote filenames as per RFC2616 (, this prevents filename truncation on Firefox for files with spaces within the names (part of #2566).

4682 12/18/2008 02:14 PM daigle

On update, check if the accession number exists in the db. If not, change the action to insert.

4678 12/17/2008 02:17 PM daigle

Use a distributionSection object to hold a distribution and it's access.

4677 12/17/2008 02:15 PM daigle

move readerToString function to StringUtil class in utilities module.

4676 12/17/2008 02:14 PM daigle

Holds all the information for a single distribution in eml.

4675 12/17/2008 02:14 PM daigle

Change Inlinedatafilename to datafilename, since it can be the name of a regular data file

4674 12/13/2008 01:47 PM Jing Tao

Add method to save transforming message into files.

4673 12/12/2008 06:38 PM Jing Tao

Use a while loop to replace if.

4672 12/12/2008 05:59 PM Jing Tao

Add code to go through eml201 document list to transform them to eml210.

4671 12/10/2008 05:32 PM Jing Tao

Add a new class which will transform eml201 and eml 200 to eml210.

4665 12/09/2008 03:01 PM daigle

Correct the pathing for the schema directories based on OS. Leave them in the database with linux style paths (forward slashes) since the values are also used to create urls.

4664 12/09/2008 03:00 PM daigle

add debug

4663 12/09/2008 02:58 PM daigle

Discover the external (backup) directory based on OS

4662 12/09/2008 02:58 PM daigle

Discover the external (backup) directory based on OS

4661 12/09/2008 02:56 PM daigle

Add debug statements

4656 12/08/2008 10:38 AM daigle

Scripts to support a debian package build

4655 12/08/2008 10:38 AM daigle

Move these scripts to the debian directory

4647 12/03/2008 08:57 AM daigle

use standard ajp13 worker instead of custom knb

4632 11/25/2008 12:40 PM daigle

catch and report missing skins configuration files.

4629 11/25/2008 10:50 AM daigle

Reformat file

4628 11/25/2008 09:54 AM daigle

Catch login errors and report the details via an exception.

4627 11/24/2008 03:42 PM daigle

Added code to populate moderators from

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 (postpone skin-based configuration till 1.9.1)...

4624 11/24/2008 02:10 PM daigle

moved scripts from bin dir

4619 11/24/2008 11:51 AM daigle

Add release info property to provide a brief description of the release (release candidate info mostly)

4608 11/21/2008 10:32 AM daigle

Remove application.default-style from the global configuration screen and activate it in the skins configuration.

4606 11/20/2008 05:31 PM walbridge

Further ESA fixes: More 2.1.0 compliance, fix security issue

4604 11/20/2008 11:51 AM daigle

Update metacat api documentation

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

4592 11/19/2008 03:26 PM daigle

Rename LDAPUtil to AuthUtil

4591 11/19/2008 03:26 PM daigle

This handles the configuration login form

4590 11/19/2008 03:25 PM daigle

Rename LDAPAdmin to AuthAdmin

4589 11/19/2008 03:25 PM daigle

Rename LDAPUtil to AuthUtil

4588 11/19/2008 03:23 PM daigle

Add a getAttributes method to pass through the getAttributes defined in the AuthInterface.

4587 11/19/2008 03:12 PM daigle

change generic authentication properties from ldap.* to auth.*

4586 11/19/2008 03:11 PM daigle

Added this class to be able to test multiple authentication strategies

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

4574 11/18/2008 02:19 PM daigle

change some info and warn statements to debug

4561 11/13/2008 03:20 PM daigle

When checking oracle metadata, table names must be in upper case. For postgres, it's however the table was created.