Project

General

Profile

Statistics
| Revision:

# Date Author Comment
9587 03/24/2016 04:16 PM Chris Jones

Merge minor registry changes from the 2.6 branch back to the trunk.

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

9557 03/15/2016 08:12 AM Chris Jones

Add a fundingElement() method to insert the funding element into the generted EML. Ensure it is added to the template variables hash for maintaining state across stages.

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

9554 03/10/2016 03:54 PM Chris Jones

Fix a bug in testing the validity of the CGI Session. It can't be empty or expired.

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

9551 03/09/2016 12:10 PM Chris Jones

Validate the session during the modification stage, rather than just assuming a CGI session (support tokens too).

Also, fix the XML document validation issue where an <additionalParty> element is added prior to the <metadataProvider> element. This seems to be an intermittent issue, and may be due to more recent versions of perl returning hash contents more randomly than previous versions. The %orig hash passed in to personnelList() is assumed to be random now, and I just ensured the metadataProvider is first in the produced string....

9545 03/07/2016 04:15 PM Chris Jones

Modify getCredentials() to support token-based credentials.

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

9539 03/02/2016 09:58 AM Chris Jones

We ended up not being able to use IO::Socket::SSL, so I removed the import statement. Also, add the new Perl module dependencies to the installation documentation.

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

9536 02/26/2016 08:42 AM Chris Jones

Change getUsername() to also support adding usernames into an EML access element from the authentication token's 'sub' claim.
Also, add a bit of debugging output for tracing the flow of the XML generation.

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

9535 02/26/2016 08:34 AM Chris Jones

Modify the Metacat.pm upload() method to use the correct Content-Type for the form. RFC 2388 specifies that the Content-Type should be "multipart/form-data", and that the Content-Disposition should be "form-data", along with the "name" parameter.

9533 02/25/2016 08:33 AM Chris Jones

dd the hasValidAuthToken() method to determine if the current token (if any) is valid. Use this and validateSession() within the script to determine if we need to call Metacat->login() or not. Add some minor debugging to work through the code stages using auth tokens....

9532 02/23/2016 11:39 AM Chris Jones

Fix a couple of syntax issues.

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

9531 02/23/2016 11:13 AM Chris Jones

Don't forget to set the token variable from the HTTP_AUTHORIZATION environment variable.

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

9530 02/23/2016 10:19 AM Chris Jones

Add a setAuthToken() method. when the HTTP_AUTHORIZATION environment variable is set, set the value as the `auth_token_header` instance variable in the Metacat instance passed in. This requires that the Apache installation includes an HTTP rewrite rule to pass the header on to an CGI processing the request. Call this method whenever we instantiate a Metacat object....

9529 02/23/2016 10:07 AM Chris Jones

Modify the Metacat.pm sendData() method to include the Authorization HTTP header when it's available as an instance variable.

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

9514 02/03/2016 09:55 AM Jing Tao

If the user doesn's specify the ldap ca file path on the metacat.properties, it will use the default one.

9234 07/08/2015 05:01 PM ben leinfelder

correct logout method (old change still in workspace)

9228 06/23/2015 08:48 AM ben leinfelder

add logout implementation - calls server and clears cookie jar.

9142 03/06/2015 02:48 PM ben leinfelder

do not require site parameter if registry.show.siteList=false.
https://projects.ecoinformatics.org/ecoinfo/issues/6687

8880 10/06/2014 10:32 PM Jing Tao

Replace the operator "=~' by "eq" in comparing the two password fields.

8877 10/06/2014 05:42 PM Jing Tao

dd a new routine to check if the uid has been taken already in the production space during the creation process.

8844 09/02/2014 02:07 PM ben leinfelder

use configured auth.base rather than hard-coded dc=ecoinformatics,dc=org. https://projects.ecoinformatics.org/ecoinfo/issues/6592

8821 08/04/2014 04:08 PM Jing Tao

For the existing uidnumber, we decrease the size of vector for sorting.

8820 08/04/2014 10:04 AM Lauren Walker

Login automatically via curl rather than manually entering the cookie info for the registry test script

8819 08/01/2014 09:20 AM Jing Tao

Add the code to check if the existing highest uidNumber really exists.

8818 07/31/2014 06:10 PM Jing Tao

In the getNextUidNumber method, a mechanism to look up the highest existing udiNumber was added.

8816 07/29/2014 05:33 PM Lauren Walker

Create a lock file for the registry
if one doesn't exist

8815 07/29/2014 04:35 PM Lauren Walker

Allow the registry form to specify a docid scope

8814 07/29/2014 03:53 PM Lauren Walker

Only lock the local docid file when creating a new docid, not when inserting, for faster upload times. Remove extra debug messages from testing.

8813 07/28/2014 05:22 PM Lauren Walker

Fix bug in the online registry where data files were not using the new docid creation process

8812 07/28/2014 03:57 PM Lauren Walker

Lock a local file while docids are being created so multiple docs can be uploaded at once

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

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

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

Pass the userManagementUrl to templates.

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.

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.

8413 11/22/2013 04:01 PM Jing Tao

Add the code to check if the stored the uidnext is a number or not.

8412 11/21/2013 07:29 PM Jing Tao

Fixed a bug that a debug message is incorrect.

8411 11/21/2013 12:27 PM Jing Tao

Add the missed the attriubtes such as uidNumber, gidNumber and et al.

8410 11/21/2013 09:55 AM Jing Tao

Get the some properties from the metacat.properties file.

8408 11/20/2013 05:29 PM Jing Tao

Add a new method to get the next avaliable uid.

8403 11/18/2013 03:10 PM Jing Tao

When start tls, the verify was changed to "require" rather than "none".

8369 11/05/2013 04:27 PM ben leinfelder

always return the metacat logout form when calling the perl registry logout action, even when there is no perl session to invalidate -- needed for metacatui.

8357 10/31/2013 09:31 AM ben leinfelder

actually remove the entry if it is expired (uncomment the function call). https://projects.ecoinformatics.org/ecoinfo/issues/6099

8356 10/31/2013 08:02 AM ben leinfelder

correct the createTimestamp filter and search base -- only remove inetOrgPerson entries, not any underlying structure that was added to store these temporary accounts. https://projects.ecoinformatics.org/ecoinfo/issues/6099

8354 10/30/2013 12:23 PM ben leinfelder

correct some syntax errors, date filter formatting. https://projects.ecoinformatics.org/ecoinfo/issues/6099

8351 10/30/2013 10:16 AM ben leinfelder

clear temporary accounts that have not been activated after a configurable number of hours. https://projects.ecoinformatics.org/ecoinfo/issues/6099

8348 10/29/2013 03:48 PM ben leinfelder

do not include default organization for the metacatui "skin"

8300 10/09/2013 01:52 PM Matt Jones

Adding build files to ignore.

8265 09/23/2013 03:54 PM ben leinfelder

Refer to metacat.war deployments since those are now the default. https://projects.ecoinformatics.org/ecoinfo/issues/6082

8262 09/20/2013 04:36 PM Jing Tao

Remove an extra print content type statement.

8261 09/20/2013 03:26 PM Jing Tao

Add a print statment for "content type". Otherwise, the html can't show up.

8259 09/20/2013 02:42 PM ben leinfelder

do not email a specific account reset URL so that the emails can be used in multiple UI contexts. https://projects.ecoinformatics.org/ecoinfo/issues/6066

8258 09/20/2013 01:17 PM Jing Tao

Comment out some extral "contet type".

8254 09/20/2013 12:20 PM ben leinfelder

ensure all emailed links make sense for the UI that initiated them. also format referrals using the same options as the primary accounts (recursive call needed the html parameter). https://projects.ecoinformatics.org/ecoinfo/issues/6066

8253 09/20/2013 11:46 AM ben leinfelder

include optional email.overrideURL property for the account management page to send an email link that will result in a styled response. https://projects.ecoinformatics.org/ecoinfo/issues/6066

8250 09/20/2013 07:48 AM ben leinfelder

use AJAX method of including the captcha. https://projects.ecoinformatics.org/ecoinfo/issues/6098

8248 09/19/2013 05:03 PM Jing Tao

Remove an extra space in the email message.

8239 09/18/2013 03:15 PM ben leinfelder

Edit some of the instructions for activating an account. https://projects.ecoinformatics.org/ecoinfo/issues/6063

8234 09/18/2013 01:23 PM Jing Tao

Remove the knb information in the emails.

8229 09/17/2013 05:02 PM Jing Tao

Add code to handle the looking up names.

8221 09/17/2013 03:22 PM Jing Tao

Add a method to lookup users'account for the people who forgot their user name.

8220 09/17/2013 10:36 AM Jing Tao

Add code to generate dc=tmp. Clean up some code.

8217 09/16/2013 09:58 PM Jing Tao

Remove a reistriction that it didn't show the similar accounts of "ou=Account" in the user registration.

8216 09/16/2013 09:45 PM Jing Tao

Use the specific template for the verification.

8211 09/16/2013 05:00 PM Jing Tao

Fixed a bug that email verificaton doesn't work well on "ou=Account".

8207 09/16/2013 03:16 PM Jing Tao

Fixed a bug to split the organization list from a property file.
Fixed a bug to use a wrong object class for the ou.

8206 09/16/2013 02:31 PM Jing Tao

Pass a organization list to the template.

8201 09/16/2013 10:32 AM Jing Tao

Add code to get organization information from the ldapconfig.

8197 09/13/2013 03:01 PM Jing Tao

First get the email sender from the skin properties. If it is null, get it from the metacat.properties file.

8194 09/13/2013 01:25 PM Jing Tao

Reword a message for the failed verification.

8191 09/12/2013 05:12 PM Jing Tao

Add code to handle the failure of the email server.

8186 09/11/2013 09:57 PM Jing Tao

Add code to check if password match in the registeration.

8185 09/11/2013 09:36 PM Jing Tao

Add the new feature for the email verification.

8182 09/11/2013 09:28 AM Jing Tao

Fixed a bug that the url link was not correct in the email.

8181 09/10/2013 11:03 PM Jing Tao

Send the verification email.

8180 09/10/2013 05:58 PM Jing Tao

Add code to add a user to the tmp subtree.

8177 09/10/2013 12:18 PM Jing Tao

Fixed a bug in creating a subtree.

8176 09/10/2013 07:52 AM Jing Tao

Add code to generate temporary subtree if it didn't exist.

8175 09/09/2013 05:55 PM Jing Tao

add a new subroutine to create a temporary account.

8169 09/06/2013 07:53 AM Jing Tao

Read the recaptcha key from the metacat.properties.

8166 09/05/2013 04:58 PM Jing Tao

Add the recaptcha protection.

7822 06/21/2013 04:15 PM ben leinfelder

correctly delete data file when we are done with it. https://projects.ecoinformatics.org/ecoinfo/issues/6007

7821 06/21/2013 04:06 PM ben leinfelder

include filename in the filepart part. https://projects.ecoinformatics.org/ecoinfo/issues/6007

7820 06/21/2013 03:18 PM ben leinfelder

send the original filename in the upload() method since that is supported by the Metacat API. https://projects.ecoinformatics.org/ecoinfo/issues/6007

7819 06/21/2013 03:10 PM ben leinfelder

remove the unique string when generating data file metadata. https://projects.ecoinformatics.org/ecoinfo/issues/6007

7818 06/21/2013 02:48 PM ben leinfelder

debugging. https://projects.ecoinformatics.org/ecoinfo/issues/6007

7817 06/21/2013 01:44 PM ben leinfelder

use File::Temp to write data files in registry. https://projects.ecoinformatics.org/ecoinfo/issues/6007

7700 05/16/2013 03:22 PM ben leinfelder

use correct test for PID param.

7695 05/15/2013 05:16 PM ben leinfelder

Allow use of PID instead of docid in the Perl registry. At least for reading/editing and deleting existing content. Does not create content using a pid. https://projects.ecoinformatics.org/ecoinfo/issues/5932

7226 06/01/2012 10:40 AM ben leinfelder

use kepler account as default

7200 05/29/2012 04:19 PM ben leinfelder

use 'allowFirst' for access rules. We have deprecated 'denyFirst' and deny rules in Metacat as of 2.0.0

7199 05/29/2012 03:02 PM ben leinfelder

handle https-only server configuration -- must pull resources from https not http for the skins etc.

7198 05/29/2012 02:53 PM ben leinfelder

handle https-only server configuration -- must pull resources from https not http for the skins etc.

6769 12/12/2011 01:22 PM ben leinfelder

ROLLBACK: check for non-public session in Metacat before showing the registry form
http://bugzilla.ecoinformatics.org/process_bug.cgi

6768 12/12/2011 12:41 PM ben leinfelder

check for non-public session in Metacat before showing the registry form
http://bugzilla.ecoinformatics.org/process_bug.cgi

5714 12/09/2010 03:54 PM ben leinfelder

use EML 2.1.1 and UTF-8

5650 11/16/2010 06:10 PM walbridge

filter ou=Account parameters as per #5244

5311 04/14/2010 11:31 AM daigle

Merge 1.9.2 changes back into the trunk

5244 02/24/2010 04:55 PM Jing Tao

Fix two issues: Remove State from 'Data Set Contact' section of confirmation form (part of #3922), and make sure when editing a document that email addresses are picked up appropriately (capitalization).

5214 02/09/2010 01:56 PM walbridge

Update the filename reference

5201 01/26/2010 03:50 PM daigle

Get the latest revision from metacat when a modify call docid does not have a revision number.

5173 12/30/2009 09:24 AM daigle

remove extra open paren