Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Dec 2014 at 21:39 UTC
Updated:
31 Jan 2015 at 12:04 UTC
Jump to comment: Most recent
Comments
Comment #1
mouhammed commentedComment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxmouhammed2396271git
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.
Comment #3
mouhammed commentedI've fixed all errors.
Comment #4
valentine94Please fix the issues from automatic test:
http://pareview.sh/pareview/httpgitdrupalorgsandboxmouhammed2396271
Regards.
Comment #5
mouhammed commentedFixed issues from automatic test.
Comment #6
valentine94Looks good, thanks.
Comment #7
mouhammed commentedComment #8
codesidekick commentedPlease change above description to list
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/mouhammed/2396271.git viewerjs
as the git address so that people other than yourself can clone.
Manual Review
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
This review uses the Project Application Review Template.
Comment #9
mouhammed commentedComment #10
mouhammed commentedI've fixed all issues.
For this recommandation, 3rd party assets/code : I use two icon from fontello (preview and download button).
Comment #11
mouhammed commentedComment #12
jim.applebee commentedAutomated Review
2 Best practice issues identified by pareview.sh / drupalcs / coder. Results can be ignored
Manual Review
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
Comment #13
mouhammed commentedComment #14
mouhammed commentedComment #15
mouhammed commentedLicensing
Fixed : I've replaced image with GPL licensed and removed fonts files.
3rd party assets/code
Fixed.
README.txt/README.md
Fixed.
Coding style & Drupal API usage
Fixed.
Comment #16
mouhammed commentedComment #17
klausiRemoving review bonus tag, you have not done all manual reviews, you just posted the output of an automated review tool. Make sure to read through the source code of the other projects, as requested on the review bonus page.
Comment #18
mouhammed commentedAdding review bonus tag.
Comment #19
mouhammed commentedComment #20
mouhammed commentedComment #21
mouhammed commentedComment #22
rcodinaI've tested your module and I must say that it works quite well. However, I may found a bug:
When in formatter options, I select option "Nothing" at select "Preview type" it does the same as when I select option "New window". Could you check this out? Maybe in case the users select "Nothing" the "Preview" link should dissappear.
Also, for the code side, all seems ok to me now that you use the libraries module. However, you still have to solve the issues shown by pareview.sh. The errors shown there are simple So I think you can fix all of them quickly.
Congratulations for this module!
Comment #23
mouhammed commentedRemoved "Nothing" option.
Comment #24
pushpinderchauhan commentedAssigning to myself for next review.
Comment #25
pushpinderchauhan commentedAutomated Review
Best practice issues identified by pareview.sh / drupalcs / coder. Yes, found few issues.
Review of the 7.x-1.x branch (commit 9770980):
Manual Review
viewerjs_help(): why you make this function so complicated. Also why filter_xss_admin() and check_plain() is require here? You are not printing user provided text here but only the trusted README file?
viewerjs_field_formatter_view(): In general, using #attached is preferred over drupal_add_css, drupal_add_js, and drupal_add_libray.
viewerjs_thumbnail_file(): $base_url is almost never needed directly. Use url() to make an absolute URL if needed.
But that are not critical application blockers, otherwise I think this is RTBC.
Assigning to klausi for a second look if he has time.
Comment #26
klausiGit errors:
Review of the 7.x-1.x branch (commit 9770980):
But that are not critical application blockers, so ...
Thanks for your contribution, mouhammed!
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.