Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Dec 2013 at 13:13 UTC
Updated:
1 Jan 2014 at 22:00 UTC
Jump to comment: Most recent
Comments
Comment #1
ram4nd commentedComment #2
yogeshchaugule8 commentedHi ram4nd,
Please go through the issues pointed out by pareview.sh site and make the necessary changes.
Git default branch is not set, see the documentation on setting a default branch.
Review of the 7.x-1.x branch:
Comment #3
yogeshchaugule8 commentedComment #4
ram4nd commentedI fixed the pareview.sh issues. Still missing readme and needs improvement of project page. Aside from the obvious I would like to get some real reviews. As it takes time, I can fix the textual problems along the process. I also changed the default branch.
Comment #5
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 #6
ram4nd commentedComment #7
ram4nd commentedComment #8
ram4nd commentedComment #9
ram4nd commentedComment #10
ram4nd commentedComment #11
rootworkA few thoughts:
- I would highly recommend providing an example of what the output looks like, e.g. an image showing a link with an icon and a file size appended to it, so that people get a sense of what their content will look like with the module installed.
- As noted above, the module needs a README, and a big part of that needs to outline the steps to install (which should include specifically that the filter needs to be applied to a text format or nothing will change).
- It would be nice if the images that are uploaded in the admin interface were actually displayed, instead of just the file names and a generic "image file" icon next to them.
- The second checkbox label has a misspelling (should be "extension," not "extentsion"), and since the first checkbox says "file size" I would recommend this say "file extension" for consistency.
- I would recommend putting the help text at the top further down, below the checkboxes, since it's only helpful if the user is actually interested in uploading those icons.
- On your project page, I think you could clarify some of the language under "features." I'm not sure what "Apply the features of this module to text formats using filters," communicates, for instance, other than the fact that this is a text filter (which is stated above, and in the project name). "Icons appear to administration as new icons are displayed in content" doesn't make a lot of sense to me either -- by "administration" do you mean "administrators"?
Hope that helps!
Comment #12
boyan.borisov commented- There is no need to delete the variable cache explicitly in the hook_uninstall. The cache is already deleted in the variable_del() function
- in the _linkmeta_process function you call variable_set('linkmeta_types', $types); for each processed url. This is a huge performance issue because the variables cache is deleted every time when the function is called. I suggest you to call variable_set only is needed.
- I am not sure that you handle all the links that should be skipped. For instance you skip only links that starts with “malito” and “#” but there are many more cases that should handled - @see http://en.wikipedia.org/wiki/URI_scheme.
I will change the status to Needs work only because the performance issue.
Comment #13
ram4nd commentedDONE:
- I would recommend putting the help text at the top further down, below the checkboxes, since it's only helpful if the user is actually interested in uploading those icons.
- I would highly recommend providing an example of what the output looks like, e.g. an image showing a link with an icon and a file size appended to it, so that people get a sense of what their content will look like with the module installed.
- There is no need to delete the variable cache explicitly in the hook_uninstall. The cache is already deleted in the variable_del() function
- in the _linkmeta_process function you call variable_set('linkmeta_types', $types); for each processed url. This is a huge performance issue because the variables cache is deleted every time when the function is called. I suggest you to call variable_set only is needed.
- "Icons appear to administration as new icons are displayed in content" doesn't make a lot of sense to me either -- by "administration" do you mean "administrators"?
- The second checkbox label has a misspelling (should be "extension," not "extentsion"), and since the first checkbox says "file size" I would recommend this say "file extension" for consistency.
- On your project page, I think you could clarify some of the language under "features." I'm not sure what "Apply the features of this module to text formats using filters," communicates, for instance, other than the fact that this is a text filter (which is stated above, and in the project name).
- I am not sure that you handle all the links that should be skipped. For instance you skip only links that starts with “malito” and “#” but there are many more cases that should handled - @see http://en.wikipedia.org/wiki/URI_scheme.
- As noted above, the module needs a README, and a big part of that needs to outline the steps to install (which should include specifically that the filter needs to be applied to a text format or nothing will change).
- It would be nice if the images that are uploaded in the admin interface were actually displayed, instead of just the file names and a generic "image file" icon next to them.
Comment #14
ram4nd commentedI will let somebody who knows English better than me look over all of the texts.
Comment #15
boyan.borisov commentedHi ram4nd,
I have some comments about the fixes that you've made regarding my review:
Now the cache is not delete for each url but it is deleted per every field which could happen a couple of times on node view. I think that fix should be just to update the variable only when you really have new types found and if you just move the variable set call into this "if" block
it will be enough.
With this fix you introduce a bug and now only links starting with http and https will pass. But what about urls like /node/1 which dont have a url scheme?
Also the hash check become redundant.
I will change the status because the new introduced bug and the performance issue.
Comment #16
ram4nd commentedAll fixed. The second point actually not right. I added if not empty there. That means all of urls where there is no url scheme those will be skipped. So #, /node/1 and admin/conf/... urls will all work. Also the if for # is still necessary as I want to skip hash tag urls.
Comment #17
ram4nd commentedComment #18
boyan.borisov commentedConfirm that issues reported by me are fixed. You have GO from me!
Cheers :)
Comment #19
rootworkSame here, everything I mentioned looks good. Since two of us have reviewed you, I'm going to go ahead and set this to RTBC, and see what official Project reviewers think.
Comment #20
ram4nd commentedComment #21
ram4nd commentedComment #22
ram4nd commentedComment #23
klausiThank you for reviews. Next time please make sure to look at projects in the "needs review" state, as those in "needs work" are blocked anyway and need a response from the applicant.
Review of the 7.x-1.x branch:
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:
But otherwise looks good to me, so ...
Thanks for your contribution, ram4nd!
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.