zulip/zerver
Zev Benjamin 3498a04613 Call authenticate() when logging users in via JWT
Otherwise the user_profile.backend attribute doesn't get set.  I didn't notice
this previously because on first register authenticate() gets called, and then
the UserProfile object gets cached.  This means that subsequent logins work just
fine as long as the UserProfile object is in memcached.

(imported from commit 834d95c46aa07724ea84802f09b7249de99b5ca8)
2014-04-07 11:01:38 -07:00
..
fixtures Tolerate spaces after language in markdown fences. 2014-03-06 10:15:20 -05:00
lib Refer to correct settings variable in email_mirror.py 2014-03-18 23:37:19 -04:00
management Fix bug that hid digest email settings box for customers. 2014-02-27 20:25:26 -05:00
migrations [schema] Add default user_profile options for register events 2014-03-05 14:16:18 -05:00
templatetags Add a custom template filter for formatting displaying lists of items in emails. 2013-10-25 19:11:40 -04:00
tests/frontend Fix test to not depend on timezones 2014-04-01 20:57:06 -07:00
views Call authenticate() when logging users in via JWT 2014-04-07 11:01:38 -07:00
worker Add helper function for returning a Redis client 2014-02-10 13:23:28 -05:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
context_processors.py Make password_auth_enabled() take a realm object 2014-04-04 16:51:32 -07:00
decorator.py Remove unused json_to_bool(). 2014-03-12 21:15:17 -04:00
exceptions.py Enable absolute imports for non-third-party code where it was omitted previously 2013-10-25 14:13:30 -04:00
filters.py Add api_key to filtered variables. 2013-12-12 10:31:03 -05:00
finders.py [manual] Move our deployment scripts to scripts/. 2013-10-28 10:54:48 -04:00
forms.py Make password_auth_enabled() take a realm object 2014-04-04 16:51:32 -07:00
handlers.py Remove old email error reporting handler 2013-11-13 16:22:21 -05:00
middleware.py Use a different status code and include seconds remaining header in ratelimits 2014-03-11 13:06:19 -04:00
models.py Recognize humbug-user-uploads-test for images/attachements. 2014-03-14 20:48:45 -04:00
openid.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
retention_policy.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
static_header.txt Update copyright to 2014. 2014-02-04 15:51:53 -05:00
storage.py Enable absolute imports for non-third-party code where it was omitted previously 2013-10-25 14:13:30 -04:00
test_bugdown.py Switch streams page over to use consistent buttons. 2014-03-05 17:23:23 -05:00
test_decorators.py Remove unused json_to_list function. 2014-02-18 14:24:04 -05:00
test_events.py Add propagate_mode to event for topic updates. 2014-03-12 21:15:21 -04:00
test_external.py Use a different status code and include seconds remaining header in ratelimits 2014-03-11 13:06:19 -04:00
test_hooks.py JIRA: Show all updated fields as long as one is not truthy 2014-02-27 20:25:35 -05:00
test_messages.py Recognize humbug-user-uploads-test for images/attachements. 2014-03-14 20:48:45 -04:00
test_signup.py Send an event when a stream is created, is deleted, becomes occupied, or becomes vacant 2014-03-03 17:30:58 -05:00
test_subs.py Send an event when a stream is created, is deleted, becomes occupied, or becomes vacant 2014-03-03 17:30:58 -05:00
test_unread.py Move some tests into test_unread.py 2014-02-10 13:23:27 -05:00
tests.py Add bot_data module that updated with events 2014-03-05 14:16:20 -05:00
tornado_callbacks.py Send missedmessage notifications as soon as you're idle or offline 2014-03-14 20:48:57 -04:00
tornadoviews.py Eliminate json_to_dict and use check_dict instead. 2014-02-18 13:02:08 -05:00