Hallow fellow developers, i present to you my first Drupal module "Mailcheck".

This simple module implements Kicksenders mailcheck (http://blog.kicksend.com/how-we-decreased-sign-up-confirmation-email-b) it adds a type checker on the register email input form, and support webforms aswell.

It brings some nice gestures to it, which the user can simply check on, ex. a submit lock, that prevents submitting the form, if a typo should occur.

This is a D7 module!

Project page -> http://drupal.org/sandbox/Elvar/1504456
git clone --branch 7.x-1.x Elvar@git.drupal.org:sandbox/Elvar/1504456.git mailcheck

My reviews.

http://drupal.org/node/1623394#comment-6170400
http://drupal.org/node/1525062#comment-6007286
http://drupal.org/node/1569992#comment-5978590

CommentFileSizeAuthor
#8 drupalcs-result.txt666 bytesklausi

Comments

patrickd’s picture

welcome,

Automated reports do not through a single error, good job ;)

We do really need more hands in the application queue and highly recommend to get a review bonus so we can come back to your application sooner.

regards

Elvar’s picture

Thank you Patrickd :-).

I will look into the reviewing, and hopefully help where i can.

Regards

chhavik’s picture

Status: Needs review » Needs work

Manual review :-

  • mailchecker.module:- Line 29, Implements is used for a hook. mailchecker_conf() is not a hook, so use callback or function in comments. Refer Doxygen and comment formatting conventions.
  • Correct function commenting at lines 133, 153, 186. Refer above specified link.
  • mailchecker.module:- Line 140, 172 Use t() to wrap messages.
  • mailchecker.module:- Line 183 @param and @return are used for documenting functions. @static is not advisable.
Elvar’s picture

Status: Needs work » Needs review

Hi chhavik, thank you for your time!

These issues should now be solved.

lukas.fischer’s picture

No issues on http://ventral.org/pareview/httpgitdrupalorgsandboxelvar1504456git.

Feedback:
- I downloaded the module and installed it. When I go to /admin/config I cannot find Mailchecker to access the admin page. However, directly accessing admin/config/mailchecker works fine.
- First when I read the readme.txt file, I did not fully understand for what the module is for. I understood it when reading Line 14 of readme. Why not put this to the head of the readme. I first assumed it's kind of a "regex" validator for emails.
- You also ship mailcheck.js with the module altough in the installation instruction it say you have to download it from github. Why is that? (I understood it, that the script in the module is kind of the bridge between drupal and mailchecker.js)
- When saving the config page I received this "Notice: Undefined index: webform in mailchecker_conf_submit() (line 160 of /Users/fischerlukas/Sites/drupalmonitor7/drupal-7.12/sites/all/modules/mailchecker/mailchecker.module)." I changed source path.
- One minor thing I run into. The module is called mailchecker. When downloading the js from github it's called https://raw.github.com/Kicksend/mailcheck/master/src/jquery.mailcheck.js -> MAILCHECK.js withouth ER. I somehow assumed that the libaries folder is also called mailchecker as the module, but in the proposed source path it's also mailcheck with er. This maybe sounds stupid but I almost stopped using the module because I could not make it run right away, just because of a stupid misspelling of folders.

In the end, it worked on my side.

Elvar’s picture

Hi lukas.fischer

First of all, thank you for your time.

1. I have now added a link to the People block, on admin/conf.
2. Well, i believe people will read the project page before they download the module, that should give them a clear idea of what the module does, however i will consider moving the text around. :-)
3. No i do not, the js is named mailchecker.js, and not mailcheck.js, but yes you are right, you can call it a bridge.
4. This is now fixed.
5. The default path is (this is taken from the mailchecker.install)
$conf['path'] = 'sites/all/libraries/mailcheck/jquery.mailcheck.min.js';
mailcheck.js is not my work, i simply implements it in my module. However i understand it can be a bit confusing, but i wanted a make a bit of distinction between the projects.
Maybe that isn't such a good idea, i don't know :).

Best regards
Elvar

Elvar’s picture

Priority: Normal » Major

2 weeks, upgrading to Major

klausi’s picture

Priority: Major » Normal
Status: Needs review » Needs work
StatusFileSize
new666 bytes

Sorry for the delay. Make sure to finish your review bonus, otherwise reviews will take a long time.

Review of the 7.x-1.x branch:

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.

manual review:

  1. the README.txt says this works for fields, where is that implemented?
  2. mailchecker.js: this should use Drupal.behaviors, right? http://drupal.org/node/756722
  3. mailchecker_conf_submit(): do not access the raw $form_state['input'], use $form_state['values'] instead.
  4. mailchecker_conf(): you could use system_settings_form() to save your settings, then you also don't need your submit callback.

But otherwise it looks nearly ready.

Elvar’s picture

Thank you for your time Klausi.

I will look into your reportings when my final exame are over , and do a code review more ;-).

And you're right, this doesn't work on fields, this was a thought i had early in the developing progress, but dropped it, i will remove it from the readme. Thx.

Elvar’s picture

@Klausi

I have now corrected all Drupal coding standard issues :-)

1. This is now fixed, false claim is no more!
2. I have corrected my code, according to the link you gave me, but i would really like a double check on this.
3. This i corrected, thank you.
4. This could be smart, however i don't like the way it saves the settings, i like keeping all my settings in one variable. :-)

Thank you for your time.

Elvar’s picture

Status: Needs work » Needs review

Also i have changed the title of the module from Mailchecker to just Mailcheck, however i cannot change the name of the thread. :-)

Elvar’s picture

Issue summary: View changes

Added some review links

Elvar’s picture

Priority: Normal » Major
Issue tags: +PAreview: review bonus

Adding my review bonus tag, as i've completed 3 reviews. :-)

klausi’s picture

Title: Mailchecker » Mailcheck
Priority: Major » Normal
Status: Needs review » Reviewed & tested by the community
Issue tags: -PAreview: review bonus

manual review:

  1. mailcheck_conf_validate(): still using raw $form_state['input'], use $form_state['values'] instead.

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

Elvar’s picture

I did change that klausi? http://drupalcode.org/sandbox/Elvar/1504456.git/commitdiff/0c720dee7e7b7... or I misunderstand something?

Elvar’s picture

Issue summary: View changes

Add another review

klausi’s picture

Yes, but the function mailcheck_conf_validate() still uses it wrongly.

And marked #1609068: [D7] e-Commerce Mailcheck as duplicate.

andrewmacpherson’s picture

function skaheThatShit(el)

Can we have a better name for this please?

shakeEffect() or animateShake() perhaps.

Elvar’s picture

klausi @ this is now fixed, finally ;-).

andrewmacpherson @ now changed. Thank you.

klausi’s picture

Status: Reviewed & tested by the community » Fixed

No objections in more than a week, so ...

Thanks for your contribution, Elvar!

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.

Elvar’s picture

Hooraaay, thanks a bunch Klausi, and also thanks to all the reviewers.

I will look into the docs, thx again!

Best regards

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Change of name

avpaderno’s picture

Title: Mailcheck » [D7] Mailcheck
Issue summary: View changes