702 Commits

Author SHA1 Message Date
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
Matt Wright f2d5028d7c Prefer form error messages in some instances 2012-08-21 00:59:46 -04:00
Matt Wright 705b73afc1 Form refactoring 2012-08-20 23:40:20 -04:00
Matt Wright 8c533ff12c docs work 2012-08-20 23:35:28 -04:00
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 ebe34005a1 Update docs 2012-08-20 18:25:03 -04:00
Matt Wright 101fa42e55 Only use password salt if using hmac 2012-08-20 18:17:29 -04:00
Matt Wright 332575e53b Fix up 2012-08-20 18:12:46 -04:00
Matt Wright fa4668aa3f Use default values for encrypt_password and verify_password 2012-08-20 17:44:20 -04:00
Matt Wright 3a07970216 Fix up salts and get rid of token serializer as its not used 2012-08-20 17:32:13 -04:00
Matt Wright a3f350f905 Start work on documentation 2012-08-20 17:07:51 -04:00
Matt Wright 8919129c95 Fiddle with templates again 2012-08-17 15:31:37 -04:00
Matt Wright f339018a5e Update template 2012-08-17 15:30:24 -04:00
Matt Wright 433b88e579 Update templates 2012-08-17 15:18:05 -04:00
Matt Wright a4356d786e More clean up 2012-08-17 15:06:54 -04:00
Matt Wright c36fee7fda Clean up 2012-08-17 15:05:22 -04:00
Matt Wright 9c189f9083 Clean up 2012-08-17 14:50:49 -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 b7d71f8c59 Remove old commit param 2012-08-17 12:52:05 -04:00
Matt Wright beff7a246d Add context processors for security blueprint 2012-08-17 11:50:23 -04:00
Matt Wright adb550a9f2 Improve RegisterUserForm 2012-08-16 19:05:42 -04:00
Matt Wright 1c31728a26 Update message 2012-08-16 18:54:45 -04:00
Matt Wright f00f2eff21 Update message 2012-08-16 18:54:38 -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 592003ecb6 Fix error in template 2012-08-16 18:04:34 -04:00
Matt Wright eeace79ef9 Update default login template and add security state to app context processory 2012-08-16 18:03:47 -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 df08355b1d Fix template 2012-08-16 17:28:50 -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