Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 May 2015 at 19:33 UTC
Updated:
2 Jul 2016 at 22:24 UTC
Jump to comment: Most recent
Comments
Comment #1
PA robot commentedGit clone command for the sandbox is missing in the issue summary, please add it.
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 #2
neerajsinghHi dsrodzin,
Please provide Project URL and GIT clone URL in the Issue summary.
Here is the process to apply for permission to create full projects: https://www.drupal.org/node/1011698
Regards,
Neeraj Singh
Comment #3
dsrodzin commentedComment #4
dsrodzin commentedComment #5
dsrodzin commentedComment #6
pravin ajaaz commentedComment #7
pravin ajaaz commentedAutomated Review:
Pareview is showing lots of issues: http://pareview.sh/pareview/httpgitdrupalorgsandboxdsrodzin2489936git. You should start fixing them
Manual Review:
Comment #8
pravin ajaaz commentedComment #9
dsrodzin commentedClearerd up syntax with pareview
Moved branch from master to 7.x-1.x
Deleted old Git repository area as seemed to have broken, new one referenced.
Many Thanks!
Comment #10
dsrodzin commentedComment #11
dsrodzin commentedComment #12
dsrodzin commentedComment #13
babusaheb.vikas commentedHi dsrodzin,
1) Remove INSTALL.txt file from your module
(it only contains 'Please see README.txt').
2) No need to use quote in *.info file
It would be better if your *.info file looks like
name = WebEmailProtector
description = Stop your website email addresses from being scraped.
package = Input filters
core = 7.x
configure = admin/settings/webemailprotector
dependencies[] = filter
Comment #14
ajalan065 commentedHi dsrodzin,
First of all, I would like to inform you that your git link is wrongly given in your project page. It is git clone --branch 7.x-1.x http://git.drupal.org/sandbox/dsrodzin/2498545.git webemailprotector instead of what is given on the project page. Please correct it.
I have not gone through the functionality of the module. But found these in your code.
1. Please remove INSTALL.txt from your project as it has no purpose.
2. it seems that Webemailprotector is a 3rd party software. So instead of including it as you have done, please follow the guidelines for 3rd party assets/code.
[P.S. Please comment me if I am wrong. ]
3. You have used this piece of code multiple times in your module.
drupal_get_path('module', 'webemailprotector');Instead store it in a constance, and use it wherever needed.
define('WEBEMAIL_PROTECTOR_MODULE', drupal_get_path('module', 'webemailprotector'));4. I could not get the use of the function call webemailprotector_proc() just below itself. Does it solve any purpose?
5. Instead of adding js and css outside, you can put them in a function and call it in the place. (line 391-398)
These are some petty issues:
6. You have used some unnecessary declarations/definitions which could be avoided by wrapping the two lines in one.
(a) $wep_css : This does not seem to have any use except
Instead you can have this
drupal_add_css( $path . '/css/webemailprotector_emailstyle.css', array('weight' => CSS_THEME));(b) You have already done
in hook_admin(). So no need to again define it as $wep_ver = 'v1.0.0'; in the next line. (line 81).
7. Please add proper comments to hook_filter_preprocess() and hook_info() and hook_info().
8. Please make sure you have deleted all the set variables when their task is complete or when the user uninstalls the module. You can refer to hook_uninstall()
Please comment me out if I am wrong anywhere. Looking forward to learn new things.
Comment #15
dsrodzin commentedComment #16
dsrodzin commentedHi babusaheb.vikas - thanks for your comments
Changes made as per your suggestions and git updated. Many Thanks DS
Comment #17
dsrodzin commentedAmmended project in line with comments from reviewers.
Corrected git clone reference.
Corrected .info file removing quotes.
Replaced multiple declarations with a variable_set/variable_get pair.
Move JS and CSS from inline to in function.
Added additional comments.
Added hook_uninstall to .install file.
Noted comments, but not resolved and probably low prioirity:
regarding making 2 lines into one with CSS - however this was done to pass pareview LINT checking.
3rd party software: this is the admin menu to that (my) third party dsoftware that is not included in module.
Many thanks to all reviewers, DS
Comment #18
azeiteiro commentedAutomated Review
Fix JS errors from ES Lint
Manual Review
Comment #19
gisleProject doesn't even install because
.installmisses "<?php" open tag (as pointed out in #18) 10 months ago.I am setting this to "Needs work". Will do a proper review when the errors pointed out by previous reviewers are fixed.
Comment #20
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.