Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2012 at 07:39 UTC
Updated:
5 Sep 2012 at 11:51 UTC
Provides additional info to context administration. It creates info page with all contexts and blocks to make it easier for administrator to navigate between context and block administration pages. It also shows overview of all blocks in a way that administrator can easily identify how blocks are used in particular contexts (useful on big websites with many blocks and contexts).
Link:
http://drupal.org/sandbox/m1n0/1362308
Works on Drupal 7.x.
Comments
Comment #1
m1n0 commented*changing status to "needs review"
Comment #2
patrickd commentedWelcome,
Please take a moment to make your project page follow tips for a great project page.
while waiting for an in-depht review of your module you can start out fixing some coding style issues detected by automated tools:
http://ventral.org/pareview/httpgitdrupalorgsandboxm1n01362308git
We do really need more hands in the application queue and highly recommend to get a review bonus so we will(/can) come back to your application sooner.
Comment #3
bloke_zero commentedThis is a nice simple module that adds a much needed window into the context block settings - good job!
The code looks clean, well commented and secure. There are 2 nit picks I'd make:
Line 121:
'#empty' => t('no blocks in here'),I'd rather see 'No blocks'
The other:
context_block_info.theme.inc
Line 13 should be:
$context_title = l($context->name, 'admin/structure/context/list/' . $context->name . '/edit', array('query' => drupal_get_destination()));rather than
$context_title = l($context->name, '/admin/structure/context/list/' . $context->name . '/edit', array('query' => drupal_get_destination()));(fwd slash in front of admin takes you out of the over lay etc.)
Hope to see this as an approved module soon!
Comment #4
bloke_zero commentedComment #5
m1n0 commentedI updated the code according to comments and also I updated the project page.
Comment #6
Elvar commentedHi M1n0.
I tried to install your module, but context_ui is a dependency, so i tried to find this module with no luck, could you contribute with a link :-).
Comment #7
m1n0 commentedcontext_ui is a part of the context project http://drupal.org/project/context
Comment #8
jleiva commentedHi, nice simple module, hope to see this as an approved module soon!
My manual review, some comments, no big thing:
Good job @m1n0, nice module!
Comment #9
m1n0 commentedThanks for a nice review, I have done all suggested changes.
Comment #10
m1n0 commentedComment #11
patrickd commentedI'm sorry, please don't RTBC your own issues, see workflow
We do really need more hands in the application queue and highly recommend to get a review bonus so we can come back to your application sooner.
Comment #12
Milena commentedHi,
I'm still pretty new in reviewing modules. Some of minor cases I've found:
1) 'access callback' => 'user_access',
user_access is default access callback function. Of course putting such option is not a bug or mistake. But it is good to know.
2) In hook_form_alter() you have swich and only one case. It it better to use if instead.
3)
foreach ($context_list_tagged as $context_name => $context) {You do not use $context_name in your code.
foreach ($context_list_tagged as $context) {will be better.Module seems good and useful. I believe issues I listed should not block module from RTBC, so I've changed status.
Comment #13
misc commentedThanks for your contribution, m1n0!
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.