Commit Graph

7 Commits

Author SHA1 Message Date
Sage Vaillancourt 0b6738aad1 Add simple error page and email alerts.
Add error testing page.
Fix email fallback.
Fix some routing issues.
2022-10-02 15:09:16 -04:00
Sage Vaillancourt b86db5c479 A good bit of refactoring.
Also start adding framework for user "tiers".
This refactoring is mostly type-hints and f-strings.
Some functions were also re-organized.
2022-09-28 17:53:32 -04:00
Sage Vaillancourt 3857674244 Put fallbacks in their own file. 2022-09-27 02:47:38 +00:00
Sage Vaillancourt d358c55017 Add basic fallbacks for missing db/email creds.
Fallbacks may eventually warrant their own file.
Use f-strings to format password-reset emails.
Automatically delete email-reset rows after 15 minutes.
 - Cute, but a proper vacuum would likely be more robust.
Remove deprecated FLASK_ENV use.
Use exceptions in generate_pdf()
2022-09-26 17:00:21 -04:00
Sage Vaillancourt ae1a743855 Inform user if password-reset failed to send.
Remove unused db code.
2022-09-26 08:52:42 -04:00
Sage Vaillancourt c262762bdc Add __main__ to email for testing. 2022-09-26 08:40:10 -04:00
Sage Vaillancourt 9df78a9d6f Add email file!
Oops.
2022-09-26 12:24:59 +00:00