Commit Graph

8 Commits

Author SHA1 Message Date
Sage Vaillancourt e2be735d3f Small create_app() re-org 2022-10-02 16:25:23 -04:00
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 82faabd34a Remove previous css minification 2022-09-28 02:00:34 +00:00
Sage Vaillancourt 777575619c Add and use Flask-Minify. 2022-09-28 01:55:10 +00:00
Sage Vaillancourt aa212e2f1f Add secret key fallback with warning. 2022-09-24 10:25:04 -04:00
Sage Vaillancourt 6c56b17dfc Start toying with logins.
Use SECRET_KEY from environment.
Remove (I believe) unnecessary config information.
2022-09-23 13:59:43 -04:00
Sage Vaillancourt ff659db77f Some project re-org, and add pytest.
Rename flaskr/ to undercover/
Rename writing_templates/ to letter_templates/
Put db testing code into __main__ check
Break css optimization into its own file and add simple testing.
Rename writing.py to routes.py.
Move cached index directly into routes.py
2022-09-23 11:35:56 -04:00