Display helpful error message when user lacks permissions to edit a document, supress the 'use Morpho' message (closes Bug #3928)
Three small fixes: - 'salutation' was misspelled and wasn't picked up correctly in document modificiation - keyword handling wasn't setting the thesaurus correctly - check against the full list of moderators for the ACL validation
Adding back fix for editing documents with multiple keywords, closing #3929
Update version to 1.9.1. Add nrs ldap properties to configuration.
remove DataTranspose from core metacat - only used in FIRST skin for this 1.9.1 release
Include hack for UCNRS organization properties.
- build up username using base if username isn't fully qualified (e.g. cn=Manager,dc=ecoinformatics,dc=org)- additional debugging statements for changePassword
- fix error reporting for failed password reset request- automatically generate necessary LDAP parameters from our defaults, included in auth.base and unaffiliated properties. This won't work for skins such as UCNRS with a different base, which still need to be ...
- reformat header- add debugging for getLdapEntry searches- add 'filter' parameter for organizations
Provide improved contextUrl, provide proper URL in password reset message body
Accidentally removed ACCESS constant declaration. Restored.
Roll back replication user changes. Fix code that converts access levels to integer and to text.
Introduce replication user. Use the fileutil writer methods instead of writing directly.
new datamanager feature!Pivot a result set (rows to columns).Handles simplest case: -single id column (observation)-single pivot column (pivot)
Beef up exception handling from file utilities. Move UtilException to MetacatUtilException to eliminate conflict with similar exception in utility package.
Do not read or write zero length documents to/from disk
Handle all places where ldap may be null
enclose more references to ldap and mesg in the if (ldap) statement.
made mesg var global to function.
left off ;
Do not try to use non-existant ldap object if ldap server is down.
Use only one eml common stylesheet directory for all post 2.0.0 beta versions of eml. Point all eml versions to that directory in skin xml files.
distribute perl autosplit.ix file with metacat. change tomcat startup script output to echos.
Add db rollback scripts
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.