AutoUpload is a user interface (UI) enhancement for uploading files.
Currently, users must select files, then press the "Upload" button. We found users often don't realize a button press is necessary and mistakenly think their image is uploaded when it's not.
This module removes the extra button press and hides the "Upload" button via JavaScript for a quicker, automatic file upload. When JavaScript is not enabled, it falls back to the "Upload" button.
Project Page
http://drupal.org/sandbox/cristinawithout/1843158
GIT
git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/cristinawithout/1843158.git autoupload
Drupal Version
Drupal 6 and Drupal 7
Reviews of other projects
http://drupal.org/node/1536250#comment-6317966
http://drupal.org/node/1086416#comment-6753042, http://drupal.org/node/1086416#comment-6866646
http://drupal.org/node/1536544#comment-6870184
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | coder-results.txt | 1.17 KB | klausi |
Comments
Comment #1
anwar_maxHi cristinawithout,
Everything is looking good to me but this is a small module so we cannot give you git vetted user role we can promote this module as a single project.
I am going to remove review bonus tag you can add more review bonus tag after doing the code review of other project applications.
Comment #2
cwithout commentedOops. This is embarrassing. I thought I'd merged my local branch into HEAD, but I didn't. There's quite a bit more code in there now.
anwar_max, would you mind taking a look again and letting me know whether the amount of coding is sufficient to warrant an application to git vetted user? If so, I'll add the review bonus tag back and remove the single project promote tag.
Comment #3
hussainwebHi,
I will jump straight to the issues:
Comment #4
anwar_maxHi Christinawithout,
Manual Review:
Everything is looking good to me. I don't think that you can get GIT vetted access because this module still has less code but I will check with klausi and will let you know.
Automated Review:
Result of automated code review.
Review of the 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
@hussainweb :
You cannot change the status of this ticket as mentioned here as cristinawithout is following all the coding standards and drupal best practices and we cannot force her to follow what we are thinking we can only suggest her.
Comment #5
anwar_maxsorry to change the status.
Comment #6
hussainweb@anwar_max, @cristinawithout,
Sorry about that. I am not sure if my suggestions fall (formally) into Drupal best practices but I certainly do think that they would fall in general best practices. Of course, I don't mean to hold up an application for that. I thought the status was meant to reflect suggestions too.
Thanks for the link. I will keep it saved to make sure that only those steps are needed for the status change. All others are suggestions but while not changing the flag. I think these suggestions would then go into the project issue queue, right?
Comment #7
cwithout commentedThanks for the review, hussainweb.
hide()andshow(), but they don't work in these instances, because the button being hidden is sometimes (as the case with the Media module) added dynamically after the code has run, and the adding of the button doesn't trigger a Drupal behavior or have an event to act upon. I didn't know Drupal core had the once plugin. I made some changes so only one style tag is appended.Thanks, anwar_max.
I ran the automated tester before submitting the module. Those results are false positives. The automated reviewer appears to be assuming that
/and+are binary operators and should have spaces before and after. In this case, they're not. They're part of a RegEx. Spacing before and after would ruin the regular expressions.Comment #8
hussainwebHi,
Thank you for the clarifications. I think it all looks good. Regarding storing the config data, I would still prefer storing just the key but I see you have already planned for it.
I understood the false positive for the automated tester and agree, and that is why it was ignored in earlier reviews, I think.
I think it is ready to go ahead. As @anwar_max said, I am not sure about the code size limit. Everything else looks good.
Thanks again for an useful contribution. I am wondering if this will work together with File Sources and File Source Plupload integration.
Comment #9
anwar_maxHi Cristinawithout,
Everything is looking good to me except some issue I can here but this is not a roadblock and this is ready to go and we can give you GIT vetted role as mentioned here.
Removing "PAReview: Single project promote" tag.
Thanks for your contribution :)
Comment #10
klausiReview of the 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.
manual review:
But that are not hard blockers, so ...
Thanks for your contribution, cristinawithout!
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.