zulip/zerver/lib
adnrs96 3f58e20993 Refactor: Change user_avatar_hash with user_avatar_path at all calls.
In this commit we change user_avatar_hash with user_avatar_path which
now returns paths to avatars based on the email hash.

Tweaked by tabbott to avoid an import loop.
2017-03-04 18:39:49 -08:00
..
bugdown mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
url_preview mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
webhooks mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
actions.py admin: Added realm option to prevent users from changing their email. 2017-03-04 17:32:48 -08:00
alert_words.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
attachments.py Add support for managing and deleting attachments. 2017-02-16 23:44:44 -08:00
avatar.py Refactor: Change user_avatar_hash with user_avatar_path at all calls. 2017-03-04 18:39:49 -08:00
avatar_hash.py Refactor: Change user_avatar_hash with user_avatar_path at all calls. 2017-03-04 18:39:49 -08:00
bulk_create.py Add RealmAuditLog table and record user activation/deactivation events. 2017-03-04 16:45:44 -08:00
cache.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
cache_helpers.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
camo.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
ccache.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -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 mypy: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00
db.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
debug.py mypy: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00
digest.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
domains.py Add stricter domain validation and improve error messages. 2017-01-26 17:24:25 -08:00
email_mirror.py mypy: Work around several new mypy bugs in 0.501. 2017-03-04 15:33:39 -08:00
emoji.py bugdown: Change rendered emoji image to `unicode/<codepoint>.png.` 2017-02-26 18:30:15 -08:00
error_notify.py errors: Move do_report_error into zerver/lib/. 2017-01-23 23:18:28 -08:00
events.py admin: Added realm option to prevent users from changing their email. 2017-03-04 17:32:48 -08:00
export.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
html_diff.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
i18n.py Fix several new errors caught by mypy 0.501. 2017-03-03 14:12:52 -08:00
initial_password.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
integrations.py Add a simple Home Assistant integration for Zulip. 2017-02-18 21:18:10 -08:00
logging_util.py Change timezone-naive datetimes to use timezone.now() where safe to do so. 2017-03-01 22:54:28 -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 mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
message.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
migrate.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
name_restrictions.py name_restrictions: Add a few more reserved subdomains. 2016-12-26 14:59:09 -08:00
narrow.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
notifications.py mypy: Work around obnoxious async error. 2017-03-04 15:39:53 -08:00
parallel.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
push_notifications.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
queue.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
rate_limiter.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
realm_icon.py realm-icon: Add realm icon feature. 2017-02-26 12:16:07 -08:00
redis_utils.py settings: Add support for specifying a remote redis password. 2016-08-11 16:54:22 -07:00
request.py mypy: Fix missing class in request.pyi and document. 2016-12-28 09:37:28 -08:00
request.pyi mypy: Fix missing class in request.pyi and document. 2016-12-28 09:37:28 -08:00
response.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
rest.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
retention.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
session_user.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
sqlalchemy_utils.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
statistics.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
str_utils.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
streams.py streams: Consider stream name validation logic. 2017-01-29 22:07:14 -08:00
test_classes.py testing: Serialize test_upload. 2017-02-17 12:40:39 -08:00
test_fixtures.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
test_helpers.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
test_runner.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
timeout.py Replace 'type' with 'Type[BaseException]'. 2017-02-06 22:34:01 -08:00
timestamp.py Clean up timestamps.py and add a test. 2017-03-01 23:03:56 -08:00
type_debug.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
unminify.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
upload.py Refactor: Change user_avatar_hash with user_avatar_path at all calls. 2017-03-04 18:39:49 -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
users.py users: Verify full names explicitly in user creation. 2017-02-07 19:54:30 -08:00
utils.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
validator.py mypy: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00