zulip/zerver/lib
Abhishek-Balaji 43e39718c4 user_name: Prevent users from setting name ending with |number.
We've had bugs in the past where users with a name in the format
"Alice|999" would confuse our markdown rendering or typeahead.  While
that's a fully solvable problem, there's no real use case for that, so
it's probably simpler to just prevent users from setting their name
that way.

Fixes #13923.
2020-04-30 15:59:12 -07:00
..
bugdown lib/bugdown/api_code_examples: Fix buggy rendering of print statement. 2020-04-29 23:21:42 -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 python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
__init__.py
actions.py data exports: Handle pending and failed exports. 2020-04-30 13:00:59 -07:00
addressee.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
alert_words.py alert_words: Fix cache flushing behavior and add tests. 2020-04-27 11:48:32 -07:00
attachments.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
avatar_hash.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07: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.py alert_words: Move alert_words from UserProfile to separate model. 2020-04-27 11:29:50 -07:00
cache_helpers.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -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
create_user.py models: Add recipient foreign key in UserProfile and Stream. 2019-12-09 15:14:41 -08:00
db.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
debug.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
dev_ldap_directory.py ldap: Fix development environment configuration. 2019-11-08 14:00:24 -08:00
digest.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
display_recipient.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
domains.py domains: Fix typing for validate_domain. 2019-07-29 15:18:24 -07:00
email_mirror.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -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_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_name: Raise correct exception if emoji_name is missing. 2020-04-12 11:52:45 -07:00
error_notify.py error_notify: Use internal_send_stream_message(). 2020-02-11 12:20:53 -08:00
events.py api: Always return zulip_version/zulip_feature_level. 2020-04-29 11:58:22 -07:00
exceptions.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
export.py data exports: Keep deleted export in UI table. 2020-04-30 13:00:59 -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: Switch various logging code paths to use user IDs. 2019-11-15 17:24:01 -08:00
generate_test_data.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -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
html_to_text.py html_to_text: Add delimiters between text from different elements. 2019-05-01 17:35:20 -07:00
i18n.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
import_realm.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
initial_password.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
integrations.py tools: Allow specifying more options when capturing screenshot. 2020-04-28 13:00:09 -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 alert_words: Move alert_words from UserProfile to separate model. 2020-04-27 11:29:50 -07:00
migrate.py migrate, create_large_indexes: Use CREATE INDEX IF NOT EXISTS. 2019-06-26 11:01:30 -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 python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
parallel.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
presence.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -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 python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
queue.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
rate_limiter.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -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: Require key_format argument in get_dict_from_redis. 2020-01-26 21:40:15 -08: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 python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
send_email.py send_custom_email: Use a special .gitignored directory. 2020-04-21 16:50:11 -07:00
server_initialization.py server_initialization: Create Client objects for mobile/desktop. 2020-02-24 23:19:43 -08:00
sessions.py mypy: Add specific codes to type: ignore annotations. 2020-04-22 10:46:33 -07:00
soft_deactivation.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -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 python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
subdomains.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test_classes.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
test_data.source.txt
test_fixtures.py test_fixtures: Add DB function to write database digest. 2020-04-30 10:46:53 -07:00
test_helpers.py auth: Add ExternalAuthResult to manage data in authentication flows. 2020-04-28 22:19:02 -07:00
test_runner.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -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
timezone.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
topic.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
topic_mutes.py python: Whitespace fixes from autopep8. 2020-04-21 17:58:09 -07:00
transfer.py logging: Switch various logging code paths to use user IDs. 2019-11-15 17:24:01 -08:00
type_debug.py mypy: Add specific codes to type: ignore annotations. 2020-04-22 10:46:33 -07:00
types.py types: Consistently use DisplayRecipientT for display_recipient objects. 2019-08-20 12:15:30 -07:00
unminify.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
upload.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -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 user_name: Prevent users from setting name ending with |number. 2020-04-30 15:59:12 -07:00
utils.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
validator.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
video_calls.py zoom: Fix handling of 201 status codes from zoom API. 2019-01-16 15:37:06 -08: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