Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  Metacat 9535 over 8 years Chris Jones Modify the Metacat.pm upload() method to use th...
  control-services 2675 about 19 years Matt Jones Removed unused subroutines that were for testing.
  create-registry 2800 almost 19 years sgarg Added new variables to the script which creates...
cache_eml_data.pl 8.26 KB 3762 over 16 years Matt Jones Fixes to record sies of ecogrid files, and to f...
change-ldap-passwd.pl 3.24 KB 2499 over 19 years sgarg Adding perl script for changing ldap password f...
create-ldap-account.pl 11.1 KB 2341 almost 20 years sgarg Integrating ldapweb.cgi & create-ldap-account.p...
docid-for-binaries.txt 792 KB 4722 almost 16 years walbridge Add script for converting documents with docnam...
eml_get_objectnames.pl 4.65 KB 4722 almost 16 years walbridge Add script for converting documents with docnam...
get_eml.pl 4.58 KB 2638 about 19 years harris Added a function to strip out the whitespace th...
getlsid.pl 3.01 KB 2820 almost 19 years Matt Jones This is a basic commandline client for resolvin...
insert_data.pl 4.29 KB 3724 almost 17 years Matt Jones Skeleton for data insertion script. Also added ...
kruger_docids 824 Bytes 4166 over 16 years ben leinfelder initial doc id list from original conversion
ldapweb.cgi 66.7 KB 9514 almost 9 years Jing Tao If the user doesn's specify the ldap ca file pa...
list_of_docids 6.81 KB 2115 over 20 years sgarg Perl script for transfering documents from one ...
register-dataset.cgi 168 KB 9557 over 8 years Chris Jones Add a fundingElement() method to insert the fun...
transfer_emldocs_from_metacat1_to_metacat2.pl 2.82 KB 8265 about 11 years ben leinfelder Refer to metacat.war deployments since those ar...
update_emldoc_data.pl 3.82 KB 8265 about 11 years ben leinfelder Refer to metacat.war deployments since those ar...

Latest revisions

# Date Author Comment
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

View revisions

Also available in: Atom