Create a WebEx meeting through the Drupal 7 website
Cisco WebEx is a meeting creation Tool.
Its provides WebEx API to supports the meeting creation through website.
In WebEx we have to create a account for this feature.
Installation and Configuration
WebEx :
- Have to create the cisco WebEx account.
Install:
-Install this module.
Once you have installed this module, You have to provide the below configuration information
Configuration:
WebEx API Url *
WebEx ID*
WebEx Authentication Password*
WebEx Site ID*
WebEx Partner ID*
WebEx Email*
In the WebEx configuration page you can select the content type.Once submit the configuration.
You can see the meeting date and add attendee fields for selected content type.
Meeting Date - WebEx Meeting date
Attendees - who wants to attend this meeting. We can add the email address. WebEx mail will send to these attendees.
1. We can create WebEx meeting.
2. When delete the node, WebEx meeting will be cancel
Sandbox project page link:
https://www.drupal.org/sandbox/vigneshpr87/2530242
Pareview results:
http://pareview.sh/pareview/httpgitdrupalorgsandboxvigneshpr872530242git
To clone the project:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/vigneshpr87/2530242.git webex_xml_api
cd webex_xml_api
Reviews of other projects
https://www.drupal.org/node/2543902#comment-10191480
https://www.drupal.org/node/2542388#comment-10168230
https://www.drupal.org/node/2532176#comment-10124512
https://www.drupal.org/node/2538998#comment-10153698
| Comment | File | Size | Author |
|---|---|---|---|
| webexfields.png | 16.23 KB | Vignesh Puliyadi Raja | |
| webex configuration.png | 35.12 KB | Vignesh Puliyadi Raja |
Comments
Comment #1
PA robot commentedWe 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
babusaheb.vikas commented1) Add sandbox project link in Issue summary.
2) Found below error when I installed your module.
3) configure link is missing in *.info file
You should add configure = admin/config/user-interface/webexapi
4) Incorrect hook comments throughout the file. Change it from line no. 9, 20, 127. Correct hook comment is: Implements hook_HOOK().
Comment #3
Vignesh Puliyadi Raja commentedComment #4
babusaheb.vikas commentedAdd Attendees button showing on all forms.
Need to address these issues first.
Comment #5
Vignesh Puliyadi Raja commentedHi Vikas kumar,
Thanks for reviewing.
1. sandbox project link added in my summary.
2. when I install my module, the notice error are resolved.
3. configure link is given in my *.info file .
4. hook comments are changed throughout the file.
Comment #6
abhiklpm commentedManual Review
1. In D7 a module no longer should explicitly install or uninstall its database schema in hook_install() or hook_uninstall(). Reference
2. It is also good to delete varables on uninstall
3. Instead of using db select in your below funtion, you can use built in funtion to get the content types node_type_get_types()
Comment #7
Vignesh Puliyadi Raja commentedHi Abhilash,
Thanks for reviewing.
Your manual review comments are fixed. like install file code changes and module file get content type code.
Comment #8
Vignesh Puliyadi Raja commentedComment #9
Vignesh Puliyadi Raja commentedComment #10
Vignesh Puliyadi Raja commentedComment #11
Vignesh Puliyadi Raja commentedComment #12
Vignesh Puliyadi Raja commentedComment #13
Vignesh Puliyadi Raja commentedHi Vikas kumar,
Thanks for review and support.(sorry for late reply).
Add Attendees button showing on all forms.
- I have checked this issue. Its works fine for me. When you choose the content type in the WebEx Configuration page, In that selected content type only you can see these fields. These fields wont display in other content type.
Once again thanks for you review. If you face this issue again, Please give comments.
Comment #14
Vignesh Puliyadi Raja commentedComment #15
Vignesh Puliyadi Raja commentedComment #16
Vignesh Puliyadi Raja commentedComment #17
Vignesh Puliyadi Raja commentedComment #18
Vignesh Puliyadi Raja commentedComment #19
viswanathan6 commentedHi,
i)Add success message using hook_install () when your module has installed.
Comment #20
Vignesh Puliyadi Raja commentedHi Viswa,
Thanks for your review.
i)Add success message using hook_install () when your module has installed. - Fixed.
Comment #21
Vignesh Puliyadi Raja commentedComment #22
pushpinderchauhan commentedRemoving review bonus tag (also, links on reviews from the issue summary), you have not done all manual reviews, you just posted the output of an automated review tool. Make sure to read through the source code of the other projects, as requested on the review bonus page.
Comment #23
Vignesh Puliyadi Raja commentedComment #24
Vignesh Puliyadi Raja commentedComment #25
Vignesh Puliyadi Raja commentedComment #26
Vignesh Puliyadi Raja commentedComment #27
Vignesh Puliyadi Raja commentedComment #28
Vignesh Puliyadi Raja commentedPushpinder,
Thanks for your comments.
I done 3 manual reviews.
Comment #29
pushpinderchauhan commentedAssigning to myself for next review, which will hopefully by EOD today.
Comment #30
pushpinderchauhan commentedAutomated Review
Best practice issues identified by pareview.sh / drupalcs / coder. One minor issue, need to be fix.
Review of the 7.x-1.x branch (commit 779f7d9):
Manual Review
From security prospective, It seems usages of user inputs in curl request without any sanitization not a issue blocker as you are not rendering it somewhere.
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.
I am not seeing any blocking issues. Assigning to mpdonadio for a second look if he has time.
Comment #31
Vignesh Puliyadi Raja commentedPushpinder,
Thanks for your review and changing the status to RTBC.
Pareview warning issues - Done.
(+) webex_install(): Why do you call check_plain() here, its just a static text? Remove it. - Done.
I will do your addition recommendations.
Comment #32
mpdonadioAutomated Review
Review of the 7.x-1.x branch (commit dcab3ec):
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
Normally would prefer all module dependencies, like date, to go in the .info instead of relying on dependency chaining.
You don't have too many variables, just have a bunch of variable_del().
webex_schema() should have foreign keys, eg for nid, and probably indexes for nid and other columns you may JOIN on.
webex_uninstall(), loops to delete variables are frowned upon, as you may accidentally delete another module's variables.
webex_permission(), the permission 'access administration menu' is way too generic. It should be something like 'administer webex' or similar.
webex_form_alter(), you should use the hook_form_FORM_ID_alter() method to specifically target the node forms. Your logic may end being fragile and running on other forms.
No obvious security problems. webex_api_call() used unsanitized user input, but it doesn't goto output, rather it is used in an XML webservice (so it is OK).
webex_makewebexcall(), why cURL and not drupal_http_request()? Comment needed.
(*) In webex_makewebexcall(), why
This is a security problem and is the blocking issue in this application. This code only makes sure the certificate is valid, and disabled the check that is it for the correct host. CURLOPT_SSL_VERIFYHOST should almost always be 2.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
Comment #33
Vignesh Puliyadi Raja commentedHi Matthew Donadio,
Your recommendations changes are completed.
Normally would prefer all module dependencies, like date, to go in the .info instead of relying on dependency chaining.
You don't have too many variables, just have a bunch of variable_del(). - Done
webex_schema() should have foreign keys, eg for nid, and probably indexes for nid and other columns you may JOIN on. - Done
webex_uninstall(), loops to delete variables are frowned upon, as you may accidentally delete another module's variables. - Done
webex_permission(), the permission 'access administration menu' is way too generic. It should be something like 'administer webex' or similar. - Done
webex_form_alter(), you should use the hook_form_FORM_ID_alter() method to specifically target the node forms. Your logic may end being fragile and running on other forms. - We can choose any content type from WebEx configuration setting. So only i am using webex_form_alter.
No obvious security problems. webex_api_call() used unsanitized user input, but it doesn't goto output, rather it is used in an XML webservice (so it is OK).
webex_makewebexcall(), why cURL and not drupal_http_request()? Comment needed. - Done
(*) In webex_makewebexcall(), why
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
This is a security problem and is the blocking issue in this application. This code only makes sure the certificate is valid, and disabled the check that is it for the correct host. CURLOPT_SSL_VERIFYHOST should almost always be 2.
- Changed the script into drupal_http_request format - Done
Let me know your feebback.
Comment #34
Vignesh Puliyadi Raja commentedComment #35
klausimanual review:
test</confName>? You should use some from of escaping to make sure that the XML is always valid.But that are not critical application blockers ands since this has been RTBC before ...
Thanks for your contribution, vigneshpr87!
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.