Commit Graph

143 Commits

Author SHA1 Message Date
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
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 1b505d0f39 Update default templates 2012-08-15 19:22:06 -04:00
Matt Wright ec05b30106 Get rid of silly print statement 2012-08-15 17:23:42 -04:00
Matt Wright 80144c85a1 Fix bug with an invalid remember_token cookie value 2012-08-15 17:06:07 -04:00
Matt Wright bee5f1cbe9 Update version number 2012-08-15 15:36:47 -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 0524271573 Clean up 2012-08-14 16:38:31 -04:00
Matt Wright f3dff9e496 Clean up 2012-08-14 16:37:56 -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 e9adf91a27 More and more test coverage 2012-08-14 14:27:58 -04:00
Matt Wright 404e797cd9 Add more test coverage 2012-08-14 14:18:20 -04:00
Matt Wright 58e2856612 No need to store remember_token in DB 2012-08-14 13:52:30 -04:00
Matt Wright 49bebcdd7b Code cleanup 2012-08-14 12:14:19 -04:00
Matt Wright 782d6d7e89 PEP 8... 2012-07-23 18:35:37 -04:00
Matt Wright 7355a741b3 Fix build 2012-07-23 18:34:36 -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 39670ac84e Fix state a bit 2012-07-19 17:39:55 -04:00
Matt Wright 78b2eb8b18 Remove stray print statement 2012-07-19 17:39:47 -04:00
Matt Wright 8829692295 Refactor state management 2012-07-19 17:05:13 -04:00
Matt Wright eb388ad04f Add RuntimeError to send_mail function 2012-07-19 17:05:06 -04:00
Matt Wright 68dd972bfa Add more secure password storage via salt value and hmac 2012-07-18 13:27:30 -04:00
Matt Wright 1c606a242a Adjust state 2012-07-16 19:40:34 -04:00
Matt Wright e23581e260 Polish 2012-07-16 19:34:33 -04:00
Matt Wright 3899980b2b Not using these 2012-07-16 19:08:22 -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 507de82aba Update docs 2012-07-13 16:06:10 -04:00
Matt Wright 42bffc4234 Fix templates 2012-07-13 16:05:40 -04:00
Matt Wright 7db68da8c6 Remove unnecessary string formatting 2012-07-13 16:05:25 -04:00
Matt Wright 0a0b5ecade Get rid of login_required decorator from roles_required and roles_accepted in order to be able to pair http_auth_required with roles_required or roles_accepted. Just be sure to put http_auth_required first. 2012-07-13 13:50:36 -04:00