Commit Graph

27 Commits

Author SHA1 Message Date
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 4337534437 Script usage additions 2012-07-13 12:24:51 -04:00
Matt Wright a902530773 Refactor forms and import other commonly used functions into package 2012-06-19 11:55:23 -04:00
Tristan Escalada 1731891113 Re-adding current_user
passing current_user from flask-login to __init__.py
2012-06-18 21:30:33 -04:00
Matt Wright c20f244d66 Big code cleanup 2012-06-18 16:51:43 -04:00
Matt Wright 2b587f7047 Starting a large refactor and adding confirmation abilities 2012-05-11 13:23:42 -04:00
Matt Wright 1ae711279e Refactor modules 2012-05-10 12:45:43 -04:00
Matt Wright 5e8b53ef46 Refactor views a bit to keep things cleaner and fix up tests 2012-05-10 12:31:37 -04:00
Matt Wright d6beaa43e3 Fix possible form object scope issue 2012-05-03 18:02:02 -04:00
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