Elliott Jin
|
49adeee8c8
|
bots: Move service bot tests into separate file.
|
2017-05-25 15:00:51 -07:00 |
|
Elliott Jin
|
8b98b79646
|
bots: Generate queue events for embedded bots.
|
2017-05-25 15:00:51 -07:00 |
|
Elliott Jin
|
0ec9e54954
|
bots: Add queue and QueueProcessingWorker for embedded bots.
|
2017-05-25 15:00:51 -07:00 |
|
Elliott Jin
|
d0c0031b0b
|
bots: Add comments about embedded bots to Service model.
|
2017-05-25 15:00:51 -07:00 |
|
Elliott Jin
|
824b315284
|
bots: Introduce "service_bot" concept in UserProfile model.
|
2017-05-25 15:00:51 -07:00 |
|
Elliott Jin
|
120b7b4caf
|
bots: Add bot_type for embedded bots in UserProfile model.
|
2017-05-25 15:00:51 -07:00 |
|
Elliott Jin
|
5b4d2832fc
|
bots: Add management command for making outgoing webhook bot.
|
2017-05-25 09:45:54 -07:00 |
|
umkay
|
9ab0a8be6a
|
mypy: Fix strict optional in zerver/views.
|
2017-05-25 09:30:41 -07:00 |
|
Yago González
|
55b4a3792d
|
lint: Fix violation in the GitHub webhook view.
|
2017-05-24 22:09:14 -07:00 |
|
umkay
|
f4617d0408
|
mypy: Fix a few webhook tests to work with strict-optional.
|
2017-05-24 20:31:21 -07:00 |
|
Vishnu Ks
|
bb98e35aa0
|
Replace othello@zulip.com with example_email('othello').
|
2017-05-24 19:37:36 -07:00 |
|
Vishnu Ks
|
52d2d6c4fa
|
Replace prospero@zulip.com with example_email('prospero').
|
2017-05-24 19:37:36 -07:00 |
|
Vishnu Ks
|
c4db3b7d1c
|
Replace cordelia@zulip.com with example_email('cordelia').
|
2017-05-24 19:37:36 -07:00 |
|
Vishnu Ks
|
961b35d52e
|
Replace iago@zulip.com with example_email('iago').
|
2017-05-24 19:37:36 -07:00 |
|
Vishnu Ks
|
5230eaef1c
|
Replace hamlet@zulip.com with example_email('hamlet').
|
2017-05-24 19:37:36 -07:00 |
|
Vishnu Ks
|
b65f692fcf
|
Make LoginEmailValidatorTestCase use ZulipTestCase instead of TestCase.
|
2017-05-24 19:23:48 -07:00 |
|
umkay
|
c1a8fb615c
|
mypy: Fix strict-optional errors in webhooks directory.
|
2017-05-24 18:57:06 -07:00 |
|
Christian Hudon
|
8ab6a23a30
|
Fix most strict-optional issues in export.py.
|
2017-05-24 18:50:59 -07:00 |
|
Christian Hudon
|
1761a3b1c1
|
mypy: strict optional fixes.
|
2017-05-24 18:50:59 -07:00 |
|
Eklavya Sharma
|
2f227a97d3
|
mypy: Make zerver/lib/actions.py pass --strict-optional check.
|
2017-05-24 18:49:54 -07:00 |
|
Eklavya Sharma
|
1d8c316ff0
|
mypy: Make email_mirror pass --strict-optional check.
|
2017-05-24 18:49:54 -07:00 |
|
Eklavya Sharma
|
690b6025fb
|
mypy: Fix return type of a function.
|
2017-05-24 18:43:51 -07:00 |
|
Christian Hudon
|
14e871ce9c
|
Change order of arguments so output_dir is not optional. Helps mypy too.
|
2017-05-24 17:32:21 -07:00 |
|
Eeshan Garg
|
b5d271456a
|
webhooks/trello: Use parametric Markdown macros.
|
2017-05-24 17:00:19 -07:00 |
|
Eeshan Garg
|
e9b3b56105
|
webhooks/appfollow: Use parametric Markdown macros.
|
2017-05-24 17:00:19 -07:00 |
|
Eeshan Garg
|
c433a7981a
|
webhooks/airbrake: Use parametric Markdown macros for documentation.
|
2017-05-24 17:00:19 -07:00 |
|
Eeshan Garg
|
3cb758d339
|
templates: Support parametric Markdown macros for webhooks docs.
|
2017-05-24 17:00:19 -07:00 |
|
Tim Abbott
|
e9968a7a09
|
change_user_email: Use new get_user_for_mgmt function.
|
2017-05-24 15:29:59 -07:00 |
|
Vishnu Ks
|
17b1a8b260
|
Add get_user_for_mgmt function.
|
2017-05-24 15:27:48 -07:00 |
|
Tim Abbott
|
6aaca44e17
|
tests: Fix str/Text mypy issues in various tests.
|
2017-05-24 15:19:38 -07:00 |
|
Andrew Archer
|
6c3f89af1c
|
tests: Remove get_user_profile_by_email from numerous tests.
|
2017-05-24 15:19:20 -07:00 |
|
Rick Chern
|
e53d1c3885
|
tests: Remove get_user_profile_by_email from most tests.
|
2017-05-24 13:05:19 -07:00 |
|
Vishnu Ks
|
4403d179df
|
tests: Replace mit_user().email with mit_email().
|
2017-05-24 12:44:43 -07:00 |
|
Tim Abbott
|
e5f5e5c69f
|
tests: Remove unnecessary maxDiff settings.
Now that ZulipTestCase does this, we don't need it in all these
individual test modules.
|
2017-05-24 12:43:28 -07:00 |
|
umkay
|
ccc70445d6
|
mypy: Fix strict-optional errors for test files.
Fix mypy --strict-optional errors in zerver/tests
|
2017-05-24 12:43:28 -07:00 |
|
Tim Abbott
|
17328a7557
|
tests: Fix incorrect use of get_realm_by_email_domain.
|
2017-05-24 12:43:28 -07:00 |
|
Tim Abbott
|
895d4a795b
|
mypy: Fix a missing type annotation.
|
2017-05-24 12:14:13 -07:00 |
|
Umair Khan
|
9a04fef71b
|
testing: Reset active language.
After running translation tests, we should reset the active
language to isolate the change
|
2017-05-24 11:35:17 -07:00 |
|
Umair Khan
|
ebb9bd1a6a
|
testing: Avoid class variables to enforce isolation.
Class variables are shared between all instances and as a result
changes made by one instance are leaked to other instances.
|
2017-05-24 11:35:12 -07:00 |
|
Yago González
|
c0f2036435
|
api: Handle unregistered users in dev_fetch_api_key.
Fixes #4851.
|
2017-05-24 09:39:44 -07:00 |
|
Andrew Archer
|
67cf4c4fb4
|
test_alert_words: Remove use of get_user_profile_by_email.
|
2017-05-23 22:14:10 -07:00 |
|
Eklavya Sharma
|
bac874b7e3
|
mypy: Allow None in passwords while creating users.
|
2017-05-23 21:56:50 -07:00 |
|
Eklavya Sharma
|
cc1937c8d5
|
mypy: Use Optional with strings where required.
|
2017-05-23 21:56:50 -07:00 |
|
kb0rg
|
eb2d0ebd09
|
Add test for do_deactivate_realm exit if deactivated.
Rename existing test_do_deactivate_realm to indicate test purpose
is to confirm user realm cache clears when a realm is deactivated.
|
2017-05-23 21:38:07 -07:00 |
|
kb0rg
|
e672ec62c1
|
Add test for encode_email_address with empty Gateway.
|
2017-05-23 21:38:07 -07:00 |
|
kb0rg
|
d625cca2f8
|
minor: Rename test class -> TestEmptyGatewaySetting.
|
2017-05-23 21:38:07 -07:00 |
|
vaibhav
|
f94c321567
|
Outgoing Webhook System: Add support for personal message triggers.
|
2017-05-23 21:35:09 -07:00 |
|
Lech Kaiel
|
6b49e667ef
|
tests: Replaced @zulip.com references with self.example_ functions.
This cleans up the excessive use of @zulip.com emails in the tests.
|
2017-05-23 20:59:50 -07:00 |
|
Mark Shannon
|
c7c47fe11d
|
Replace buggy NotImplemented with NotImplementedError().
|
2017-05-23 20:33:35 -07:00 |
|
ron-s
|
e5d4e0f0eb
|
Test: Add test_notify_of_new_user_internally.
|
2017-05-23 20:27:37 -07:00 |
|