Hi folks,
After working few years with Drupal, I am in love with this CMS and have decided to actively contribute to the community. I have few modules developed for Drupal 6 and would like to share with the community.
I will just start with one now.
The details for the module are as follows:
Module: Curdbee
This module allows integration with CurdBee invoicing system, http://www.curdbee.com
It basically allows user to view their outstanding invoices by logging to their account. The system provides a very easy to use interface for site admin. Once the module is configured, site admin just have to associate users with CurdBee client account. This can be done while adding a new user or editing an existing user. The module also adds a new tab to user area for easy access to invoices.
Sandbox URL: https://drupal.org/sandbox/ashishupadhayay/2153537
GIT: git clone --branch 6.x-1.x http://git.drupal.org/sandbox/ashishupadhayay/2153537.git curdbee
Drupal core: 6.x
I have reviewed the whole code manually and using pareview.sh.
Manual reviews of other projects:
https://drupal.org/comment/8286113#comment-8286113
https://drupal.org/comment/8286215#comment-8286215
https://drupal.org/comment/8286299#comment-8286299
Additional reviews:
https://drupal.org/comment/8334995#comment-8334995
https://drupal.org/comment/8576149#comment-8576149
https://drupal.org/comment/8576071#comment-8576071
https://drupal.org/comment/8576267#comment-8576267
Please let me know if you would like to know more about this module.
Regards,
Ash
Comments
Comment #1
perignon commentedYou neglected to put the Drupal version in the title of your post.
Comment #2
auworks commentedComment #3
auworks commentedThanks Perignon,
I just found out about that. Fixed it...
Cheers,
Ash
Comment #4
auworks commentedComment #5
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 #6
nitesh pawar commentedHi ashishupadhayay,
There is still a master branch, make sure to set the correct default branch: http://drupal.org/node/1659588 . Then remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732
Comment #7
auworks commentedHi Niteshp,
I am sure that I had removed the master branch. Let me just double check...
Comment #8
auworks commentedComment #9
auworks commentedAny word on this guys? Still waiting on someone to review my project application...
Comment #10
th_tushar commentedHi ashishupadhayay,
I have manually reviewed the module code, I found that you have not followed the drupal commenting standards, check the API documentation and comment standards (https://drupal.org/node/1354) for the commenting standards for hook implementation methods.
Second, regarding drupal_add_css() in hook_init() function, I checked the css file and there is a CSS code only for displaying the table of invoice data. The css file will be loaded on all page requests, which is not required. So, try to load it on the required page.
Third, you are using the variable_get() in the module, on uninstallation of the module, there may be the module variables left in the database. So, you will have to write the .install file, and ensure that the variables are deleted from database on uninstallation.
Thanks.
Comment #11
th_tushar commentedComment #12
auworks commentedHi th_tushar,
Thanks for the pointers mate. I will look into those issues ASAP.
Do you mind shedding some lights on comment standards... I referred to the page and I am finding it hard to get my head around it...
Thanks in advance.
Cheers,
Ash
Comment #13
auworks commentedComment #14
auworks commentedFixed all the reported issues. Can someone review this module for me please...
Comment #15
klausiRemoving automated review comments, make sure to read through the source code of other projects and provide feedback on that.
Comment #16
auworks commentedHi klausi,
Thanks for your review.
Well, I did look into the code and found that the modules had very few lines of code so thought I would let them know.
Now that I know that those modules can be reviewed I will make sure that I go through modules that require review and to manually review those modules.
Thanks!
Comment #17
auworks commentedComment #18
auworks commentedComment #19
auworks commentedComment #20
auworks commentedComment #21
lord_of_freaks commentedHi
Good module, congrats.
I found some minor issues on the function
curdbee_request. You are using CURL and if you want to do that you should (at least) implement thehook_requirements.Any it doesn´t look like necessary because you can use drupal_http_request for that, and also http_build_query to buid the query_string.
You can see and example of this below
Comment #22
lord_of_freaks commentedComment #23
auworks commentedHi lord_of_freaks,
That indeed is a very good suggestion.
I am happy to make changes as per your suggestion.
Thanks very much for pointing me in right direction,
Cheers,
Ash
Comment #24
auworks commentedComment #25
auworks commentedAll sorted guys. I have also added validation to data returned via API.
Please review...
Comment #26
xqus commentedI'm not sure, but if no API token is configured, should the module work at all? It it wise to have a default token configured?
function curdbee_form_alter(&$form, $form_state, $form_id) {$form_state should be passed by reference: &$form_state (https://api.drupal.org/api/drupal/modules!system!system.api.php/function...)
Comment #27
auworks commentedHi xqus,
Thanks for your review mate.
Well you will need to sign up for a curdbee account to get those details and the module shouldn't work without them. I had my account details in case someone wants to test it without signing up for curdbee. I will reset it when its ready for production.
I have also fixed the curdbee_form_alter definition...
Thanks!
Comment #28
xqus commentedAh, I see. Sounds reasonable! :)
Comment #29
candotri commentedPlease put the git clone command in the description of the module. It makes it much easier for someone to check out the code and if it saves a review even a few keystrokes it's worth it.
You are missing @param and @return documentation for several functions.
Good work - things seem orderly and well thought out. I cannot comment on runtime but the code reads well.
Comment #30
auworks commentedNo worries. I will do that now...
Comment #31
auworks commentedComment #32
auworks commentedHi candotri,
Thanks for your review mate.
I have made the changes as per your suggestion...
Cheers,
Ash
Comment #33
auworks commentedComment #34
klausimanual review:
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #35
auworks commentedThanks for your review klausi...
Happy new year...
Comment #36
auworks commentedComment #37
auworks commentedComment #38
auworks commentedHi awesome drupal community,
I have made changes as per klausi's suggestion. Can someone review this project for me...
Cheers,
Ash
Comment #39
candotri commentedHi ashishupadhayay,
You will have a better chance at getting reviewed if you review other projects. Do some reviews, update this issue with links to those reviews, update your issue tags with "PAReview: review bonus", and be patient. The reviewers are very busy and your participation will help to clear the queue.
Please be sure that you are actually reviewing code and giving useful comments. It's hard work but it builds our community.
Thank you for participating!
Comment #40
auworks commentedThanks Chad....
Haven't got a time to review any project recently. Just started a new job and its taking all my time :P
Will try to review few projects this weekend :P
Cheers,
Ash
Comment #41
auworks commentedHopefully I will get a final review this time :P
Reviews:
https://drupal.org/comment/8334995#comment-8334995
https://drupal.org/comment/8576149#comment-8576149
https://drupal.org/comment/8576071#comment-8576071
https://drupal.org/comment/8576267#comment-8576267
Thanks guys...
Comment #42
auworks commentedComment #43
klausimanual review:
But otherwise looks RTBC to me.
Assigning to Dave Reid as he might have time to take a final look at this.
Comment #44
auworks commentedHi Klausi,
Thanks for your review.
Thx
Comment #45
auworks commentedI have made changes to code as per Klausi's suggestion.
Thanks
Comment #46
auworks commentedAny word on this guys?
Comment #47
klausino objections for more than a week, so ...
Thanks for your contribution, ashishupadhayay!
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 #48
auworks commentedThanks klausi...