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)
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...
Change the ServiceInterface into a base class called BaseService. All services extend BaseService.
remove XMLSchemaService import
change the FileUtil.createDirectory calls to catch an exception on error.
Get an instance of XMLSchemaService when refreshing.
Added refreshServices action to allow tests to refresh service caches. This will be expanded to only allow for admins.
Change some info log statements to debug
Object to hold information about a single xml schema.
Add service to keep persistent information about xml schemas. This maintains a list of all registered schemas
Fix comments
Create document and temporary directories during configuration.
Use XMLSchemaService to access persistent schema information.
Look for schemaLocations in the document while initializing parser. If full schema validation is turned on in metacat.properties, and at least one schema is not registered locally, then turn on full schema validation in the parser.
Store schemaLocations as they are found in startElement. Save them in endDocument. In this way, schemas will only get saved locally if the document parses successfully.
Move xml schema specific functionality to XMLSchemaService
include context for replication server
use secure server for replication - note that this is WITHOUT "https://" prepended