Xevion
311f061b10
Implement CSRF protection & error page
2022-03-29 16:25:30 -05:00
Xevion
f41b83a15f
Apply new form validation features to New Post form
...
- Use TextAreaField instead of StringField on forms.NewPostForm
- Fixed incorrect remember_me field and redirect in login
- Added placeholder usage to field rendering macro
2022-03-29 15:13:00 -05:00
Xevion
8cf2f02772
Implement new Profanity Checker on Form Validation
...
Why am I still up doing this at 3am
2022-03-29 03:00:12 -05:00
Xevion
3b5307ab47
Migrate app to use WTForms for auth form validation
...
- Not finished yet, major styling breakage in this commit
- Also encapsulated GET & POST requests of /login and /signup routes into one route.
2022-03-29 02:30:19 -05:00
Xevion
4968868d3a
Add field rendering Macro for new form validation & add Flask-WTF to Pipfile
2022-03-29 01:30:26 -05:00
Xevion
2973f3ca81
Add profanity filter to comment and post creation
...
- For Heroku, I worry someone might add a racial slur or something. This isn't perfect, but it's good enough.
2022-03-28 18:29:47 -05:00
Xevion
208b9ba674
Fix new post form length filters not redirecting correctly
...
I never ran into this error myself, but I think if we did, it's possible it could have caused some kind of infinite loop. Or it would just error because the form is mapped to POST requests only - unless the browser would take the redirect and send the POST request there - but that wouldn't make sense given it's normal purpose.
2022-03-28 18:17:52 -05:00
Xevion
2d014628e4
Fix circular imports issue by separating SQLAlchemy db instance into database.py
2022-03-28 17:57:52 -05:00
Xevion
6c4b952004
Change all relative imports to standard imports
2022-03-28 17:30:31 -05:00
Xevion
6dfed98ba3
Rename create_app.py to app.py for Gunicorn command
2022-03-28 17:19:11 -05:00
Xevion
8188ce5484
Fix administrator override
2022-03-27 13:19:10 -05:00
Xevion
39f7425cc9
Add administrative bypass to user properties
2022-03-27 11:51:17 -05:00
Xevion
96b4dba73c
Add comment posting form
2022-03-27 11:50:53 -05:00
Xevion
b70e39acfa
Complete feed view, post view, and post form
2022-03-27 11:02:58 -05:00
Xevion
ced2f975ae
Develop shell command for instantiating all DB tables fast, import all models
2022-03-27 09:44:54 -05:00
Xevion
0ce1560468
Add profile name & about-me editing form
2022-03-27 09:38:35 -05:00