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
Matt Wright
338a9cd717
Use same convention as other methods
2012-07-10 17:28:14 -04:00
Matt Wright
815c8695fc
Code clean upr
2012-07-10 17:24:39 -04:00
Matt Wright
00860c29d0
Remove print statement
2012-07-10 16:23:59 -04:00
Matt Wright
49d3789f98
Fix up remember token
2012-07-10 16:23:20 -04:00
Matt Wright
ab97e736d9
Remove forms from config, pretty sure there's a better way to do this or its not necessary
2012-07-10 15:57:16 -04:00
Matt Wright
4d5fa05711
Remove flask-principal session storage in favor of useing flask-login current_user since it does session persistence for us
2012-07-10 15:39:10 -04:00
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
9bba330f2c
Fix README.rst typo
2012-07-09 18:58:31 -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
Matt Wright
d7dd454044
Merge pull request #22 from deignacio/develop
...
correct roles_* decorator signature expectations
2012-06-22 07:14:08 -07: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
e67cbee1d5
Oops, 2.5 not 2.6
2012-06-20 17:12:07 -04:00
Matt Wright
0a8ee87319
Try using an older version of mongoengine during build to get python 2.5 tests to pass
2012-06-20 16:51:09 -04:00
Matt Wright
7f2a05c364
Try and fix an issue with python 2.5
2012-06-20 16:35:36 -04:00
Matt Wright
5034e7b4f6
Add test methods that are missing for Python versions < 2.7
2012-06-20 16:21:35 -04:00
Matt Wright
10322602da
Update build
2012-06-20 15:53:44 -04:00
Matt Wright
a7016c1cfa
Update build and dependencies
2012-06-20 15:36:44 -04:00
Matt Wright
442afd07f6
Update travis build
2012-06-20 10:44:17 -04:00
Matt Wright
022a6e5159
Update travis config
2012-06-19 16:29:23 -04:00
Matt Wright
a4622002d9
Update README.rst
2012-06-19 15:21:13 -04:00
Matt Wright
babcb6e987
Rename to rst
2012-06-19 15:17:40 -04:00
Matt Wright
e61b4e47f5
More travis stuff
2012-06-19 15:02:28 -04:00
Matt Wright
3044d8a5ba
Add travis
2012-06-19 14:51:06 -04:00
Matt Wright
a902530773
Refactor forms and import other commonly used functions into package
2012-06-19 11:55:23 -04:00
Matt Wright
1f7c2625f7
Merge pull request #19 from tescalada/develop
...
Adding back lost role/active functions
2012-06-19 07:34:59 -07: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
421cf410a2
Specify dependency versions in setup.py
2012-06-18 16:58:56 -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
Matt Wright
cd35384ae8
Merge pull request #16 from tescalada/develop
...
bug fixes
2012-06-15 13:07:09 -07: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