This module integrates with the WhoSends email spoofing and phishing system API enabling administrators and users to send users email that is tagged with their own secure key image.

The module integrates with drupals core mail module to add the key image to the top or bottom of outgoing email, more information about whosends can be found here https://www.whosends.com/

This is my module page http://drupal.org/sandbox/darrenwh/1894978

you can pull a copy down from here:

git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/darrenwh/1894978.git who_sends_api_integration

This project is intended for version 7.x

Reviewed :

http://drupal.org/node/1446848
http://drupal.org/node/1890670
http://drupal.org/node/1844398

Added Reviews:
http://drupal.org/node/1887890
http://drupal.org/node/1715026
http://drupal.org/node/1743162

If you would like a demo account to assess this module please contact support@whosends.com and explain your assessing the druplal module.

Comments

ain’s picture

Status: Needs review » Needs work

Automated review

Several errors, see http://ventral.org/pareview/httpgitdrupalorgsandboxdarrenwh1894978git-7x-1x

Manual review

  1. Module configuration page comes up with errors, configuration is broken:

    Notice: Undefined index: whosends_form in drupal_retrieve_form() (line 763 of /Users/ain/NetBeansProjects/Drupal7/includes/form.inc).
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'whosends_form' not found or invalid function name in drupal_retrieve_form() (line 798 of /Users/ain/NetBeansProjects/Drupal7/includes/form.inc).

  2. mail() documentation ln 27-29 in newmailer.class.inc is not standard.

Please fix the issues so the module can be thoroughly tested.

darrenwh’s picture

Fixed that, original name was different, should be fine now, just looking through syntax errors,

Ok run through the validation and there are a few trailing errors that I cant find in the code?

darrenwh’s picture

Ok Fixed all errors indicated by ventral

ain’s picture

Make sure to change the project status to needs review when you think it's ready to be reviewed again.

darrenwh’s picture

Status: Needs work » Needs review

Hi, tidied a few things and added some others.

klausi’s picture

Don't forget to add the "PAReview: review bonus" tag as indicated in #1410826: [META] Review bonus, otherwise you won't show up on my high priority list.

darrenwh’s picture

PAReview: review bonus

darrenwh’s picture

Issue tags: +PAreview: review bonus

put it in wrong place

sprocketman’s picture

Manual review:

Really no problems found. Clean, well documented and, above all, elegant. I am curious, though, why you add an asterisk at the end of your @file blocks. I'm surprised the automated review doesn't choke on this especially since there's a space after each of the asterisks.

Leaving status as is.

sprocketman’s picture

Status: Needs review » Reviewed & tested by the community

Actually, looks like I should change the status to rtbc since I found no issues.

klausi’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: -PAreview: review bonus

Thank you for your reviews. When finishing your review comment also set the issue status either to "needs work" (you found some problems with the project) or "reviewed & tested by the community" (you found no major flaws).

manual review:

  1. project page is too short, see http://drupal.org/node/997024
  2. who_sends_api_integration_help(): this is a hook implementation and should be documented as such, see http://drupal.org/node/1354#hookimpl . Same for who_sends_api_integration_mail_alter(). Do not copy the hook documentation!
  3. "'access arguments' => array('access administration pages'),": The administration menu callback should probably use "administer site configuration" - which implies the user can change something - rather than "access administration pages" which is about viewing but not changing configurations.
  4. "variable_get('whosends_api_url', 'https://www.whosends.com/api/getmsgaccess'),": all variables provided/used by your module need to be removed in hook_uninstall().

Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.

darrenwh’s picture

Status: Needs work » Needs review

Hi,

Fixed recommendations, added more detail to module description.

Darren

darrenwh’s picture

Issue summary: View changes

changed from master to version branch

darrenwh’s picture

Issue tags: +PAreview: review bonus

Added 3 more reviews

klausi’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -PAreview: review bonus

manual review:

  1. "variable_get('whosends_api_url', 'https://www.whosends.com/api/getmsgaccess'),": all variables defined by your module need to prefixed with your module's name to avoid name collisions with others. Also elsewhere.
  2. "file_get_contents($url, ...": That will not work on many systems, because getting remote files is probably forbidden. Use drupal_http_request() instead

.

But otherwise looks RTBC now. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.

darrenwh’s picture

Thanks,

Have replaced variable_get namings and replaced file_get_contents for drupal_http_request

Darren

jthorson’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for your contribution, darrenwh!

I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Thanks to the dedicated reviewer(s) as well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added 3 more reviews