This module for drupal 7 aims at the implementation of mailing these two types of Email information.
1 - Facilitates tracking error for hosting development message on his website that there are errors. For example, when changing versions of PHP, PHP or disable certain libraries. You expose term deliveries, and get on your Email that you specify in the settings list errors without duplicates.
2 - Sometimes a developer has a problem tracking developed its resources in such a portfolio. For example, the customer moved to a new domain resource, and you certainly do not know where he is. Is it unfair customer does not want to pay for a resource domain changed by changing the Email administrator. This part of the functional checks whether the domain contains a list of domains made by you in the form of set-up, if there is no match, your Email the message that the domain has changed. And you have information about a new domain, you can make in your portfolio.

Both functional module operate independently of each other, when you run cron

This is the project: https://www.drupal.org/sandbox/pifagor87/2419285
This the git: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/pifagor87/2419285.git email_notification_developer

CommentFileSizeAuthor
error_67.jpg36.99 KBpifagor
domain_1.jpg47.9 KBpifagor

Comments

PA robot’s picture

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

kala4ek’s picture

You provide wrong git link, the correct is: http://git.drupal.org/sandbox/pifagor87/2419285.git

Maybe you should put administrating pages as admin/config/development subpages?
Code looks like OK, but I suggest you to use more empty lines in functions to improve code readability.

aneek’s picture

@pifagor87,

Automated Review

From pareview.sh you can check http://pareview.sh/pareview/httpgitdrupalorgsandboxpifagor872419285git

Manual Code Review

  1. Function email_notification_developer_form_alter(): Since you are using only one form to alter then its always better to use hook_form_FORM_ID_alter(). This will save 2 function calls while altering a form.
  2. $period_domain = variable_get(
          'email_notification_developer_period_domain',
          0
        );
    

    Why use line brakes in variable_get() ? This can be written in the same line.

  3. Why do you need to use global variable $base_root? If you are using url() or l() functions then only passing "admin/config/system/cron" will generate the CRON form URL, unless you are using one external URL. But not in this case I suppose.
  4. There are quite a few functions that don't have any comments regarding what they do and for what they are used. Like email_notification_developer_validate_email(), email_notification_developer_validate_domain() etc.

I hope these reviews make sense. Please let me know if you have any doubts regarding these.

aneek’s picture

Status: Needs review » Needs work
pifagor’s picture

Issue summary: View changes
pifagor’s picture

@kala4ek
Thanks for the tip.
You provide wrong git link, the correct is: http://git.drupal.org/sandbox/pifagor87/2419285.git
corrected

Maybe you should put administrating pages as admin/config/development subpages?
You were right, corrected

Code looks like OK, but I suggest you to use more empty lines in functions to improve code readability.
I was guided by the principles of standardization Drupal

pifagor’s picture

@aneek
Thank you for considering module.

Automated Review:
I tested it shows only 1 warning by using a variable in the function t (). But in this case, the function I can pass text only variable. This is in many modules such devel ...

Manual Code Review:
1, 2, 3, 4 - corrected.

pifagor’s picture

Status: Needs work » Needs review
jcontreras’s picture

You need to provide the git clone command so we can clone your code and so a manual test.
- You can find the correct git clone command for your sandbox by clicking on the Version control tab, removing the checkbox in front of "Maintainer", and clicking Show. You can then copy-paste the git clone command

pifagor’s picture

Issue summary: View changes
pifagor’s picture

@jcontreras
Thanks for the advice. Fixed.

jcontreras’s picture

Status: Needs review » Needs work

We are very close!
Manual Check - just a few typos:

README.txt:
LINE 16 - Cheksboks -> Did you mean Checkboxes ??
LINE 20 & 30 - danyho -> did you mean Day?
LINE 22 - adresses -> addresses

email_notification_developer.module:
LINE 155, 187, 215, - adresses -> addresses

klausi’s picture

Status: Needs work » Needs review

@jcontreras: some spelling errors are surely not application blockers, anything else that you found or should this be RTBC instead?

pifagor’s picture

@jcontreras
Thank you for the correction.

Сorrected grammatical errors.

jcontreras’s picture

Status: Needs review » Reviewed & tested by the community

You are right klausi. just a final touch.
Thank you Pifagor87 for your time on this module!

mqanneh’s picture

from pareview.sh

Review of the 7.x-1.x branch (commit a8867f0):

  • Coder Sniffer has found some issues with your code (please check the Drupal coding standards).
    
    FILE: ...w/drupal-7-pareview/pareview_temp/email_notification_developer.module
    ---------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------
     318 | WARNING | Only string literals should be passed to t() where
         |         | possible
    ---------------------------------------------------------------------------
    
    Time: 169ms; Memory: 9.5Mb
    
  • No automated test cases were found, did you consider writing Simpletests or PHPUnit tests? This is not a requirement but encouraged for professional software development.

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.

Source: http://pareview.sh/ - PAReview.sh online service

mqanneh’s picture

Status: Reviewed & tested by the community » Needs work
klausi’s picture

Status: Needs work » Reviewed & tested by the community

That issue alone is surely not an application blocker, please do a real manual review.

pifagor’s picture

What can I do to move to the next stage?

cweagans’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for your contribution!

I updated your account so you can 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 stay 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.