Tim Abbott
109c5c677a
mypy: Fix return value annotation for google_oauth2_csrf.
2017-05-23 17:47:03 -07:00
Tim Abbott
17f87cfc9e
mypy: Fix missing Optional on process_exception.
2017-05-23 17:44:30 -07:00
Tim Abbott
315a9ee72e
handlers: Fix type of zulip_finish.
2017-05-23 17:36:19 -07:00
neiljp
8b25766ff2
contrib_bots: Switch encrypt bot to use send_reply.
2017-05-23 17:32:51 -07:00
Tim Abbott
207c30fc9c
Revert "settings: Fix missing status report when waiting period disabled."
...
This reverts commit a25e7451f6
.
This changed the wrong if statement in this file.
2017-05-23 17:02:35 -07:00
neiljp
d766687632
bots: Switch define bot to use send_reply.
2017-05-23 17:02:03 -07:00
Steve Howell
ecdc500440
test-backend: Run only one process for --rerun option.
2017-05-23 16:59:22 -07:00
Sarah
01cb480b2c
settings-org.js: Create property_types object and refactor set_up.
...
Create property_types object for realm settings. In set_up function,
iterate over property_types to find settings that were updated, send those
new values to the server, and report that the changes were made.
2017-05-23 16:32:36 -07:00
Tim Abbott
a25e7451f6
settings: Fix missing status report when waiting period disabled.
...
Previously, if one set the waiting period threshhold to 0, no
notification would be produced, even though the actual state of the
world was changed.
2017-05-23 16:31:41 -07:00
Sarah
4c4444b2dc
zerver/lib/actions: Fix PEP8 E712 error.
2017-05-23 16:29:49 -07:00
Tim Abbott
796cf8e5fd
mypy: Fix a buggy annotation in create_mirrored_message_users.
2017-05-23 15:45:56 -07:00
Andrew Archer
40b3330f2c
actions: Refactor get_user_profile_by_email to get_user.
2017-05-23 15:30:14 -07:00
Vishnu Ks
2b36df6b8f
test_sessions.py: Use helpers instead of get_user_profile_by_email.
2017-05-23 15:27:21 -07:00
Vishnu Ks
dafa89d52b
test_outgoing_webhook_system.py: Replace get_user_profile_by_email with example_user.
2017-05-23 15:27:21 -07:00
Vishnu Ks
f5d8e256aa
Add ZulipTestCase.example_email and ZulipTestCase.mit_email function.
2017-05-23 15:27:21 -07:00
Vishnu Ks
075b0cae70
test_bugdown.py: Remove unused get_user_profile_by_email import.
2017-05-23 15:27:21 -07:00
Vishnu Ks
7950f5242a
test_unread.py: Replace get_user_profile_by_email with get_user.
2017-05-23 15:27:21 -07:00
Vishnu Ks
789ef217a8
send_email.py: Remove unused get_user_profile_by_email import.
2017-05-23 15:27:21 -07:00
Tim Abbott
a833fa39b8
test_messages: Fix tests failing due to error message change.
2017-05-23 15:27:21 -07:00
Ryan Backman
973b18bf2f
docs: Document messages/{message_id}.
2017-05-23 15:01:26 -07:00
Yago González
83f3959906
api: Remove unnecessary period for consistency.
2017-05-23 15:01:26 -07:00
Matt Long
19363b2b77
notification_settings: Refactor notification preference settings.
...
Previously, all notification preference setting had a dedicated test
and setter. Now, all are handled through a modular function using the
property_types framework.
2017-05-23 14:47:46 -07:00
neiljp
fe1fc45a9e
bots: Fix help bot replies in private chat, including 3+ users.
...
Also deduplicates the code.
2017-05-23 14:38:49 -07:00
Christian Hudon
c80e6edb4e
mypy: Declare models with null=True Optional.
2017-05-23 14:36:40 -07:00
Theodore Chen
d2090306ad
bots: Add helloworld example bot.
2017-05-23 13:15:21 -07:00
neiljp
13649d8846
Factor out send_reply functionality into bot_lib
2017-05-23 12:40:08 -07:00
Rick Chern
70d68f7e71
Refactoring: Replace get_user_profile_by_email() in lib/upload.py
2017-05-23 12:37:49 -07:00
Yago González
15da8d19e7
docs: Update API authentication definitions.
2017-05-23 12:35:41 -07:00
Steve Howell
484f32646b
Rename file to test_new_users.py.
...
The old file name of test_send_login_emails was
overly specific, and we want to add some tests
related to other parts of the signup process.
2017-05-23 12:34:44 -07:00
Joshua Pan
25b61f2af6
message_edit: Close edit with ESC.
...
Fixes #3797 .
2017-05-23 12:34:08 -07:00
Eklavya Sharma
63cc8183ad
tools/run-mypy: Add flags.
2017-05-23 12:02:57 -07:00
Eklavya Sharma
bda5517b5c
mypy: Upgrade to latest version of mypy.
2017-05-23 10:42:44 -07:00
umkay
8611dae985
mypy: Change type annotation to Set[bytes].
...
also fix unicode
2017-05-23 10:42:44 -07:00
umkay
dd55d5b683
mypy: Fix bad type annotation
2017-05-23 10:42:44 -07:00
umkay
09e1136cc8
mypy: Fix casing for List type.
2017-05-23 10:42:44 -07:00
umkay
a67e427293
mypy: Add comment for future use of Deque.
...
In the future, the type annotation should use Deque in order to be
compatible with the latest mypy version. See
https://github.com/python/mypy/pull/2845 for more info.
2017-05-23 10:42:44 -07:00
Joshua Pan
c955028350
gear_menu.js: Fix typo.
2017-05-23 10:34:07 -07:00
Joshua Pan
c78b310381
hotkeys: Close clicked gear menu with ESC.
...
Fixes #4200 .
2017-05-23 10:34:07 -07:00
Konstantin Gukov
c40759562c
streams: Refactor get_user_profile_by_email to get_user.
2017-05-23 10:32:53 -07:00
Konstantin Gukov
dd76222a3f
Fetch system bots using new get_system_bot function.
...
This eliminate a bunch of uninteresting calls to
get_user_profile_by_email.
2017-05-23 10:30:40 -07:00
Joshua Pan
f3369b266a
node_tests: Extract and create fake_jquery as zjquery.
...
This allows us to use fake_jquery (originally only in
compose_actions.js) in all our node tests.
2017-05-23 10:27:07 -07:00
Joshua Pan
f8e10ed2f6
node_tests: Add test coverage to autofocus.
2017-05-23 10:26:30 -07:00
Joshua Pan
525cc34491
node_tests: Add test for long low-quality passwords.
2017-05-23 10:26:30 -07:00
vaibhav
287aaa21b6
Outgoing Webhook System: Add outgoing webhook queue worker.
2017-05-23 08:21:08 -07:00
vaibhav
c7524f2f38
Outgoing Webhook System: Prevent infinite loops with outgoing webhooks.
2017-05-23 08:20:45 -07:00
vaibhav
53a8b2ac87
Outgoing Webhook System: Add DoRestCall and helper functions
2017-05-23 08:19:16 -07:00
neiljp
66d8464d2c
Update Wikipedia bot to reply to multiple user private chats.
2017-05-23 08:17:35 -07:00
Tim Abbott
454421e098
bot_lib: Fix indentation.
2017-05-23 08:17:22 -07:00
derAnfaenger
2e298d89ab
bots: Strip leading whitespaces from bot queries.
2017-05-22 19:13:42 -07:00
derAnfaenger
e74714f6ac
bots: Clarify message handling for @-mentions.
2017-05-22 19:13:42 -07:00