Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2013 at 06:43 UTC
Updated:
20 Oct 2013 at 20:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
madhusudanmca commentedComment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxmadhusudanmca2054335git
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
garnett2125 commentedHi,
Manual review :
Comment #4
madhusudanmca commentedHi All,
I have incorporated all the suggestions.
Please review again.
Thanks
Comment #5
ajesh commentedHi,
I have created a module and looking someone who can review my modules.
https://drupal.org/node/2063215
Thanks,
Ajesh
Comment #6
pgautam commentedHi
Please find some of my quick review comments.
1) Please give one space gap between each loop and condition and each function declaration.
2) Remove $sitename parameter use $domain_name instead in function sn_quick_multisite_prepare_baseurl($sitename) as it is multiple assignment in line 194.
3) Remove commented code from function sn_quick_multisite_clone_table_populate($from_db, $to_db) in sn_quick_multisite.inc
4) Remove two returns from function sn_quick_multisite_get_dbdata_by_folder($folder) on line 586, 591 in sn_quick_multisite.inc
5) Remove condition if (!strstr($url, 'http://')) use parse_url instead on line 672 in sn_quick_multisite.inc
6) Unwanted variable $tld on line 645, 686 in sn_quick_multisite.inc
7) Error scenario handling missing in public function makeWorldReadable(&$filetransfer, $path, $recursive = TRUE) for sn_quick_multisite_copy_dir.inc
Thanks,
Paritosh Gautam
Comment #7
madhusudanmca commentedHi Paritosh,
I have incorporated all the suggestion as suggested by you.
Request you and other members to review for further suggestions.
Thanks
Comment #8
gaurav.pahuja commentedsn_quick_multisite.module
Line # 33: Incorrect 'access arguments'. This feature will not work for user other than superadmin.
Comment #9
vyasneetesh commented1) Spelling of Domain in link (Create quick multisite with sub domians).
2) Usually in Production enviroment, IT Infrastructure team does not share the path of the Host file,
instead, you should ask for confirmation if Valid Subdomain is configured in your infrastructure or not. If it is available , no need for the host file path.
3) Space (package[]) to be removed from .info file.
4) if condition in sn_quick_multisite_form_hostfilevalidate() – sn_quick_multisite_form.inc
should be re written to check if file exists and inside the if block if check for Write permission. At present these are two separate condition ( if and else if)
5) Directory separator to be used to take care multiple platforms/os issues in file paths.
Comment #10
vyasneetesh commentedAt present you are asking for the Host file path which May or may not be available to admin due to Infrastructure securities on production/staging environment. But for Development environment We might need to add host entries to make multisite work.
you can ask
1) Confirmation from user if subdomains are configured if it is prod/staging kind of environment.
2) If subdomain are not configured ( probably a dev enviroment) ask for the file path.
Comment #11
madhusudanmca commentedHello All,
Thanks a lot for your valuable feedback's, I have incorporated all the suggestions given.
I request you to review it again.
Thanks
Comment #12
ajesh commentedHI,
I have review modules and find one observation on files sn_quick_multisite.inc
you are comparing only for http:// if the website have ssl enable then this condition fails.
Overall it seem to good modules and working as expected.
Thanks,
Ajesh
Comment #13
madhusudanmca commentedHello Ajesh,
Thanks for your valuable inputs, actually I have used "$_SERVER['HTTP_HOST']", and just checked and added the "http://" for parsing URL with parse_url() function.
Please let me know If I am not clear.
Thanks
Comment #14
madhusudanmca commentedAdding review bonus tag.
Comment #14.0
madhusudanmca commentedManual reviewed projects added!!
Comment #15
klausimanual review:
Honestly I don't see the point of such a module on site, you should use more mature and secure solutions such as Aegir.
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #16
madhusudanmca commentedHi Klausi,
Thanks for your valuable inputs!!
1) Suggested warning has been added on project page:
https://drupal.org/sandbox/madhusudanmca/2054335
2) Permission has been changed.
3) I have tested this module on Windows, Linux and Mac servers, but didn't face any issue. I'm sorry to say but unable to understand why it's not working on http://simplytest.me/project/2054335.
Please suggest!!
4) Description has been added on both project page and in README.txt
5) Issue has been rectified.
NB: My main intention behind writing this module was to help users to setup their multisite environment (off course on development environment), because still there are people who doesn't know how to setup multisite environment.
For e.g. you may refer to: https://drupal.org/node/2063777
Thanks
Comment #17
Sean Buscay commentedHello madhusudanmca.
I fixed a couple of spelling and grammar issues for your project's readme file. I have attached a patch. Please take a look to make sure I corrected the wording in a way that kept your intended meaning.
I hope this helps. Good luck with your module.
Comment #18
madhusudanmca commentedHello Sean,
Thanks for your help!!
I have incorporated your suggestions.
Comment #19
tibezh commentedHi
Review of the 7.x-1.x branch
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #20
vivdrupal commentedHow does SN Quick Multisite compare with the OpenScholar project?
https://drupal.org/project/openscholar
Comment #21
madhusudanmca commentedHello All,
Thanks for your inputs!!
All review comments have been incorporated.
Please ignore one warning from http://pareview.sh/pareview/httpgitdrupalorgsandboxmadhusudanmca2054335git , as this variable is populated from included file on line #561 in file "sn_quick_multisite.inc".
Thanks
Comment #22
madhusudanmca commentedHi vivdrupal,
OpenScholar doesn't seems to be a separate module in fact looks like an complete package, which is quite different from SN Quick Multisite.
Thanks
Comment #22.0
madhusudanmca commentedfixed link
Comment #23
madhusudanmca commentedAdding PAReview tag...
Comment #24
kscheirerSeems like a useful module, obviously lots of security concerns. Could you add something to the project page warning that installing this module allows all users with "administer site configuration" quite a lot of power.
----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #25
madhusudanmca commentedHi kscheirer,
Thank you so much for your valuable comments and suggestions!!
I have incorporated all of your suggestions except the number 1, as we have some server side validation for some of form fields and those should be validated when they are visible.
So, I can't opt for State API in this case.
Thanks for your understanding.
Comment #26
kscheirerThanks for those updates. The whitespace on the do/while loop look off, but that's the only problem I see. You've documented that the db user will need very high level of access, so I can't think of anything more that's needed.
----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #27
klausiSorry for the delay, but you forgot to add the "PAReview: review bonus" tag.
manual review:
Otherwise this looks good, so ...
Thanks for your contribution, madhusudanmca!
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 #28.0
(not verified) commentedmanual reviews added