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
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | drupal_configuration_informz_subscribed_user.jpg | 142.99 KB | chaitanya17 |
Comments
Comment #2
chaitanya17 commentedComment #3
PA robot commentedWe 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.
Comment #4
skwashd commentedI 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
Comment #5
chaitanya17 commentedDave 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.
Comment #6
chaitanya17 commentedComment #7
chaitanya17 commentedImplemented suggested changes
Comment #8
PA robot commentedThere 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.
Comment #9
PA robot commentedClosing 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.
Comment #10
chaitanya17 commentedHi,
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.
Comment #11
ashwinshHello 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,
Comment #12
gislePlease don't assign the review task to yourself. Please see this page about assigning ownership to issues.
Comment #13
chaitanya17 commentedHi Ashwin,
I have implemented all preview.sh comments from your shared link.
http://pareview.sh/pareview/httpgitdrupalorgsandboxchaitanya172703949git
Regards,
Comment #14
chaitanya17 commentedComment #15
ashwinshHi chaitanya17,
I have checked and Automated review is passed now.
Thank you,
Comment #16
skwashd commentedI 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$pathinstead of the (multiple) calls todrupal_get_path().The InterestNames are hardcoded in the template file.
Comment #17
chaitanya17 commentedHi 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.
Comment #18
chaitanya17 commentedComment #19
dilipsingh02 commentedchange the Git clone URL for users.
Thanks
Comment #20
gisle@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.
Comment #21
sudishth commentedAutomated 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/...
Comment #22
klausi@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"?
Comment #23
chaitanya17 commentedThanks @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.
Comment #24
sudishth commentedComment #25
chaitanya17 commentedComment #26
chaitanya17 commentedComment #27
chaitanya17 commentedComment #28
chaitanya17 commentedComment #29
misc commentedThanks 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.
Comment #30
chaitanya17 commentedHi @MiSc,
Thanks for your co-operation and motivating me for Drupal contribution.
Appreciate your efforts.
Regards,
Chaitanya.