Commit Graph

58 Commits

Author SHA1 Message Date
Matt Wright bebaac49e3 Forgo redirecting authentication endpoint so that login form errors can be displayed 2012-08-20 23:35:17 -04:00
Matt Wright 2bd19f999d Code cleanup 2012-08-17 14:46:30 -04:00
Matt Wright a39f46854e Significant design change: commit data after some requests to avoid multiple database hits when using SQLALchemy 2012-08-17 13:19:40 -04:00
Matt Wright beff7a246d Add context processors for security blueprint 2012-08-17 11:50:23 -04:00
Matt Wright dec858dae9 Add registration message 2012-08-16 18:53:27 -04:00
Matt Wright d87676027e Fix some redirect rules 2012-08-16 18:42:37 -04:00
Matt Wright 704af1011a Fix up forms to grab values in certain cases 2012-08-16 18:31:32 -04:00
Matt Wright 96e11916af Always redirect to login view and not referrer 2012-08-16 18:23:24 -04:00
Matt Wright 009671090f Clean up and bug improvements 2012-08-16 18:20:42 -04:00
Matt Wright 8b139890b4 Add useful decorator for ensuring anonymous users on particular endpoints 2012-08-16 17:53:41 -04:00
Matt Wright 81ba459fc3 Change function name 2012-08-16 17:27:04 -04:00
Matt Wright 1d8b2f8342 Change urls/views to be (subjectively) simpler 2012-08-16 17:25:24 -04:00
Matt Wright 1d378a6827 Add login to security blueprint 2012-08-16 15:18:49 -04:00
Matt Wright 2fcfb80e8e Refactor templates and added url_for_security utility. Can also configure the blueprint name. 2012-08-16 13:41:13 -04:00
Matt Wright ac674ecd86 Fix some messaging 2012-08-15 19:33:23 -04:00
Matt Wright bb91c4a81a Fix flash messages and fix password reset 2012-08-15 19:22:24 -04:00
Matt Wright 7554a52732 Cleanup and some more messaging additions 2012-08-15 11:56:26 -04:00
Matt Wright 318cb3dc6e First commit of passwordless login 2012-08-14 19:01:49 -04:00
Matt Wright ce6c5dcf31 Clean up 2012-08-14 16:59:05 -04:00
Matt Wright 68b0410d1b No need to keep authentication token in DB 2012-08-14 16:21:31 -04:00
Matt Wright 05bd2a5aae Full test coverage! 2012-08-14 15:57:07 -04:00
Matt Wright 404e797cd9 Add more test coverage 2012-08-14 14:18:20 -04:00
Matt Wright a9727ceaa6 Refactor login_user and logout_user to be a utility method, thus it can be reused if necessary 2012-07-23 18:28:13 -04:00
Matt Wright f170cb434c Use a stateful object instead of arbitrary assignment of extension on app object 2012-07-16 19:07:19 -04:00
Matt Wright 4337534437 Script usage additions 2012-07-13 12:24:51 -04:00
Matt Wright 3cd20f0e33 Clean up 2012-07-13 12:02:43 -04:00
Matt Wright 1d86d33b0b Add category for messages 2012-07-12 15:39:35 -04:00
Matt Wright 18c7a838b0 Make most messages configurable 2012-07-12 15:24:57 -04:00
Matt Wright 3df4c4d14a Clean up 2012-07-12 14:41:54 -04:00
Matt Wright ed8082868f Simplify exceptions 2012-07-12 14:40:20 -04:00
Matt Wright 8d1bdca1de Change password reset view to use packaged template 2012-07-12 12:18:08 -04:00
Matt Wright da031b8d15 Simplify routing a tiny bit 2012-07-12 11:29:42 -04:00
Matt Wright 0befa34dc8 Trying to fix build, I don't think Travis likes the quickness of the token expiration tests 2012-07-11 18:26:10 -04:00
Matt Wright e7bd1533c4 Move it 2012-07-11 16:38:26 -04:00
Matt Wright 5e1d18c9e8 Changed token auth a bit, including the use of itsdangerous. Also added JSON authentication feature 2012-07-11 16:31:21 -04:00
Matt Wright b9a6a9c5a8 Use itsdangerous for activation and password reset tokens so they do not need to be stored in the database 2012-07-11 15:06:54 -04:00
Matt Wright 815c8695fc Code clean upr 2012-07-10 17:24:39 -04:00
Matt Wright 49d3789f98 Fix up remember token 2012-07-10 16:23:20 -04:00
Matt Wright ab97e736d9 Remove forms from config, pretty sure there's a better way to do this or its not necessary 2012-07-10 15:57:16 -04:00
Matt Wright 86447ab0c9 Tiny refactor 2012-07-09 19:10:12 -04:00
Matt Wright 2ed0ea48e6 Add trackable option and make extra features default to off/False to minimize about of application setup to get started 2012-07-09 18:57:43 -04:00
Matt Wright 2ea835ec9f Add a bunch of doc strings and add some more configuration values 2012-06-29 12:37:22 -04:00
Matt Wright c20f244d66 Big code cleanup 2012-06-18 16:51:43 -04:00
Matt Wright 5fdfa544db Polish up some code and add some signals 2012-06-15 12:13:49 -04:00
Matt Wright d3202c03ba Fix #11 2012-06-06 17:46:06 -04:00
Matt Wright 112c419403 A bit more polish 2012-05-24 21:15:31 -04:00
Matt Wright 2a9e91dfe8 Added reset password error handling and associated test 2012-05-22 18:13:29 -04:00
Matt Wright 09aa7e113c Heavy work on confirmation and reset 2012-05-22 18:08:38 -04:00
Matt Wright 19cc30a3c1 Fix up form classes and add ResetPasswordFOrm 2012-05-15 18:43:06 -04:00
Matt Wright 0f914d1ea6 Attempting more clean up 2012-05-15 18:14:28 -04:00