2073: Allow testing email settings configuration by sending test email

chris.a.********@gmai***** (Google Code) (Is this you? Claim this profile.)
david
david
June 8, 2014
2637
http://reviews.reviewboard.org/


What version are you running?
1.5.3.1

What's the URL of the page this enhancement relates to, if any?
/admin/settings/email/

Describe the enhancement and the motivation for it.
I'm trying to set up a separate reviewboard email account and configure reviewboard for it. Unfortunately there's no easy way to send a test email or no operation to test the configurations ettings to make sure teh hostname resolves, the credentials work, etc. Right now I'd have to turn on logging and SSH into the box and tail it while generating fake reviews to see what's going on and why it's not working.

What operating system are you using? What browser?
Mac OSX, Chrome 10

Please provide any additional information below.
david
#1 david
  • +Component-EMail
    +Component-Admin
david
#2 david
david
#3 david
  • +EasyFix
#4 su***@hakc**** (Google Code) (Is this you? Claim this profile.)
Trying to fix this.
#5 su***@hakc**** (Google Code) (Is this you? Claim this profile.)
This doesn't seem like an easy fix; changes required to accommodate this functionality possibly include: 

-Changing the actual view for site settings from djblets.

or

-Chris suggested adding a MultiWidget (A button right beside the password field; stuck beside each other). When clicked a a JQuery listener performs an AJAX call in the backend to sanitize. But this approach presents two problems:
--Django doesn't have a native button field/widget.
--If a custom widget is created to overcome the above issue, the JSON data returned from the callback cannot be presented on the view (success/error message) since the view (again) is on djblets.

The only way I see to fix this (keeping in mind the usability) is to make some changes on djblets eventually.
mconley
#6 mconley
Agreed - this is more complicated than it originally sounded. Thanks for investigating.
  • -EasyFix
#7 raja****@gmai***** (Google Code) (Is this you? Claim this profile.)
The "Create repository" page throws an "Authentication Failed" message when a repository that needs authentication but none is provided by the user (when the form is submitted). Can the "Email settings" page be done similarly. 

This would avoid creating custom widget that does an AJAX call and would validate the email settings only on submitting the form.
#8 yane****@gmai***** (Google Code) (Is this you? Claim this profile.)
I've done/seen another thing implemented for FreeNAS (and it uses django as well). I'd like to see this be done.
david
#9 david
  • +Allow testing email settings configuration by sending test email
david
#10 david
  • +PendingReview
  • +david
david
#11 david
Fixed in release-2.0.x (748cdb1). Thanks!
  • -PendingReview
    +Fixed