Project

General

Profile

Statistics
| Revision:

metacat / src @ 4699

# Date Author Comment
4699 12/26/2008 01:09 PM daigle

Renamed MetaCatUtil to MetacatUtil

4698 12/26/2008 01:07 PM daigle

Renamed MetaCatUtil to MetacatUtil

4692 12/19/2008 12:11 PM daigle

Added files to create any version of database schema from scratch

4686 12/19/2008 09:44 AM daigle

Move global connection variable setters into the constructor so they are retrieved every time we get a new dbConnetion object

4685 12/18/2008 06:13 PM walbridge

Robustly handle file naming as per bug #2566 and the feedback of the scientific programmers (http://tinyurl.com/4n4jve).

4684 12/18/2008 04:14 PM daigle

revert the changes for: -- On update, check if the accession number exists in the db. If not, change the action to insert.

4683 12/18/2008 02:49 PM walbridge

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).

4682 12/18/2008 02:14 PM daigle

On update, check if the accession number exists in the db. If not, change the action to insert.

4678 12/17/2008 02:17 PM daigle

Use a distributionSection object to hold a distribution and it's access.

4677 12/17/2008 02:15 PM daigle

move readerToString function to StringUtil class in utilities module.

4676 12/17/2008 02:14 PM daigle

Holds all the information for a single distribution in eml.

4675 12/17/2008 02:14 PM daigle

Change Inlinedatafilename to datafilename, since it can be the name of a regular data file

4674 12/13/2008 01:47 PM Jing Tao

Add method to save transforming message into files.

4673 12/12/2008 06:38 PM Jing Tao

Use a while loop to replace if.

4672 12/12/2008 05:59 PM Jing Tao

Add code to go through eml201 document list to transform them to eml210.

4671 12/10/2008 05:32 PM Jing Tao

Add a new class which will transform eml201 and eml 200 to eml210.

4665 12/09/2008 03:01 PM daigle

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.

4664 12/09/2008 03:00 PM daigle

add debug

4663 12/09/2008 02:58 PM daigle

Discover the external (backup) directory based on OS

4662 12/09/2008 02:58 PM daigle

Discover the external (backup) directory based on OS

4661 12/09/2008 02:56 PM daigle

Add debug statements

4656 12/08/2008 10:38 AM daigle

Scripts to support a debian package build

4655 12/08/2008 10:38 AM daigle

Move these scripts to the debian directory

4647 12/03/2008 08:57 AM daigle

use standard ajp13 worker instead of custom knb

4632 11/25/2008 12:40 PM daigle

catch and report missing skins configuration files.

4629 11/25/2008 10:50 AM daigle

Reformat file

4628 11/25/2008 09:54 AM daigle

Catch login errors and report the details via an exception.

4627 11/24/2008 03:42 PM daigle

Added code to populate moderators from metacat.properties

4625 11/24/2008 03:03 PM walbridge

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)...

4624 11/24/2008 02:10 PM daigle

moved scripts from bin dir

4619 11/24/2008 11:51 AM daigle

Add release info property to provide a brief description of the release (release candidate info mostly)

4608 11/21/2008 10:32 AM daigle

Remove application.default-style from the global configuration screen and activate it in the skins configuration.

4606 11/20/2008 05:31 PM walbridge

Further ESA fixes: More 2.1.0 compliance, fix security issue

4604 11/20/2008 11:51 AM daigle

Update metacat api documentation

4601 11/19/2008 06:57 PM walbridge

updated handleModAccept to be EML 2.1.0 compliant, streamlined document generation to use EML creation functions.

4600 11/19/2008 06:26 PM walbridge

Update accessElement to accept a value for publicly readable

4594 11/19/2008 04:08 PM walbridge

Add wrapper function for transforming XML documents to current EML, change ESA skin to use newAssessionNumber, parse EML document with query instead of split()

4592 11/19/2008 03:26 PM daigle

Rename LDAPUtil to AuthUtil

4591 11/19/2008 03:26 PM daigle

This handles the configuration login form

4590 11/19/2008 03:25 PM daigle

Rename LDAPAdmin to AuthAdmin

4589 11/19/2008 03:25 PM daigle

Rename LDAPUtil to AuthUtil

4588 11/19/2008 03:23 PM daigle

Add a getAttributes method to pass through the getAttributes defined in the AuthInterface.

4587 11/19/2008 03:12 PM daigle

change generic authentication properties from ldap.* to auth.*

4586 11/19/2008 03:11 PM daigle

Added this class to be able to test multiple authentication strategies

4578 11/19/2008 11:13 AM walbridge

Add incrementRevision function to replace duplicated code

4577 11/19/2008 10:58 AM walbridge

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().

4574 11/18/2008 02:19 PM daigle

change some info and warn statements to debug

4561 11/13/2008 03:20 PM daigle

When checking oracle metadata, table names must be in upper case. For postgres, it's however the table was created.

4554 11/10/2008 06:35 PM walbridge

add start of otherEntity processing for registry edits

4553 11/10/2008 06:21 PM walbridge

Editing documents should check for ACL elements under //access now instead of //dataset/access

4552 11/10/2008 06:07 PM walbridge

Transform EML 2.0.x documents to 2.1.0 which are found when editing with the registry, using an XSLT transformation.

4548 11/10/2008 03:23 PM daigle

Trim property values

4547 11/10/2008 03:22 PM daigle

Added validation that configured ldap admins actually exist in ldap

4546 11/10/2008 03:20 PM daigle

Add some generic typing

4541 11/10/2008 02:59 PM walbridge

Remove EML2 beta6 document conversion support, the files required for conversion have been deprecated from Metacat.

4520 11/06/2008 11:29 AM walbridge

Update STMML to the newest version as per EML 2.1.0

4519 11/06/2008 11:28 AM walbridge

Dump copy of EML document being uploaded when debug mode is enabled.

4517 11/05/2008 05:20 PM walbridge

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.

4516 11/05/2008 04:05 PM Jing Tao

Change the encoding method of reponse of getPrincipal from ASCII to iso-8859-1.

4511 11/04/2008 04:04 PM daigle

Change the db query to only pull public allowed documents when creating the sitemap file.

4502 11/03/2008 11:05 AM daigle

Remove the code to read and write metadata to disk. It is getting put into DocumentImpl

4501 11/03/2008 11:01 AM daigle

fixed spelling of onlineURLDistributionListWithoutId variable

4500 11/03/2008 11:00 AM daigle

Move the code to write metadata to disk into documentImpl

4499 11/03/2008 10:59 AM daigle

Clean up comments and remove extra includes

4497 11/03/2008 10:58 AM daigle

Add check for null access control list

4488 10/29/2008 11:44 AM daigle

Add some generic typing

4487 10/29/2008 11:43 AM daigle

Add some generic typing

4486 10/29/2008 11:43 AM daigle

Separate access control info into it's own list. Add getters and setters.

4485 10/29/2008 11:42 AM daigle

Add some generic typing

4481 10/22/2008 02:45 PM daigle

Fix the deploy directory autodiscovery code so that it works regardless of where the metacat application directory is.

4479 10/22/2008 10:24 AM daigle

Handle exception during database update

4475 10/21/2008 03:31 PM daigle

Add some generics typing

4474 10/21/2008 03:30 PM daigle

Beef up the regex to find the document namespace

4473 10/21/2008 03:29 PM daigle

Debug and comment changes

4472 10/21/2008 03:29 PM daigle

Changes to support EML 2.1.0. Mostly access control changes, but others as well.

4471 10/21/2008 03:28 PM daigle

Fix the static error messages so they match what we are looking for in the test cases.

4470 10/21/2008 03:22 PM daigle

Add some generics typing. Fixed comments.

4469 10/21/2008 03:22 PM daigle

Add some generics typing. Add getters and setters for the inline file name that the access section affects.

4468 10/21/2008 03:20 PM daigle

Add some generics typing

4467 10/21/2008 03:20 PM daigle

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.

4466 10/21/2008 03:18 PM daigle

Add some generics typing

4451 10/13/2008 02:38 PM daigle

Get the file name from the system_id, handling cases where the id starts with http

4450 10/13/2008 11:34 AM ben leinfelder

check for existing access control rows before inserting (we do not need duplicate rows specifying the same access control)

4449 10/13/2008 10:42 AM ben leinfelder

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.

4448 10/13/2008 10:40 AM ben leinfelder

use correct spelling for "accessControl" elements

4447 10/13/2008 09:11 AM ben leinfelder

translate numeric permission to text permission when serializing.

4446 10/13/2008 09:09 AM ben leinfelder

use local name for end Element parsing...

4442 10/10/2008 05:12 PM daigle

Change the ServiceInterface into a base class called BaseService. All services extend BaseService.

4441 10/10/2008 05:11 PM daigle

remove XMLSchemaService import

4440 10/10/2008 05:11 PM daigle

change the FileUtil.createDirectory calls to catch an exception on error.

4439 10/10/2008 05:10 PM daigle

Get an instance of XMLSchemaService when refreshing.

4438 10/10/2008 05:09 PM daigle

Added refreshServices action to allow tests to refresh service caches. This will be expanded to only allow for admins.

4437 10/10/2008 05:08 PM daigle

Change some info log statements to debug

4431 10/09/2008 09:54 AM daigle

Object to hold information about a single xml schema.

4430 10/09/2008 09:54 AM daigle

Add service to keep persistent information about xml schemas. This maintains a list of all registered schemas

4429 10/09/2008 09:53 AM daigle

Fix comments

4428 10/09/2008 09:52 AM daigle

Create document and temporary directories during configuration.

4427 10/09/2008 09:51 AM daigle

Use XMLSchemaService to access persistent schema information.

4426 10/09/2008 09:49 AM daigle

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.

4425 10/09/2008 09:43 AM daigle

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.