Matt Wright
|
e9b40a12c8
|
Fix for Python 2.6
|
2013-01-14 00:26:46 -05:00 |
|
Matt Wright
|
6adc26a897
|
Get rid of strftime in favor of total_seconds. Fixes #67
|
2013-01-09 14:02:42 -05:00 |
|
Christophe Simonis
|
a89b76d648
|
do not break API. add a new function to verify and update password
|
2013-01-08 01:01:02 +01:00 |
|
Christophe Simonis
|
d0497fc886
|
update password automatically
|
2013-01-08 00:49:20 +01:00 |
|
Eskil Heyn Olsen
|
675b29b4fe
|
Minor style fixes
|
2013-01-06 14:40:09 -08:00 |
|
Eskil Heyn Olsen
|
ae6f3b6753
|
Document and unit-test the signals.
Adds description of signals to docmentation. Adds unit-tests of
signal behaviour and tests parameters.
|
2013-01-06 14:12:18 -08:00 |
|
Matt Wright
|
ee4c8f2a3f
|
Fix login_user method to actually return a True or False value as mentioned in mattupstate/flask-social-example#8
|
2012-12-11 15:10:26 -05:00 |
|
Matt Wright
|
1f8fb48727
|
a bit of code polish and an attempt to speed up the tests
|
2012-09-16 16:43:28 -04:00 |
|
Matt Wright
|
96f2be056d
|
Move anonymous_user_required to decorators
|
2012-09-16 16:05:24 -04:00 |
|
Matt Wright
|
f928db298d
|
Refactor datastore implementation
|
2012-08-24 11:38:25 -04:00 |
|
Matt Wright
|
23cc774f96
|
Add error for bad configuration
|
2012-08-24 00:27:22 -04:00 |
|
Matt Wright
|
bac04a0f3c
|
remove more unnecessary code
|
2012-08-23 23:48:55 -04:00 |
|
Matt Wright
|
6322b4cbe1
|
Clean up
|
2012-08-23 20:37:27 -04:00 |
|
Matt Wright
|
6e754ed356
|
Major refactoring. Got rid of exceptions/errors in favor of using simple return values. Update tests to ensure full coverage according to nose coverage plugin
|
2012-08-23 17:58:33 -04:00 |
|
Matt Wright
|
b0b09aea49
|
Add ability to define a send_mail_task which could be used to send mails instead of the default flask-mail plugin. Could also be used to send mail asynchronously. Make flask-mail required as well.
|
2012-08-23 13:01:11 -04:00 |
|
Matt Wright
|
8465fc4818
|
Add mail context processory
|
2012-08-22 16:42:32 -04:00 |
|
Matt Wright
|
53257c17a9
|
Update send_mail api and add welcome email for user registration. Also add security state to template context for emails for more complex template rendering.
|
2012-08-22 15:15:39 -04:00 |
|
Matt Wright
|
101fa42e55
|
Only use password salt if using hmac
|
2012-08-20 18:17:29 -04:00 |
|
Matt Wright
|
fa4668aa3f
|
Use default values for encrypt_password and verify_password
|
2012-08-20 17:44:20 -04:00 |
|
Matt Wright
|
9c189f9083
|
Clean up
|
2012-08-17 14:50:49 -04:00 |
|
Matt Wright
|
2bd19f999d
|
Code cleanup
|
2012-08-17 14:46:30 -04:00 |
|
Matt Wright
|
beff7a246d
|
Add context processors for security blueprint
|
2012-08-17 11:50:23 -04:00 |
|
Matt Wright
|
8b139890b4
|
Add useful decorator for ensuring anonymous users on particular endpoints
|
2012-08-16 17:53:41 -04:00 |
|
Matt Wright
|
1d8b2f8342
|
Change urls/views to be (subjectively) simpler
|
2012-08-16 17:25:24 -04:00 |
|
Matt Wright
|
2fcfb80e8e
|
Refactor templates and added url_for_security utility. Can also configure the blueprint name.
|
2012-08-16 13:41:13 -04:00 |
|
Matt Wright
|
318cb3dc6e
|
First commit of passwordless login
|
2012-08-14 19:01:49 -04:00 |
|
Matt Wright
|
68b0410d1b
|
No need to keep authentication token in DB
|
2012-08-14 16:21:31 -04:00 |
|
Matt Wright
|
05bd2a5aae
|
Full test coverage!
|
2012-08-14 15:57:07 -04:00 |
|
Matt Wright
|
58e2856612
|
No need to store remember_token in DB
|
2012-08-14 13:52:30 -04:00 |
|
Matt Wright
|
782d6d7e89
|
PEP 8...
|
2012-07-23 18:35:37 -04:00 |
|
Matt Wright
|
7355a741b3
|
Fix build
|
2012-07-23 18:34:36 -04:00 |
|
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
|
eb388ad04f
|
Add RuntimeError to send_mail function
|
2012-07-19 17:05:06 -04:00 |
|
Matt Wright
|
68dd972bfa
|
Add more secure password storage via salt value and hmac
|
2012-07-18 13:27:30 -04:00 |
|
Matt Wright
|
f170cb434c
|
Use a stateful object instead of arbitrary assignment of extension on app object
|
2012-07-16 19:07:19 -04:00 |
|
Matt Wright
|
3cd20f0e33
|
Clean up
|
2012-07-13 12:02:43 -04:00 |
|
Matt Wright
|
1d86d33b0b
|
Add category for messages
|
2012-07-12 15:39:35 -04:00 |
|
Matt Wright
|
18c7a838b0
|
Make most messages configurable
|
2012-07-12 15:24:57 -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
|
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
|
815c8695fc
|
Code clean upr
|
2012-07-10 17:24:39 -04:00 |
|
Matt Wright
|
49d3789f98
|
Fix up remember token
|
2012-07-10 16:23:20 -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
|
c20f244d66
|
Big code cleanup
|
2012-06-18 16:51:43 -04:00 |
|
Matt Wright
|
a47c6b9d55
|
Polish
|
2012-05-24 21:07:29 -04:00 |
|
Matt Wright
|
09aa7e113c
|
Heavy work on confirmation and reset
|
2012-05-22 18:08:38 -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 |
|