Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2012 at 12:14 UTC
Updated:
30 Jan 2013 at 22:00 UTC
This project integrates the JIRA Issue Collector with your Drupal site.
Instead of having to navigate to JIRA to raise bugs users will see a button (or "trigger") for feedback, and can click the button to raise feedback or bugs on a form embedded in your website.
Current version is Drupal 7 only.
Project page: http://drupal.org/sandbox/kasperg/1867570
Git info: git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/kasperg/1867570.git jira_issue_collector
Reviews of other modules:
Comments
Comment #1
Jordan_Fei commentedHi Kasperg:
In your jira_issue_collector_permission function, what's the permission "use PHP for JIRA Issue Collector visibility"? It seems it not be used.
Comment #2
dydave commentedHi kasperg,
Thanks very much for sharing this very interesting module.
Very quick thing (it would be great if you could fix that):
Project Automated Review reported some issues visible at:
http://ventral.org/pareview/httpgitdrupalorgsandboxkasperg1867570git
(very minor - warning)
I just thought you might have missed that (sorry.... you're going to have to break that link :-) ).
Otherwise Project page looks good, with screenshots and installation instructions [Project page + README.TXT OK].
Master branch has been removed as well [OK]
Other points of Automated Review seem to be fine.
Manual Review: Watchout for unistall variables
I haven't checked the code that much to be honest, but I saw a few variable_get calls around.
Usually that means you've defined variables, in this case looks like it comes from
jira_issue_collector_admin_settings_form, for example:jira_issue_collector_code.So I just wanted to recommend that you should perhaps double check that when the module is uninstalled the variables should be deleted.
For that you could perhaps have a look at other modules, for example: Chosen, chosen.install (I tried to pick a rather simple module as an example).
I haven't taken the time to test that myself yet, but thought it might be useful to point that out.
That's all I could find so far, but I will certainly keep checking and let you know if I am able to find anything else.
I hope these several comments can help improving this great module.
Cheers!
Comment #3
kasperg commentedThe permission is used here. It controls whether the user has an option to enter php code which will be evaluated to determine whether to show the issue collector or not.
Comment #4
kasperg commentedThank you for the quick review!
I did not miss it. I just consider it poor usability to break an URL over several lines at it would make it harder to copy/paste into a browser.
Anyhow: I found a shorter version. Fixed.
Fixed.
Comment #5
Jordan_Fei commentedHi kasperg,
Thanks for your explanation. It is a good use of role&permission to do UI visibility.
Comment #5.0
kasperg commentedAdded link to first review of other module
Comment #6
kasperg commentedAdded review bonus tag.
Comment #7
20th commentedHi.
Manual review
This regular expression is not valid. ? is a special character, it must be either escaped or removed. Such string is matched by this regexp:
http://example.com?junkCollectorId=123Update 1:
There is no need to create new array, simply use $roles on line 57.
Comment #8
kasperg commentedThank you for the comments, 20th. I have updated the code to take all these into account.
Comment #9
klausimanual review:
Not major blockers, so I guess this is RTBC. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #10
klausino objections for more than a week, so ...
Thanks for your contribution, kasperg!
I updated your account to let you 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 get 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.
Comment #11.0
(not verified) commentedAdded 2 more reviews