CVS edit link for JeremyFrench
I am a full time Drupal developer. My employer encourages me to contribute back to the community. I have fixed a few small bugs in core but would like to be able to contribute modulesThe first of these which I am able to contribute as it works well as a stand alone module is the ‘inform’ module. This uses the a web service by inform technologies (http://www.inform.com/index.html?tab=3) to assign taxonomy terms to articles using Drupal’s taxonomy system.
As it stands all that this module does it tag items on insert save and allow batch processing to tag existing content. It also exposes a block to show the inform tags on a node page.
In future the number of different blocks that will be exposed will be increased to show related articles, and related media from other web sites.
The reviewer may have issue with the altering of a core table. This was done for performance reasons as the number of tags can run into the millions and having to query two tables with redundant data in them to get the tags would be slow.
The functionality may end up being similar to that in the opencalais module but the services that they use are different so a separate module is justified.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | inform.zip | 23.93 KB | JeremyFrench |
| #5 | inform.zip | 23.91 KB | JeremyFrench |
| #2 | inform.zip | 23.94 KB | JeremyFrench |
Comments
Comment #1
JeremyFrench commentedThe module is now attached
Comment #2
JeremyFrench commentedComment #3
gregglesIt's hard to test this given the reliance on an external service, but I did a visual inspection of the code. I found a handful of things to tweak before this module is released. Specifically there are several calls to drupal_set_message which are not translatable and/or may contain security issues (lines 87, 170 and 315).
So, leaving "needs review" though I'm +1 on the application I'm hesitant about these important changes that need to happen (they could happen after the application is approved).
Comment #4
avpadernoSecurity issues need to be resolved before the CVS account gets approved; also the use of translatable strings is an important point, in a Drupal module.
I am changing the status basing on the previous comment.
Comment #5
JeremyFrench commentedHave updated file to get rid of the problems with the t() functions
Comment #6
JeremyFrench commentedI should mention that you can sign up for an API key to test this here.
http://www.inform.com/index.html?tab=3
Comment #7
avpadernoWhat reported by greggles about code security is still true (at least for one of the three cases).
Comment #8
JeremyFrench commentedDrat, I don't know how I missed that. Changed that, also the context in batch mode.
Comment #9
avpadernoStrings used in Drupal user interface have the first word written in capital case, while the others are written in lower case characters.
Comment #10
gregglesThat seems like a nitpick below what a cvs application review should include. There are thousands of instances of improper capitalization in contrib and more created every day - I think the application should be approved at this point and further issues moved to the issue queue of the module.
Comment #11
avpadernoBasing on the greggles's comment, I am approving JeremyFrench's application (I should have done it already).
A note about my reference to the coding standards: the coding standards report also that a module should use the Drupal Unicode functions instead on PHP string functions; when I make a reference to Drupal coding standards, it could be the code is not using such functions.
Comment #12
JeremyFrench commentedComment #13
avpadernoWe don't change the status to closed; that is automatically done after 14 days.
Comment #14
JeremyFrench commentedComment #15
avpadernoComment #17
avpaderno