This project provides a module for easily integrating Velaro live chat into the installers drupal site. Module includes a configuration page for linking to the installers Velaro account and configuring a few options for the live chat service. Once linked and enabled, scripts are loaded into any non-admin screens that allow for chatting with the installer through Velaro's web or windows desktop applications
Project page: https://www.drupal.org/sandbox/jtuttle87/2584927
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/jtuttle87/2584927.git
PAreview: http://pareview.sh/pareview/httpsgitdrupalorgsandboxjtuttle872584927git
Comments
Comment #2
PA robot CreditAttribution: PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxjtuttle872584927git
Fixed the git clone URL in the issue summary for non-maintainer users.
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
andrey.troeglazov CreditAttribution: andrey.troeglazov at DrupalJedi commentedHello, I reviewed you module and found list of defects:
1) Please, follow drupal coding standards https://www.drupal.org/coding-standards
Examples: http://i.imgur.com/xZRDOM7.jpg
2) PA review test have failed http://pareview.sh/pareview/httpgitdrupalorgsandboxjtuttle872584927git
Please, recheck.
Comment #4
jtuttle87 CreditAttribution: jtuttle87 commentedPreviously mentioned issued have been cleaned up. Project is ready for review.
Comment #5
sch4lly CreditAttribution: sch4lly commentedManual Review
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.
Two more major points:
- Can you provide an option to include the scripts from lines 205 & 206 locally as opposed to loading them from https://galleryuseastprod.blob.core.windows.net? Maybe as a checkbox in your admin settings.
- Please delete the variables you used when uninstalling the module in hook_uninstall()
Comment #6
PA robot CreditAttribution: 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 #7
jtuttle87 CreditAttribution: jtuttle87 commentedFixed indentation issue and implemented hook_uninstall.
Also: The scripts loaded from the separate endpoint are needed and cannot be loaded locally, these scripts contain endpoints needed to interact with our api, among other settings the customer has set in our application. Since these are not hard-coded values across all users, we need to load them from where we store them.
Comment #8
D.push CreditAttribution: D.push commentedHello. I've reviewed your module.
I found some issues:
1) Error in line 8, you missed comment symbol.
2) No semicolon at the end of the line.
3) Bad style usage css. Read https://api.drupal.org/api/drupal/includes!common.inc/function/drupal_ad... Better style using arrays for add css.
4) Why you use
<div>
in drupal forms?5) Use form validation https://api.drupal.org/api/drupal/developer!topics!forms_api_reference.h...
6) You used PHP curl queries. Recommended use https://api.drupal.org/api/drupal/includes!common.inc/function/drupal_ht....
7) Use arrays for adding all js such as line 145 in your code.
8) Read https://www.drupal.org/node/304258#drupal-settings (variables, Drupal.behaviors)
Comment #9
jtuttle87 CreditAttribution: jtuttle87 commentedReady for review
Comment #10
gisleAutomated Review
The automated review of your project by PAReview (ESLint) has found some issues with your JavaScript. As coding standards make sure projects are coded in a consistent style we ask you to please have a look at the report and try to fix them.
Manual Review
In particular, you should add the section "Dependencies". This module depends on SaaS delivered by Velaro. This dependency, and costs must be disclosed on the project page.
You've named the file "readme.txt". The standard name is "README.txt" or "README.md" and writing "readme" in lower case makes our robot sad.
You should use "README.md" if the intent is make use of MarkDown formatted text. The text almost looks nice when run through MarkDown filter, but not quite.
However, the major failing of the README is that it consists entirely of marketing blurb and does not tell the user how to install, configure or use the module.
Your README should also instruct reviewers in how to get a free Velaro account for review purposes.
Please take a moment to make your README.txt follow the guidelines for in-project documentation and the README.txt Template.
hook_uninstall
is located in the main module file. It should go in.install
hook_uninstall
implies the existence of a content type namedvelaro_chat
, but I can't find any code in your project to create it.velaro_chat_api_key velaro_chat_page_assignments velaro_chat_password velaro_chat_site_identifier velaro_chat_username velaro_chat_vm_enabled
, but does not delete them upon uninstall.velaro_chat_link_button
is unclear. Pressing the button produces no feedback.variable_get
is missing the second argument (making it NULL by default). I think it is better to supply a value.The starred items (*) above are big issues and warrant the application going back to Needs Work. Items marked with a plus sign (+) should be addressed before a stable project release, but does not block the project from being promoted to a full project. The rest of the comments are only 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
PA robot CreditAttribution: 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.