Commit Graph

172 Commits

Author SHA1 Message Date
Matt Wright 49bebcdd7b Code cleanup 2012-08-14 12:14:19 -04:00
Matt Wright 4238a7f704 Update docs a bit 2012-08-14 12:14:08 -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 a89f43a1b7 Fix build 2012-07-19 17:08:06 -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 aee3d30e50 Remove required flask-mail dependency. Let users install it themselves if features require it. Also need to wait till newer version is released 2012-07-19 17:04:48 -04:00
Matt Wright dbd0b7b23b House keeping 2012-07-19 12:20:04 -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 d5c6e4eb58 Update example/test app 2012-07-16 19:11:18 -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 54da59f003 Clean up 2012-07-13 16:11:25 -04:00
Matt Wright 507de82aba Update docs 2012-07-13 16:06:10 -04:00
Matt Wright fcab270f25 Include templates 2012-07-13 16:06:02 -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
Matt Wright 7212e20a76 no pypy 2012-07-13 13:42:34 -04:00
Matt Wright e570997ea0 Remove flag, its meant for testing 2012-07-13 12:26:58 -04:00
Matt Wright 4337534437 Script usage additions 2012-07-13 12:24:51 -04:00
Matt Wright 7b624b8622 Bring back scripts 2012-07-13 12:23:48 -04:00
Matt Wright 3cd20f0e33 Clean up 2012-07-13 12:02:43 -04:00
Matt Wright cc9832653a See if pypy passes 2012-07-13 10:40:07 -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 aba98a3a03 clean up 2012-07-12 14:25:44 -04:00
Matt Wright e9b49b8e9e clean up 2012-07-12 14:25:10 -04:00
Matt Wright dcdfb4d3e7 Add configurable http auth realm and optional realm specification in http_auth_required decorator 2012-07-12 14:16:54 -04:00
Matt Wright a2d31d1d8d Add configurable default http auth header 2012-07-12 13:24:59 -04:00
Matt Wright 2e9c62b4f8 Refactor decorators a bit 2012-07-12 13:15:58 -04:00
Matt Wright dfcb3cdcc6 Add customizable unauthorized URL. Fixes #23 2012-07-12 12:47:21 -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 ddc503d296 Mising comma 2012-07-11 17:02:44 -04:00
Matt Wright e7bd1533c4 Move it 2012-07-11 16:38:26 -04:00
Matt Wright f35fa7f4d0 Update dependency 2012-07-11 16:34:00 -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 b3de4a76d5 refactor a bit 2012-07-11 15:14:20 -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 703487e608 Move things around for aesthetic reasons 2012-07-10 17:29:43 -04:00