zulip/zephyr/management/commands
Waseem Daher 163c9c8d75 Add a JSON call that causes the tutorial bot to send you a message.
The idea here is: part of the onboarding tutorial is going to
be you talking to the tutorial bot and it talking to you, from
our Javascript.

The reason it's driven by Javascript is that then in principle we can
do nice stuff like making popovers appear in places to point things
out to you, whereas if we were to do it strictly server-side, doing so
would be a lot harder.

The downside to doing it in Javascript is that you don't get any of
the Markdown rendering, since that happens on the server. So instead
we add this call where you give it a message, and it responds by
having the tutorial bot send you that message.

I don't think there are any security concerns here because
(1) The bot only messages you -- so you can't use it to make someone
    else think that the system is telling them to do something
(2) If there were an issue associated with having the server parse
    arbitrary Markdown, you could just trigger the issue by sending
    a message yourself.

(imported from commit b34f594dab6be6bcb81899278ae1cbe447404468)
2013-02-20 23:04:49 +00:00
..
__init__.py Add a management command to populate the database. 2012-08-28 12:45:10 -04:00
activate_mit.py Implement MIT signups. 2012-10-29 16:59:37 -04:00
add_users_to_streams.py management: fix add_users_to_streams given do_add_subscriptions output change. 2013-02-12 11:49:22 -05:00
analyze_mit.py Add tool to analyze fraction of Zephyrs sent using Humbug. 2013-02-01 13:37:40 -05:00
banish_broken.py banish_broken: Fix handling of jesstess|MIT.EDU@mit.edu. 2012-12-04 10:59:26 -05:00
change_user_email.py Add a management command to change and log user emails. 2013-02-10 16:45:25 -05:00
clear_db.py Cut out duplicated code between clear_database and populate_db. 2012-10-29 14:54:18 -04:00
create_realm.py Move action functions from models.py to zephyr/lib/actions.py. 2013-01-11 16:11:03 -05:00
create_user.py Move action functions from models.py to zephyr/lib/actions.py. 2013-01-11 16:11:03 -05:00
dump_passwords.py dump_pointers and dump_passwords: Add error handling for deleted users. 2012-12-14 17:15:32 -05:00
dump_pointers.py Rename zephyr.lib.time to zephyr.lib.timestamp. 2013-01-11 15:58:19 -05:00
dump_useractivity.py Rename zephyr.lib.time to zephyr.lib.timestamp. 2013-01-11 15:58:19 -05:00
expunge_db.py Implement a command to expunge old UserMessages and Messages from the database 2012-11-30 17:24:37 -05:00
expunge_logs.py expunge_logs: Abort on keyboard interrupt 2013-02-07 11:34:49 -05:00
fill_message_cache.py tornado: Fill the message memcached in a child process. 2013-01-14 12:28:51 -05:00
populate_db.py Add a JSON call that causes the tutorial bot to send you a message. 2013-02-20 23:04:49 +00:00
print_initial_password.py print_initial_password: Print API keys too 2012-10-17 18:23:01 -04:00
process_user_activity.py Unify rabbitmq usage to use only one queue. 2013-02-15 11:43:17 -05:00
realm_stats.py Add a realm_stats management command. 2013-02-02 08:24:21 -05:00
remove_users_from_stream.py management: add a remove_users_from_stream command. 2013-02-12 11:49:22 -05:00
runtornado.py tornado: Get User and UserProfile objects from a memcached. 2013-01-11 16:11:07 -05:00
set_default_streams.py Move action functions from models.py to zephyr/lib/actions.py. 2013-01-11 16:11:03 -05:00
test_deactivate.py Add command to mark users as inactive. 2012-12-13 14:15:31 -05: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 Move action functions from models.py to zephyr/lib/actions.py. 2013-01-11 16:11:03 -05:00
user_stats.py Add a user_stats management command. 2013-02-02 08:24:06 -05:00