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.
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.
Don't worry about checking for user permissions when inserting a new document
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.
Process affiliated ldap info
Fix typos in error messages.
Move the logMetacat global
Only check user permissions for online data if the data already exists.
Get the metacat url from the SystemUtil.
Add back the auth.base variable to metacat.properties. Use this variable when creating ldap distinguished name.
Try to create the backup directories before creating th ebackup files.
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
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.
Discover the external (backup) directory based on OS
Add debug statements
catch and report missing skins configuration files.
Catch login errors and report the details via an exception.
Added code to populate moderators from metacat.properties
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.
Update metacat api documentation
Rename LDAPUtil to AuthUtil
This handles the configuration login form
Rename LDAPAdmin to AuthAdmin
Add a getAttributes method to pass through the getAttributes defined in the AuthInterface.
change generic authentication properties from ldap.* to auth.*
Added this class to be able to test multiple authentication strategies
change some info and warn statements to debug
When checking oracle metadata, table names must be in upper case. For postgres, it's however the table was created.
Trim property values
Added validation that configured ldap admins actually exist in ldap
Add some generic typing
Change the encoding method of reponse of getPrincipal from ASCII to iso-8859-1.
Change the db query to only pull public allowed documents when creating the sitemap file.
Remove the code to read and write metadata to disk. It is getting put into DocumentImpl
fixed spelling of onlineURLDistributionListWithoutId variable
Move the code to write metadata to disk into documentImpl
Clean up comments and remove extra includes
Add check for null access control list
Separate access control info into it's own list. Add getters and setters.
Fix the deploy directory autodiscovery code so that it works regardless of where the metacat application directory is.
Handle exception during database update
Add some generics typing
Beef up the regex to find the document namespace
Debug and comment changes
Changes to support EML 2.1.0. Mostly access control changes, but others as well.
Fix the static error messages so they match what we are looking for in the test cases.
Add some generics typing. Fixed comments.
Add some generics typing. Add getters and setters for the inline file name that the access section affects.
Add some generics typing. Separate the code that strips inline data from document files to have a different strategy for 2.0.X versus 2.1.X documents.
Get the file name from the system_id, handling cases where the id starts with http
check for existing access control rows before inserting (we do not need duplicate rows specifying the same access control)
in cases when only access control is being modified, we can temporarily ignore the exception thrown my the write method, insert the updated access control rules, then deal with the write exception. this occurs when the docid remains the same (no revision increase) but the permissions have been altered.
use correct spelling for "accessControl" elements
translate numeric permission to text permission when serializing.
use local name for end Element parsing...