Project

General

Profile

Statistics
| Revision:

# Date Author Comment
10130 12/15/2016 02:41 PM Jing Tao

Add the code to check if the object does exist in the create method. If it doesn't, the system metadata and identifier will be removed.

10129 12/15/2016 02:40 PM Jing Tao

Change the calling code when the method insertOrUpdateDocument signature is changed.

10123 12/14/2016 03:18 PM Jing Tao

Add methods to determine if the object does exist with the given local id.

10118 12/13/2016 02:43 PM Jing Tao

Add some performace debug information.

10106 12/08/2016 02:15 PM Jing Tao

Add methods to check if there are circular obsoletes/obsoletedBy chains in the mn.updateSystemmetadata method.

10104 12/07/2016 04:06 PM Jing Tao

Don't share the same executor in the two classes.

10102 12/07/2016 01:34 PM Jing Tao

Call the cn.synchronize method asynchronously in the mn.updateSystemmetadata method.

10100 12/06/2016 04:38 PM Jing Tao

Add the version information on a log statement.

10098 12/06/2016 04:36 PM Jing Tao

Add the version information in a log statement.

10087 12/05/2016 05:42 PM Jing Tao

Add the class to upgrade the solr schema.

10085 12/05/2016 05:35 PM Jing Tao

Add a script to upgrade the db to 2.8.1

10084 12/05/2016 05:34 PM Jing Tao

Change the version to 2.8.1

10054 11/28/2016 11:40 AM Jing Tao

Add a smart test when we set the file name for the header of "content-deposition":
When the id doesn't end with the file extention, we set the file to be id+extension.

10050 11/28/2016 10:28 AM Jing Tao

To set the content-deposition header, the cn will look the file name in the system metadata first.

10047 11/22/2016 02:55 PM Matt Jones

Fix issue in getDefaultReplicationPolicy.

Previously, under some circumstances, a ReplicationPolicy was created but was missing the optional replicationAllowed and numReplicas attributes. These are critical to the policy, so ensure they are set to sensible defaults even when property parsing errors and other issues might skip them. Added a test of this method, but I note that other methods in SystemMetadataFactory do not have unit tests and should be added if they are modified.

10041 11/09/2016 05:26 PM Jing Tao

Use the "MNRead" to replace "MNStorage" to determine the version of the MN.

10030 10/26/2016 05:10 PM Jing Tao

Change an exception to more appropriate exception.

10029 10/24/2016 04:34 PM Jing Tao

Add more checks to avoid a null exception.

10027 10/24/2016 01:36 PM Jing Tao

Add more debug statement for deleting.

10021 10/19/2016 03:29 PM Jing Tao

Add some information about pid on the log statement.

10010 10/17/2016 11:54 AM Chris Jones

Change the ldapweb.cgi script to use an additional property called email.contact which provides a contat email (particularly when email.sender is set to noreply@...). Update the skin configurations with this property, as well as the metacat.properties default.

10009 10/07/2016 01:13 PM Jing Tao

Add a comment.

10008 10/07/2016 12:56 PM Jing Tao

Removing xml_access table records now is in the removing the pid from hazelcast. So remove the dupicated code.

10007 10/05/2016 05:33 PM Jing Tao

Check if the object and sysmeta are null before to get the inputstream object.

10006 10/05/2016 04:53 PM Jing Tao

Clear the code for the method handleInsertOrUpdate.

10005 10/05/2016 02:51 PM Jing Tao

The deleteSystemmetadata method will delete the records on xml_access as well.

10001 10/03/2016 02:08 PM Jing Tao

Add the identifier information in the exception when users try to change the access section but they don't have all permission.

10000 10/03/2016 12:38 PM Jing Tao

Add the guid information in the sax exception when users try to update the access part but they don't have all permission.

9999 09/29/2016 02:39 PM Jing Tao

Expand the rights holder if it is a group.

9997 09/28/2016 05:42 PM Jing Tao

Add the code to expand the rights holder if it is a group.

9988 09/14/2016 11:09 AM Jing Tao

Add more log information.

9986 09/14/2016 11:07 AM Jing Tao

Add a note to notify users that the reindex action is asynchronized.

9976 09/13/2016 01:12 PM Jing Tao

Made the class implements the interface LexicalHandler.

9974 09/13/2016 01:07 PM Jing Tao

Add code to check if a dtd is registered when the parser processes the dtd part.

9972 09/12/2016 10:20 PM Jing Tao

Fixed a bug that the public id can't be assigned.

9969 09/12/2016 09:44 PM Jing Tao

Change the debug level from debug to trace.

9964 09/09/2016 10:35 PM Jing Tao

Change some debug statments from debug to trace.

9962 09/09/2016 10:13 PM Jing Tao

Change the debug level from debug to trace.

9960 09/09/2016 09:58 PM Jing Tao

Down the debug level from debug to trace.

9958 09/09/2016 09:37 PM Jing Tao

Removed a unused parameter - formatId from method writeReplication.

9956 09/09/2016 09:17 PM Jing Tao

Add the feature to support the noNamespaceSchemalLocation and refactory the code.

9953 09/09/2016 05:30 PM Jing Tao

Add the code to throw an exception to tell users that the namespace or format id was not registered in Metacat.

9948 09/09/2016 03:14 PM Jing Tao

Add the methods to figure out the schema location base on namespace, format id or no-namespace-schema-location uri.

9946 09/09/2016 01:56 PM Jing Tao

Add a new constant for no-namespace schemas.

9944 09/09/2016 11:39 AM Jing Tao

Add a method to get the type.

9943 09/09/2016 11:38 AM Jing Tao

Add a method to get the type of the schema.

9940 09/09/2016 10:30 AM Jing Tao

Add a new class represent a schema without a namespace.

9938 09/08/2016 05:02 PM Jing Tao

Change the type for the no-name-namespace schema from Schema to NoNamespaceSchema.

9936 09/08/2016 04:38 PM Jing Tao

Change the type for the no-name-namespace schema from Schema to NoNamespaceSchema.

9930 09/08/2016 11:06 AM Jing Tao

Add a SAX parser to determine the namespace of a xml object. It only parses the root element, then stops.

9928 09/08/2016 09:41 AM Jing Tao

Put the formatid and nonamespace_schema_location into one record for fgdc.

9926 09/08/2016 09:23 AM Jing Tao

Put the formatid and nonamespace_schema_location into one record for fgdc.

9924 09/07/2016 11:20 AM Jing Tao

Add the code to create a new column on xml_catalog table.
Register the nonamespace format id or uni on the xml_catalog table.

9922 09/07/2016 11:08 AM Jing Tao

Add the script to upgrade db to version 2.7.2

9918 09/06/2016 03:43 PM Jing Tao

Disable the feature of downloading external schemas.

9916 09/02/2016 06:20 PM Jing Tao

Change the log information a little bit.

9913 09/02/2016 05:44 PM Jing Tao

use the new rules to validate an xml object base on dtds.

9900 08/24/2016 09:45 AM Jing Tao

Every time when we modified the metacat.properties file through the PropertyService, the Setting class will be updated as well. Otherwise, the values on the Setting class are still the old one.

9880 08/11/2016 11:24 AM Jing Tao

Added the double quotes on the file name of the http header "content-deposition". This can handle the special characters on the file name.
https://projects.ecoinformatics.org/ecoinfo/issues/7084

9872 07/25/2016 11:41 AM ben leinfelder

handle redirecting Metacat "shortcut" URLs when docid is given with and without revision. https://projects.ecoinformatics.org/ecoinfo/issues/7063

9857 07/11/2016 03:13 PM Lauren Walker

Merge changes from 2.7 branch

9846 07/08/2016 10:56 AM Jing Tao

Add the update 2.7.1 sql to the trunk.

9833 07/06/2016 04:52 PM Jing Tao

Replaced the JiBXException by MarshallingException.

9826 06/21/2016 09:37 AM Chris Jones

Remove template variable assignments that weren't removed in the merge from the 2.6.0 branch to 2.7.0.

9823 06/13/2016 03:55 PM Jing Tao

Add the code to upgrade the solr schema.

9819 06/13/2016 12:00 PM Jing Tao

Add the check objectFormat is not null before we try to get the mediaType object from the object in the getObject method.

9815 06/06/2016 04:51 PM Jing Tao

Don't need to add "." for file name between the identifier and file extention in the getObject method.
The v1 getExtension method includes '.'. But the v2 version doesn't include it.

9812 06/02/2016 11:58 AM Matt Jones

Add small change to reset the content type of CSV files to text/csv when they are incorrectly set by Windows clients to an excel type. Addresses issues raised in Arctic Data ticket: https://github.nceas.ucsb.edu/KNB/arctic-data/issues/176.

9809 05/25/2016 12:18 PM Jing Tao

Use the method getContextURL rather than getSecureContextURL in the getCapacities method.
So if the server doesn't support sll, the getCapacities will return a baseURL with http.

9795 05/19/2016 04:16 PM Jing Tao

Add the version table to 2.8.0

9794 05/19/2016 04:15 PM Jing Tao

Add a upgrade script for 2.8.0

9783 05/18/2016 01:56 PM ben leinfelder

correct two minor differences from 2.6 merge: formatId parameter for MetacatHandler and using AuthUtils for gathering group membership information.

9781 05/18/2016 09:23 AM Chris Jones

Merge in changes from the 2.6.0 release.

9780 05/18/2016 09:01 AM Chris Jones

Merge changes from the 2.6.0 release.

9779 05/17/2016 11:11 AM ben leinfelder

merge from 2.6 branch: add support for EML 2.1.1 to DC crosswalking for OAI provider. https://projects.ecoinformatics.org/ecoinfo/issues/7030

9729 05/11/2016 10:47 AM ben leinfelder

use correct Metacat API action for retrieving access control block

9721 05/06/2016 09:52 PM Jing Tao

If the client certificate is null, Metacat will throw an exception.

9712 05/03/2016 02:51 PM ben leinfelder

merge from 2.6 branch: changes to include expect header and validatesession method

9709 05/02/2016 11:35 AM ben leinfelder

merge from 2.6 branch: use AuthUtils to gather user group subjects

9706 05/02/2016 09:51 AM ben leinfelder

merge to trunk from 2.6 branch: action=validatesession can handle Authorization token

9705 05/02/2016 09:50 AM ben leinfelder

merge to trunk: debugging statements that were added in 2.6 branch

9700 04/30/2016 12:53 PM Chris Jones

Merge changes from the 2.6.0 branch in MNodeService.allowUpdating() so it honors the localhost MN certificate.

refs https://projects.ecoinformatics.org/ecoinfo/issues/7018

9690 04/27/2016 12:14 PM ben leinfelder

merge from 2.6 branch: use AuthUtils to get group and equivalent identities rather than manually try to extract groups from subject info (can include incorrect groups for given primary subject). https://github.nceas.ucsb.edu/KNB/arctic-data/issues/163

9688 04/27/2016 11:56 AM ben leinfelder

merge from 2.6 branch: use group subject (not name) when translating Session.subjectInfo into group list for Metacat's DocumentImpl. https://github.nceas.ucsb.edu/KNB/arctic-data/issues/163

9683 04/22/2016 02:25 PM Jing Tao

Add more information on the error message if the client's certificate is not trusted.

9673 04/21/2016 08:21 AM Chris Jones

Merge the changes from the 2.6 branch into the trunk, fixing filename construction.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/151

9654 04/12/2016 08:07 AM ben leinfelder

merge from 2.6 branch: add support for EML 2.1.1 in OAI-PMH provider. https://projects.ecoinformatics.org/ecoinfo/issues/7009

9645 04/07/2016 02:23 PM ben leinfelder

merge from 2.6 branch: add method for retrieving access control block from metacat api

9638 04/04/2016 03:55 PM Jing Tao

Fixed a bug to use an identifier object to get a value in a vector.

9637 04/04/2016 01:55 PM Jing Tao

Check the chain end if obsoleted by another object.
See ticket https://redmine.dataone.org/issues/7624

9634 04/01/2016 03:50 PM Jing Tao

Use sql command to get some information rather than hazelcast.

9633 04/01/2016 03:49 PM ben leinfelder

merge changes to accommodate multiple alternative identifiers into trunk from 2.6 branch.

9629 04/01/2016 02:51 PM Jing Tao

Use a hashmap to replace a sql query to improve performance in the getHeadPID method.

9628 04/01/2016 01:37 PM Jing Tao

In the getHeadPID method, we got the field obsoletedBy from the systemmetadata table rather than the hazelcast service.

9601 03/30/2016 09:32 AM Jing Tao

Reformat the create and update method.

9600 03/30/2016 09:19 AM Jing Tao

Close the input stream on the create/update method when the code aborts.

9599 03/29/2016 02:01 PM Jing Tao

Close the the input stream from the method parameter in the create method.

9598 03/29/2016 07:42 AM Chris Jones

Merge registry changes into the trunk.

9596 03/28/2016 04:46 PM Jing Tao

Made the ssl http client not moinitor the stale connections.

9594 03/28/2016 02:53 PM Jing Tao

Use the new AutoCloseInputStream wrapper for replication. It will close but http client and input stream when the inputStream.close method is called.