Project

General

Profile

Statistics
| Revision:
  • svn:mergeinfo: /branches/D1_0_6_2_BRANCH/src/perl:6107-6121 /branches/METACAT_2_6_BRANCH/src/perl:9560-9597

# Date Author Comment
10143 12/21/2016 11:25 AM Chris Jones

Remove the inadvertant UTF-8 BOM from the beginning of the file, and initialize the contact variable properly (again).

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.

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.

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.

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

Merge changes from the 2.6.0 release.

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

use correct Metacat API action for retrieving access control block

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

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

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

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

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

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

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

Merge registry changes into the trunk.

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.