apahomov
|
39f62374aa
|
Added tests
|
2013-01-15 10:30:48 +04:00 |
|
Eskil Heyn Olsen
|
09fe5a2cb7
|
Make test_app take kwargs
|
2013-01-06 20:00:13 -08:00 |
|
Matt Wright
|
0154cce46c
|
Only give out auth token on the login endpoint
|
2012-10-11 16:58:53 -04:00 |
|
Matt Wright
|
a269930ec3
|
Update docs and tests
|
2012-10-10 13:36:59 -04:00 |
|
Matt Wright
|
e1dbed816c
|
Simplify login form a bit
|
2012-09-19 01:22:09 -04:00 |
|
Matt Wright
|
a0ed846a59
|
Remove print statement
|
2012-09-16 22:11:49 -04:00 |
|
Matt Wright
|
6c189f331f
|
Allow users to be registered with JSON/ajax calls
|
2012-09-16 22:01:40 -04: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
|
c1141b57fa
|
Add ability to not register blueprint on app. Useful if combining apps such as an API layer and a frontend where the API is not concerned with rendering templates or handling traditional auth
|
2012-09-11 17:51:20 -04:00 |
|
Matt Wright
|
2042b8aa4c
|
Fixes #34
|
2012-08-28 16:25:20 -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
|
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
|
5a4fb94be3
|
Make confirm endpoint anonymous only and get rid of invalid test
|
2012-08-23 15:03:13 -04:00 |
|
Matt Wright
|
57595bbab4
|
Refactor forms and views a bit. Add more validation to forms
|
2012-08-23 14:56:35 -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
|
dc39eb58c7
|
Fix test
|
2012-08-22 16:37:17 -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
|
86adcf0653
|
Fix build
|
2012-08-22 12:06:21 -04:00 |
|
Matt Wright
|
2471ba0db8
|
Move example app, which was a bad example, to the tests namespace. Its what it was used for anyway. A better example will be provided later
|
2012-08-22 12:00:46 -04:00 |
|
Matt Wright
|
eec0e23620
|
Remove old test
|
2012-08-21 17:35:19 -04:00 |
|
Matt Wright
|
d3c23c1994
|
Polish
|
2012-08-21 17:34:38 -04:00 |
|
Matt Wright
|
66c565a72f
|
Register mail as extension, for now
|
2012-08-21 11:38:24 -04:00 |
|
Matt Wright
|
828a973339
|
Add already confirmed scenario. Let datastore work without a request context
|
2012-08-21 01:50:40 -04:00 |
|
Matt Wright
|
bebaac49e3
|
Forgo redirecting authentication endpoint so that login form errors can be displayed
|
2012-08-20 23:35:17 -04:00 |
|
Matt Wright
|
101fa42e55
|
Only use password salt if using hmac
|
2012-08-20 18:17:29 -04:00 |
|
Matt Wright
|
a39f46854e
|
Significant design change: commit data after some requests to avoid multiple database hits when using SQLALchemy
|
2012-08-17 13:19:40 -04:00 |
|
Matt Wright
|
adb550a9f2
|
Improve RegisterUserForm
|
2012-08-16 19:05:42 -04:00 |
|
Matt Wright
|
d87676027e
|
Fix some redirect rules
|
2012-08-16 18:42:37 -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
|
1d378a6827
|
Add login to security blueprint
|
2012-08-16 15:18:49 -04:00 |
|
Matt Wright
|
80144c85a1
|
Fix bug with an invalid remember_token cookie value
|
2012-08-15 17:06:07 -04:00 |
|
Matt Wright
|
7554a52732
|
Cleanup and some more messaging additions
|
2012-08-15 11:56:26 -04:00 |
|
Matt Wright
|
022836c43c
|
fix tests, hopefully
|
2012-08-15 10:25:07 -04:00 |
|
Matt Wright
|
64467b0338
|
Try and fix build
|
2012-08-15 10:14:06 -04:00 |
|
Matt Wright
|
318cb3dc6e
|
First commit of passwordless login
|
2012-08-14 19:01:49 -04:00 |
|
Matt Wright
|
ce6c5dcf31
|
Clean up
|
2012-08-14 16:59:05 -04:00 |
|
Matt Wright
|
05bd2a5aae
|
Full test coverage!
|
2012-08-14 15:57:07 -04:00 |
|
Matt Wright
|
e9adf91a27
|
More and more test coverage
|
2012-08-14 14:27:58 -04:00 |
|
Matt Wright
|
f6bb01545d
|
Add more test coverage
|
2012-08-14 13:47:16 -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
|
0a0b5ecade
|
Get rid of login_required decorator from roles_required and roles_accepted in order to be able to pair http_auth_required with roles_required or roles_accepted. Just be sure to put http_auth_required first.
|
2012-07-13 13:50:36 -04:00 |
|
Matt Wright
|
18c7a838b0
|
Make most messages configurable
|
2012-07-12 15:24:57 -04:00 |
|
Matt Wright
|
dcdfb4d3e7
|
Add configurable http auth realm and optional realm specification in http_auth_required decorator
|
2012-07-12 14:16:54 -04:00 |
|
Matt Wright
|
dfcb3cdcc6
|
Add customizable unauthorized URL. Fixes #23
|
2012-07-12 12:47:21 -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 |
|