Yago González
2f4091b38d
api: Fix caps in JSON validation error message.
2017-06-27 08:33:56 -04:00
Umair Khan
acf0aad4a2
signals.py: Bring coverage to 100%.
2017-06-26 16:14:14 -07:00
Umair Khan
6357737978
get_device_browser: Fix Opera detection.
...
Starting from version 15, Opera uses 'OPR/' in its user agent string.
We need to move Opera detection before Chrome detection because
Opera's user agent string satisfies Chrome conditions as well.
Ref: https://dev.opera.com/blog/opera-user-agent-strings-opera-15-and-beyond/
2017-06-26 16:14:14 -07:00
Umair Khan
14402b0b97
get_device_browser: Move Edge detection to the top.
...
The user agent strings of Edge satisfy Chrome condition as well.
Ref: https://msdn.microsoft.com/en-us/library/hh869301(v=vs.85).aspx
2017-06-26 16:14:14 -07:00
Umair Khan
dc78a7888f
login_or_register_remote_user: Send login emails for mobile.
...
Fixes #5389
2017-06-26 16:14:14 -07:00
Umair Khan
34a91be9a2
api_fetch_api_key: Send new login emails for mobile.
2017-06-26 16:14:14 -07:00
Umair Khan
7e43cd5624
get_device_browser: Fix browser string for mobile.
...
Now get_device_browser() returns 'Zulip' for 'ZulipAndroid' and
'ZulipMobile'.
2017-06-26 16:14:14 -07:00
Umair Khan
b9c69004e4
google_oauth2_test: Pass headers in all requests.
...
Currently we only pass headers in the first client_get call but
sometimes the effective request which reaches the view is through
a later call to the client_get in this function. Due to which
headers are not passed.
2017-06-26 16:14:14 -07:00
Greg Price
058d76f5ff
avatar_hash: Update a comment to reflect the current code.
...
Also move a couple of comments inside the functions they describe,
because they're about the implementation of the functions rather
than their interface.
2017-06-26 15:15:32 -07:00
Eeshan Garg
708f3a4bb1
lib/integrations: Stop rendering HTML files.
...
Now that all of our integrations/webhooks docs have been migrated
to Markdown, we no longer need to render HTML.
2017-06-26 12:30:04 -04:00
Eeshan Garg
4ad951f256
integrations/perforce: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
ed388ed320
integrations/redmine: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
53c1a53120
integrations/jenkins: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
9115be0e9e
integrations/trello-plugin: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
c17600e3be
integrations/rss: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
421c71919c
integrations/mercurial: Use create-stream macro.
2017-06-26 12:30:04 -04:00
Eeshan Garg
9dde906115
integrations/git: Use macros and improve Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
b60c95d971
integrations/svn: Use Markdown macros.
2017-06-26 12:30:04 -04:00
Eeshan Garg
b9ac92c1a0
integrations/openshift: Use Markdown macros.
2017-06-26 12:30:04 -04:00
Eeshan Garg
31fa2f7c6d
integrations/hubot: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
3eeb90c599
integrations/puppet: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
fc0d7ed882
integrations/phabricator: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
169d7393a6
jira-plugin: Use create-stream macro and improve Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
70448a9c65
integrations/email: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
5fa71a4369
integrations/asana: Migrate docs to Markdown.
2017-06-26 12:30:04 -04:00
Eeshan Garg
843dbbf3a1
webhooks/slack: Restructure docs to use create-stream.md macro.
2017-06-26 12:30:04 -04:00
Abhijeet Kaur
cf0040c402
bots: De-duplicate removing at-mention pattern for calling bots.
...
Similar code appeared at two places (the code is meant to remove the
leading @-mention before passing the remainder of the message to the
bot handler)—both 'zerver/worker/queue_processors.py' and
'api/bots_api/bot_lib.py'.
Remove function from the queue_processors.py file and let the entire message
be processed (includes removing of @-mention) at bot_lib.py.
2017-06-26 08:33:25 -04:00
Nick Sweeting
8e84c72acb
Add error checking to payload['previous'] for Circle.CI.
...
This webhook used to fail if there was no previous payload.
2017-06-26 08:15:07 -04:00
Rishi Gupta
a56d703bdc
i18n: Remove translation tags in management commands.
2017-06-25 11:28:28 -04:00
Vishnu Ks
00668c7bbd
registration.py: Send pms from welcome-bot on user creation.
2017-06-25 11:23:45 -04:00
Vishnu Ks
9b7585a436
bots: Make welcome-bot cross realm.
2017-06-25 11:23:45 -04:00
Vishnu Ks
50008fe309
actions.py: Create internal_send_private_message function.
2017-06-25 11:23:45 -04:00
Umair Khan
a21f2d7715
migrations: Transition to new squashed migration.
2017-06-23 08:40:57 -04:00
Umair Khan
cec78e23bc
migrations: Remove squashed migration files.
2017-06-23 08:40:57 -04:00
Umair Khan
6fbddf578a
migrations: Squash migrations from 0001 to 0028.
2017-06-23 08:40:57 -04:00
Greg Price
5f74dc86a9
models: Clarify a bit the comment explaining UserMessage.
2017-06-22 17:10:42 -07:00
Greg Price
4a652ded0b
models: Remove a scary but obsolete comment.
...
This field was apparently never used, perhaps because we
reread this comment and anticipated how much future pain
it was warning us to avoid. :) See commit 2de31ee28
,
which deleted it.
2017-06-22 17:10:42 -07:00
Greg Price
c9e35c459a
landing: Write up why open source projects should use Zulip
...
This isn't very slick, but it should get the main points down,
and it's past time we got something like this up. Definitely
needs in the future another pass at the text, and also some images
(screenshots, etc.) and styling.
2017-06-22 16:26:50 -07:00
Vishnu Ks
61744a7a2a
forms.py: Replace hardcoded UserProfile.MAX_NAME_LENGTH in RegistrationForm.
2017-06-22 12:45:46 -07:00
Vaida Plankyte
1fb8eb823a
test_emails.py: Add referrer_realm_name to test values.
2017-06-22 14:19:33 -04:00
Sarah
205d523ab2
test_events: Refactor to use do_set_user_display_settings_test.
...
Remove individual setting tests and replace with
test_set_user_display_settings.
2017-06-22 08:00:56 -04:00
sinwar
8ff2e5a22b
requirements: Upgrade moto to latest version.
...
Fixes #5454
2017-06-21 19:05:50 -04:00
Abhijeet Kaur
c42d935be8
bots: Move "EmbeddedBotHandler" class to "zerver/lib/bot_lib.py" file.
...
This would keep embedded classes for zulip at one place, that is, in
"zerver" directory. This also fixes break in PyPI package for bindings.
2017-06-21 16:01:16 -04:00
James Rowan
19ffb84ac2
Make notification email for new login give browser and os.
...
notify_new_login.subject: include browser and os in subject line.
test_new_users: test for subject line to include browser/os.
2017-06-21 14:36:41 -04:00
Abhijeet Kaur
a45c224fda
bots: Update EmbeddedBotWorker class in queue_processors.py.
...
Update EmbeddedBotWorker.get_bot_api_client in
'zerver/workers/queue_processors.py' to return an EmbeddedBotHandler
object instead of ExternalBotHandler object.
This change is as a followup for splitting the BotHandler class into
two separate classes for external and embedded bots.
2017-06-21 10:22:53 -04:00
Abhijeet Kaur
68777e93a0
bots: Rename BotHandlerApi class to ExternalBotHandler.
...
This change is done for better understanding of the class functionality
from its class name. Now there will be 3 different classes for bots,
namely 'ExternalBotHandler', 'FlaskBotHandler' and 'EmbeddedBotHandler'.
2017-06-21 10:22:53 -04:00
Umair Khan
a4afca7b73
ldap: Don't authenticate if realm is None.
...
Fixes #5431
2017-06-21 10:14:34 -04:00
Umair Khan
005037830c
test_auth_backends: Fix indentation.
2017-06-21 10:14:34 -04:00
Sampriti Panda
5dc053d6fb
bots: Add validation to add_bot_backend to prevent empty short names
...
Fixes #5487
2017-06-21 10:11:08 -04:00
Abhijeet Kaur
14fdc2aea6
bots: Add 'Bot type' column to bots list in organization settings.
2017-06-20 23:04:46 -04:00