Commit Graph

94 Commits

Author SHA1 Message Date
Matt Wright f566f41fb3 Merge pull request #58 from eskil/registerform
Configurable forms
2013-01-08 07:10:14 -08:00
Eskil Heyn Olsen e4190a0315 Add kwargs for configurable forms.
Specifically list out the kwargs so we'll get an interpreter error
on a bad name.
2013-01-07 21:43:33 -08:00
Christophe Simonis a1c007599f allow change of hash scheme 2013-01-08 00:15:21 +01:00
Eskil Heyn Olsen 81040a57a6 Views get forms from _security 2013-01-06 20:20:06 -08:00
Matt Wright 53576c6013 Set Flask-Login messages 2013-01-06 21:01:35 -05:00
Eskil Heyn Olsen f83092865b Configurable forms, issue:49 2013-01-03 22:00:29 -08:00
Anthony Plunkett 514d27fd66 Ability to manage email subjects from configuration. 2012-11-19 21:13:52 -05: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 f928db298d Refactor datastore implementation 2012-08-24 11:38:25 -04:00
Matt Wright bac04a0f3c remove more unnecessary code 2012-08-23 23:48:55 -04:00
Matt Wright f1c52d01aa Even more polish 2012-08-23 20:56:13 -04:00
Matt Wright b052e09cd6 Polish 2012-08-23 20:47:48 -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 5964a99e57 Clean up 2012-08-22 16:37:07 -04:00
Matt Wright 58685f2bb4 Decent clean up. Get rid of AuthProvider class in favor of keeping it simple 2012-08-21 17:04:41 -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 f2d5028d7c Prefer form error messages in some instances 2012-08-21 00:59: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 332575e53b Fix up 2012-08-20 18:12:46 -04:00
Matt Wright fa4668aa3f Use default values for encrypt_password and verify_password 2012-08-20 17:44:20 -04:00
Matt Wright 3a07970216 Fix up salts and get rid of token serializer as its not used 2012-08-20 17:32:13 -04:00
Matt Wright c36fee7fda Clean up 2012-08-17 15:05:22 -04:00
Matt Wright 2bd19f999d Code cleanup 2012-08-17 14:46:30 -04:00
Matt Wright b7d71f8c59 Remove old commit param 2012-08-17 12:52:05 -04:00
Matt Wright beff7a246d Add context processors for security blueprint 2012-08-17 11:50:23 -04:00
Matt Wright 1c31728a26 Update message 2012-08-16 18:54:45 -04:00
Matt Wright f00f2eff21 Update message 2012-08-16 18:54:38 -04:00
Matt Wright dec858dae9 Add registration message 2012-08-16 18:53:27 -04:00
Matt Wright d87676027e Fix some redirect rules 2012-08-16 18:42:37 -04:00
Matt Wright 704af1011a Fix up forms to grab values in certain cases 2012-08-16 18:31:32 -04:00
Matt Wright 009671090f Clean up and bug improvements 2012-08-16 18:20:42 -04:00
Matt Wright eeace79ef9 Update default login template and add security state to app context processory 2012-08-16 18:03:47 -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 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 ac674ecd86 Fix some messaging 2012-08-15 19:33:23 -04:00
Matt Wright bb91c4a81a Fix flash messages and fix password reset 2012-08-15 19:22:24 -04:00
Matt Wright ec05b30106 Get rid of silly print statement 2012-08-15 17:23:42 -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 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 68b0410d1b No need to keep authentication token in DB 2012-08-14 16:21:31 -04:00
Matt Wright 404e797cd9 Add more test coverage 2012-08-14 14:18:20 -04:00
Matt Wright 58e2856612 No need to store remember_token in DB 2012-08-14 13:52:30 -04:00
Matt Wright 39670ac84e Fix state a bit 2012-07-19 17:39:55 -04:00