Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2015 at 08:50 UTC
Updated:
11 Oct 2015 at 22:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
PA robot commentedWe 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 #2
darol100 commentedAutomated Review
Pareview.sh - There is just one complain, http://pareview.sh/pareview/httpgitdrupalorgsandboxmyvo2509294git
Coder Review
multimedia_block.admin.inc
Manual Review
responsiveslides.min.jsfrom your project intosites/all/libraries, which is where we usually store our libraries. responsiveslides.min.js use the MIT license so this means that you can stored inside of your module according to this comment.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.
I do not see any blockers; however, you should consider fixing those things that I mention.
Comment #3
klausino, third party code is not allowed in drupal.org git repositories. The white list is only used for packaged downloads of Drupal distributions.
The Libraries API module is a recommended method for adding 3rd party dependencies without directly including the code on Drupal.org.
Comment #4
myvo commentedThank you @darol100 and @klausi very much!
I will fix it now.
Comment #5
myvo commentedComment #6
myvo commentedHi @darol100 and @klausi,
I fixed issue on comment#2 and #3. Thank you for your feedback.
Comment #7
myvo commentedComment #8
Sumit kumar commentedHi @myvo thanks for contribution
i had tested this module on my local machine i found error when i was enter machine name.
Please link help in first image (Modules sumit.png) with readme.txt file
Comment #9
myvo commentedThank you for help, @Submit kumar!
It's a critical issue, because the max-length of delta block is 32 character. I fixed it!
Please feel free to uninstall module completely, to delete all data from this module.
Charlie
Comment #10
babusaheb.vikas commentedHi myvo,
You should add below case in hook_help to allow site builders to find information about your module using Drupal UI.
In addition, you can also link help with readme.txt file by adding
$output .= file_get_contents(drupal_get_path('module', 'multimedia_block') . '/README.txt');
Comment #11
myvo commentedThank you, @babusaheb.vikas!
I updated the hook_help with case 'admin/help#multimedia_block' already.
Comment #12
ttvnit commentedThanks My,
This module is great.
It helps us to create simple and effective blocks.
Comment #13
myvo commentedThank @ttvnit!
Comment #14
temkin commentedAutomated Review
No errors detected by automated review
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.
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.
Comment #15
temkin commentedComment #16
myvo commentedThank @temkin for your reviewing!
I think it will be better than looping to use the function "variable_del" to delete multiple variable.
Comment #17
ajalan065 commentedHi myvo,
1. According to me, there is no specific need of $js_filepath variable in your multimedia_block.module. (line 623)
You can instead use
2. You can preferably move this section to a separate function and call that function wherever needed.
Point 2 is definitely not a mandatory one, but of course a better coding practice.
Please mention if I am wrong anywhere.
Comment #18
ajalan065 commentedHi myvo,
1. According to me, there is no specific need of $js_filepath variable in your multimedia_block.module. (line 623)
You can instead use
2. You can preferably move this section to a separate function and call that function wherever needed.
Point 2 is definitely not a mandatory one, but of course a better coding practice.
Please mention if I am wrong anywhere.
Comment #19
myvo commentedHi @ajalan065,
1. Skipped: I think it will be better if we call the function once but we can use it many times without call it again.
2. Updated.
Thank you for your help!
Comment #20
tuanphpvn commentedHi myvo,
Firtstly, Great plugin! I think this plugin will help we create fast portable slideshow or media.
Secondly, when I create a 'Embed Video' block type and this block type has confuse me. Is it convenient when you put image is required ?
Thirdly, Slideshow block type is great. I think it is very usefull. But there are one problem. Can you fix the issue when user forget upload their image at the backend.? The slideshow on the front end still be smooth. Currently, If the user forget input their image the front end will miss that part.
Comment #21
myvo commentedThank you for your help, @tuanphpvn!
I will improve it later.
Comment #22
rutel95Manual review
1)Displays error if there is no library Uncaught TypeError: $(...).responsiveSlides is not a function mblock.js
Better probably so
2) Instead of public:// use
to give the user a choice.
3) Use single quotes better quotes
4) Please add title and alt for images it is need for SEO
5) Please add a link https://github.com/viljamis/ResponsiveSlides.js/archive/master.zip to hook_help().
6) Need use block_load($module, $delta) instead
Comment #23
thehong commentedLook like you store all list of block to this variable, should be a problem if site has a lot of block?
$blocknames = variable_get(MULTIMEDIA_BLOCK_NAMES_VAR, array());Comment #24
thehong commentedBlock type is hardcoded, is it possible for other module to provide custom block type? Why don't you use ctools plugin API?
Comment #25
thehong commentedI think
multimedia_block_admin_is_exist_blockname($name)should not return false, isn't it $name there, why can't check?Comment #26
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.