Project URL:
https://www.drupal.org/sandbox/chaitanya17/2703949

Git Repo URL:
git clone --branch 7.x-1.x https://git.drupal.org/sandbox/chaitanya17/2703949.git informz_api_intergation
cd informz_api_intergation

Based on Client requirement for integration to leverage data between Informz and my Application. I have written custom module that is used for exchanging data to informz. There was no contributed module available for achieving this task.

This module performs below tasks

1) While user registration on your application, using Drupal hook_user_insert(), data is send to informz as Subscribers.

2) Created menu callback that will sync all subscribed user from informz to our application.

I have created one configuration page, that will set required configurable variables.

https://www.drupal.org/sandbox/chaitanya17/2703949

Manual reviews of other projects
[D7] https://www.drupal.org/node/2746225#comment-11305571
[D7] https://www.drupal.org/node/2709679#comment-11332891
[D7] https://www.drupal.org/node/2752501#comment-11340389
[D7] https://www.drupal.org/node/2746485#comment-11340551

Comments

chaitanya17 created an issue. See original summary.

chaitanya17’s picture

Status: Active » Needs review
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.

skwashd’s picture

Status: Needs review » Needs work

I had a quick look at this and it needs some work. Please do not consider this to be a comprehensive review.

* Many functions are undocumented
* There is blocks of debugging code commented out
* Is "_integration" needed in the module name? "informz" or "informz_api" is a shorter namespace.
* Function names aren't properly namespaced
* Indentation is all over the place

chaitanya17’s picture

Dave I have implemented below changes as per your comments

1) Added documentation for for functions
2) Removed debuggers from code
3) renamed module to "informz_api"
4) Named functions properly
5) Indented code.
6) Removed test account configurable variables

Please verify and thanks for your time.

chaitanya17’s picture

StatusFileSize
new142.99 KB
chaitanya17’s picture

Status: Needs work » Needs review

Implemented suggested changes

PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxchaitanya172703949git

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

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

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

chaitanya17’s picture

Priority: Normal » Major
Status: Closed (won't fix) » Needs review

Hi,

I have implemented suggested changes along with bifurcation of HTML/XML logic from module file using theme hook.

Now just provide configurable variables and subscribe users to infomz account.

ashwinsh’s picture

Hello Chaitanya,

Your module looks good, but there are some minor errors reported by automated review tool. Did you check them?

See http://pareview.sh/pareview/httpgitdrupalorgsandboxchaitanya172703949git

Regards,

gisle’s picture

Assigned: chaitanya17 » Unassigned

Please don't assign the review task to yourself. Please see this page about assigning ownership to issues.

chaitanya17’s picture

Hi Ashwin,

I have implemented all preview.sh comments from your shared link.

http://pareview.sh/pareview/httpgitdrupalorgsandboxchaitanya172703949git

Regards,

chaitanya17’s picture

ashwinsh’s picture

Hi chaitanya17,

I have checked and Automated review is passed now.

Thank you,

skwashd’s picture

Status: Needs review » Needs work

I had a quick scan of the current version of the code.

The description for the "admin/config/media/informz" menu item isn't very useful.

The phrase "no updation" is used in multiple places.

The module calls domain_get_domain() but doesn't specify domain as a dependency.

The hook_theme() implementation should be using $path instead of the (multiple) calls to drupal_get_path().

The InterestNames are hardcoded in the template file.

chaitanya17’s picture

Status: Needs work » Needs review

Hi Dave,

Thanks for reviewing my module.

I have addressed all your code review points.
1) Changed Description.
2) removed phrase "no updation"
3) Removed domain module dependency
4) set drupal_get_path to $path
5) Changed InterestName.

chaitanya17’s picture

Issue summary: View changes
dilipsingh02’s picture

Issue summary: View changes

change the Git clone URL for users.

Thanks

gisle’s picture

Issue tags: -API, -Soap Client, -subscribe

@dilipsingh02, thanks for fixing the git clone URL!

This application has some random keywords added as tags. I've removed them.

Before adding tags read the issue tag guidelines. Do NOT use tags for adding random keywords.

sudishth’s picture

Automated Review
No problem found
Manual Review

Individual user account
Yes: Follows guidelines for individual user accounts.
No duplication
Yes: Does not cause module duplication and/or fragmentation.
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
Yes: Follows licensing requirements
README.txt/README.md
Yes: Follows guidelines for in-project documentation and/or the README Template.
Code long/complex enough for review
Yes: Follows the guidelines for project length and complexity.
Secure code
Yes: Meets the security requirements.
Coding style & Drupal API usage
remove it on 108 line
$form['submit'] = array(
'#type' => 'submit',
'#value' => 'Save Configuration',
);
https://api.drupal.org/api/drupal/modules!system!system.module/function/...

klausi’s picture

@sudishth: looks like you forgot to change the status. Is this now RTBC after your review or are there application blockers left and this should be "needs work"?

chaitanya17’s picture

Thanks @dilipsingh02 and @gisle,

@sudishth, Thanks for performing manual code review.

I have addressed issue for, Coding style & Drupal API usage

@sudishth, After verifying please move module state to RTBC.

sudishth’s picture

Status: Needs review » Reviewed & tested by the community
chaitanya17’s picture

Issue summary: View changes
chaitanya17’s picture

Issue summary: View changes
chaitanya17’s picture

Issue summary: View changes
chaitanya17’s picture

Issue tags: +PAreview: review bonus
misc’s picture

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

Thanks for your contribution, chaitanya17!

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.

chaitanya17’s picture

Hi @MiSc,

Thanks for your co-operation and motivating me for Drupal contribution.
Appreciate your efforts.

Regards,
Chaitanya.

Status: Fixed » Closed (fixed)

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