Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2012 at 18:21 UTC
Updated:
9 Sep 2013 at 21:21 UTC
This module integrates Supersized by BuildInternet with Views via the Views JQFX module for Drupal 7. Supersized allows for full screen background images with quite a few configuration options. It can be futher customized with themes also.
I have contacted Sam Dunn (the creator of Supersized) and he has agreed to allow it to be packaged with the module, with attribution of course.
Project Page: http://drupal.org/sandbox/thechanceg/1358600
Git Repo: git clone http://git.drupal.org/sandbox/thechanceg/1358600.git views_jqfx_supersized
Comments
Comment #1
klausiWelcome,
We are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #2
suhani.jain commentedHi thechanceg,
1)Please find the automated review of your module here.
2)I have done manual review of your code and found some issues as listed below.
2.1)In .info file - please remove below code as this will be added by drupal.org
2.2)In .module file you have used incorrect commenting for eg comments like hook_theme is above 'views_jqfx_supersized_init' function which should be above 'views_jqfx_supersized_theme' function.
2.3)In views_jqfx_supersized.views_jqfx.inc file - Use standard commenting function which are available in api.drupal.org.
Comment #3
thechanceg commentedThank you suhani.jain. It looks like I've got a little more cleanup to do. I'll update this when I have made the changes suggested.
Comment #4
thechanceg commentedI have made the updates mentioned above and addressed all of the open issues on my project.
Comment #5
aritra.ghosh commentedHii,
Please look into the error report generated with the automated code sniffer:
http://ventral.org/pareview/httpgitdrupalorgsandboxthechanceg1358600git
These are mostly indentation and formatting issues but theres a lot of them. Please fix them.
here is a gist of the issues pointed out by code sniffer:-
1. Do not use tabs to indent lines. instead use spaces.
2. In css files, style definitions must end with a semicolon.
3. Multiple CSS properties should be listed in alphabetical order.
4. Lots of spacing issues found in js files.
Thanks.
Comment #6
thechanceg commentedAll of those were from the included Supersized library. I didn't realize that libraries had to comply as well.
I have gone through and updated the css and js files to the Drupal coding standard. The ventral link still shows errors, but they are limited to the minified js files, and css properties that it doesn't understand (IE filters).
Comment #7
klausisupersized folder: appears to be 3rd party code. 3rd party code is not generally allowed on Drupal.org and should be deleted. This policy is described in the getting involved handbook. It also appears in the terms and conditions you agreed to when you signed up for Git access, which you may want to re-read, to be sure you're not violating other terms.
The Libraries API module is a recommended method for adding 3rd party dependencies without directly including the code on Drupal.org.
Comment #8
thechanceg commentedAs I stated in my issue summary, Sam Dunn of Build Internet has granted permission to include his work with attribution.
Furthermore, Supersized was released under the GPL license as required by the 3rd Party Libraries policy.
Here is our twitter conversation as proof, https://twitter.com/buildinternet/status/213708598826631169
Comment #9
klausiExceptions can only be made if the library had to be modified to work with Drupal and the modifications were not accepted by the original author. Please read http://drupal.org/node/422996 again.
Comment #10
thechanceg commentedThank you for the links and support klausi. I thought maybe it might apply under the other options for exceptions, my mistake.
Anyhow, I have updated my module and documentation. Pareview.sh is coming back completely clean. I have also included install and requirements hooks to alert the user to download the library and where to install it.
Comment #11
varunmishra2006 commented@thechanceg
I did manual review. In code everything seems to be fine except one thing.
In views-jqfx-supersized.tpl.php
Please don't use hard coded paths for images. Instead of this use base_path() path to get the base path of drupal installation. The above code will not work if some one have drupal installed in a sub directory .
Comment #12
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
If you reopen this please keep in mind that we are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #13
thechanceg commentedSwitched to using base_path() in the template file as suggested by varunmishra2006.
Comment #14
kscheirerYou have a couple of minor errors listed here: http://pareview.sh/pareview/httpgitdrupalorgsandboxthechanceg1358600git.
Looks good though, nice plugin! You could improve the Libraries API support (I believe a hook_libraries_info()) and use their api to detect the path to the jquery files instead of hard-coding them on the template. No major issues found though.
----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #15
klausiSorry for the delay, but you have not listed any reviews of other project applications in your issue summary as strongly recommended in the application documentation.
manual review:
but that are not blockers, so ...
Thanks for your contribution, thechanceg!
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.