22 Commits

Author SHA1 Message Date
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 245914cc9a Doc polish and such 2012-03-28 11:44:48 -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 5e59ee5c0c Fix doc string 2012-03-12 19:31:38 -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 7376dd353d Fix up activate/deactivate user commands 2012-03-09 17:13:03 -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 8bd1574f5b Add unique indexes to user model 2012-03-09 00:50:57 -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 8657851957 Quick fixup on create_role method 2012-03-08 16:24:24 -05:00
Matt Wright f5db44d0a1 First code commit 2012-03-08 16:03:53 -05:00