Commit Graph

60 Commits

Author SHA1 Message Date
Sage Vaillancourt 396376669c Add basic login/logout forms.
The new forms need better styling.
Remove index_cache.
2022-09-23 15:02:15 -04:00
Sage Vaillancourt 00472d39a3 Merge branch 'main' of https://gitlab.com/sagev9000/undercover into main 2022-09-23 14:14:15 -04:00
Sage Vaillancourt 45eb4adff0 Display username when logged in. 2022-09-23 14:14:06 -04:00
Sage Vaillancourt 6ea74adc90 Redirect to tiny login form on /login GET 2022-09-23 18:13:43 +00:00
Sage Vaillancourt d5be15a827 Handle possibly-missing users. 2022-09-23 14:08:44 -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 a9c256e74f Rename latty.py to pdf_builder.py
Other small cleanup.
2022-09-23 13:37:37 -04:00
Sage Vaillancourt d7efb0d6ad Add favicon. 2022-09-23 12:00:59 -04:00
Sage Vaillancourt 178656c929 Merge remote-tracking branch 'origin/main' into main 2022-09-23 11:36:24 -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