Commit Graph

284 Commits

Author SHA1 Message Date
Matt Wright e1dbed816c Simplify login form a bit 2012-09-19 01:22:09 -04:00
Matt Wright e423390050 Simplify login form to only include one relevant error message 2012-09-18 23:49:44 -04:00
Matt Wright 338f04b2f2 polish 2012-09-16 23:01:35 -04:00
Matt Wright fca7120210 Get rid of unnecessary anonymous_user_required decorators 2012-09-16 23:00:10 -04:00
Matt Wright 826cc0d685 Change services 2012-09-16 22:27:21 -04:00
Matt Wright 90b4c58457 Fix build, hopefully 2012-09-16 22:23:04 -04:00
Matt Wright 857f135748 Add mongodb service to Travis 2012-09-16 22:15:25 -04:00
Matt Wright a0ed846a59 Remove print statement 2012-09-16 22:11:49 -04:00
Matt Wright 6c189f331f Allow users to be registered with JSON/ajax calls 2012-09-16 22:01:40 -04:00
Matt Wright 1f8fb48727 a bit of code polish and an attempt to speed up the tests 2012-09-16 16:43:28 -04:00
Matt Wright 96f2be056d Move anonymous_user_required to decorators 2012-09-16 16:05:24 -04:00
Matt Wright 8bdd464239 Add form to namespace 2012-09-16 16:05:06 -04:00
Matt Wright c1141b57fa Add ability to not register blueprint on app. Useful if combining apps such as an API layer and a frontend where the API is not concerned with rendering templates or handling traditional auth 2012-09-11 17:51:20 -04:00
Matt Wright 364646fc6b Fix register_user.html 2012-09-10 18:14:27 -04:00
Matt Wright fdcce53823 Update build since Flask-Mail moved 2012-09-10 17:54:31 -04:00
Matt Wright d8e6ae41f1 Dropping 2.5 support for now due to WTForms 2012-08-28 16:55:43 -04:00
Matt Wright 2042b8aa4c Fixes #34 2012-08-28 16:25:20 -04:00
Matt Wright f928db298d Refactor datastore implementation 2012-08-24 11:38:25 -04:00
Matt Wright da9f683c22 Update docs a bit 2012-08-24 00:48:14 -04:00
Matt Wright 4e41f4ec5e Polish up tests 2012-08-24 00:47:41 -04:00
Matt Wright 7ddc132af5 Update script commands a bit 2012-08-24 00:47:07 -04:00
Matt Wright 23cc774f96 Add error for bad configuration 2012-08-24 00:27:22 -04:00
Matt Wright bac04a0f3c remove more unnecessary code 2012-08-23 23:48:55 -04:00
Matt Wright f1c52d01aa Even more polish 2012-08-23 20:56:13 -04:00
Matt Wright b052e09cd6 Polish 2012-08-23 20:47:48 -04:00
Matt Wright bdf61b146c Remove unnecessary exceptions file and more clean up 2012-08-23 20:39:43 -04:00
Matt Wright 6322b4cbe1 Clean up 2012-08-23 20:37:27 -04:00
Matt Wright 6e754ed356 Major refactoring. Got rid of exceptions/errors in favor of using simple return values. Update tests to ensure full coverage according to nose coverage plugin 2012-08-23 17:58:33 -04:00
Matt Wright 5a4fb94be3 Make confirm endpoint anonymous only and get rid of invalid test 2012-08-23 15:03:13 -04:00
Matt Wright 57595bbab4 Refactor forms and views a bit. Add more validation to forms 2012-08-23 14:56:35 -04:00
Matt Wright b0b09aea49 Add ability to define a send_mail_task which could be used to send mails instead of the default flask-mail plugin. Could also be used to send mail asynchronously. Make flask-mail required as well. 2012-08-23 13:01:11 -04:00
Matt Wright 1af774dcb7 Remove unused exceptions 2012-08-23 12:54:46 -04:00
Matt Wright b65b717fbc Polish 2012-08-22 18:01:31 -04:00
Matt Wright c55993fe88 Update docs 2012-08-22 17:25:40 -04:00
Matt Wright 7361114ccb Update documentation a bit 2012-08-22 17:12:00 -04:00
Matt Wright 68648c299f Change some names 2012-08-22 16:55:31 -04:00
Matt Wright 8465fc4818 Add mail context processory 2012-08-22 16:42:32 -04:00
Matt Wright dc39eb58c7 Fix test 2012-08-22 16:37:17 -04:00
Matt Wright 5964a99e57 Clean up 2012-08-22 16:37:07 -04:00
Matt Wright 53257c17a9 Update send_mail api and add welcome email for user registration. Also add security state to template context for emails for more complex template rendering. 2012-08-22 15:15:39 -04:00
Matt Wright 86adcf0653 Fix build 2012-08-22 12:06:21 -04:00
Matt Wright 2471ba0db8 Move example app, which was a bad example, to the tests namespace. Its what it was used for anyway. A better example will be provided later 2012-08-22 12:00:46 -04:00
Matt Wright 17416cb535 Always encrypt password when creating a user 2012-08-21 18:55:42 -04:00
Matt Wright eec0e23620 Remove old test 2012-08-21 17:35:19 -04:00
Matt Wright d3c23c1994 Polish 2012-08-21 17:34:38 -04:00
Matt Wright 58685f2bb4 Decent clean up. Get rid of AuthProvider class in favor of keeping it simple 2012-08-21 17:04:41 -04:00
Matt Wright 25e9d02a8a clean up 2012-08-21 11:52:49 -04:00
Matt Wright 66c565a72f Register mail as extension, for now 2012-08-21 11:38:24 -04:00
Matt Wright 24f02a76f5 Update docs 2012-08-21 01:51:17 -04:00
Matt Wright 828a973339 Add already confirmed scenario. Let datastore work without a request context 2012-08-21 01:50:40 -04:00