zulip/zerver/lib
adnrs96 ae31c6cc0d avatar: Move avatar data from email based to user id based.
This commit introduces a migration for moving avatars from email based
to user id based storage.

This is in responce to change in behaviour of user_avatar_path to
return path comprising of realm id and a hash based on user id. Also
we fix test_helpers accordingly.

Fixes #3776.
2017-03-07 22:44:26 -08:00
..
bugdown python: Fix remaining bare excepts in codebase. 2017-03-05 16:17:04 -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 push: Move handle_push_notifications to push_notifications.py. 2017-03-05 18:32:09 -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 avatar: Move avatar data from email based to user id based. 2017-03-07 22:44:26 -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 Add size limit for uploading user avatars and realm icons. 2017-03-07 22:13:01 -08:00
export.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
feedback.py feedback: Remove unnecessary realm_for_email. 2017-03-06 00:01:58 -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 Splunk webhook integration. 2017-03-07 21:48:26 -08:00
logging_util.py python: Fix remaining bare excepts in codebase. 2017-03-05 16:17:04 -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 missed-emails-sending: Move email sending to separate queue worker. 2017-03-07 20:08:40 -08:00
parallel.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
push_notifications.py remove_push_device_token: Remove unused request argument. 2017-03-05 22:01:28 -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 python: Fix remaining bare excepts in codebase. 2017-03-05 16:17:04 -08:00
request.pyi mypy: Fix missing class in request.pyi and document. 2016-12-28 09:37:28 -08:00
response.py coverage: bring zerver/lib/response.py to 100% coverage. 2017-03-05 00:53:26 -08:00
rest.py coverage: Add test for REST requests to /json API unauthed. 2017-03-05 00:53:27 -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 coverage: Add coverage for OPTIONS HTTP method. 2017-03-05 00:53:26 -08:00
test_fixtures.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
test_helpers.py avatar: Move avatar data from email based to user id based. 2017-03-07 22:44:26 -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