CVS edit link for techninja

I've recently joined GoingOn, a Drupal company. All members of our dev team are expected to chip in to maintain our modules that are on drupal.org, and I've come to join in and contribute!

Comments

ceardach’s picture

Yes, I'd like to add techninja as a co-maintainer on our current and future modules.

Grayside’s picture

Component: Miscellaneous » miscellaneous

rubber stamp++

He seems to know stuff about Drupal and development. He speaks with authority about many front-end type things.

Garrett Albright’s picture

Yeah, let's get this guy an account, please. He knows what he's doing.

hefox’s picture

It would be useful if he was given [vcs] access so that can add him as co maintainer, etc. (Shouldn't we be mentioning what projects... ?)

starbow’s picture

Never trust a ninja!
No, wait, I mean James is a great guy with good stuff to contribute.

benshell’s picture

I'm surprised James didn't already have an account. He's a talented Drupal developer with a lot of creativity. I'll look forward to his D.O. contributions!

avpaderno’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Please read all the following and the links provided as this is very important information about your CVS Application.

Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:Migrating from CVS Applications to (Git) Full Project Applications.

  • If your application has been "needs work" (or "postponed (maintainer needs more info)"), your application will be marked as "closed (won't fix)". You can still reopen it, by reading the instructions above.
  • if the status of this application is a different one, it will be changed to "postponed"; you will be able to reopen it by following the instructions in the above link.
techninja’s picture

Project: Drupal.org CVS applications » Drupal.org security advisory coverage applications
Component: miscellaneous » module
Status: Closed (won't fix) » Needs review

My sandbox project to review: http://drupal.org/sandbox/techninja/1299644

Here's hoping that's enough to go on!

greggles’s picture

Title: techninja [techninja] » Filedrop

Better title. I did a quick look and the module looks sane, but I didn't do a full review. Thanks for sticking with it!

13rac1’s picture

FYI: You don't need the Project Create permission to be added as a co-maintainer. Checking out the module...

techninja’s picture

Woot, progress!! I've actually got a number of modules hiding in the woodwork that never saw the light of day, hoping I can contribute back before they obsolete themselves. I figure doing Drupal dev professionally for 3 years means I should probably start giving something real back.

13rac1’s picture

You should create sandboxes for those projects. Do you plan on maintaining them?

klausi’s picture

Status: Needs review » Needs work

* do not provide "version" in the info file, see http://drupal.org/node/231036
* sometimes you comment "Implements hook_xxx()", sometimes "Implementation of hook_xxx()". Please be consistent ("Implements hook_xxx()" is the new standard).
* filedrop_user_upload_form_validate() is not a hook implementation!
* same for filedrop_user_upload_form_submit()
* doc block on _filedrop_is_active_node_type(): use 2 space indentation on the next line after @param, as everywhere else
* have you run coder on your module? http://drupal.org/project/coder

techninja’s picture

Status: Needs work » Needs review
  • Version: Isn't it right there? filedrop.info
  • Inconsistent "implements": Fixed. I blame hefox ;)
  • filedrop_user_upload_form_validate() not a hook implementation: It's not? I'll defer to your judgement and swap it out with something better.
  • filedrop_user_upload_form_submit() not a hook implementation: Fixed.
  • Use two spaces after @param everywhere: Nice catch! Fixed.
  • Run Coder: I usually do, but this was rushed. Done! Lots of little fiddly comment related things.

All fixes pushed to 6.x-1.x branch, unless you want me to do a new tag for it.

techninja’s picture

@eosrei yes, I should just sandbox them up. Perhaps it's a factor of time/vs perceived worth. At least GoingOn has a good attitude about giving back to the community.

greggles’s picture

Status: Needs review » Needs work

You need to remove the version string from the file. Drupal.org will add this for you.

Thanks.

techninja’s picture

Status: Needs work » Needs review

Yay! I get the "stupid newbie" award! Removed.

jthorson’s picture

Status: Needs review » Needs work

A few more items:

  1. Unset any variables which are local to your module in your hook_uninstall routine
  2. Can this be converted to a configurable admin setting?
    define('FILEDROP_NODE_ALLOWED_FILE_TYPES', 'jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp zip rar tar gz');
  3. Inconsistent spacing in if (condition) ? expression: expression; statements (space before the colon)
  4. Suggest renaming filedrop_private_add_htacess to filedrop_private_add_htaccess.

Okay ... I'll stop nitpicking. :) Code looks clean and well documented. #1 is the only showstopper I spotted during a quick scan, though I probably don't have the experience to really analyze the file storage/access component.

Well done ... I look forward to seeing this in contrib!

techninja’s picture

Status: Needs work » Needs review

Another nitty challenge!

  1. Done. Using the shotgun approach as it sets per type variables, and I'd have to enumerate the types and iterate through.. just seems more efficient, if slightly more... imprecise.
  2. Yes, it certainly can be, but it's totally out of the current project scope. To appease the acceptance gods, I've created #1314368: Expose allowed filetypes via content administration, which should handle the request as soon as it's needed.
  3. Fixed. Strange how that wasn't picked up by coder. I smell a patch!
  4. Yeaaa.. now fixed. I'm completely allowed to blame hefox for that one. Incredible non-stop coding skill, couldn't spell his way out of a damp paper bag.

Any other Knights of New Project Applications wish to issue another? ;)

jthorson’s picture

Status: Needs review » Reviewed & tested by the community
greggles’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for your contribution, techninja! Welcome to the community of project contributors on drupal.org.

I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.

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.

As you continue to work on your module, keep in minde: Commit messages - providing history and credit and Release naming conventions.

Grayside’s picture

Excellent timing. He's coming in to the office today. Can do a proper toast. ;)

techninja’s picture

Woot! I'm in the club! I feel so special. Maybe now I can get that hug from dries!

Now if only I could master the secret handshake....

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.