Can you review this module?
The Advanced Poll Media (advpoll_media) module extends Advanced Poll choice field in order to accept files from media module via library or any media source is allowed. To show the selected media, it uses two different view modes one for choice form and another for results. In order to configure those view modes go to :
Administration » Structure » File types » (The desired file type) » Manage file display
and choose your settings for each view mode.
you can clone the project :
git clone git://git.drupal.org/sandbox/tsotsos/2443759.git

Note: I have tested it already and is fulfills the drupal's coding standards requirements.

Comments

tsotsos’s picture

Title: Advanced Poll Media [D7] » [D7] Advanced Poll Media
Issue summary: View changes
PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxtsotsos2443759git

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

tsotsos’s picture

Status: Needs work » Needs review

The module is now passing the coding standards as you can see: http://pareview.sh/pareview/httpgitdrupalorgsandboxtsotsos2443759git

saurabh.tripathi.cs’s picture

Hi,
Review:
1)Please add parameter description for functions. Ex:advpoll_media_add.
2)A function without body.

/**
 * Preprocess function for advpoll-results.tpl.php.
 */
function advpoll_media_preprocess_advpoll_results(&$vars) {
}

Thanks

saurabh.tripathi.cs’s picture

guptas89’s picture

Hi @tsotsos

Manual Review:

Individual user account
Yes: Follows the guidelines for individual user accounts.

No duplication
Yes: Does not cause module duplication and/or fragmentation.

Master Branch
Yes: Follows the guidelines for master branch.

Licensing
Yes: Follows the licensing requirements.

3rd party assets/code
Yes: Follows the guidelines for 3rd party assets/code.

README.txt/README.md
Yes: Follows the guidelines for in-project documentation and/or the README Template.

Code long/complex enough for review
Yes: Follows the guidelines for project length and complexity.

Secure code
Yes: Meets the security requirements.

Coding style & Drupal API usage
As suggested by @saurabh.tripathi.cs remove function because it does not have any definition:

/**
 * Preprocess function for advpoll-results.tpl.php.
 */
function advpoll_media_preprocess_advpoll_results(&$vars) {
}
guptas89’s picture

Status: Needs review » Needs work
tsotsos’s picture

Status: Needs work » Needs review

Removed the body-empty function at line 390 as suggested by saurabh.tripathi.cs and guptas89

tsotsos’s picture

Priority: Normal » Major
tsotsos’s picture

Any news about the review?

daria.a’s picture

Assigned: Unassigned » daria.a
Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Hello tsotsos!

Manual Review:

Individual user account
Yes, follows the guidelines for individual user accounts.

No duplication
Yes, doesn't cause module duplication and/or fragmentation.

Master Branch
Yes, follows the guidelines for master branch.

Licensing
Yes, follows the licensing requirements.

3rd party assets/code
Yes, follows the guidelines for 3rd party assets/code.

README.txt/README.md
Yes, follows the guidelines for in-project documentation and/or the README Template.

Code long/complex enough for review
Yes, follows the guidelines for project length and complexity.

Coding style & Drupal API usage
This module matches Coding style & Drupal API usage best practices.

Just a recommendation.
Use @param tag for comments to the following functions
advpoll_media_choices_save()
theme_advpoll_media()
advpoll_media_get_choices_lang()
advpoll_media_choice_fid
advpoll_media_choice_text
advpoll_media_load_multiple
advpoll_media_delete
advpoll_media_add

Use @return tag for comments to the following functions
theme_advpoll_media()
advpoll_media_get_choices_lang()
advpoll_media_choice_fid
advpoll_media_choice_text
advpoll_media_load_multiple

Add "Implements hook_load()." for this
function advpoll_media_load($choice_id)

cweagans’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for your contribution!

I updated your account so you can 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 stay 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.

tsotsos’s picture

Thank you all for your reviews and suggestions.
yet a small problem i still cannot promote this project to full (no button appeared on edit section)

tsotsos’s picture

Thank you all for your reviews and suggestions.
yet a small problem i still cannot promote this project to full (no button appeared on edit section)

tsotsos’s picture

Priority: Major » Normal
Status: Fixed » Reviewed & tested by the community
tsotsos’s picture

Status: Reviewed & tested by the community » Fixed
cweagans’s picture

@tsotsos, did you get it figured out? I'm guessing that since you marked the issues as Fixed, everything is okay?

tsotsos’s picture

No i tried to change to "reviewed & tested by the community" and then back to "fixed" but with no luck, still the same problem

cweagans’s picture

The issue status doesn't do anything for your ability to promote projects. It's a manual thing.

I double-checked your account, and you're a vetted Git user on Drupal.org, so now you should just be able to go to https://www.drupal.org/node/2443759/edit/promote to promote your project.

Please let me know if you have any further troubles.

tsotsos’s picture

@cweagans, still not any change. I tried your link also and still there is not any progress (403 page appears)

klausi’s picture

Assigned: daria.a » Unassigned
Priority: Normal » Major
Issue summary: View changes
Status: Fixed » Needs review
tsotsos’s picture

Status: Needs review » Active
klausi’s picture

Status: Active » Fixed

You created this project as "drupal.org project", but you should create it as "module" project. Please create a new sandbox as "module" and push your code there. Then delete the old sandbox to avoid confusion.

tsotsos’s picture

Thank you all for your help, i followed Klausi's instructions and created an new Module Project instead Drupal Project so now it is full project (https://www.drupal.org/project/advpoll_media).
P.S comment 11 changes have made.

tsotsos’s picture

Status: Fixed » Closed (fixed)