Comments

targoo’s picture

Hi

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,

musikpirat’s picture

The 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.

geertvd’s picture

Status: Needs review » Needs work

I 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.

patrickd’s picture

As 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

geertvd’s picture

I 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

patrickd’s picture

oh 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

geertvd’s picture

Status: Needs work » Needs review

After 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

geertvd’s picture

Issue summary: View changes

wrong link

geertvd’s picture

Issue summary: View changes

added reviews on other projects

geertvd’s picture

Issue summary: View changes

edit repo master to branch

patrickd’s picture

Issue summary: View changes

corrected git url

geertvd’s picture

Issue summary: View changes

added project review

geertvd’s picture

Issue summary: View changes

added project review

geertvd’s picture

Issue tags: +PAreview: review bonus

added PAReview: review bonus

klausi’s picture

Status: Needs review » Needs work
Issue tags: -PAreview: review bonus

Thanks 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:

  • Drupal Code Sniffer has found some issues with your code (please check the Drupal coding standards).
    
    FILE: ...pal-7/sites/all/modules/pareview_temp/test_candidate/beforeafter.module
    --------------------------------------------------------------------------------
    FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
    --------------------------------------------------------------------------------
     12 | ERROR | Do not use t() in hook_menu()
    --------------------------------------------------------------------------------
    

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:

  1. LICENCE.txt: remove that, all code on drupal.org is automatically GPLv2, you cannot license other terms here
  2. README.txt: link is missing where to download the required jquery plugin.
  3. beforeafter.js: is this the third party jquery plugin? Then it needs to be removed, as it is not GPL compatible.
  4. If you want to be sure that the jquery library is present you should implement hook_requirements().
  5. beforeafter_settings_get_value(): why do you need that function? You can just use variable_get() with default values anyway?

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.

geertvd’s picture

Thanks 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.

geertvd’s picture

Status: Needs work » Needs review

I've fixed all the remaining issues

  1. LICENCE.txt removed
  2. README.txt jquery plugin url included
  3. beforeafter.js is not the third party library so it is kept in my repo
  4. Implemented hook_requirements()
  5. Removed beforeafter_settings_get_value()

I've also implemented hook_uninstall()

soncco’s picture

Goog work geertvd
I found some issues:

  • In beforeafter_uninstall() please use the variable_del() function instead the SQL query.
  • Add the full-stop in beforeafter.module line 4.
  • In the master branch, clean the README.txt file, please check http://drupal.org/node/1127732.
soncco’s picture

Issue summary: View changes

correct git url

patrickd’s picture

In 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().

geertvd’s picture

Thanks for the reviews soncco and patrickd, I fixed the issues right away.

geertvd’s picture

Issue summary: View changes

added code review

geertvd’s picture

Issue summary: View changes

added review

geertvd’s picture

Issue tags: +PAreview: review bonus

added PAReview: review bonus

patrickd’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -PAreview: review bonus
  1. Always begin comments uppercase and end with fullstop. There are also some grammatical issues, but nothing serious
  2. Some more inline-comments wont hurt you ;-)
  3. dsm($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 installed

Besides this, I think this one looks quite good!

geertvd’s picture

Thanks 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

patrickd’s picture

had a second look, now I can't locate them either xP
maybe I'm just too tired

geertvd’s picture

Ok I've fixed all the issues, except for the grammatical ones

geertvd’s picture

Issue summary: View changes

added review

geertvd’s picture

Issue summary: View changes

added review

geertvd’s picture

Issue summary: View changes

added review

geertvd’s picture

Issue tags: +PAreview: review bonus

added PAReview: review bonus

klausi’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: -PAreview: review bonus

Thanks 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.

geertvd’s picture

Thanks a lot, I'm really excited with this.
Thanks to all the reviewers also.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

added review