zulip/zephyr
Luke Faraone 905cf9b3ff Always create a new PreregistrationUser in generate_invite_links
Previously if you had been invited twice to use the app this management
command would fail with your address, since the email address was no longer
unique.

Now by unconditionally generating a new PreregistrationUser object we avoid
this problem.

To test, invite a user to Humbug via the webapp twice, then generate an
invite link for them manually. The latter operation used to produce a
traceback, but now works.

(imported from commit b6c816187e6302b3cb3eea2928565b3a12046c4b)
2013-05-31 12:24:30 -04:00
..
fixtures Support JIRA workflow post-function web hooks 2013-05-24 21:23:56 -04:00
lib Only use numbers and letters in our API keys. 2013-05-30 16:42:14 -04:00
management Always create a new PreregistrationUser in generate_invite_links 2013-05-31 12:24:30 -04:00
migrations [schema] Make last_reminder field nullable 2013-05-24 21:23:58 -04:00
migrations-old [manual] Excise South migrations prior to the User merge. 2013-05-20 23:29:54 -04:00
static Ignore leading spaces in search box 2013-05-31 12:24:30 -04:00
tests Modify message box layout and spacing. 2013-05-22 21:55:15 -04:00
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
context_processors.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
decorator.py rest_dispatch: Apply process_as_post automatically. 2013-05-17 01:02:33 -04:00
filters.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
forms.py Send signups for not-yet-created realms to our waitlist form. 2013-05-20 23:29:55 -04:00
handlers.py Send automated humbug error notifications to the 'errors' stream. 2013-05-10 17:52:45 -04:00
middleware.py Record how much time is spent in the markdown parser. 2013-05-22 14:41:57 -04:00
models.py Reset our 24hr email blackout when a user logs in 2013-05-24 21:23:59 -04:00
openid.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
retention_policy.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
tests.py bugdown: Fix handling of twitter-format links that aren't actually tweets. 2013-05-30 10:29:41 -04:00
tornado_callbacks.py Add a event_queue gc hook for missed messages 2013-05-24 21:23:59 -04:00
tornadoviews.py decorators: Replace POST with REQ everywhere. 2013-05-09 10:35:49 -04:00
views.py Add "Mentioning messages" to the upper left sidebar. 2013-05-30 14:45:01 -04:00