Commit Graph

4 Commits

Author SHA1 Message Date
Patrick Melanson d18ff562fc Tweaked exception handling, specifically small screen failures
Changes the dialog window that pops up for any exception to tell
the user to read Python's output (i.e. the stacktrace).
Also, handles the common failure of having too small a window and
trying to create a new ncurses dialog box. There is now a specific
failure message, so people know to make their terminal bigger.

Useful!
2017-12-27 11:48:46 -05:00
Patrick Melanson 4ce53141e0 Use currently-logged-in user to authenticate for mass email sending.
Basically, this commit removes email sending code that asked the
user for a CSC username and email to authenticate to an SMTP server
to send a mass email. Now, we just use the system utility 'sendmail'
to do it, which means you don't have to enter in your email creds
to send a mass email once you're already logged in.

Magic!
2017-09-23 01:24:23 -04:00
Patrick Melanson c812a6634e Quality-of-life improvements to email reminders.
-Tweaked email body wording
-Added To: field
-Added librarian@ as a recipient of reminder emails
-Added a confirmation that emails were sent
-Added ability to cancel email sending (by using cancel button)
-Added a nice confirmation dialog at the end of sending
 reminder emails to keep the librarian's hopes up
2017-07-29 16:46:41 -04:00
Charlie Wang bff0abf3aa Refactor email reminder code
- Pull out email generation into a new module so that the email
message itself can be tested.
- Add a "backdoor" for the email login screen that writes emails to
text files under test_emails/ instead of sending them.
- Add a GNU expect script to automate email reminder testing using
the above features.
2017-02-04 12:21:05 -05:00