This module adds www.reactor.am tracking and communication service to your drupal website. Reactor.am is a tool for marketing automation, crm and user analytics.
Module code is based on the segmentio module.
Clone command
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/martin.smid/2434189.git reactor_am
cd reactor_am
Project url
https://www.drupal.org/sandbox/martin.smid/2434189
Comments
Comment #1
smido commentedComment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxmartinsmid2434189git
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
smido commentedComment #4
smido commentedComment #5
smido commentedAutomated review
http://pareview.sh/pareview/httpgitdrupalorgsandboxmartinsmid2434189git-...
It seems to try to apply coding style to the markdown file. Also, i cannot remove master branch from sandbox project.
No other problems detected
Comment #6
smido commentedComment #7
smido commentedComment #8
mpdonadioComment #9
mpdonadio@smido, these two links should help you to fix the master and default branches #1659588: Setting a default branch and #1127732: Moving from a master to a version branch.
The README should be wrapped to 80 cols.
Assigning to myself for a proper review, which will be in the next day or two.
Comment #10
mpdonadioAutomated Review
Git errors:
Review of the 7.x-1.x branch (commit 311308f):
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
Manual Review
This module has a few security problems, one of which is directly exploitable. As part of Review Admin mentoring, I am assigning to naveenvalecha to find them, in particular the direct exploit.
What is release.sh for? I don't think you need this in the repo?
You don't need to set a variable in the install. Just pass the default to variable_get().
In reactor_admin_settings_form(), wrapping single fields with collapsible kinda seems like overkill.
Your non-hooks need proper doclocks, eg reactor_get_picture_url().
In reactor_page_alter(), use user_is_anonymous() instead of checking the uid.
User tracking isn't an emergency; log config problems as errors.
Using #attached is preferred over drupal_add_js().
I get a consistent warning
You should have a hook_help()
You should have a hook_requirements() to check the config.
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #11
smido commentedThank for your review !
Removed.
Removed.
Overkill removed ;)
Added simple description.
Used.
Loglevel changed.
I dont know how to use this.
Fixed
Added
Added
Comment #12
naveenvalechaFirst,Thanks for your contribution.
Automated Review
Review of the 7.x-1.x branch (commit 10c19a0):
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
Manual Review : Read 10c19a0d7be3...
You should sanitize the data using proper sanitization functions before passing to drupal_add_js .http://drupal.stackexchange.com/questions/10280/is-check-plain-enough
Notice: Undefined variable: output in reactor_help() (line 149 of /Applications/MAMP/htdocs/d7.dev/sites/all/modules/sandbox/reactor_am/reactor.module).with page rendered array.
Please specify on the project page regarding this that the module is not collecting data for anonymous users.
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #13
mpdonadioThis is what I had:
The admin form is XSS prone. If I use
as the app ID, I get a popup. I think you need to make this a proper behavior, and add the app ID as a setting.
You are also using values from the $user object directly. I could not directly exploit these, because of validation, but these should also be passed via settings, which are escaped properly by core when added to a page.
Comment #14
smido commentedOutput sanitized
Fixed
Improved
Removed
with page rendered array.
Fixed
reactor_page_alter :
// Do not collect anonymous users.<br> if (user_is_anonymous()) {<br> return;<br> }Please specify on the project page regarding this that the module is not collecting data for anonymous users.
Comment added.
Comment #15
klausiRemoving review bonus tag, you have not done all manual reviews. Make sure to read through the source code of the other projects, as requested on the review bonus page.
Comment #16
naveenvalechaManual Review : Read 47bd61...
The Git commits are not connected to your user account. You need to specify an email address. See https://www.drupal.org/node/1022156 andhttps://www.drupal.org/node/1051722
uid,email,picture,created and statusRemove the check_plain from them.check_plain($user->name)Use format_username that will also work later when module will enable the tracking for anonymous users.Assigning to heddn for final review if he has time.
Comment #17
smido commentedHi, thanks for your review. Here are my comments
* Git config set
* Doc comment changed.
* The comment was already on the project page.
* Sanitizing was requested. How do I know who to listen to ? This is already second request to change something back. Hmm now I am looking that it was you who requested it :) Fixed.
* reactor_app_id is not numeric
Comment #18
naveenvalechaManual Review : Read 82a55b...
Your git commits are still not connected to your user account. You need to specify an email address. See https://www.drupal.org/node/1022156 and https://www.drupal.org/node/1051722 if you have changed the email address then file an issue in the webmasters issue queue to update your commits specified with that email address.
No Objections from more than 1 week.
No blockers.
Thanks for your contribution, @smido!
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 #19
naveenvalechaComment #20
smido commented@naveenvalecha Thank you. I will try to fix the git issues.