Commit Graph

97 Commits

Author SHA1 Message Date
Matt Wright 8eeb832d2e Conditionally logout the current user when confirming an email address to prevent unnecessary code/signals to be fired. Fixes #133 2013-07-11 14:50:21 -04:00
rxl 03d27cd600 add logout_user() to the beginning of confirm_email() 2013-07-11 14:14:50 -04:00
rxl d30a27b3bb remove '@anonymous_user_required' from confirm_email() 2013-07-11 14:14:28 -04:00
Matt Wright d19bb98abd Version 1.6.4 changes. Refer to CHANGES for updates. Fixes #123 #121 #120 $119 2013-06-18 14:56:12 -04:00
Matt Wright bf260d4b7e Add optional next parameter to registration endpoint. Fixes #117. 2013-05-28 11:01:42 -04:00
Matt Wright 520b8ecef4 Show an invalid confirmation token message if a user attempts to confirm their account after it has been deleted. Fixes #93 2013-03-13 12:27:26 -04:00
Matt Wright 34aa43ead3 Merge pull request #100 from chrishaines/develop
Make subdomain configurable
2013-03-13 09:10:16 -07:00
Chris Haines c0d1d0566f Make subdomain configurable 2013-03-13 00:13:54 -04:00
Chris Haines 4f414cf70f Merge branch 'develop' of git://github.com/mattupstate/flask-security into template_list
Conflicts:
	requirements.txt
2013-02-01 19:40:01 -05:00
Chris Haines 02c49ee423 Paths for templates are now configurable 2013-01-29 22:24:11 -05:00
Eskil Heyn Olsen cca9298e74 Fix and test redir to configurable view post change 2013-01-12 19:56:50 -08:00
Eskil Heyn Olsen ded62a556b Add a password-changed signal 2013-01-12 19:03:02 -08:00
Eskil Heyn Olsen b67e61d625 Change password form 2013-01-12 14:40:42 -08:00
Eskil Heyn Olsen 9a47ec1ed9 Working on change password form 2013-01-11 22:35:54 -08:00
Eskil Heyn Olsen 81040a57a6 Views get forms from _security 2013-01-06 20:20:06 -08:00
Eskil Heyn Olsen f83092865b Configurable forms, issue:49 2013-01-03 22:00:29 -08:00
Josh Purvis c8a24a8647 Wrapped next args with get_url() 2012-11-24 17:31:05 -05:00
Josh Purvis e83a970b3a Pass 'next' url to form context variable 2012-11-24 17:02:04 -05:00
Matt Wright 0154cce46c Only give out auth token on the login endpoint 2012-10-11 16:58:53 -04:00
Matt Wright 338f04b2f2 polish 2012-09-16 23:01:35 -04:00
Matt Wright fca7120210 Get rid of unnecessary anonymous_user_required decorators 2012-09-16 23:00:10 -04:00
Matt Wright 90b4c58457 Fix build, hopefully 2012-09-16 22:23:04 -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 96f2be056d Move anonymous_user_required to decorators 2012-09-16 16:05:24 -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 f1c52d01aa Even more polish 2012-08-23 20:56:13 -04:00
Matt Wright bdf61b146c Remove unnecessary exceptions file and more clean up 2012-08-23 20:39:43 -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 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 68648c299f Change some names 2012-08-22 16:55:31 -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 d3c23c1994 Polish 2012-08-21 17:34:38 -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 2bd19f999d Code cleanup 2012-08-17 14:46:30 -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 beff7a246d Add context processors for security blueprint 2012-08-17 11:50:23 -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 96e11916af Always redirect to login view and not referrer 2012-08-16 18:23:24 -04:00
Matt Wright 009671090f Clean up and bug improvements 2012-08-16 18:20:42 -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 81ba459fc3 Change function name 2012-08-16 17:27:04 -04:00