This Drupal module adds a car hire search box to a Drupal website so visitors can compare prices and book online with over 750 car hire companies worldwide.

The module was developed to add value to travel related websites as it will help visitors to find the best car hire rates for their travel needs.

Drupal Project Sandbox
The Sandbox page can be found here: https://www.drupal.org/sandbox/hispacar/2358731

git clone command:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/Hispacar/2358731.git
car_rental_module
cd car_rental_module

This car rental module is also available for other popular CMS's like Wordpress or Joomla. The Wordpress Plugin can be found here: https://wordpress.org/plugins/car-rental-booking-engine-by-hispacar/

Comments

Hispacar’s picture

Issue summary: View changes
Hispacar’s picture

Issue summary: View changes
Hispacar’s picture

We just learned about the automated reviews and are currently resolving a couple of errors returned on the following git at http://pareview.sh/:

http://git.drupal.org/sandbox/Hispacar/2358731.git

PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxHispacar2358731git

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.

pingwin4eg’s picture

... to a Joomla website...

o_O WTF?

Hispacar’s picture

Issue summary: View changes
Hispacar’s picture

The reference to Joomla has been updated. Thanks to pingwin4eg for letting us know about this 'typo'.

BTW: the extension is available as a WP plugin and a Joomla extension as well.

Hispacar’s picture

Status: Needs work » Needs review
Hispacar’s picture

All errors returned by the automated reveiw tool have been rectified, except for the spelling errors found by Codespell.

These supposed spelling errors refer to common words found in business addresses in countries outside the USA, e.g. the word 'profesor' in a spanish address is considered a spelling error:

./autocomplete_fr.json:28878: Profesor ==> Professor

This is obviously not the case as foreign addresses are normally not translated.

SEE: http://pareview.sh/pareview/httpgitdrupalorgsandboxHispacar2358731git

saniyat’s picture

Status: Needs review » Needs work

Automated Review

Showing the json files have some spelling error. According to your previous comment those are false positive. So, skip those.

Manual Review

Individual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
Yes: Does not cause module duplication and/or fragmentation.
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
Yes: Follows the licensing requirements.
3rd party assets/code
Yes: Follows the guidelines for 3rd party assets/code.
README.txt/README.md
Yes: Follows the guidelines for in-project documentation and/or the README Template.
But have problem, have README.txt & README.md both. Also 2 files have different content. So, there should be only 1 file and t should be up to date.
Code long/complex enough for review
Yes: Follows the guidelines for project length and complexity.
Secure code
Yes: Meets the security requirements.
Coding style & Drupal API usage
  1. (*) You have used administer site configuration access argument in car_rental_module_menu() function. But it should be a separate access string for you module. Use hook_permission() function to generate access string.
  2. (*) In car_rental_module_render function you have used html to build up the block view. But this html should goes to a tpl file and call the tpl file using the theme function.
  3. (*) Don't echo the js codes below the html. use Drupal settings variable to pass settings to js.
  4. (*) For js file used Drupal js writing standard. link of example https://www.drupal.org/node/171213
  5. (+) In car_rental_module_block_view function access checking for block content is not needed. You can handle the permission on native block settings page.
  6. (+) In car_rental_module_render function use 100 as default value for this line $width = variable_get('car_rental_module_width', '0');. Because if any one add this block without set any settings then he will get a broken block.

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.

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing 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.