Closed (fixed)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2013 at 20:08 UTC
Updated:
30 Aug 2013 at 14:01 UTC
Allows managing of external databases through a user interface in Drupal that allows the external database managed by aed to be included in or removed from the settings.php file. This is designed for developers that must frequently add and remove databases for various development testing situations. While it is stable for production, this module is intended for development installations, not for production Drupal installations.
I have found no similar modules.
Project page: https://drupal.org/sandbox/kwfinken/2022339
git clone --branch 7.x-1.x kwfinken@git.drupal.org:sandbox/kwfinken/2022339.git aed
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxkwfinken2022339git
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 #2
kwfinken commentedFinal errors from PAReview corrected.
Comment #3
LoyC commented1. There is screenshot image in module folder, you should remove that.
2. You should use t() for all markup text.
3. Use drupal style tables with theme_table();
4. Can't install module on clean drupal 7.22.
Comment #4
kwfinken commentedLoyC,
Thank you for the feedback. All of your issues have been addressed:
1) image removed
2) All markup uses t() except markup that is only displaying a variable value.
3) Tables now use Drupal theme_table()
4) I had no issues installing on a clean 7.22. What issues did you encounter so that I can address them?
Comment #5
LoyC commentedI checked module and clicked Save configuration, page just refreshed and module was not installed.
Tried with new version and this time it was installed successfully. Dunno what was wrong the first time.
Comment #6
bogdanru commentedHi,
In aed.install for deleting variables you should use something like this:
This way, if you will add another global to your module, you will not have to modify install file.
Cheers.
Comment #7
kwfinken commentedChanges suggested by bogdanru incorporated into code. (Thank you for the excellent suggestion!)
Comment #8
Vasiliy Grotov commentedHey.
aed_menu()
aed_edit_form()
aed_form()
Thank you.
Comment #9
kwfinken commentedRedundant MENU_NORMAL_ITEM removed.
Page implementation split.
queries changed to dynamic.
Extraneous calls to user_access removed.
Comment #10
kwfinken commentedComment #11
wwedding commentedLooks pretty good to me; it's a shame the approval has taken so long considering this module is actually quite simple.
I haven't really encountered the need for multiple DBs in any of the work I've done so far, but the less direct fussing with the settings.php that I have to do while developing, the better.
Any comments I can make are kind of minor quibbles or maybe even feature requests (#2054127: Check if DB Actually Can be Connected)!
On line 293 of aed.module.inc you should put brackets around the table name so that prefixing automatically happens if necessary. Since this isn't a production module maybe that can slide, but I think you should fix that at some point.
Update: Got fixed. #2054149: Curly Braces around table name in query string are missing
Comment #12
kwfinken commentedThank you for looking at it. I will implement some sort of DB check in a week or two (I think it is a great idea!). Right now we are in the middle of a major project rollout so my attention is focused there.
Comment #13
klausiI'll look at this now in the Project applications sprint
Comment #14
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.
Review of the 7.x-1.x branch:
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.
manual review:
<script>alert('XSS');</script>then I get a nasty javascript popup on the overview page. You need to sanitize user provided text before printing. Make sure to read https://drupal.org/node/28984 again. This is not a security blocker because the high level "administer site configuration" permission is necessary to inject the malicious code, which is a site owning permission anyway. Should still be fixed anyway!Not critical application blockers, so ...
Thanks for your contribution, kwfinken!
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.