Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 May 2011 at 21:59 UTC
Updated:
28 May 2012 at 08:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
joachim commentedI'm not really clear on what this module does or what it's for. Any chance you could post a screenshot?
Comment #2
damianrobinson commentedSee attached screen shots which I hope will demonstrate the functionality of the module.
Comment #3
joachim commentedLooks pretty nifty and definitely a useful feature.
I would like this module to get a review from someone on the usability team, as the clicky icons seem very small and unclear to me. I think we need then to be more self-explanatory and more in the Drupal visual idiom.
I'm also not sure the name is right... but I have no better suggestions, so that one I'll just ponder some more.
Comment #4
joachim commentedQuick code review:
- run your project through Coder. It will pick up things like...
- missing docblock on functions
- incorrect formatting of docblocks
- spacing on if () {} statements
- missing newline at end of files
also:
- $Id$ is surplus, *especially* if it claims you are merlinofchaos!
- don't put author credit in code
There's a lot of fine toothcomb stuff to clean up here. :/
I see a bug here. What will happen when an admin deletes a user account?
More architectural stuff...
- why all the include files? The standard pattern is MODULE.pages.inc and MODULE.admin.inc.
- JS files. You should look at the Drupal JS API. And again, I'm not sure why you need so many JS files.
- beautytips -- is this an external library? Have you read the policy on these?
Comment #5
damianrobinson commentedThanks for the feedback joachim,
I've made the following changes as suggested:
- delete function updated
- ran module through coder and fixed where necessary
- moved includes in page.inc
- removed author / id etc
Getting any additional UI feedback on the icons / css would be great, as I know they are not too intuitive.
Regarding the JS, will have to look into this in more depth. At the moment I think everything that is there is necessary but am open to suggestions on how to improve this.
Still need to address the beauty tips too.
Comment #6
damianrobinson commentedA few updates:
- made 'beauty tips' a requirement during the installation process
- removed redundant & duplicate code regarding label management
- improved table structure & naming convention
Comment #7
gregglesFirst, sorry it's taken so long to get to this review.
It appears you are working in the "master" branch in git. You should really be working in a version specific branch. Please see the documentation about release naming conventions and creating a branch in git.
The .buildpath, .project, .settings, and .views_table_manager.info.swp should all be removed from git.
The $_POST interactions are all vulnerable to CSRF - see http://drupalscout.com/knowledge-base/protecting-your-drupal-module-agai... for details on how to avoid that. That's a pretty big change. I didn't review beyond that because your code will likely change a lot as you address it.
Comment #8
gregglesTo be more specific, an example of a function that is vulnerable to CSRF is views_table_manager_save_cols_layout
Comment #9
13rac1 commentedPre greggles recent comments, this needs work.
Comment #10
misc commentedThe applicant has been contacted to ask if the application is abandoned.
http://drupal.org/node/894256
Comment #11
misc commented@drob1nson answered that this application should still be active.
Comment #12
misc commentedThe applicant has again been contacted to ask if the application is abandoned.
Comment #13
misc commentedThis is abandoned.