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.
Further ESA fixes: More 2.1.0 compliance, fix security issue
Update metacat api documentation
updated handleModAccept to be EML 2.1.0 compliant, streamlined document generation to use EML creation functions.
Update accessElement to accept a value for publicly readable
Add wrapper function for transforming XML documents to current EML, change ESA skin to use newAssessionNumber, parse EML document with query instead of split()
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
Add incrementRevision function to replace duplicated code
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().
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.
add start of otherEntity processing for registry edits
Editing documents should check for ACL elements under //access now instead of //dataset/access
Transform EML 2.0.x documents to 2.1.0 which are found when editing with the registry, using an XSLT transformation.
Trim property values
Added validation that configured ldap admins actually exist in ldap
Add some generic typing
Remove EML2 beta6 document conversion support, the files required for conversion have been deprecated from Metacat.
Update STMML to the newest version as per EML 2.1.0
Dump copy of EML document being uploaded when debug mode is enabled.
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.
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)