CONTENTS OF THIS FILE
---------------------
* Introduction
* Demo
* Installation
* Configuration
* Features
* Alternative Sliders
INTRODUCTION
------------
Superslides Caption Slider is a Caption Slider integrated with views using two powerful libraries Superslides and Animate.css
Superslides is a full screen, hardware accelerated slider for jQuery. animate.css is a bunch of cool, fun, and cross-browser animations can be applied on captions
DEMO
------------
http://burblex8gjpcnsbh.devcloud.acquia-sites.com/
INSTALLATION
------------
First you create new folder either in the sites/all/modules folder or just directly in the modules folder at the Drupal root.
The good news is that you can move the folder even after, enabled. No more need to rebuild the registry. You can thanks the clever autoloading capability of Drupal 8.
1. Download Module and Enable it.
2. Dowload superslides library from ‘ https://github.com/nicinabox/superslides ‘ and place it in libraries folder.
3. Rename the folder as ‘superslides’ , So your file structure should look like this: [drupal_root]/libraries/superslides/dist/jquery.superslides.min.js.
4. Dowload Animate css library from ‘ https://github.com/daneden/animate.css ‘ and place it in libraries folder.
5. Rename the folder as ‘animate’ , So your file structure should look like this: [drupal_root]/libraries/animate/animate.css.
Configuration
----------------
• Add new view (block preferred) of fields
• Choose style format as ‘superslides’
• Add Image field. Title field, or body field.
• You can choose options from style options like autoplay, authoplay duration, field animation etc
Features
----------------
• Easily Integrated through Views
• Simple, easy to use interface.
• Create FullScreen Responsive slideshows in seconds through views
• Autoplay
• Key Arrow Bullet Navigation
• 100+ caption effects/transitions
• Multiple sliders in one page
• Cross browser support
• Browser Compatibility
• IE6+
• Chrome 3+
• Firefox 2+
• Safari 3.1+
• Opera 10+
• Mobile browsers( iOS, Android, Windows, Windows Surface and Mac are all supported)
Other Alternative Sliders
-----------------------------
Views Slideshow
Jssor
Slick
PROJECT PAGE
https://www.drupal.org/sandbox/kamdanishit/2735609
REPOSITORY DETAILS
git clone --branch 8.x-1.x https://git.drupal.org/sandbox/kamdanishit/2735609.git superslides_fullscreen_caption_slider
cd superslides_fullscreen_caption_slider
Manuel Reviews of other Projects
[D8] https://www.drupal.org/node/2729157#comment-11387093
[D8] https://www.drupal.org/node/2784891#comment-11519209
[D8] https://www.drupal.org/node/2780811#comment-11519235
[D8] https://www.drupal.org/node/2624458#comment-11520033
Comment | File | Size | Author |
---|---|---|---|
#44 | coder-results-10oct.txt | 1.58 KB | kamdanishit |
#39 | coder-results.txt | 28.83 KB | klausi |
Comments
Comment #2
PA robot CreditAttribution: PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpsgitdrupalorgsandboxkamdanishit2735609git
Fixed the git clone URL in the issue summary for non-maintainer users.
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
kamdanishit CreditAttribution: kamdanishit commentedComment #4
benellefimostfa CreditAttribution: benellefimostfa commentedI've enabled the module, create a view with title and image fields , set the format at "Superslides" , enable the block display .. and when i go to a page where this block is displayed i got "wsod"
Comment #5
kamdanishit CreditAttribution: kamdanishit commentedHi benellefimostfa,
Can you please send me the screenshots where you got this error, because the same steps Ive followed and here it is working fine.
Though I have added default options value in the latest commit , so try with the fresh code.
Comment #6
visabhishek CreditAttribution: visabhishek as a volunteer and at Azri Solutions commentedHi kamdanishit,
I have tested this module with "Bartik 8.1.1" theme. Please check "view_configration.png" for my view settings. Correct me if i am missing anything, Few points are :
Comment #7
gisleResetting priority to "Normal", as per: https://www.drupal.org/node/539608
Comment #8
ashwinshManual Review
Comment #9
gisleWorking link to PAreview:
http://pareview.sh/pareview/httpsgitdrupalorgsandboxkamdanishit2735609git
Comment #10
naveenvalecha@ashwin.shaharkar: look like you forgot to change the status. Is this now RTBC after your review or are there application blockers left and this should be "needs work"?
Comment #11
ashwinshHello @naveenvalecha,
Automated review has not passed for this project, that's why I did not mark this to RTBC.
Thank you,
Comment #12
naveenvalechaAutomated review is not the blocker, anything else that you found.
Comment #13
kamdanishit CreditAttribution: kamdanishit commentedHi All,
I have changed README.txt as per guidelines mentioned in Guidelines
I have changed the code as per coding standard but the automated review is still showing the same error though you can find out that those errors are rectified on codebase.
Please check it out
Comment #14
kamdanishit CreditAttribution: kamdanishit commentedComment #15
gisleYou still haven't got the right default branch. Neither "bugfix" nor "8.1.x" are correct. You need to change this to "8.x-1.x". IMHO, this error should block promotion (however, it is very easy to fix).
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.
And while code style errors are not blockers (as pointed out in #12), projects with a lot of trivial format errors are just harder to review manually. Some of the volunteer reviewers (including me) prefer to pick "lower hanging fruits" when we select what projects to manually review.
Comment #16
kamdanishit CreditAttribution: kamdanishit commentedComment #17
kamdanishit CreditAttribution: kamdanishit commentedComment #18
kamdanishit CreditAttribution: kamdanishit commentedHi gisle , Thanks for letting me know, where i was going wrong. I have changed my default branch to 8.x.1.x.
Comment #19
PA robot CreditAttribution: PA robot commentedFixed the git clone URL in the issue summary for non-maintainer users.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #20
kamdanishit CreditAttribution: kamdanishit commentedComment #21
jonreid CreditAttribution: jonreid at Function1 commentedManual Review
1. Basic application checks
1.1 Ensure your application contains a repository and project page link.
[Yes: Follows]
1.2 Ensure your project is not duplication.
[Yes: Does not cause] module duplication and/or fragmentation.
2. Basic repository checks
2.1 Ensure the repository actually contains code.
[Yes]
3. Licensing checks
3.1 Ensure the repository does not contain a 'LICENSE.txt' file.
[Yes: Follows] the licensing requirements.
3.2 Ensure the repository does not contain any 3rd party (non-GPL) code.
[Yes: Follows] the guidelines for 3rd party assets/code.
4. Documentation checks
4.1 Ensure the project page contains detailed information.
[Yes: Follows] the guidelines for in-project documentation
4.2 Ensure the repository contains a detailed README.txt.
[Yes] But does not followed the guidelines for README Template.
4.3 Ensure the code contains a well-balanced amount of inline-comments.
[Yes].
5. Coding standards and style
5.1 Run an automated review and ensure there are no major issues.
[No: Automated review has not passed.]
http://pareview.sh/pareview/httpsgitdrupalorgsandboxkamdanishit2735609git
3. I'm almost certain that the MIT license for animate.css (superslides_fullscreen_caption_slider/style/ainmate.css) is ok but I don't know if an exception needs to be filed as per: https://www.drupal.org/node/422996#comment-9654015. @gisle, could you weigh in on that?
4. Recommend adding the library mentioned in the installation portion of the README to a newly added REQUIREMENTS section - https://github.com/nicinabox/superslides
5. I went ahead and rolled a patch for the pareview issues here: https://www.drupal.org/node/2760895. None of the issues I saw would be considered release blockers.
Ran the module through it's paces as well on a fresh D8 install. Works as expected.
Comment #22
jonreid CreditAttribution: jonreid at Function1 commentedOne other note for 5.1 project page (https://www.drupal.org/node/997024):
You should mention some slideshow module alternatives on your project page. I think you've already done a decent job at differentiating this module in the description but there are quite a few other paths. e.g. https://www.drupal.org/project/views_slideshow, https://www.drupal.org/project/jssor, etc.
Comment #23
gisleIn #21, Jon Reid wrote:
An exception need to be granted by the LWG for any third party materials in the repo. In this case, no exception request has been made.
The MIT license is one of the licenses we allow, however, as per 3rd party libraries and content on Drupal.org, exceptions can be made if the 3rd party library/content:
In this case only #4 seems to be the case, so if a exception request was made, it would be denied.
Also, as noted in #22 by Jon Reid, there are plenty of other slideshow bridge modules in Drupal-land. Our users need to be informed about possible functional overlap. This should be made is section with the heading "Similar projects and how they are different" on the project's project page that:
This project does not satisfy the criteria for 3rd party contents, and the project page fails to inform about alternative projects. It must go back to Needs work.
Comment #24
kamdanishit CreditAttribution: kamdanishit commentedComment #25
kamdanishit CreditAttribution: kamdanishit commentedComment #26
kamdanishit CreditAttribution: kamdanishit commentedHi Jon , Thanks for valuable comment.
I have removed Animate.css from my module directory because of license issue. Now module will work by including animate.css library externally as mentioned in library and issue description.
I have also mentioned the other slider alternative modules available for drupal 8.
Thanks @Jon and @gisle. Please Review
Comment #27
kamdanishit CreditAttribution: kamdanishit commentedComment #28
kamdanishit CreditAttribution: kamdanishit commentedComment #29
kamdanishit CreditAttribution: kamdanishit commentedComment #30
kamdanishit CreditAttribution: kamdanishit commentedComment #31
kamdanishit CreditAttribution: kamdanishit commentedComment #32
kamdanishit CreditAttribution: kamdanishit commentedComment #33
dilipsingh02 CreditAttribution: dilipsingh02 commentedHi,
please don't change the status before fixed the issues. please fixed pareview issues:
http://pareview.sh/pareview/httpsgitdrupalorgsandboxkamdanishit2735609git
Thanks
Comment #34
klausiMinor coding standard problems are surely not application blockers, please do a real manual review.
Comment #35
kamdanishit CreditAttribution: kamdanishit commentedComment #36
kamdanishit CreditAttribution: kamdanishit commentedComment #37
kamdanishit CreditAttribution: kamdanishit commentedComment #38
ARUN AK CreditAttribution: ARUN AK commentedHi kamdanishit,
I did a manual review and please see my comments below:
Automated Review
Fix the issues mention in automated review.
Note that perfect adherence to Drupal Coding Standard is NOT a reason to block an application, except for total disregard of them. However, modules should follow them as closely as possible.
Manual Review
All user entered text should be pass through
SafeMarkup::checkPlain()
/Xss::filter()
before render back in to the browser. In slider you are displaying field contents without sanitization. Add sanitization user inpu fields. Check SuperSlider.phprender()
function.t()
and$this->t()
. Use$this->t()
inside classes.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.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Thanks,
ARUN AK
Comment #39
klausi@ARUN AK: I could not reproduce the XSS security issue. Drupal 8 auto-escapes the data from the view, so when I tried to enter
<script>alert('XSS');</script>
as node title to see if it triggers XSS in the view it was escaped as expected. Maybe I missed something? Can you write down the steps to exploit this so that we can test the XSS vulnerability?Removing the security tag in the meantime.
@kamdanishit: it seems that the online pareview.sh service is broken right now and does not show all the Coding Standard errors in SuperSlides.php. Can you install Coder and check that yourself? https://www.drupal.org/project/coder
I'm attaching the output of Coder, please fix the coding standards in the meantime so that reviewing is easier. Thanks!
manual review:
Notice: Undefined index: field_image in Drupal\superslides\Plugin\views\style\SuperSlides->render() (line 240 of modules/superslides/src/Plugin/views/style/SuperSlides.php). Make sure to enable PHP notices in your dev environment.
Comment #40
ARUN AK CreditAttribution: ARUN AK commented@klausi, When I test I added node body field which accepting full html in slideshow views. So the alert was coming during slideshow. But it can be managed by selecting proper Text format filter in field configuration.
Comment #41
klausiIf a user can select the text format "full HTML" then of course they are allowed to put in any HTML tag, even script tags. That is the purpose of the full HTML text format, never give that to untrusted users. See https://www.drupal.org/node/224921 and https://www.drupal.org/node/1884352
So this is not a vulnerability in this module, anything else that you found?
Comment #42
aryashreep CreditAttribution: aryashreep as a volunteer commentedThere is some coding standard errors to fix :
Review of the 8.x-1.x branch (commit 7613bbd):
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. You have to get a review bonus to get a review from me.
Source: http://pareview.sh/ - PAReview.sh online service
Comment #43
aryashreep CreditAttribution: aryashreep as a volunteer commentedThere is some coding standard errors to fix :
EDIT: removed long pareview.sh dump.
Source: http://pareview.sh/ - PAReview.sh online service
Comment #44
kamdanishit CreditAttribution: kamdanishit commented@Arun Ak, I gave meaningfull name to my Javascript library and changed all t() functions to $this-t()
@Klausi, I have fixed all the Errors and Warnings given by coder
Comment #45
kamdanishit CreditAttribution: kamdanishit commentedComment #46
kamdanishit CreditAttribution: kamdanishit commentedHi all,
I have cleared pareview errors and warnings.
Please check
http://pareview.sh/pareview/httpsgitdrupalorgsandboxkamdanishit2735609git
Comment #47
klausimanual review:
Otherwise looks good to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Assigning to er.pushpinderrana as he might have time to take a final look at this.
Comment #48
kamdanishit CreditAttribution: kamdanishit commentedHi Klausi,
Thanks for the manual review.
1. I have deleted Branch 8.1.x.
2. Removed libraries key from superslides.info.yml.
3. updated user facing text using $this->t().
4. option groups that are user facing uses $this->t().
5. I have applied ESlint to fix the indentation.
Comment #49
er.pushpinderrana CreditAttribution: er.pushpinderrana as a volunteer and at Publicis Sapient for Publicis Sapient commentedSince this was RTBC already and the comments seem to be addressed, so...
Thanks for your contribution, Nishit Kamdar!
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.
Comment #50
kamdanishit CreditAttribution: kamdanishit commentedThanks @er.pushpinderrana for giving me the access and Thanks all the reviewers.