zulip/zerver/lib
Anders Kaseorg 4d04fa3118 compose: Rewrite Zoom video call integration to use OAuth.
This reimplements our Zoom video call integration to use an OAuth
application.  In addition to providing a cleaner setup experience,
especially on zulipchat.com where the server administrators can have
done the app registration already, it also fixes the limitation of the
previous integration that it could only have one call active at a time
when set up with typical Zoom API keys.

Fixes #11672.

Co-authored-by: Marco Burstein <marco@marco.how>
Co-authored-by: Tim Abbott <tabbott@zulipchat.com>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-06-03 16:39:12 -07:00
..
bugdown openapi: Forbid opaque objects from OpenAPI documentation. 2020-06-02 16:45:06 -07:00
url_preview url preview: Use Chrome's user agent instead of a Zulip one. 2020-04-26 10:16:43 -07:00
webhooks integrations: Add Gogs webhook for release event. 2020-05-12 17:39:38 -07:00
__init__.py
actions.py compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00
addressee.py addressee: Remove obsolete parsing functions. 2020-05-12 17:33:11 -07:00
alert_words.py python: Convert more variable type annotations to Python 3.6 style. 2020-05-08 16:42:43 -07:00
attachments.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
avatar_hash.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
avatar.py avatars: Fix gravatar URLs with EMAIL_ADDRESS_VISIBILITY_ADMINS. 2019-11-05 12:33:20 -08:00
bot_config.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
bot_lib.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
bot_storage.py python: Convert type checks to isinstance checks. 2020-04-21 17:58:09 -07:00
bulk_create.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
cache_helpers.py update_to_dict_cache: Use bulk queries when preparing msgs for cache. 2020-05-19 10:30:03 -07:00
cache.py bots: Remove owner (email) from bot-related payloads. 2020-05-12 09:48:37 -07:00
camo.py camo: Clean up type ignores. 2019-08-09 16:39:16 -07:00
ccache.py docs: Convert many http URLs to https. 2020-03-26 21:35:32 -07:00
context_managers.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
create_user.py users: Modify do_create_user and create_user to accept role. 2020-06-02 16:11:36 -07:00
db.py db: Fix types to accept psycopg2.sql.Composable queries, avoid Any. 2020-05-04 09:33:03 -07:00
debug.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
dev_ldap_directory.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
digest.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
display_recipient.py python: Convert TypedDict declarations to Python 3.6 style. 2020-05-26 11:43:40 -07:00
domains.py domains: Fix typing for validate_domain. 2019-07-29 15:18:24 -07:00
email_mirror_helpers.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
email_mirror.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
email_notifications.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
email_validation.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
emoji.py emoji: Add workaround for collectstatic step of build-release-tarball. 2020-06-03 16:39:12 -07:00
error_notify.py error logging: Simplify deployment data. 2020-05-06 16:29:53 -07:00
events.py compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00
exceptions.py compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00
export.py requirements: Upgrade boto to boto3. 2020-05-26 23:18:07 -07:00
external_accounts.py text: Fix some typos (most of them found and fixed by codespell). 2020-03-27 17:25:56 -07:00
fix_unreads.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
generate_test_data.py populate_db: Generate topics using config fixture. 2020-05-05 16:11:09 -07:00
hotspots.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
html_diff.py mypy: Remove type: ignores that are unnecessary with new mypy. 2017-11-25 10:06:28 -08:00
html_to_text.py html_to_text: Add delimiters between text from different elements. 2019-05-01 17:35:20 -07:00
i18n.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
import_realm.py requirements: Upgrade boto to boto3. 2020-05-26 23:18:07 -07:00
initial_password.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
integrations.py tools: Use the correct logo path to generate bot avatar. 2020-06-01 18:08:23 -07:00
logging_util.py logging_util: Handle record.status_code missing in skip_200_and_304. 2020-04-22 11:26:13 -07:00
management.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
mdiff.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
mention.py bugdown: Store if message has wildcards in MentionData. 2019-12-02 12:12:35 -08:00
message.py python: Convert TypedDict declarations to Python 3.6 style. 2020-05-26 11:43:40 -07:00
migrate.py migrate: Improve do_batch_update escaping correctness with psycopg2.sql. 2020-05-04 09:33:03 -07:00
mobile_auth_otp.py lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07:00
name_restrictions.py docs: Convert many http URLs to https. 2020-03-26 21:35:32 -07:00
narrow.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
onboarding.py onboarding: Mark strings in send_initial_realm_messages for translation. 2020-04-23 17:18:39 -07:00
outgoing_webhook.py refactor: Remove unnecessary request_data param in outgoing_webhook. 2020-06-02 15:19:27 -07:00
parallel.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
presence.py presence: Optimize performance of mobile_query. 2020-05-14 23:23:37 -07:00
profile.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
push_notifications.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
queue.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
rate_limiter.py python: Remove extra pass statements with autoflake. 2020-05-26 11:43:40 -07:00
realm_description.py html_to_text: Add delimiters between text from different elements. 2019-05-01 17:35:20 -07:00
realm_icon.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
realm_logo.py realm_logo: Remove redundant realm_logo_url function. 2019-08-20 12:07:20 -07:00
redis_utils.py redis_utils: Extend put_dict_in_redis to accept token as param. 2020-05-20 13:30:44 -07:00
remote_server.py push_notifs: Handle more requests Exceptions in send_to_push_bouncer. 2019-12-04 09:58:22 -08:00
request.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
response.py exceptions: Move default json_unauthorized string to response.py. 2020-02-05 15:40:10 -08:00
rest.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
retention.py retention: Pass optional realm argument to move_messages_to_archive. 2020-05-16 14:46:56 -07:00
send_email.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
server_initialization.py actions: Merge do_change_is_admin and do_change_is_guest. 2020-05-25 16:17:10 -07:00
sessions.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
soft_deactivation.py soft_deactivation: Fix buggy error handling. 2020-05-06 10:46:54 -07:00
sqlalchemy_utils.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
statistics.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
storage.py docs: Merge front-end-build-process with html-css. 2019-10-23 13:08:36 -07:00
stream_recipient.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
stream_subscription.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
stream_topic.py python: Whitespace fixes from autopep8. 2020-04-21 17:58:09 -07:00
streams.py stream: Allow non admins to set stream post policy when creating streams. 2020-05-16 14:53:22 -07:00
subdomains.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test_classes.py invite: Fix invitations removed from list too soon. 2020-05-26 21:45:44 -07:00
test_data.source.txt test_data.source.txt: Replace postmodernism generator text with a play. 2017-08-23 13:00:39 -07:00
test_fixtures.py test_fixtures: Use cursor.execute correctly. 2020-05-04 09:35:30 -07:00
test_helpers.py requirements: Upgrade boto to boto3. 2020-05-26 23:18:07 -07:00
test_runner.py python: Remove extra pass statements with autoflake. 2020-05-26 11:43:40 -07:00
tex.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
thumbnail.py thumbor: Fix __file__ typo. 2020-04-12 11:23:03 -07:00
timeout.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
timestamp.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
timezone.py markdown: Add timestamp syntax to markdown processors. 2020-05-20 14:23:55 -07:00
topic_mutes.py python: Whitespace fixes from autopep8. 2020-04-21 17:58:09 -07:00
topic.py topic: Remove 7 days restriction for editing & moving topics. 2020-05-08 12:57:50 -07:00
transfer.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
type_debug.py mypy: Add specific codes to type: ignore annotations. 2020-04-22 10:46:33 -07:00
types.py python: Convert TypedDict declarations to Python 3.6 style. 2020-05-26 11:43:40 -07:00
unminify.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
upload.py requirements: Upgrade boto to boto3. 2020-05-26 23:18:07 -07:00
url_encoding.py redirects: Refactor redirect code to use central helper function. 2020-03-25 16:39:17 -07:00
user_agent.py user_agent: Compile the regular expression. 2020-02-14 10:26:37 -08:00
user_groups.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
user_status.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
users.py users: Add is_owner field to user objects returned by get endpoints. 2020-06-01 15:33:51 -07:00
utils.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
validator.py org settings: Enable message_retention_days in org settings UI. 2020-05-08 14:09:31 -07:00
widget.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00
zcommand.py zcommand: Add /fluid-width and /fixed-width slash commands. 2020-04-07 20:54:34 -07:00
zephyr.py python: Remove now-unnecessary str_utils library. 2018-11-27 11:57:54 -08:00