Project

General

Profile

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

Latest revisions

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

View revisions

Also available in: Atom