dd a new routine to check if the uid has been taken already in the production space during the creation process.
use configured auth.base rather than hard-coded dc=ecoinformatics,dc=org. https://projects.ecoinformatics.org/ecoinfo/issues/6592
For the existing uidnumber, we decrease the size of vector for sorting.
Login automatically via curl rather than manually entering the cookie info for the registry test script
Add the code to check if the existing highest uidNumber really exists.
In the getNextUidNumber method, a mechanism to look up the highest existing udiNumber was added.
Create a lock file for the registry if one doesn't exist
Allow the registry form to specify a docid scope
Only lock the local docid file when creating a new docid, not when inserting, for faster upload times. Remove extra debug messages from testing.
Fix bug in the online registry where data files were not using the new docid creation process
Lock a local file while docids are being created so multiple docs can be uploaded at once
Use an array of a hash to keep the orgName/orgLabel pair.
Pass the userManagementUrl to templates.
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.
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.
Add the code to check if the stored the uidnext is a number or not.
Fixed a bug that a debug message is incorrect.
Add the missed the attriubtes such as uidNumber, gidNumber and et al.
Get the some properties from the metacat.properties file.
Add a new method to get the next avaliable uid.
When start tls, the verify was changed to "require" rather than "none".
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.
actually remove the entry if it is expired (uncomment the function call). https://projects.ecoinformatics.org/ecoinfo/issues/6099
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
correct some syntax errors, date filter formatting. https://projects.ecoinformatics.org/ecoinfo/issues/6099
clear temporary accounts that have not been activated after a configurable number of hours. https://projects.ecoinformatics.org/ecoinfo/issues/6099
do not include default organization for the metacatui "skin"
Adding build files to ignore.
Refer to metacat.war deployments since those are now the default. https://projects.ecoinformatics.org/ecoinfo/issues/6082
Remove an extra print content type statement.
Add a print statment for "content type". Otherwise, the html can't show up.
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
Comment out some extral "contet type".
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
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
use AJAX method of including the captcha. https://projects.ecoinformatics.org/ecoinfo/issues/6098
Remove an extra space in the email message.
Edit some of the instructions for activating an account. https://projects.ecoinformatics.org/ecoinfo/issues/6063
Remove the knb information in the emails.
Add code to handle the looking up names.
Add a method to lookup users'account for the people who forgot their user name.
Add code to generate dc=tmp. Clean up some code.
Remove a reistriction that it didn't show the similar accounts of "ou=Account" in the user registration.
Use the specific template for the verification.
Fixed a bug that email verificaton doesn't work well on "ou=Account".
Fixed a bug to split the organization list from a property file.Fixed a bug to use a wrong object class for the ou.
Pass a organization list to the template.
Add code to get organization information from the ldapconfig.
First get the email sender from the skin properties. If it is null, get it from the metacat.properties file.
Reword a message for the failed verification.
Add code to handle the failure of the email server.
Add code to check if password match in the registeration.
Add the new feature for the email verification.
Fixed a bug that the url link was not correct in the email.
Send the verification email.
Add code to add a user to the tmp subtree.
Fixed a bug in creating a subtree.
Add code to generate temporary subtree if it didn't exist.
add a new subroutine to create a temporary account.
Read the recaptcha key from the metacat.properties.
Add the recaptcha protection.
correctly delete data file when we are done with it. https://projects.ecoinformatics.org/ecoinfo/issues/6007
include filename in the filepart part. https://projects.ecoinformatics.org/ecoinfo/issues/6007
send the original filename in the upload() method since that is supported by the Metacat API. https://projects.ecoinformatics.org/ecoinfo/issues/6007
remove the unique string when generating data file metadata. https://projects.ecoinformatics.org/ecoinfo/issues/6007
debugging. https://projects.ecoinformatics.org/ecoinfo/issues/6007
use File::Temp to write data files in registry. https://projects.ecoinformatics.org/ecoinfo/issues/6007
use correct test for PID param.
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
use kepler account as default
use 'allowFirst' for access rules. We have deprecated 'denyFirst' and deny rules in Metacat as of 2.0.0
handle https-only server configuration -- must pull resources from https not http for the skins etc.
ROLLBACK: check for non-public session in Metacat before showing the registry formhttp://bugzilla.ecoinformatics.org/process_bug.cgi
check for non-public session in Metacat before showing the registry formhttp://bugzilla.ecoinformatics.org/process_bug.cgi
use EML 2.1.1 and UTF-8
filter ou=Account parameters as per #5244
Merge 1.9.2 changes back into the trunk
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).
Update the filename reference
Get the latest revision from metacat when a modify call docid does not have a revision number.
remove extra open paren
When comparing lat and long ranges, make sure the values have content first. Perl values with no content = 0.
fix file name reference for skin configuration file
Add Content_type line so debug prints
Further fixes to handle mixed-file uploads: - set the fileCount object based on upCount existing files - use ucount only if it exists; remove debugging' - the entry form javascript now correctly tracks the file numbers, and can be relied on instead of using upCount...
Display helpful error message when user lacks permissions to edit a document, supress the 'use Morpho' message (closes Bug #3928)
Three small fixes: - 'salutation' was misspelled and wasn't picked up correctly in document modificiation - keyword handling wasn't setting the thesaurus correctly - check against the full list of moderators for the ACL validation
Adding back fix for editing documents with multiple keywords, closing #3929
Include hack for UCNRS organization properties.
- build up username using base if username isn't fully qualified (e.g. cn=Manager,dc=ecoinformatics,dc=org)- additional debugging statements for changePassword
- fix error reporting for failed password reset request- automatically generate necessary LDAP parameters from our defaults, included in auth.base and unaffiliated properties. This won't work for skins such as UCNRS with a different base, which still need to be ...
- reformat header- add debugging for getLdapEntry searches- add 'filter' parameter for organizations
Provide improved contextUrl, provide proper URL in password reset message body
Handle all places where ldap may be null
enclose more references to ldap and mesg in the if (ldap) statement.
made mesg var global to function.
left off ;
Do not try to use non-existant ldap object if ldap server is down.
Add a short sleep when moderator accepts document so system can update. This will make sure correct documents get returned to moderators list.