Xevion
311f061b10
Implement CSRF protection & error page
2022-03-29 16:25:30 -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
c4b22b8632
Attempt to fix database not creating tables
2022-03-28 18:04:45 -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
3ea945b99f
Add psycopg2 to Pipfile for SQLAlchemy Postgresql support
...
I'm not sure why this isn't installed automatically, but I guess in order to make sure tons of unused dependencies aren't installed on machines that don't need them as well as all the errors that crop up, it wasn't added.
As a user who's simply using it for deployment and didn't need it for local development, I suppose this is what happens.
2022-03-28 17:41:54 -05:00
Xevion
f5f6f13756
Fix Heroku using now deprecated Postgres DB URI for SQLAlchemy
2022-03-28 17:36:21 -05:00
Xevion
6c4b952004
Change all relative imports to standard imports
2022-03-28 17:30:31 -05:00
Xevion
e6db061500
Fix Gunicorn not finding app in app.py due to __name__ check
2022-03-28 17:27:16 -05:00
Xevion
6dfed98ba3
Rename create_app.py to app.py for Gunicorn command
2022-03-28 17:19:11 -05:00
Xevion
fcac137046
Refactor and merge Zach's work into main
2022-03-26 21:50:07 -05:00
Xevion
19e582f72e
Add template control flow to display login & sign or username
...
- Also commit the relevant TTF font for the myspace logo in the previous commit
2022-03-26 20:14:03 -05:00
Xevion
e3d4a75ec7
Add essential Runnerspace styling & front page routes [empty]
2022-03-26 19:05:26 -05:00
Xevion
0b140fc9da
Initial Commit
2022-03-26 16:38:52 -05:00