Commit Graph

230 Commits

Author SHA1 Message Date
apahomov 3f9ca423bd Calling auth methods 2013-01-14 16:11:09 +04:00
apahomov bbed019ca5 Add auth_required decorator that allows multiple auth mechanisms 2013-01-14 15:45:18 +04:00
apahomov 1a0ddff82b Get auth token from JSON request. 2013-01-14 10:54:48 +04:00
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
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 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
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 d760aa41c5 Merge branch 'master' into develop 2013-01-06 21:01:53 -05:00
Matt Wright 53576c6013 Set Flask-Login messages 2013-01-06 21:01:35 -05:00
Matt Wright 029466830d Bump version number to 1.5.4 2013-01-06 20:43:02 -05:00
Matt Wright 2a0b582911 Change csrf_enabled parameter in forms to check for incoming JSON data. Fix #63 2013-01-06 20:41:01 -05: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
Eskil Heyn Olsen 1a87a4cd0c Fix to RegisterForm.to_dict.
Only add fields that are also attributes on the
datastorage.user_model.
2013-01-03 23:29:50 -08:00
Eskil Heyn Olsen f83092865b Configurable forms, issue:49 2013-01-03 22:00:29 -08:00
Eskil Heyn Olsen b15736accd RegisterFormMixin can now to_dict all fields.
It adds a to_dict function that uses inspect to add all wtf Field
to the returned dict. This allows extensions to the register form
to easily add fields that will be passed to the datastore's
create_user function.
2013-01-03 19:07:00 -08:00
Eskil Heyn Olsen 7f43acc167 Fix query for find_user 2013-01-01 11:28:31 -08:00
Matt Wright f8fbd6cec8 Bump version number to 1.5.3 2012-12-23 16:47:20 -05:00
Matt Wright 3a5a1b4f52 Bump version number to 1.5.2 2012-12-11 15:15:01 -05:00
Matt Wright 0724bd12a5 Remove stray file 2012-12-11 15:13:35 -05: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 1092ffc9ea Fix #45 2012-11-26 16:21:05 -05:00
Matt Wright 5e49a4e05b Bump version number to 1.5.1 2012-11-26 15:01:54 -05:00
Matt Wright ed031f01ba Concluding merge 2012-11-26 14:53:01 -05:00
Matt Wright 4cbae25ac0 Merge pull request #47 from doobeh/ISSUE43
Ability to manage email subjects from configuration.
2012-11-26 11:52:09 -08:00
Matt Wright 7f002ac612 Fixes #40 2012-11-26 14:41:51 -05: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
Anthony Plunkett 514d27fd66 Ability to manage email subjects from configuration. 2012-11-19 21:13:52 -05:00
Matt Wright d7f52af371 Bump version number 2012-10-11 17:39:05 -04:00
Matt Wright f96feaffa1 Bump version number to 1.5.0 2012-10-11 17:34:32 -04:00
Matt Wright 0154cce46c Only give out auth token on the login endpoint 2012-10-11 16:58:53 -04:00
Matt Wright 6b80aae7d1 Fix error 2012-09-26 16:25:22 -04:00
Matt Wright e1dbed816c Simplify login form a bit 2012-09-19 01:22:09 -04:00
Matt Wright e423390050 Simplify login form to only include one relevant error message 2012-09-18 23:49:44 -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 8bdd464239 Add form to namespace 2012-09-16 16:05:06 -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 364646fc6b Fix register_user.html 2012-09-10 18:14:27 -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