This is a simple module that displays Alternative Fuel Station locations in the greater Chicago Area using Google Maps.
Project URL:
https://www.drupal.org/node/2614192
Git:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/hook_awesome/2614192.git alternative_fuel_map
Manual reviews of other projects:
https://www.drupal.org/node/2623014#comment-10661074
https://www.drupal.org/node/2633770#comment-10663594
https://www.drupal.org/node/2596375#comment-10663808
https://www.drupal.org/node/2615390#comment-10673310
https://www.drupal.org/node/2633932#comment-10674442
Second Round - Manual reviews of other projects:
https://www.drupal.org/node/2554401#comment-10806672
https://www.drupal.org/node/2514508#comment-10807576
https://www.drupal.org/node/2644054#comment-10807858
https://www.drupal.org/node/2660196#comment-10814938
https://www.drupal.org/node/2411257#comment-10820334
Comment | File | Size | Author |
---|---|---|---|
#32 | coder-results.txt | 3.5 KB | klausi |
#30 | coder-results.txt | 2.17 KB | klausi |
#6 | ChicagoAlternativeFuelStationMap-result.txt | 840 bytes | ItangSanjana |
Comments
Comment #2
PA robot CreditAttribution: PA robot commentedGit clone failed for http://git.drupal.org/project/2614192.git while invoking http://pareview.sh/pareview/httpgitdrupalorgproject2614192git
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
adam_ CreditAttribution: adam_ as a volunteer commentedComment #4
adam_ CreditAttribution: adam_ as a volunteer commentedI updated the code for spacing/commenting/variable names to get better results on the automated testing. I also updated the URL in the original post. My project page was showing the project URL instead of the sandbox URL.
Comment #5
adam_ CreditAttribution: adam_ as a volunteer commentedComment #6
ItangSanjana CreditAttribution: ItangSanjana commentedReview of the 7.x-1.x branch (commit a9a08d8):
manual review:
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.
Source: http://pareview.sh/ - PAReview.sh online service
Comment #7
klausiThose minor coding standard errors are surely not application blockers, anything else that you found or should this be RTBC instead?
Comment #8
ItangSanjana CreditAttribution: ItangSanjana commentedNothing else, RTBC would be nice.
Comment #9
adam_ CreditAttribution: adam_ as a volunteer commentedComment #10
BeakerboyPareview is clean.
Project is straightforward and simple.
The code is clean and readable. I'd like to see an example of the JSON that the city of Chicago returns so future developers can easily see if the format changes.
Comment #11
adam_ CreditAttribution: adam_ as a volunteer commentedComment #12
adam_ CreditAttribution: adam_ as a volunteer commentedComment #13
adam_ CreditAttribution: adam_ as a volunteer commentedComment #14
adam_ CreditAttribution: adam_ as a volunteer commentedComment #15
adam_ CreditAttribution: adam_ as a volunteer commentedComment #16
adam_ CreditAttribution: adam_ as a volunteer commentedComment #17
adam_ CreditAttribution: adam_ as a volunteer commentedComment #18
devdokimov CreditAttribution: devdokimov at GDG Webworks commentedAutomated Review
No errors were found using pareview.sh:
http://pareview.sh/pareview/httpgitdrupalorgproject2614192git
Manual Review
I think this module is ready for the production use so I'll change the status to Reviewed by the community
I think this module is ready for the production use so I'm changing the status to 'Review & tested by the community'.
Comment #19
devdokimov CreditAttribution: devdokimov at GDG Webworks commentedComment #20
klausiReview of the 7.x-1.x branch (commit a9a08d8):
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:
'#markup' => '<a href="https://goo.gl/ruS96H">Follow these directions to obtain a Google Maps Key.</a>',
: all user facing text must run through t() for translation.Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #21
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 #22
adam_ CreditAttribution: adam_ as a volunteer commentedComment #23
adam_ CreditAttribution: adam_ as a volunteer commentedComment #24
adam_ CreditAttribution: adam_ as a volunteer commented1: Increased the length of the project page description and added some sections recommended in the docs link provided in comment #20.
2: Added descriptions to columns in hook_schema().
3: Ran user facing text through t() for translation and sanitation.
4: Converted message to watchdog to be a static string with filtered variables.
5: Added some choices for update frequency (hourly, daily, weekly, monthly) to the settings page.
6: Locations get removed after a time on update if they stop coming through the API.
7: Attached CSS and JS using #attached. I put the JS with GET parameters in the template because that seems like the cleanest solution.
8: Changed configuration page to MENU_NORMAL_ITEM.
9: See #6, moved the JS into the template.
Comment #25
adam_ CreditAttribution: adam_ as a volunteer commentedComment #26
adam_ CreditAttribution: adam_ as a volunteer commentedComment #27
Todd Young CreditAttribution: Todd Young as a volunteer commentedIndividual user account
Yes: Follows
No duplication
No module duplication / fragmentation
Master Branch
Yes: Follows
Licensing
Yes: Follows
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.
Code long/complex enough for review
Yes: Follows the guidelines for project length and complexity.
Secure code
Yes: Meets the security requirements.
Nice little module, marking as RTBC!!
Comment #28
adam_ CreditAttribution: adam_ as a volunteer commentedComment #29
adam_ CreditAttribution: adam_ as a volunteer commentedComment #30
klausiReview of the 7.x-1.x branch (commit a289944):
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:
Comment #31
adam_ CreditAttribution: adam_ as a volunteer commented@klausi
Thanks for taking the time to review. I addressed the points below from comment #30.
1: Removed hook_install completely, because it only contained the variable initializations.
2: Fixed the last update check. Grabs the frequency from the settings and checks the last update time.
3: Because the JS is dynamic based on which areas/location filters are set I'm saving it as a file when the cron fires so that it can be included with #attached.
4: Removed a duplicate line. Uninstalled/Reinstalled to test that it works. It looks like the field type required a driver specific field type. Changed it to use int.
5: Ran user facing text through the t() function and the longitude and latitude through the check_plain function.
Comment #32
klausiReview of the 7.x-1.x branch (commit 425356d):
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:
Comment #33
adam_ CreditAttribution: adam_ as a volunteer commented1: I did not know this. I'm going to leave it in the file instead of generating it every page load. I did find the correct format for adding settings here https://www.drupal.org/node/1025182 for anyone that comes across this thread from a search.
3: Added instructions to readme file with link to google how-to on obtaining an API key.
4: Removed the regex.
5-6: Fixed.
Comment #34
adam_ CreditAttribution: adam_ as a volunteer commentedCleaned up the pareview.sh except for a few JS warnings from undeclared/unused functions which are happening because the function references the Google library in another file.
I did a clean install and everything looks in order.
Marking as 'Needs Review'.
Comment #35
klausiReview of the 7.x-1.x branch (commit 8e238fa):
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:
Although the module will not work on a securely set up Drupal install I don't see any other security blockers, so setting this to RTBC.
Assigning to heddn as he might have time to take a final look at this.
Comment #36
heddn'#markup' => '<a href="https://goo.gl/ruS96H">' . t('Follow these directions to obtain a Google Maps Key.') . '</a>',
!=
, instead ofif (200 <> $request->code)
if (time() < $update_threshold[$update_frequency]) {
<div id="station-map"></div>
(from tpl) andnew google.maps.Map(document.getElementById('station-map')
from JSNone of these things are really blockers though. So congratulations and thanks for your contribution, hook_awesome!
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.