Thor Gallery is a robust gallery wrapper for a Facebook album.
Thor Gallery will make it possible to add any public album on Facebook to your Drupal site. It displays the images in the Facebook album by fetching the images from Facebook API and displaying them into AD Gallery front-end.
Project page: http://drupal.org/sandbox/ain/1875240
Git clone: git clone --branch 6.x-1.x http://git.drupal.org/sandbox/ain/1875240.git thorgallery
Drupal version: 6. Support for Drupal 7 will follow once Drupal 6 version has matured.
Library dependencies: Facebook PHP SDK, AD Gallery. See Configuration for instructions.
Reviewed projects:
- http://drupal.org/node/1887278#comment-6948092
- http://drupal.org/node/1830954#comment-6953074
- http://drupal.org/node/1825062#comment-6953198
- http://drupal.org/node/1813730#comment-6958680
- http://drupal.org/node/1833682#comment-6958894
- http://drupal.org/node/1887210#comment-6960034
- http://drupal.org/node/1865018#comment-6975468
- http://drupal.org/node/1528036#comment-6960560
- http://drupal.org/node/1813730#comment-6975558
- http://drupal.org/node/1191490#comment-6988238
- http://drupal.org/node/1894210#comment-6988448
- http://drupal.org/node/1870404#comment-6988596
- http://drupal.org/node/1899914#comment-6989500
- http://drupal.org/node/1899230#comment-6989540
- http://drupal.org/node/1859944#comment-6989564
NB! Automated review of node-thorgallery.tpl.php ln 10, 17 reports control statement errors regardless of the fact that both lines actually use the alternative syntax.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from a production site | 629.16 KB | ain |
Comments
Comment #1
monymirzaSome drupal standards missing. can be seen here:
http://ventral.org/pareview/httpgitdrupalorgsandboxain1875240git
Comment #2
ain commentedThanks for the review!
The Drupal 6 branch of Coder did not show any of the problems, I guess it's not yet up to date with the Drupal 7 branch.
Nevertheless, all the aforementioned issues have been resolved now.
Comment #3
klausimanual review:
Don't forget to add the "PAReview: review bonus" tag as indicated in #1410826: [META] Review bonus for your next review bonus, otherwise you won't show up on my high priority list.
Comment #4
ain commentedDanke für die Code-Review Klausi.
It was indeed useless. Removed.
Fixed.
I introduced the separate function to highlight the action of creating the variable that is basically the Pathauto URL alias pattern for a Thor Gallery node. I tend to break things up to increase readability by self-explanatory code. The other option would of course be to document it within the
hook_install()doc, but that wouldn't be as obvious.Fixed.
Thanks for the valuable tip! Fixed for both, insert and update.
Thanks for the valuable tip, again! Fixed.
Good point. Refactored.
Fixed.
Strange. The notices are surely on, I didn't really come across it. Nevertheless, I've made it fail-safe.
I've added respective documentation in README and on project page. Thanks for pointing it out!
Comment #5
ain commentedAdding review bonus tag over following reviews:
Comment #6
sprocketman commentedFurther output from the Coder module:
1. form_set_error()/drupal_set_message() lines 385, 388, 527 in thorgallery.module and line 59 thorgallery.install: When using drupal_set_message, use t() to filter the text. In all cases, when using t(), use placeholders for your variables. The Drupal documentation for t() explains how this is done.
Also, although it is obvious once you think about it, you might want to add something in the README.txt troubleshooting area about making sure that the Facebook album you are using is set to be Public.
Comment #7
dydave commentedThanks atozstudio for your feedback and review.
I just allowed myself to quickly change the status to needs work since I assume a few changes could still be carried to follow up with #6.
Thanks to all for your testing, comments, reviews and feedbacks.
Comment #8
ain commentedBig ups to atozstudio for the review!
form_set_error()translation placeholder issues on lines 385, 388 are fixed. The problem on ln 527 I do not consider an error, the translated string is already passed in to the proxy function and there are no placeholder errors involved.README.txt covers the necessity of a Public Facebook album in Requirements, but I've also added it to Troubleshooting, incl. on the project page.
Comment #9
ain commentedRemoving review bonus in respect to the last review.
Comment #10
ain commentedAdding review bonus:
Comment #11
klausiPlease add all your reviews to the issue summary so that we can track them better.
manual review:
The first point could be a security issue, so I have to set this back to "needs work". Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #12
ain commentedThanks for another review.
thorgallery_init()dumped in favour ofthorgallery_view(). Thanks for pointing this out!access thorgallery contentpermission was redundant as well, removed.Comment #13
ain commentedAdded PAReview: review bonus tag:
Comment #14
klausiGreat, looks RTBC now! Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #15
ain commentedAdding Review bonus:
Comment #15.0
ain commentedAdding all reviews to summary, +3 more reviews for the tag
Comment #16
klausino objections for more than a week, so ...
Thanks for your contribution, ain!
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.
Comment #17
ain commentedThanks a lot for the experience and resources provided klausi and many thanks to all who reviewed and dived deep into my code!
Comment #18.0
(not verified) commentedAdding another 3 reviews.