Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2014 at 03:59 UTC
Updated:
18 Apr 2015 at 22:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
HDaniel commentedComment #2
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxgi40k2219655git
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
HDaniel commentedThanks, PA robot. I addressed these issues.
Comment #4
phoang commentedI installed module and tried to Add site monitor and got error message as below:
I think you should put required for Search text field if it's necessary or remove verification for empty field.
Please see my attachment for more detail.
Comment #5
phoang commentedComment #6
HDaniel commentedHi phoang,
Thank you for reviewing. This is actually intentional, because the 'search text' field is only used if you select the 'text match' or 'regex match' check type.
If I make the field required, the user will be required to fill it in even when the value is not used for anything (which is the case if you select 'Status check'). On the other hand, if I remove the verification, someone might end up with a configuration that gives false positives (doing a text match agains an empty text).
Comment #7
phoang commentedA required field without a "*" is a negative point for UX.
In in that case, it would reduce the confusing for user by set "Status check" is the default option rather than Text match/Regex match first. A recommend solution is set visibility for field search_text base on the selection of field type.
Case Status check - hide Search text field
Case Text match/Regex match - show Search text field
Hope this help,
Comment #8
HDaniel commentedI updated the form such that the search_text field is visible and required only when the appropriate option is selected, but not otherwise. Thanks for the tip.
Comment #9
izus commentedHi,
i read the code and it seems good for me.
For more readability, i would prefer ading a new php variable instead of using the ternary conditional statement inside drupal_mail.
!empty($site_alerts_monitor->recipient) ? $site_alerts_monitor->recipient : variable_get('site_mail', '')Comment #10
HDaniel commentedI made this refinement to the code. Thanks for reviewing.
Comment #11
izus commentedit seems good for me.
Thanks
Comment #12
kscheirerPossibly blocking, duplication:
Non-blocking issues:
$site_alerts_monitor->status = $alive ? 1 : 0return ($response->code == 200), you're always returning the value of the if condition anywayChecked for security, licensing, Drupal API, individual account, no major issues found.
Comment #13
kreynen commentedIn addition to the existing site monitoring modules, there is already https://www.drupal.org/sandbox/cecrs/2340909. #2341009: [D7] Site Alert has been RTBC for > 3 months. Assuming these project reviews are handled in order (which I know is not safe to assume), it would be unnecessarily confusing to approve both site_alert and site_alerts.
Comment #14
kscheirerWell, confusing names for sure, but as far as I can tell
So I think we're safe from duplication between those two, though their names are very similar.
Comment #15
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.