Sage Vaillancourt
6bb6821d39
Don't use cookie when logged in.
2022-09-29 13:02:09 -04:00
Sage Vaillancourt
04c16b50fe
Flesh out letter-adding.
...
Add new-letter button.
Refactor _formhelpers for increased modularity.
Re-style <select> tags
Invert logo colors on hover.
2022-09-29 16:35:26 +00:00
Sage Vaillancourt
a5704c8c12
Start sketching out add-letter button.
2022-09-29 07:57:13 -04:00
Sage Vaillancourt
1b32206a23
Implement template-switching.
...
Point testing subdomain to port 1111.
Fix busted <div>
2022-09-28 00:45:51 +00:00
Sage Vaillancourt
7d44e7ed16
Show letter selector when anyone is signed in.
2022-09-26 03:39:58 +00: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
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
86563761f2
Add Create Account button to login section
2022-09-24 11:38:15 -04:00
Sage Vaillancourt
3c02ce279e
Tweak login form styling
2022-09-24 12:47:33 +00: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
17494ca4df
Add base jinja template.
2022-09-23 18:55:45 -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
45eb4adff0
Display username when logged in.
2022-09-23 14:14:06 -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