wuvt / wuvt-site

Website including a CMS, playlist information, and donation management tools
https://www.wuvt.vt.edu
GNU Affero General Public License v3.0
11 stars 12 forks source link

Switch to Flask-WTF in a few places #257

Closed mutantmonkey closed 7 years ago

mutantmonkey commented 7 years ago

I haven't gotten around to some of the other forms yet, but I figured I would go ahead and submit this.

Flask-WTF's CSRF extension works as a drop-in replacement for SeaSurf, so we can get rid of that.

The Trackman pre-auth forms (register and reactivate) now use Flask-WTF and have better validation so that DJs won't trigger 500 errors if they try to enter information that is too long.

echarlie commented 7 years ago

On some quick testing: I don't know how often it will be an issue, but root@localhost is no longer a valid email to trackman

mutantmonkey commented 7 years ago

The Stripe version bump is minor enough that I figured I'd cover it in this.

I'm not sure what kind of explanation you want regarding the error handling...