Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2012 at 15:05 UTC
Updated:
24 Sep 2014 at 00:31 UTC
Jump to comment: Most recent
Comments
Comment #1
patrickd commentedWelcome!
Please take a moment to create a README.txt that follows the guidelines for in-project documentation.
Please take a moment to make your project page follow tips for a great project page.
You are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
(At least this has to be done before switching back to needs review)
* Implements hook_permissionshould be* Implements hook_permission().Only files containing classes or interfaces should be added to "files[]="
while waiting for an in-depht review of your module you can start out fixing some coding style issues detected by automated tools:
http://ventral.org/pareview/httpgitdrupalorgsandboxpetiar1510552git
We do really need more hands in the application queue and highly recommend to get a review bonus so we will(/can) come back to your application sooner.
regards
Comment #2
petiar commentedHi patrickd,
thanks for very quick answer!
I am more than happy to change anything I need to successfully submit my module to Drupal.org, however, I got stucked at changing the branch from master to 7.x-1.x. I followed those commands on that link, I think I was successful with creating the 7.x-1.x branch, however, when I run the command
git push origin 7.x-1.xi am always gettingEverything up-to-datemessage. Any idea what am I doing wrong? Thanks.Comment #3
klausiYou already pushed the 7.x-1.x branch as you see here: http://drupalcode.org/sandbox/petiar/1510552.git
You have not listed any reviews of other project applications in your issue summary as strongly recommended here: http://drupal.org/node/1011698
Comment #4
chhavik commentedPlease resolve the coding issues. See this for more info. http://ventral.org/pareview/httpgitdrupalorgsandboxpetiar1510552git
Manual review :-
Comment #5
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
Comment #6
petiar commentedOk guys,
took me more than one year to recover from this coding issues fixing and another approximatelly 10 commits to fix another batch of useless bullying so I would really appreciate if we can actually do something useful here and deliver this module so it can help others. I believe users would not mind that the comments are not ended by period, etc. Thanks. :-)
Peter.
Comment #7
klausiThis application is not fixed? See http://drupal.org/node/532400
Comment #8
petiar commentedSorry, my bad, it was too late and I was very tired from all that code cleaning. Now it is fine (needs review), I suppose...
Comment #9
eriknewby commentedHey,
Here are a few things to consider.
nicereply.module
nicereply.pages.inc
Line 53: When labelling buttons, make it clear what the button does, "Submit" is too generic.
Thanks for your contributions!
Comment #10
petiar commentedThanks mate for valuable comments and suggestions! I believe I corrected them all. Regarding the "check_plain() and filter_xss()" - I went through this topic on StackOverflow:
> http://drupal.stackexchange.com/questions/10280/is-check-plain-enough
and only aplied check_plain() as it occurs to me that it should be safe enough.
Petiar
Comment #11
patrickd commentedThat's right, check_plain() is "safe enough" as it escapes any HTML contained in the variable,
while filter_xss() only filters out certain dangerous HTML parts.
But note that you don't have to use check_plain() or any of these with t(), because t() has these build in using its placeholder functionality.
Read the documentation about t() and the similar but non-translating function format_string().
Comment #12
petiar commentedThanks for your comment and clarification, patrickd. So what is the process now? Shall I wait for someone else to review my contribution?
Thanks.
Comment #13
erez111 commented.module -
At hook_node_view(), you used "global $user", but never used it.
Good luck!
Comment #14
petiar commentedThanks mate!
I removed the command.
Comment #15
kscheirerComment #16
kscheirerYou should definitely improve the text on the project page - instead of explaining your thought process, imagine someone is coming to your page wondering what the module does and why they should use it.
Use php's http_build_query for creating query strings - it handles all the formatting for you instead of carefully building up a string (in nicereply_api_call()). You should check that curl is installed before calling it, some servers/environments do not have it. Or use drupal_http_request() instead.
In D7
variable_get('nicereply_public_key', NULL)can be simplified to justvariable_get('nicereply_public_key')since we finally added a default return value.These are minor issues, except the project description could be considered major, but no critical problems. RTBC from me.
Comment #17
kscheirerCode still looks good, and it's been over a month since RTBC. This issue has been waiting a long time, thanks for sticking with it!
Thanks for your contribution, petiar!
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.
----
Top Shelf Modules - Enterprise modules from the community for the community.
Comment #19
petiar commentedHi Karl,
thanks for updating my account, I am glad to contribute. Also, big thanks for those useful links, I will go through them to become a responsible maintainer!
Petiar.