update workers.properties with more standard ajp13 worker name (not used until apt-get install project)
Format indexPaths in metacat.properties. Remove from build.properties and build.xml. Move indexPath list getter from MetacatUtil to SystemUtil.
Replace System.out.println statements with logMetacat statements.
moved file from metacat/bin to metacat/src/scripts/bash since eclipse uses <project>/bin as a default build directory and these files will consistently get blown away locally by eclipse.
Update replication documentation and fix code so that replication log is available.
Separate the concept of a backup file location and a metacat external directory location. These can be totally different.
Fixes include:-Overwriting existing DTDs on the filesystem if they exist and registration in the DB failed-only registering a DTD once
do not include the column name when inserting into an auto-increment column
Make sure and write the shortcut to the backup directory to a directory in the users home.
Add the service registration xml schema to the database. The ecogrid build will add the schema files to the application (see seek)
Allow for backup properties to be written to context based subdirectory of the external configuration directory. This allow multiple instances of metacat to be run side by side.
Add a short sleep when moderator accepts document so system can update. This will make sure correct documents get returned to moderators list.
Change name of writeTempFile to writeTempUploadFile since this instance deals with the temporary upload dir specifically
Added exception to error xml to clarify error to api.
writeTempFile was trying to write the same file as the registry. Changed to write the file to an "upload" subdirectory. Also throws IOException so errors get reported back to api.
Handle sessions with null ids gracefully.
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.
Check for null session ID when touching session.
Get the organization list from org.name.<orgname>= property. Add these values back into metacat.properties.
Changing the ChangePassword method to fix password reset broke the password change functionality. Moved the fix (add dc to username) into the handleResetPassword function.
Fix typo after the error message
Include the dc in the user name when connecting to ldap to change password.
Handle non-responsive LDAP referrals without killing the script, but still require the main LDAP to be up.
Add cgiPrefix to the template variables.
Don't worry about checking for user permissions when inserting a new document
Add a few more debugging messages to LDAPweb to help find timeout issues
Do not back up password properties
Only configure skins that are correctly configured in the skins directory.
Check for existance of backup file location at startup time.
Only show the backup configuration screen if the system cannot discover a directory.
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...
- move moderatorComments into //additionalMetadata/metadata/ as per EML 2.1 (Bug #3679) - overlay skin-specific email properties on system-level properties (email hostname)
Process affiliated ldap info
Fix problem with failing authentication for creating new accounts. (Bug #3725)
minor change to help nick test irccat
Enable debugging for LDAPweb.
DRY out login request code
Ensure that file permission is always set. If unset, it'll cause the EML document to be invalid.
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.
Fix typos in error messages.
only shift once; fix typo in writeFile
Fix issue with missing AdminDB parameters causing the registry script to fail (Bug #3741)
standardize registry debug messages with 'Registry:' prefix
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.
fix typo preventing guide pages from showing (Bug #3726)
Move the logMetacat global
Only check user permissions for online data if the data already exists.
Get the metacat url from the SystemUtil.
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.
Include error checking for required distribution elements, which must be non-empty strings in EML 2.1 (bug #3721).
Add back the auth.base variable to metacat.properties. Use this variable when creating ldap distinguished name.
Update properties usage to be correct, use proper LDAP URL, move template function higher up to prevent prototyped subroutine definition issues.
Update moderators element to current token, fix undefined variable in ESA logic.
Try to create the backup directories before creating th ebackup files.
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).
Create a propertyService.getTestInstance method to facilitate unit tests
Add external (backup) directory discovery methods.
Remove org configuration methods since they are not used. Get the backup configuration directories when doing a bypass. Implement the refresh method.
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.
Implement refresh methods inherited from base class
Remove the configuration directory from the PropertyService constructor
Do not worry about creating backup directories here
Use configured backup dir when discovering data directories
Handle backup configuration action
Class to support backup directory configuration
Deleted this file. Organization level configuration is not used.
Renamed MetaCatUtil to MetacatUtil
Added files to create any version of database schema from scratch
Move global connection variable setters into the constructor so they are retrieved every time we get a new dbConnetion object
Robustly handle file naming as per bug #2566 and the feedback of the scientific programmers (http://tinyurl.com/4n4jve).
revert the changes for: -- On update, check if the accession number exists in the db. If not, change the action to insert.
Quote filenames as per RFC2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1), this prevents filename truncation on Firefox for files with spaces within the names (part of #2566).
On update, check if the accession number exists in the db. If not, change the action to insert.
Use a distributionSection object to hold a distribution and it's access.
move readerToString function to StringUtil class in utilities module.
Holds all the information for a single distribution in eml.
Change Inlinedatafilename to datafilename, since it can be the name of a regular data file
Add method to save transforming message into files.
Use a while loop to replace if.
Add code to go through eml201 document list to transform them to eml210.
Add a new class which will transform eml201 and eml 200 to eml210.
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.
add debug
Discover the external (backup) directory based on OS
Add debug statements
Scripts to support a debian package build
Move these scripts to the debian directory
use standard ajp13 worker instead of custom knb
catch and report missing skins configuration files.
Reformat file
Catch login errors and report the details via an exception.
Added code to populate moderators from metacat.properties
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)...
moved scripts from bin dir
Add release info property to provide a brief description of the release (release candidate info mostly)
Remove application.default-style from the global configuration screen and activate it in the skins configuration.