Commit Graph

18 Commits

Author SHA1 Message Date
Matt Wright ed7beb529a First commit of refactored code and removed default models. Now meant to provide models from app level, not within Flask-Security 2012-04-30 19:34:04 -04:00
Matt Wright ab08abcaf9 Fix #4 2012-04-27 13:37:50 -04:00
Matt Wright 0acf4bca0d remove __version__ because it was causing problems with installation from pypi 2012-04-04 12:16:00 -04:00
Matt Wright 201ee5b708 Merged user-account-mixin branch 2012-03-28 11:08:41 -04:00
Matt Wright 744ded7f1b Consolidate version number in one place 2012-03-27 18:49:01 -04:00
Matt Wright 5a7f4dff47 Initial idea for specifying a user account mixin for user model 2012-03-27 14:27:12 -04:00
Matt Wright d11ac8e977 Added documentation for models 2012-03-12 21:57:09 -04:00
Matt Wright 86f072628a Added new config value "SECURITY_FLASH_MESSAGES" 2012-03-12 19:26:42 -04:00
Matt Wright 65eac687b7 Added a bunch of code documentation 2012-03-12 17:07:21 -04:00
Matt Wright df627363fd Polish 2012-03-09 19:28:08 -05:00
Matt Wright 4559268c05 Added some tests, which are always good. Right? 2012-03-09 19:19:19 -05:00
Matt Wright e239216d92 Added a few handy commands for Flask-Script to create users and add/remove roles. Also refactored the datastore a bit with appropriate methods 2012-03-09 16:31:05 -05:00
Matt Wright 1a6cd10d09 Changed configuration values to use the prefix "SECURITY_" instead of a nested dictionary for easier overidding 2012-03-08 23:02:39 -05:00
Matt Wright 9c8b8b8e39 Polish 2012-03-08 17:36:08 -05:00
Matt Wright 7ea3929718 Redirect to referrer only if the user is logged in or authenticated 2012-03-08 17:28:56 -05:00
Matt Wright dc97dd39d3 Instead of redirecting to login view, simply redirect to the referrer and flash a message since the user is already logged in 2012-03-08 17:27:28 -05:00
Matt Wright ebe807b87b MongoEngine datastore completed. Also refactored model classes to use a mixin 2012-03-08 17:06:23 -05:00
Matt Wright f5db44d0a1 First code commit 2012-03-08 16:03:53 -05:00