The Pinterest API module provides a way for a Drupal site to incorporate
Pinterest images, descriptions, and links. Currently it provides a single
Pinterest Block that can be configured to show the latest images a Pinterest
user has pinned.

See an example of its use here: http://www.onecraftyhome.com/

Project Page:
http://drupal.org/sandbox/mjwest10/1391340

Git Link:
git clone --branch master mjwest10@git.drupal.org:sandbox/mjwest10/1391340.git

This Module is currently only for Drupal 6

CommentFileSizeAuthor
#6 pinterest_pareview.sh_results-2-22-2012.txt2.56 KBAnonymous (not verified)

Comments

patrickd’s picture

welcome

It appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Review of the master 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. Go and review some other project applications, so we can get back to yours sooner.

patrickd’s picture

Status: Needs review » Needs work

fix at least

  • Switching to a version spec. branch
  • Use module name as function prefix

before switching back to needs review

mjwest10’s picture

Status: Needs work » Needs review

I made the changes suggested in the comments before. I also re-ran my module through the http://ventral.org/pareview/ site. Thanks for this great resource! I made all the changes it suggested as well - so I think we should be in good shape for another review. Thanks for taking the time to do this.

mjwest10’s picture

Priority: Normal » Major

Changing the Priority to major since this has been in "needs review" for over 2 weeks.

mjwest10’s picture

Priority: Major » Critical

Changing the priority to critical as its been 4 weeks of needs review at this point.

rlangille’s picture

Status: Needs review » Needs work
StatusFileSize
new2.56 KB

Overall, not bad, however there are a few security issues, and a few smaller issues that still need to be addressed.

First off, you need to sanitize all of the data you are retrieving and displaying.

Next up, you need to be sure that all strings presented to users are run through the t() function, including titles and descriptions provided by your module. (example at line 105 and 106 of pinterest.module).

I have also attached the results I received from pareview.sh, noting a few white-space and formatting issues, for your convenience.

patrickd’s picture

Issue tags: +PAreview: security

please add a security tag, on security issues

rlangille’s picture

Thanks for the catch.

klausi’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application.