416 Commits

Author SHA1 Message Date
Matt Wright 4f557dac4c Update template a bit 2012-07-10 14:39:43 -04:00
Matt Wright 86447ab0c9 Tiny refactor 2012-07-09 19:10:12 -04:00
Matt Wright 2ed0ea48e6 Add trackable option and make extra features default to off/False to minimize about of application setup to get started 2012-07-09 18:57:43 -04:00
Matt Wright 74e94b2628 Merge branch 'develop' of github.com:mattupstate/flask-security into develop 2012-06-29 13:18:14 -04:00
Matt Wright 2ea835ec9f Add a bunch of doc strings and add some more configuration values 2012-06-29 12:37:22 -04:00
Matt Wright 53dd4f0b1b Add doc strings 2012-06-29 11:29:33 -04:00
David Ignacio 24cd4938a5 correct roles_* decorator signature expectations
Having multiple RoleNeed objects in a Permission does not require
all to be satisfied in order to .can(), but will return True if
any are present.  This makes the previous roles_required logic more
elegant for roles_accepted.  roles_required decorator needs to check
all permissions individually and return only if all permissions exist
2012-06-22 00:15:43 -05: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
Tristan Escalada efc93979d1 Adding back lost role/active functions
some functions must have gotten lost. Added them back.
_do_add_role, _do_remove_role, _do_toggle_active,
_do_deactive_user, _do_active_user, _prepare_role_modify_args
2012-06-18 20:02:35 -04:00
Matt Wright f8cb2a413f Merge branch 'develop' of github.com:mattupstate/flask-security into develop 2012-06-18 16:52:00 -04:00
Matt Wright c20f244d66 Big code cleanup 2012-06-18 16:51:43 -04:00
Tristan Escalada 2655d67f52 Bugfix for generate_reset_password_token
reset_password_token was being mixed with reset_password_sent_at
2012-06-15 16:01:49 -04:00
Tristan Escalada b3a9364a97 Switch from setup_app to init_app for flask_login
new versions of flask_login have setup_app depricated
2012-06-15 16:01:49 -04:00
Matt Wright 5fdfa544db Polish up some code and add some signals 2012-06-15 12:13:49 -04:00
Matt Wright c123e32ddc decorators for basic http auth and token auth 2012-06-14 18:04:14 -04:00
Matt Wright 5b7160c492 Merge branch 'feature/token-authentication' into feature/decorators 2012-06-14 16:37:07 -04:00
Matt Wright 0141b240bc Better... 2012-06-12 12:32:59 -04:00
Matt Wright 727c19b9c0 Fix #13 2012-06-12 12:11:19 -04:00
Matt Wright 90d52c6561 token auth methods 2012-06-11 18:06:47 -04:00
Matt Wright c4ada0d998 add query string and header config 2012-06-08 14:28:38 -04:00
Matt Wright ca25c253d5 Start work on token authentication 2012-06-08 14:17:33 -04:00
Matt Wright e0c7a3deb2 Fix #10 2012-06-06 17:51:14 -04:00
Matt Wright d3202c03ba Fix #11 2012-06-06 17:46:06 -04:00
Matt Wright 2d0c49f4b4 More cleanup 2012-05-24 21:44:50 -04:00
Matt Wright 112c419403 A bit more polish 2012-05-24 21:15:31 -04:00
Matt Wright a47c6b9d55 Polish 2012-05-24 21:07:29 -04:00
Matt Wright 2a9e91dfe8 Added reset password error handling and associated test 2012-05-22 18:13:29 -04:00
Matt Wright 09aa7e113c Heavy work on confirmation and reset 2012-05-22 18:08:38 -04:00
Matt Wright 19cc30a3c1 Fix up form classes and add ResetPasswordFOrm 2012-05-15 18:43:06 -04:00
Matt Wright 0f914d1ea6 Attempting more clean up 2012-05-15 18:14:28 -04:00
Matt Wright 17ea120032 Some more polish. Fix a test 2012-05-15 17:17:38 -04:00
Matt Wright 903b07bfbb Polish 2012-05-15 17:04:42 -04:00
Matt Wright 4f61f58b0d Polish 2012-05-15 17:02:04 -04:00
Matt Wright 4e7663079b Refactor some methods 2012-05-14 18:58:43 -04:00
Matt Wright 4c1a16e2ee Added register signal, some testing utils and basic confirmation 2012-05-11 18:15:46 -04:00
Matt Wright 1a8e6f5cb6 Make datastore find_user method accept different params so a user can be retrieved by other such things such as a confirmation token 2012-05-11 13:57:35 -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 d285764592 Make active be true by default 2012-05-01 12:05:28 -04:00
Matt Wright 9b513ce4ab Polish 2012-05-01 11:19:46 -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 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