Matt Wright
312a527498
PEP8 and general clean up on tests
2013-07-22 12:42:20 -04:00
Matt Wright
34b3bf9e80
Fix CSRF functionality for LoginForm
...
The login form was not respecting csrf validation. I've adjusted the tests as well to always send a CSRF token along. This now requires all requests to pass a csrf token. If performing plain AJAX requests the token will have to be extracted from the form in some way. Fixes #86
2013-02-01 17:23:18 -05:00
Eskil Heyn Olsen
09fe5a2cb7
Make test_app take kwargs
2013-01-06 20:00:13 -08: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
4e41f4ec5e
Polish up tests
2012-08-24 00:47:41 -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
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
bebaac49e3
Forgo redirecting authentication endpoint so that login form errors can be displayed
2012-08-20 23:35:17 -04:00
Matt Wright
1d8b2f8342
Change urls/views to be (subjectively) simpler
2012-08-16 17:25:24 -04:00
Matt Wright
7554a52732
Cleanup and some more messaging additions
2012-08-15 11:56:26 -04:00
Matt Wright
05bd2a5aae
Full test coverage!
2012-08-14 15:57:07 -04:00
Matt Wright
f6bb01545d
Add more test coverage
2012-08-14 13:47:16 -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
5034e7b4f6
Add test methods that are missing for Python versions < 2.7
2012-06-20 16:21:35 -04:00
Matt Wright
c123e32ddc
decorators for basic http auth and token auth
2012-06-14 18:04:14 -04:00
Matt Wright
7263388b7c
refactor tests a tiny bit
2012-06-07 11:15:42 -04:00
Matt Wright
4c1a16e2ee
Added register signal, some testing utils and basic confirmation
2012-05-11 18:15:46 -04:00