zulip/zerver/lib
adnrs96 9eb47f108c Refactor: Change upload_avatar_image to accept two user profiles.
In this commit we just change the upload_avatar_image function to accept
two user_profiles acting_user_profile and target_user_profile. Basically
email param is dropped for a target_user_profile so that avatar's could
be moved lateron to user id based storage.
2017-03-03 18:15:15 -08:00
..
bugdown Fix several new errors caught by mypy 0.501. 2017-03-03 14:12:52 -08:00
url_preview mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -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 Enable display of emoji as their alt codes in reactions. 2017-03-03 15:19:34 -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 Have functions in lib/avatar.py use avatar versions. 2017-02-17 10:19:56 -08:00
avatar_hash.py lint: clean up PEP-8 W391 rule. 2017-01-23 20:39:02 -08:00
bulk_create.py Remove calls to get_realm in preparation for its deprecation. 2016-12-26 17:53:32 -08:00
cache.py page_params: Modify `bot_list` to hold active as well as inactive bots. 2017-02-26 23:56:51 -08:00
cache_helpers.py lint: Clean up E123 PEP-8 rule. 2017-01-23 21:34:26 -08:00
camo.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
ccache.py mypy: Make zerver/lib/ccache.py support python 3. 2017-02-10 23:53: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: Fix inconsistencies in use of *args/**kwargs. 2017-02-18 18:39:44 -08:00
debug.py mypy: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00
digest.py Fix timezone errors in ScheduledJob and digest creation filters. 2017-03-01 22:54:28 -08:00
domains.py Add stricter domain validation and improve error messages. 2017-01-26 17:24:25 -08:00
email_mirror.py attachment: Add 'size' field tracking size of uploaded files. 2017-03-01 15:58:21 -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 Enable display of emoji as their alt codes in reactions. 2017-03-03 15:19:34 -08:00
export.py Canonicalize how we convert timestamps to UTC datetimes. 2017-03-01 23:03:56 -08:00
html_diff.py internal_send_message: Make realm argument mandatory. 2017-01-21 21:37:30 -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 Have functions in lib/avatar.py use avatar versions. 2017-02-17 10:19:56 -08:00
migrate.py lint: Clean up W503 PEP-8 warning. 2017-01-23 20:50:04 -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 lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
parallel.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
push_notifications.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
queue.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
rate_limiter.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -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 pep8: Fix E231. 2016-11-30 19:59:25 -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: Convert the isinstances function in /zerver/lib/ to use typing.Text. 2016-12-25 10:33:45 -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: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00
test_helpers.py Fix several new errors caught by mypy 0.501. 2017-03-03 14:12:52 -08:00
test_runner.py testing: Copy code from unittest.TestSuite.run. 2017-02-19 21:04:06 -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 upload_avatar_image to accept two user profiles. 2017-03-03 18:15:15 -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 Fix several new errors caught by mypy 0.501. 2017-03-03 14:12:52 -08:00
validator.py mypy: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00