Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
29 Oct 2015 at 16:32 UTC
Updated:
19 Dec 2019 at 08:44 UTC
Jump to comment: Most recent
Comments
Comment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxisantolin2600020git
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.
Comment #3
jimmyko commentedI have checked the code and have some findings as below:
1. There is no doc block for each file header to describe the usage of the files.
2. Missing doc block for each function, especially for the hook functions. such as.
3. Indentation inside block_proxies_boot() is in a mess. More details from Coding standards - Indenting and Whitespace
Comment #4
isantolinI Corrected all the issues, can review?
Comment #5
isantolinComment #6
rakesh.gectcrPlease update the issue summary according to https://www.drupal.org/node/1011698 and project name too.
Comment #7
rakesh.gectcrComment #8
rakesh.gectcrPlease fix the following errors.
Please see http://pareview.sh/pareview/httpgitdrupalorgsandboxisantolin2600020git
Comment #9
isantolinErrors Corrected, Please review :)
Comment #10
isantolinComment #11
isantolinComment #12
rakesh.gectcrManual Review
'description' => 'Block Unwanted Connections.',should be in
t()drupal_set_message(t('<a href="https://pear.php.net/package/Net_DNSBL/" target="_blank">Net_DNSBL</a> Library not installed'), 'error');should consider to use
l()Comment #13
isantolin1, 2, 3 Applied, but fix 1 triggers
in PAReview, its ok?
Comment #14
isantolinComment #15
isantolinAnyone can review this?
Comment #16
klausiI think the review bonus tag was added by accident here, no reviews of other projects listed in the issue summary.
Comment #17
almaudoh commented@isantolin: some code reviews:
In
block_proxies_form(), all the#default_valuevariables are not properly initialized and so would cause unnecessary E_NOTICE messages in some sites and in some configurations if$field_valuesis not set.It is always a good idea to initialize when the assignment is done in a conditional.
Also in block_proxies.module line 75
The
$messageshould becheck_plain()'ed before printing because the input is obtained from the textfield in the admin formblock_proxies_form(). All user input should be sanitized before printing to browser.Comment #18
isantolin@almaudoh issues corrected, can check this?
Comment #19
isantolinPlease, anyone can review this?
Comment #20
ziomizar commentedHi isantolin,
Have you try to do the same just with this modules?
https://www.drupal.org/project/troll
https://www.drupal.org/project/badbehavior
In case your module is different please explain the differences on the project description.
Comment #21
sanjayk commentedAutomated Review
have some issue in automated review - http://pareview.sh/pareview/httpgitdrupalorgsandboxisantolin2600020git
Manual Review
I have checked code. You have committed some additional files which is created by Netbeans 'nbproject'. Please remove from commit. I think it's not required.
Need more description about module configuration etc.
Comment #22
sanjayk commentedComment #23
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 #24
isantolinErrors Fixed
https://pareview.sh/pareview/https-git.drupal.org-project-block_proxies
About the comment https://www.drupal.org/project/projectapplications/issues/2604348#commen... by @ziomizar my project is related to Protocols (TOR, DNSBL, Web Proxies) not Ports or behaviours
Anyone can release my plugin?
Comment #25
vuilUpdate the issue's summary only.
Comment #26
isantolinComment #27
isantolinComment #28
isantolin@ilchovuchkov Summary updated.
Can you publish the module?
Comment #29
isantolinComment #30
isantolin@ilchovuchkov Summary updated.
Can you publish the module?
Comment #31
avpadernoThe task of this issue queue is not publishing projects, but giving users the vetted role that allows them to opt into security coverage.
The code is now reviewed by volunteers, who will verify what you understand about writing secure code that correctly uses the Drupal API and follows the Drupal coding standards.
Comment #32
avpadernoRemove the @license part in the first file comments. The link given (http://www.gnu.org/copyleft/gpl.html) takes to https://www.gnu.org/licenses/gpl-3.0.html, which describes the GPLv3 license. When you consent to the Git agreement, you agree to commit code that is under GPLv2 license, not GPLv3.
Drupal Git Contributor Agreement & Repository Usage Policy has the following note.
Modules don't need to uninstall the database tables defined in
hook_schema(). Drupal will automatically removed them.That function is not an hook implementation (and surely not a
hook_from_submit()implementation). It's not clear why the function is setting a site value if then users aren't allowed to select for which site the configuration is.Drupal isn't a module, nor is Net_DNSBL.
This seems a comment taken from the documentation of another module. I don't see how it is relevant for this module that the Administration Menu module has problems with the Toolbar module.
Comment #33
isantolin@kiamlaluno entire list was fixed.
Comment #34
isantolinAnyone can review and publish?
Comment #35
klausiThanks for your contribution!
Otherwise I don't see any security issues/blockers.
Comment #36
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, 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.
I thank all the dedicated reviewers as well.
Comment #37
vuilI add my current employer.