zulip/zephyr/management/commands
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
..
__init__.py Add a management command to populate the database. 2012-08-28 12:45:10 -04:00
activate_mit.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
active_user_stats.py Fix activity checking by message flag updating 2013-05-29 15:39:53 -04:00
add_users_to_streams.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
analyze_mit.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
bankrupt_users.py Add a management command to bankrupt users. 2013-05-01 21:16:40 -04:00
change_user_email.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
clear_db.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
colorize_streams.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
copy_colors.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
create_realm.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
create_user.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
deactivate_user.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
delete_tutorial_streams.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
dump_passwords.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
dump_pointers.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
dump_useractivity.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
explain_js_error.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
expunge_db.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
expunge_logs.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
fill_memcached_caches.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
generate_invite_links.py Always create a new PreregistrationUser in generate_invite_links 2013-05-31 12:24:30 -04:00
logout_all_users.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
populate_db.py populate_db: Add stream notifications support. 2013-05-22 12:10:16 -04:00
print_initial_password.py Use proper randomization when generating new API keys. 2013-05-29 15:11:24 -04:00
process_user_activity.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
realm_stats.py realm_stats: report on features like starred messages and home view. 2013-05-01 21:59:29 -04:00
remove_users_from_stream.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
reset_colors.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
runtornado.py Add a event_queue gc hook for missed messages 2013-05-24 21:23:59 -04:00
send_confirmation_emails.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
send_missedmessage_reminders.py Log which missedmessage events are received 2013-05-09 10:35:48 -04:00
send_stats.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
set_default_streams.py Move action functions from models.py to zephyr/lib/actions.py. 2013-01-11 16:11:03 -05:00
set_message_flags.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
set_unread_to_pointer.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
stream_stats.py Add a new stream_stats management command. 2013-05-01 21:59:29 -04:00
subscribe_new_users.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
sync_api_key.py Ensure your dev environment API key matches your ~/.humbugrc. 2013-05-29 15:11:24 -04:00
test_messages.txt populated_db: Rename many functions/variables from zephyr => message. 2012-10-03 18:14:15 -04:00
update_mit_fullnames.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
user_stats.py Enable absolute imports. 2013-04-23 09:51:17 -07:00