Sage Vaillancourt
8fbaf6e369
Try to pull form filling from database, where possible.
2022-09-24 17:39:10 -04:00
Sage Vaillancourt
88bfdb7530
Fix session variable name
2022-09-24 21:38:00 +00:00
Sage Vaillancourt
b3f56872d7
Add email validation
...
Add a simple error display to base.jinja2
Build a bit of skeleton for saving letters to the DB.
2022-09-24 17:20:38 -04:00
Sage Vaillancourt
32b2455070
Add actual create-account action.
2022-09-23 19:40:07 -04:00
Sage Vaillancourt
a421e25344
Several style improvements.
...
Fix create_account() bug.
Lighter placeholder text.
Fancy black-white-button.
Username -> Email on login/create account forms.
2022-09-23 23:33:20 +00:00
Sage Vaillancourt
c27d4e9189
Added create account page
2022-09-23 18:59:42 -04:00
Sage Vaillancourt
1eab1e9f10
Use unique login username id.
2022-09-23 15:14:24 -04:00
Sage Vaillancourt
6f456fc5ce
Some login/logout fixes
2022-09-23 19:12:07 +00:00
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
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
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