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
4ce13cad00
Fix arg list
2022-09-27 16:29:51 +00:00
Sage Vaillancourt
cfcd318011
Call gs directly when compressing PDFs.
...
I.e. avoid unnecessary bash invocation.
2022-09-27 08:32:32 -04: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
0f73db5e45
Add functionality for password-reset emails.
...
Start building up multi-template feature.
Redirect to homepage and display error instead of returning plaintext.
Make usernames case-insensitive.
2022-09-26 01:38:17 +00:00
Sage Vaillancourt
a9c256e74f
Rename latty.py to pdf_builder.py
...
Other small cleanup.
2022-09-23 13:37:37 -04:00