defaultnamehere / tinder-detective

Find your Facebook friends' Tinder profiles. Don't actually use this by the way that's weird. Not even in a good way.
MIT License
701 stars 60 forks source link

Presents error messages to the user without the use of werkzeug debug messages. In addition, users can create the SECRETS.json file via a web form provided if the file does not already exist. #32

Open KillianDavitt opened 8 years ago

KillianDavitt commented 8 years ago

Creation of the secrets file

One additional endpoint '/create_secret' which the user can post to from a provided web form to create the SECRETS.json file. This is a more user friendly way of creating the file.

A user is presented with the web form if the file does not already exist.

Templates

templates are now separated with a base.html providing the styling and 2 separate other html files providing the content for the pages.

Error messages

If there is a problem with the users auth details and the api cannot login, then, the user is presented with a error message in a fashion that fits the style of the site and no longer via a werkzeug error message. Because of this, debug has been turned off as it is not neccesary if the user is not engaging in further development of the app.