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
Matt Wright
7ddc132af5
Update script commands a bit
2012-08-24 00:47:07 -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
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
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
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
1af774dcb7
Remove unused exceptions
2012-08-23 12:54:46 -04:00
Matt Wright
68648c299f
Change some names
2012-08-22 16:55:31 -04:00
Matt Wright
8465fc4818
Add mail context processory
2012-08-22 16:42:32 -04:00