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
Tim Abbott
33c8488cf6
deps: Update PROVISION_VERSION for webpack upgrade.
2017-05-25 14:23:41 -07:00
Sarah
e304c47970
settings_org: Split out separate forms for orgs settings/permissions/auth.
...
Steve Howell also contributed to this PR.
2017-05-25 14:18:04 -07:00
Jeremy Bowman
7053103896
Fix registration email field label association
...
The label element for the registration form's email field was
missing a "for" attribute to link it to the input field. Added
the missing attribute.
Fixes #4896 .
2017-05-25 13:36:27 -07:00
Reid Barton
96dff66743
katek: Make tex errors gray.
...
Red is too visually loud for a medium where tex errors are not fatal
(readers will be still able to understand the tex source).
2017-05-25 10:57:10 -07:00
Reid Barton
f1eb8545b8
katex: Fix line height of inline math.
...
24cbd6113
changed the line height of katex HTML to avoid overlapping
lines in wrapped math displays. But the change also applied to inline
math, resulting in large vertical gaps in a multi-line paragraph
containing inline math elements.
2017-05-25 10:49:56 -07:00
Jeremy Bowman
64721abac3
Correctly associate bot name field label
...
The label element for the bot name editing field was trying to use
a "for" attribute to link it to the input field, but the field had
no ID for it to associate with. Added the ID value which it
was trying to use.
Fixes #4999 .
2017-05-25 10:46:01 -07:00
Yago González
d7ecb252df
node tests: Add tests for colorspace.js.
2017-05-25 10:09:39 -07:00
Yago González
f25c16b573
node tests: Add coverage for get_all_bots_for_current_user.
2017-05-25 09:54:05 -07:00
Yago González
115b2f6b6b
node tests: Fix indentation.
2017-05-25 09:54:05 -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
Reid Barton
d7db7aa84f
api-docs: Fix line break in API keys section.
2017-05-24 20:30:35 -07:00
Tim Abbott
47c8da28ff
bots: Simplify automated testing library.
2017-05-24 20:13:25 -07:00
Tim Abbott
74ad90533d
node: Fix missing bot_data initialization.
...
This was making the frontend tests fail.
2017-05-24 19:59:40 -07:00
derAnfaenger
4ec13d3693
bots: Simplify define bot test.
2017-05-24 19:44:22 -07:00
derAnfaenger
c3c7874e3f
bots: Fix unit tests not running in Vagrant.
...
`test-bots` would not run in Vagrant, displaying
the error "ValueError: no such test method in <class
'bots_test_lib.BotTestCase'>: runTest" This was due to
the `BotTestCase` class inheriting from the TestCase
class, even though it was not a unit test on its own.
This commit removes the inheritance of TestCase and
specifies `test_define` as the `runTest` method in
`TestDefineBot`.
2017-05-24 19:44:22 -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
Krzysztof Krzysztof
5bc719ebbb
bots: Add empty message support in Wikipedia bot.
2017-05-24 19:23:36 -07:00
Reid Barton
6d2a82ee3c
build-release-tarball: Give helpful message on update-prod-static failure.
2017-05-24 19:17:00 -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
Mehanig
3f5d0e69fb
Build and handle jsfiles using webpack instead of django-pipeline.
...
Also renames bundle.js to translations.js.
2017-05-24 18:38:03 -07:00
Mehanig
4f39d4fc22
Split webpack config into 3 files (base, dev, production).
2017-05-24 18:37:58 -07:00
Elliott Jin
573e06260a
Don't initialize bot_data until after people.initialize()
...
bot_data initialization depends on the results of people.initialize(); for
example, to determine whether a bot is owned by the current user.
2017-05-24 17:58:57 -07:00
Steve Howell
6518c63b14
node tests: Add tests to activity.js.
2017-05-24 17:41:41 -07:00
Steve Howell
689605dd2e
Introduce make_zjquery().
2017-05-24 17:41:41 -07:00
Steve Howell
6c7a5260fc
node tests: Add tests for filtering user ids in user list.
2017-05-24 17:41:41 -07:00
Steve Howell
5c09bec5e9
node tests: Use zjquery for entire activity test.
2017-05-24 17:41:41 -07:00
Steve Howell
ee17f8fc8d
Move mousemove function into initialize().
2017-05-24 17:41:41 -07:00
Steve Howell
46e72289d1
Add features to zjquery.
2017-05-24 17:41:41 -07:00
Steve Howell
4d6ca1ab70
Introduce compose_fade.initialize().
2017-05-24 17:41:40 -07:00
Reid Barton
ccc2451b93
docs: Add missing single quote in EMAIL_FILE_PATH.
2017-05-24 17:37:49 -07:00
derAnfaenger
ba323faef6
bots: Make test-bots independent from current working path.
2017-05-24 17:34:11 -07:00
derAnfaenger
0965e3698d
bots: Make run.py independent from current working path.
2017-05-24 17:34:11 -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