zulip/zerver/lib
Rohitt Vashishtha a3ed83f4e2 markdown: Update bugdown emoticon translation logic to match frontend.
This PR solves some of the parity issues in the emoticon translation
logic. I was unable to find a way of matching only one of the
lookaround groups, so we still have some inconsistency (see
testcase). The approach of having another check while converting just
for this seemed like an inefficient way, so I've left that last change
as it is.
2018-03-29 15:56:24 -07:00
..
bugdown emoji: Add translate_emoticons flag in bugdown testcases. 2018-03-27 17:16:55 -07:00
url_preview zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
webhooks webhooks: Stop raising an exception if stream does not exist. 2018-03-24 13:50:17 -07:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
actions.py profile: Send operation in the event. 2018-03-29 13:09:11 -07:00
addressee.py refactor: Move topic name checks to Addressee class. 2018-01-25 06:21:01 -05:00
alert_words.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
api_test_helpers.py api_docs: Document the POST /api/v1/user_uploads endpoint. 2018-03-02 09:44:17 -08:00
attachments.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
avatar_hash.py zerver/lib: Use Python 3 syntax for typing for several files. 2017-11-28 17:02:24 -08:00
avatar.py mypy: Use Python 3 type syntax in zerver/lib/avatar.py. 2017-12-18 11:32:52 -05:00
bot_config.py bot_config.py: Add function for loading config file templates. 2018-01-07 20:05:52 +01:00
bot_lib.py embedded bots: Log warning when bot quit()s. 2018-02-13 14:56:37 -08:00
bot_storage.py zerver/lib: Use python 3 syntax for typing. 2017-11-28 17:15:14 -08:00
bulk_create.py bulk_create: Fix buggy logic for generating recipients_by_email. 2017-11-21 21:07:32 -08:00
cache_helpers.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
cache.py cache: Remove a now-unnecessary TODO. 2018-03-16 11:32:14 -07:00
camo.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
ccache.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
context_managers.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
create_user.py mypy: Amend tos_version parameter of create_user_profile to be Optional. 2017-12-23 01:22:22 +09:00
db.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
debug.py mypy: Migrate lib/debug.py to python3.5 annotations. 2018-03-12 11:23:30 -07:00
digest.py digest: Add a server setting, and disable by default. 2018-03-23 14:12:01 -07:00
domains.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
email_mirror.py zerver/lib: Remove u prefix from strings. 2018-02-05 12:12:58 -08:00
emoji.py markdown: Update bugdown emoticon translation logic to match frontend. 2018-03-29 15:56:24 -07:00
error_notify.py errors: Compute deployment metadata on the right deployment. 2017-12-22 11:52:13 -05:00
events.py profile: Send field types to client side. 2018-03-29 13:09:12 -07:00
exceptions.py webhooks: Stop raising an exception if stream does not exist. 2018-03-24 13:50:17 -07:00
export.py mypy: Add explicit Optional for default=None parameters in export.py. 2018-03-28 12:31:51 -07:00
feedback.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
fix_unreads.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
generate_test_data.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
hotspots.py hotspots: Add ALWAYS_SEND_ALL_HOTSPOTS in dev_settings. 2018-03-19 10:39:43 -07:00
html_diff.py mypy: Remove type: ignores that are unnecessary with new mypy. 2017-11-25 10:06:28 -08:00
i18n.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
initial_password.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
integrations.py integrations: Add Gocd webhook integration. 2018-03-28 11:08:27 -07:00
json_encoder_for_html.py mypy: Fix annotations for json_encoder_for_html. 2017-11-22 01:32:46 -08:00
logging_util.py settings: Fix double negative in LOGGING_NOT_DISABLED. 2018-03-21 18:03:05 -07:00
management.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
mdiff.py mypy: Amend diff_strings to return str or raise DiffException. 2018-02-13 11:40:51 -08:00
mention.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
message.py markdown: Clean render_markdown. 2018-03-19 10:36:26 -07:00
migrate.py migrate: Remove dead migration code. 2018-03-15 17:56:32 -07:00
mobile_auth_otp.py zerver/lib/mobile_auth_otp: Sweep force_str. 2017-12-26 09:09:31 -05:00
name_restrictions.py email: Use PyPi module for disposable email providers list. 2018-03-11 21:48:56 -07:00
narrow.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
notifications.py notification email: Send followup_day2 email two days later. 2018-03-16 13:35:57 -07:00
onboarding.py bots: Clean up create_realm_internal_bots. 2018-02-06 18:59:57 -08:00
outgoing_webhook.py Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
parallel.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
profile.py mypy: Improve typing to profile.py & remove FuncT from decorator.py. 2017-10-29 17:10:13 -07:00
push_notifications.py push_notifications: Handle errors with token reuse. 2018-03-23 11:02:55 -07:00
queue.py mypy: Remove some now-unnecessary type: ignores. 2018-03-28 10:39:05 -07:00
rate_limiter.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
realm_icon.py zerver/lib: Remove u prefix from strings. 2018-02-05 12:12:58 -08:00
redis_utils.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
request.py REQ: Add type parameter to act as hint for typing. 2018-02-13 11:40:52 -08:00
request.pyi mypy: Add explicit Optional for default=None parameters in various files. 2018-03-28 12:31:51 -07:00
response.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
rest.py webhooks: Fix passing client string to authenticated webhook API views. 2018-03-16 15:43:19 -07:00
retention.py zerver/lib: Use python 3 syntax for typing. 2017-11-28 17:15:14 -08:00
send_email.py settings: Added setting to turn on and off realm name in email subject. 2018-02-05 18:01:54 -08:00
sessions.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
slack_data_to_zulip_data.py slack importer: Show when files are being downloaded. 2018-03-20 14:42:26 -07:00
slack_message_conversion.py slack importer: Add test for checking link in message conversion. 2018-02-05 14:46:39 -08:00
soft_deactivation.py logging: Reduce create_logger to new log_to_file. 2017-12-12 17:17:08 -08:00
sqlalchemy_utils.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
statistics.py zerver/lib: Use Python 3 syntax for typing for several files. 2017-11-28 17:02:24 -08:00
str_utils.py zerver/lib: Remove u prefix from strings. 2018-02-05 12:12:58 -08:00
stream_recipient.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
stream_subscription.py Mypy: Use models.py QuerySet annotation approach in stream_subscription.py. 2018-03-15 12:54:43 -07:00
stream_topic.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
streams.py mypy: Mark Subscription as Optional in lib/streams.py:access_stream*. 2018-03-23 11:32:00 -07:00
subdomains.py Convert EmailAuthBackend and LDAPAuthBackend to accept a realm. 2017-11-21 18:23:50 -08:00
test_classes.py webhooks: Stop raising an exception if stream does not exist. 2018-03-24 13:50:17 -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: Add settings files to things that require reprovision. 2018-03-29 11:53:12 -07:00
test_helpers.py mypy: Final small migrations to python3.5 annotations in many files. 2018-03-12 11:23:30 -07:00
test_runner.py mypy: Use Python 3 syntax for typing in test_runner.py 2018-01-23 08:49:42 -08:00
tex.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
timeout.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
timestamp.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
timezone.py schedulemessages: Add handle_deferred_message() to handle requests. 2018-01-19 11:33:11 -05:00
topic_mutes.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
type_debug.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
types.py mypy: Introduce strict definition of Validator into types.py. 2018-03-16 11:16:38 -07:00
unminify.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
upload.py uploads: Convert CMYK to RGB when saving avatar/realm icon as png. 2018-03-02 12:57:22 -08:00
user_agent.py parse_user_agent: Assert user agent is not None. 2018-03-22 14:29:29 -07:00
user_groups.py user-groups: Add backend enforcing for new modification settings. 2018-03-23 14:44:47 -07:00
users.py mypy: Introduce query variable in lib/users.py for clarity. 2018-03-23 11:32:00 -07:00
utils.py mypy: Add explicit Optional for default=None parameters in various files. 2018-03-28 12:31:51 -07:00
validator.py mypy: Add explicit Optional for default=None parameters in various files. 2018-03-28 12:31:51 -07:00