Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2014 at 11:23 UTC
Updated:
24 Oct 2015 at 10:26 UTC
Jump to comment: Most recent
Comments
Comment #1
rickdonohoe commentedHi Ashley George,
I like the module idea.
For a first test I've passed it through pareview.sh and got a number of errors returned.
See here - http://pareview.sh/pareview/httpgitdrupalorgsandboxashleygeorge2349485git
Many of them seem quite easy; have a look at consistent function names inline with twitter_images_XXXXX and passing readable text through the t() function.
Best of luck with the review process!
Rick
Comment #2
rickdonohoe commentedI've changed the issue inline with these standards too - https://www.drupal.org/node/1011698
Comment #3
t-loHi Ashley George,
Thanks for the contribution!
I had issues installing but they seem to be known issues with the twitter modules dependency on the oauth_common module.
Installation working fine if OAuth already present before installation.
I'll take a closer look next week.
Comment #4
t-loManual code review:
General
Variable naming conventions:
Please follow the naming convention for your modules variables to reduce the chance of clashing with variables created by other modules:
mymodule_variable
https://www.drupal.org/coding-standards#naming
It looks like you've been using this for some but not all variable names. I also spotted a spelling mistake in the variable name: twitter_imaegs_cron_next_execution on line 119 of the .module file that will be causing a bug in the output sent to watchdog
.info file
Style issue:
package = Customit would be nice if this was the same as the twitter module's package to keep them all together.
.install file:
Please remove all the variables you use in the module in the hook_uninstall
.admin.inc
Style / Documentation issue:
I'd suggest hiding the "Maximum cron frequency" setting dependant on the state of the "Automatically look for new Tweets" checkbox. Also, it might be worth rephrasing the descriptions of the two cron items, the difference in language used (no mention of cron in the checkbox description) could lead to confusion.
.form.inc
twitter_images_form
This functions name means it will get picked up as implementing hook_form() which doesn't appear to be what you want.
https://api.drupal.org/api/drupal/modules!node!node.api.php/function/hoo...
would suggest a more verbose name e.g. twitter_images_configuration_form.
drupal_set_title($title);You shouldn't need this as you are setting the title in your hook_menu implementation
Comment #5
ashley george commentedGreat stuff thanks T-Lo! I will run thru all your suggestions and update.
Comment #6
kirst25Hi Ashley,
This module has been ideal for my work, so thanks!
There is an issue with the date format for the tweet date. It shows as a long number than a formatted date in the view.
Kirsty
Comment #7
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 #8
t-loComment #9
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 #10
Anonymous (not verified) commentedComment #11
Anonymous (not verified) commentedOk, I'm doing some work on this again.
@T-lo. As per your suggestion, the package of the original Twitter module is just set to "custom", so I've gone and set mine to "Twitter" as that was the most intuitive. Do you think that's ok?
Comment #12
Anonymous (not verified) commentedComment #13
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 #14
arun ak commentedHi,
Please see my observations below:
1) Please add git clone url in project page. Refer Project page template for more details.
2) Add space between if and open parenthesis in line no 57.
3) Add more detailed and structured details in README.txt file.
It would be clear about the module installation, other dependant modules. If you are using libraries that also please mention in REAME.txt file. Currently it looks like unstructured.
twitter_images.form.inc
4) Pass variable as arguments instead of directly concatinate with string in t() function in line no. 145.
5) Fix all issues showing in PAReview.
http://pareview.sh/pareview/httpgitdrupalorgsandboxashleygeorge2349485git
and add this link in issue page.
Comment #15
ajalan065 commentedNice observations ARUN AK..
Setting the status to "Needs Work", so that future reviewers do not have same complaints/issues.
Ashley George, please fix the issues and change the status to "Needs Review".
Comment #16
ashley george commentedThanks ARUN AK. I will look at these issues as soon as I get an opportunity! Really appreciate your help :)
Comment #17
ashley george commentedFYI user 'ashwah' is also me, on my old account. I will now be discontinuing that one from now.
Comment #18
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.