Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2012 at 21:16 UTC
Updated:
23 Apr 2012 at 23:21 UTC
Before/After image formatter provides a field formatter for image fields.
This module depends on the beforeafter jQuery plugin.
git clone --branch 7.x-1.x git.drupal.org:sandbox/geertvd/1511548.git before_after_image_formatter
cd before_after_image_formatterThis is a drupal 7 module
Reviews of other projects:
| Comment | File | Size | Author |
|---|---|---|---|
| Screen shot 2012-04-01 at 22.53.01.png | 127.11 KB | geertvd |
Comments
Comment #1
targoo commentedHi
Seems to be well written and you have already fix the coding issues.
Anyway we do really need more hands in the application queue and highly recommend to get a review bonus so we will come back to your application sooner.
Check : http://drupal.org/node/1011698
See also #1410826: [META] Review bonus
Thanks,
Comment #2
musikpirat commentedThe README.txt seems to be copied from field_group.
You added jquery.beforeafter-1.4.js directly to your module. I think that should not be done with third party libs.
Comment #3
geertvd commentedI just received an e-mail of the author of the jQuery before/after plugin and he Attribution-NonCommercial-ShareAlike 3.0 Unported Licence therefor I will need to find another jQuery plugin or write it myself before i can apply for full project.
Comment #4
patrickd commentedAs long as your not uploading the jquery library to drupal.org and make use of the libraries api that shouldn't be a problem, I think
Comment #5
geertvd commentedI that case this module could not be used for commercial use.
The reason I made it is to use it in a project for work, so that qualifies as commercial use, or am I seeing it wrong?
In that case I would rather write my own library for the before/after effect so everyone can use this freely in their commercial or non-commercial projects
Comment #6
patrickd commentedoh sorry I missed the "non-commercial" part, yes, your right in that case it's problematic
If you re-write it and planning just to use it in this project (nonewhere else then drupal.org) you can also directly push it into the git repo without libraries stuff
Comment #7
geertvd commentedAfter a discussion with the developer who wrote the plugin i decided to use his plugin anyway and included the licence details in my repo.
I also removed the library from my repo and changed the README.txt
Comment #7.0
geertvd commentedwrong link
Comment #7.1
geertvd commentedadded reviews on other projects
Comment #7.2
geertvd commentededit repo master to branch
Comment #7.3
patrickd commentedcorrected git url
Comment #7.4
geertvd commentedadded project review
Comment #7.5
geertvd commentedadded project review
Comment #8
geertvd commentedadded PAReview: review bonus
Comment #9
klausiThanks for your reviews, just make sure that you pick applications that did not get a review in a long time.
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. Get a review bonus and we will come back to your application sooner.
manual review:
Otherwise looks nearly ready to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #10
geertvd commentedThanks for the review klausi,
I'll fix everything asap.
the beforeafter.js is my own code initializing the plugin.
Thanks for the hook_requirements tip didn't know about that.
I was using beforeafter_settings_get_value(), because I didn't want to type the default values twice, I'll just remove that function now and add some more variable_get instead.
Comment #11
geertvd commentedI've fixed all the remaining issues
I've also implemented hook_uninstall()
Comment #12
soncco commentedGoog work geertvd
I found some issues:
Comment #12.0
soncco commentedcorrect git url
Comment #13
patrickd commentedIn beforeafter_uninstall() please use the variable_del() function instead the SQL query.I don't think that it's important how variables are deleted, (as long they are deleted).
Some modules make a huge use of variables and also create them with dynamic names, therefore it's much harder to delete them all with variable_del().
Comment #14
geertvd commentedThanks for the reviews soncco and patrickd, I fixed the issues right away.
Comment #14.0
geertvd commentedadded code review
Comment #14.1
geertvd commentedadded review
Comment #15
geertvd commentedadded PAReview: review bonus
Comment #16
patrickd commenteddsm($items);not good, not good, make always sure to remove all debugging stuff before doing a commit, this would brake a site down if devel is not installedBesides this, I think this one looks quite good!
Comment #17
geertvd commentedThanks patrickd,
Stupid of me for forgetting to remove the dsm(), I did a quick fix there but forgot to remove it.
I'll fix some of the grammatical issues and add some more comments indeed.
I'll do some more reviews and hopefully this can be promoted to a full project soon! :)
edit: Could you point me to some of the grammatical issues I can't seem to locate them
Comment #18
patrickd commentedhad a second look, now I can't locate them either xP
maybe I'm just too tired
Comment #19
geertvd commentedOk I've fixed all the issues, except for the grammatical ones
Comment #19.0
geertvd commentedadded review
Comment #19.1
geertvd commentedadded review
Comment #19.2
geertvd commentedadded review
Comment #20
geertvd commentedadded PAReview: review bonus
Comment #21
klausiThanks for your contribution, geertvd! 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 mind: Commit messages - providing history and credit and Release naming conventions.
Thanks to the dedicated reviewer(s) as well.
Comment #22
geertvd commentedThanks a lot, I'm really excited with this.
Thanks to all the reviewers also.
Comment #23.0
(not verified) commentedadded review