zulip/zerver/lib
Igor Tokarev c93f1d4eda Add oembed/Open Graph/Meta tags data retrieval from inline links.
This change adds support for displaying inline open graph previews for
links posted into Zulip.

It is designed to interact correctly with message editing.

This adds the new settings.INLINE_URL_EMBED_PREVIEW setting to control
whether this feature is enabled.

By default, this setting is currently disabled, so that we can burn it
in for a bit before it impacts users more broadly.

Eventually, we may want to make this manageable via a (set of?)
per-realm settings.  E.g. I can imagine a realm wanting to be able to
enable/disable it for certain URLs.
2016-12-07 17:40:18 -08:00
..
bugdown Add oembed/Open Graph/Meta tags data retrieval from inline links. 2016-12-07 17:40:18 -08:00
url_preview Add oembed/Open Graph/Meta tags data retrieval from inline links. 2016-12-07 17:40:18 -08:00
webhooks mypy: Convert more zerver/lib files to typing.Text. 2016-12-05 21:17:24 -08:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
actions.py Add oembed/Open Graph/Meta tags data retrieval from inline links. 2016-12-07 17:40:18 -08:00
alert_words.py Fix type annotations in zerver/lib/alert_words.py. 2016-05-24 14:12:11 -07:00
avatar.py Add medium size avatars for use on the user's own settings page. 2016-10-25 09:42:14 -07:00
avatar_hash.py avatar: Move avatar hash computations to their own file. 2016-10-02 21:19:10 -07:00
bulk_create.py models.py: Rename split_email_to_domain to email_to_domain. 2016-11-11 15:26:51 -08:00
cache.py Add oembed/Open Graph/Meta tags data retrieval from inline links. 2016-12-07 17:40:18 -08:00
cache_helpers.py pep8: Fix E502 violations 2016-12-03 10:56:36 -08:00
camo.py zerver/lib/camo.py: Type ignore statement with hex encode. 2016-07-07 09:52:24 -07:00
ccache.py Remove shebang line from non-scripts 2016-11-26 13:20:22 -08:00
context_managers.py mypy: Change Generator[None, None, None] to Iterator[None]. 2016-11-27 10:42:16 -08:00
create_user.py create_user: Disable stream desktop notifications by default. 2016-11-08 07:48:49 -08:00
db.py Fix cursor() arguments for connection classes. 2016-10-14 13:35:06 -07:00
debug.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
digest.py pep8: Fix E502 violations 2016-12-03 10:56:36 -08:00
email_mirror.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
export.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
html_diff.py Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
i18n.py Send double columned language list in page_params. 2016-08-10 16:19:28 -07:00
initial_password.py zerver/lib/initial_password.py: Encode return value. 2016-06-18 16:41:40 -07:00
integrations.py integrations: Add webhook payloads, webhook code, API endpoint, and tests for heroku 2016-12-06 11:05:00 -08:00
logging_util.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
mandrill_client.py Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
mention.py zerver/lib/bugdown/__init__.py: Fix string types. 2016-06-16 15:21:17 -07:00
message.py Add oembed/Open Graph/Meta tags data retrieval from inline links. 2016-12-07 17:40:18 -08:00
migrate.py lint: Fix E127 pep8 violations. 2016-12-01 10:23:55 -08:00
name_restrictions.py realm creation flow: Prevent disposable email signups. 2016-11-05 10:37:15 -07:00
narrow.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
notifications.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
parallel.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
push_notifications.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
queue.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
rate_limiter.py zerver: Fix lines with length greater than 120. 2016-07-08 11:41:43 -07:00
redis_utils.py settings: Add support for specifying a remote redis password. 2016-08-11 16:54:22 -07:00
request.py Django 1.10: Deprecate request.REQUEST. 2016-11-04 10:20:24 -07:00
request.pyi Improve annotations of decorators. 2016-07-22 11:14:33 -07:00
response.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
rest.py pep8: Fix E129 violations 2016-12-03 10:56:36 -08:00
retention.py pep8: Fix E231. 2016-11-30 19:59:25 -08:00
session_user.py zerver/lib/session_user.py: Replace Dict by Mapping. 2016-06-29 10:36:50 -07:00
sqlalchemy_utils.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
statistics.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
str_utils.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
test_classes.py Change call signature for users_subscribed_to_stream() 2016-12-05 15:46:19 -08:00
test_fixtures.py pep8: Fix E125. 2016-11-30 20:03:29 -08:00
test_helpers.py Fix several type annotations for mypy 0.4.6 compatibility. 2016-12-03 13:45:52 -08:00
test_runner.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
timeout.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
timestamp.py analytics: Simplify frequency and measurement interval options. 2016-10-14 10:18:37 -07:00
type_debug.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
unminify.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
upload.py pep8: Fix E125. 2016-11-30 20:03:29 -08:00
user_agent.py Add type annotation to mention.py, redis_utils.py, timestamp.py, user_agent.py 2016-06-03 19:00:16 -07:00
utils.py pep8: Fix E303 violations. 2016-12-02 15:34:11 -08:00
validator.py Add annotations for zerver/lib/validator. 2016-06-03 23:53:49 -07:00