Project

General

Profile

Statistics
| Revision:

# Date Author Comment
8610 02/18/2014 02:48 PM Peter Slaughter

Change isEqual to private so it can be used by test suite

8609 02/17/2014 07:11 AM Chris Jones

Add DataONE, Dublin Core, and Dryad schemas during the 2.4.0 upgrade, and be sure to remove the appropriate entries before inserting to avoid duplicate rows.

8608 02/17/2014 06:53 AM Chris Jones

Add schema support for the DataONE, dublin Core, and Dryad schemas. Schemas get downloaded into lib/schema priior to jar and dist targets, and get loaded into xml_catalog on installation.

8607 02/14/2014 03:43 PM ben leinfelder

move the postgres changes to the oracle version -- update note about not attempting to restore because no Oracle MNs exist.

8606 02/14/2014 03:20 PM ben leinfelder

do not include "sm" alias in the SET clause.

8605 02/14/2014 03:19 PM ben leinfelder

allow statements starting with 'WITH'

8604 02/14/2014 02:56 PM ben leinfelder

comment out the select statements so they do not run during real upgrade.

8601 02/13/2014 03:12 PM ben leinfelder

loosen the restriction on which archive flags we set to false -- if we have an obsoleted_by value then it need not be marked as archived.

8600 02/13/2014 02:44 PM ben leinfelder

add [partial] upgrade to the oracle script -- does not look for any records that the CN deleted because there are no Oracle-backed MNs at this time.

8599 02/13/2014 02:08 PM ben leinfelder

add comment (and commented out code) for possibly inspecting the /dirtySysMeta call for archive=true flag. https://projects.ecoinformatics.org/ecoinfo/issues/6417

8596 02/13/2014 12:01 PM ben leinfelder

only index event information for known events. https://projects.ecoinformatics.org/ecoinfo/issues/6346

8595 02/13/2014 11:12 AM Peter Slaughter

call getDescription on cn.setaccesspolicy service failure

8594 02/12/2014 01:56 PM ben leinfelder

make all objects in a package publicly readable when published. https://projects.ecoinformatics.org/ecoinfo/issues/6415

8593 02/11/2014 02:19 PM Jing Tao

Add the code to check if the docid contains the whitespaces in the handleInsertOrUpdate, handleUpload and handleInsertMultipartInsertAction methods.

8592 02/11/2014 02:15 PM Peter Slaughter
8591 02/11/2014 01:43 PM ben leinfelder

make all package contents publicly readable when publishing with a DOI. https://projects.ecoinformatics.org/ecoinfo/issues/6415

8590 02/11/2014 01:29 PM Peter Slaughter

Run syncAll in a single thread so admin config UI doesn't freeze

8589 02/11/2014 11:05 AM Chris Jones

Change CnodeService.archive() to no longer broadcast MN.archive() calls to all of the replica MNs of a pid, but rather broadcast MN.systemMetadataChanged().

8588 02/10/2014 04:17 PM ben leinfelder

allow utf-8 user first/last names to be used in responses for: login, logout, validatesession, getprincipals.

8585 02/10/2014 11:52 AM ben leinfelder

Couple modifications:
-use "pid" throughout so as not to confuse docids and pids
-ensure any failures in the set do not prevent synching for other pids in the set

8581 02/07/2014 02:20 PM ben leinfelder

adjust whitespace for consistency

8579 02/07/2014 12:40 PM Peter Slaughter

sync pids of <distribution><online> data objects with CN when their access rules change in EML 2.0.* <additionalMetadata>

8578 02/07/2014 09:20 AM ben leinfelder

restrict the archived=false update to revisions that still have current entries in the xml_documents table.

8577 02/06/2014 05:36 PM ben leinfelder

tested the restore insertions - adjusted for FK constraints. I was able to delete a document locally, then restore it, then update the document with a new revision as expected.

8576 02/06/2014 03:03 PM ben leinfelder

use 'with' query to find the most recent revision of an object that was archived. still want more feedback on the criteria.

8575 02/06/2014 02:42 PM Jing Tao

Modified the usage.

8574 02/06/2014 11:56 AM ben leinfelder

continue to work on the criteria for selecting documents to restore.
expanded the criteria for setting archived=false to include any revision that was already obsoleted_by somethign else.

8572 02/05/2014 02:18 PM ben leinfelder

correct syntax - add more criteria for selecting documents.

8566 02/05/2014 01:55 PM ben leinfelder

do not set sm.archived=true when generating system metadata for objects that come in via the old Metacat API.

8565 02/05/2014 01:50 PM ben leinfelder

draft of fix for erroneously archived documents - first discovered by LTER - but also applicable to other Metacat MNs that still use the Metacat API as of Jan 2014 CN changes.

8564 02/05/2014 01:24 PM Jing Tao

Modify the usage message.

8563 02/05/2014 09:43 AM Jing Tao

Use a DN name for the group in the usage message printout.

8561 02/04/2014 02:25 PM Peter Slaughter

Fixed bug where sync'ing not working when CN had more access rules than MN

8560 02/04/2014 02:24 PM Peter Slaughter

Sync access policy between MN -> CN when access rules are updated in EML 2.1+ for data object

8556 02/03/2014 03:35 PM Jing Tao

Remove code to add the organzation in the search filter. This is not necessary since we use the dn as the search base. The code was not actually used but caused some problem.

8555 02/03/2014 02:56 PM ben leinfelder

use v2.4.0 for documentation and upgrade scripts.

8553 02/03/2014 02:52 PM ben leinfelder

can only log events with a valid localId.

8549 01/31/2014 03:09 PM Jing Tao

Add a note to let users know where to run the script.

8548 01/31/2014 02:49 PM Jing Tao

Add a note to let user know he/she should use single quotes to surround the hashed password.

8547 01/31/2014 02:35 PM ben leinfelder

edit some of the user management phrases. use UTF-8 for all returned XML. https://projects.ecoinformatics.org/ecoinfo/issues/6320

8540 01/30/2014 02:47 PM Jing Tao

Use an array of a hash to keep the orgName/orgLabel pair.

8535 01/24/2014 06:56 PM Jing Tao

Fixed a bug that AuthFile constructor didn't read the new value of the password file path from the metacat.properties.

8534 01/24/2014 05:17 PM Jing Tao

Add the code to handle a runtime exception.

8532 01/24/2014 04:29 PM Jing Tao

Add code to persist the properties in the group 3.

8530 01/23/2014 05:20 PM Jing Tao

If the user doesn't exist in the password file, the auth configuration will give an error.

8524 01/22/2014 05:33 PM Jing Tao

Add a method to get the user management url.

8522 01/22/2014 04:32 PM Jing Tao

Pass the userManagementUrl to templates.

8511 01/21/2014 09:58 AM Peter Slaughter

Fixed Exception declaration problem

8510 01/21/2014 08:59 AM Peter Slaughter

minor changes to error msgs

8509 01/21/2014 08:41 AM Peter Slaughter

When a docid's access policy is modified with metacat native api, update CN with the new access policy

8504 01/15/2014 05:33 PM Jing Tao

Add a note to the administrator to tell the name format of groups and users.

8501 01/14/2014 06:06 PM Jing Tao

Use the verity=>none for start_tls method on some search methods.
These methods will search the referral servers, some of which is using self-signed certificate. There is a difficuty to verify it.
The search methods don't have any critical data, so the down-grade doesn't have too much impact.

8495 01/14/2014 12:49 PM ben leinfelder

fix typos/compilation

8493 01/13/2014 01:41 PM Jing Tao

Change to use AuthFile constructor.

8492 01/13/2014 01:39 PM Jing Tao

Add code to check if groups is null.

8491 01/12/2014 04:48 PM Peter Slaughter

Sync access policy between mn -> cn in case where metacat native ui being used to update ap on mn

8490 01/10/2014 03:06 PM Jing Tao

Change the base directory location.

8489 01/10/2014 02:35 PM Jing Tao

Consolidate the user/group utitlities code.

8488 01/10/2014 10:50 AM Jing Tao

Change the element name in the user from "group" to "memberof".
Fixed a bug that in groupadd.

8487 01/09/2014 10:31 PM Jing Tao

Add methods to handle modify user's attributes.

8486 01/09/2014 09:16 PM Jing Tao

Complete the method - handleUseradd.

8485 01/09/2014 06:25 PM Jing Tao

Add code to handle useradd command.

8484 01/09/2014 04:39 PM Jing Tao

Fixed a bug that showing illegal options in the groupadd command.

8483 01/09/2014 04:34 PM Jing Tao

Add a double quotes at $@. This will make the any argument in the double quotes as one argument.

8482 01/09/2014 04:18 PM Jing Tao

Pass all arguments to the java class.

8481 01/09/2014 04:17 PM Jing Tao

Add a main method which will be used in the command line users management tool.

8480 01/09/2014 12:11 PM Jing Tao

Add a script to help administor to manage usrs/groups.

8478 01/09/2014 09:15 AM Jing Tao

Add the code to handle the organization name.

8476 01/08/2014 05:17 PM Jing Tao

Add the getUserInfo method.

8475 01/08/2014 04:33 PM Jing Tao

Add the common name, organization name and email into the getprincipal method.

8474 01/08/2014 04:32 PM Jing Tao

Add some contants.

8473 01/08/2014 04:04 PM Jing Tao

Add the description in the getGroups methods.

8471 01/08/2014 02:58 PM Jing Tao

Add the common name and email address information into the getUsers method.

8469 01/08/2014 11:06 AM Jing Tao

Fixed a bug that the method addUser didn't set password.

8465 01/07/2014 05:03 PM Jing Tao

Change the code to use BCryptHash to protect password.

8464 01/07/2014 01:56 PM ben leinfelder

Unify solr indexing with an IndexTask that is added to the queue -- allows us to send more than just the systemMetadata to the indexer. Initially this is for READ event counts for each document. https://projects.ecoinformatics.org/ecoinfo/issues/6346

8463 01/06/2014 02:57 PM Jing Tao

Add code to get user info and group info for an alias.

8461 12/24/2013 01:48 PM Jing Tao

Add the code to handle the login action if it is an alias.

8460 12/23/2013 01:29 PM Jing Tao

Add the methods to get the aliased dn through non-tls or tls.

8459 12/20/2013 05:03 PM Jing Tao

Add a method to get the aliasedDn.

8454 12/20/2013 07:46 AM Chris Jones

On changes to system metadata in CNodeService and DocumentImpl, increment the serialVersion.

8452 12/19/2013 04:15 PM Peter Slaughter

(task #6297): sync pid(s) access policy between member node and coordinating node

8450 12/19/2013 02:35 PM Chris Jones

Change CNodeService's archive() and delete() methods to only update Member Nodes in the replica list (not CNs!), since calling CN.archive() again would cause an infinite loop. Thanks for catching this Ben.

8444 12/19/2013 09:35 AM Chris Jones

Update CNodeService.delete() and .archive() to handle situations where the pid is of formatType DATA, and therefore are not registered in the identifier table, and caused NotFound exceptions. For DATA objects, we just update the system metadata now, and for all other objects (METADATA, RESOURCE), we continue to use super.{delete()|archive()}. Also, log the delete/archive into the event log....

8440 12/19/2013 08:53 AM ben leinfelder

prep for 2.3.1 release

8439 12/19/2013 08:13 AM Chris Jones

Remove the broadcastSystemMetadataChange() method since it was a duplicate of notifyReplicaNodes(). Consolidated now.

8438 12/17/2013 05:22 PM Jing Tao

Add some log information.

8437 12/17/2013 09:42 AM Lauren Walker

retrieve the given file names (entityName) of the data files from the EML and use those for our file names in the BagIt content.

8436 12/13/2013 03:42 PM Lauren Walker

Change the BagIt file names to the pid+resource type. Create new Files instead of createTempFile to avoid the randomly generated numbers in the name.

8434 12/12/2013 04:43 PM Jing Tao

Add a description element for the group.

8433 12/12/2013 01:49 PM Jing Tao

Change the user id from the name to the uid.

8431 12/11/2013 04:34 PM Jing Tao

Add the method to get the principals.

8429 12/11/2013 11:44 AM Jing Tao

Add the methods about reset and change password.

8427 12/10/2013 04:12 PM Jing Tao

Add method to get groups and users.

8426 12/10/2013 01:32 PM Jing Tao

Read the password from property file.

8424 12/10/2013 12:53 PM Jing Tao

Encrypt the password.

8421 12/09/2013 10:39 AM Jing Tao

Fixed an issue to check if an account exists.

8419 12/06/2013 05:57 PM Jing Tao

Add a file based authentication mechanism.

8415 12/02/2013 05:26 PM Jing Tao

when a user reset the password, we search the user to use the base=o=org,dc=ecoinformatics,dc=org and filter is uid=username.

8414 11/25/2013 01:40 PM Jing Tao

Add the code to set the replication status when some exceptions happen.