zulip/zerver/lib
K.Kanakhin 2434f2d96c messages: Add support for admins deleting messages.
This makes it possible for Zulip administrators to delete messages.
This is primarily intended for use in deleting early test messages,
but it can solve other problems as well.

Later we'll want to play with the permissions model for this, but for
now, the goal is just to integrate the feature.

Note that it saves the deleted messages for some time using the same
approach as Zulip's message retention policy feature.

Fixes #135.
2017-05-29 21:59:38 -07:00
..
bugdown mypy: Various strict-optional fixes in zerver. 2017-05-26 10:10:20 -07:00
url_preview Replace buggy NotImplemented with NotImplementedError(). 2017-05-23 20:33:35 -07:00
webhooks mypy: strict optional fixes. 2017-05-24 18:50:59 -07:00
__init__.py
actions.py messages: Add support for admins deleting messages. 2017-05-29 21:59:38 -07: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 avatar: Fix loop doing database queries in register. 2017-05-09 22:33:27 -07:00
avatar_hash.py avatar_hash: Extract user_avatar_path_from_ids. 2017-05-09 22:31:24 -07:00
bulk_create.py pep8: Add compliance with rule E261 to bulk_create.py. 2017-05-07 23:21:50 -07:00
cache.py mypy: Fix return type of a function. 2017-05-24 18:43:51 -07:00
cache_helpers.py models: Add get_user function. 2017-05-22 11:26:44 -07:00
camo.py pep8: Add compliance with rule E261 to camo.py. 2017-05-07 23:21:50 -07:00
ccache.py mypy: strict optional fixes. 2017-05-24 18:50:59 -07: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: Allow None in passwords while creating users. 2017-05-23 21:56:50 -07:00
db.py pep8: Add compliance with rule E261 to zerver/lib/db.py. 2017-05-18 03:00:32 +05:30
debug.py mypy: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00
digest.py pep8: Add compliance with rule E261 digest.py. 2017-05-07 23:21:50 -07:00
domains.py Add stricter domain validation and improve error messages. 2017-01-26 17:24:25 -08:00
email_mirror.py mypy: Make email_mirror pass --strict-optional check. 2017-05-24 18:49:54 -07:00
emoji.py realm_emoji.py: Allow an user to delete an emoji uploaded by them. 2017-05-29 20:21:25 -07:00
error_notify.py Fetch system bots using new get_system_bot function. 2017-05-23 10:30:40 -07:00
events.py messages: Add support for admins deleting messages. 2017-05-29 21:59:38 -07:00
export.py Fix most strict-optional issues in export.py. 2017-05-24 18:50:59 -07:00
feedback.py Fetch system bots using new get_system_bot function. 2017-05-23 10:30:40 -07:00
hotspots.py hotspots: Add backend support for tutorial hotspots. 2017-03-29 11:34:32 -07:00
html_diff.py Fetch system bots using new get_system_bot function. 2017-05-23 10:30:40 -07: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 integrations: Fix missing links to non-webhook integrations. 2017-05-10 11:17:56 -07:00
logging_util.py Replace timezone.now with timezone_now. 2017-04-16 12:28:56 -07:00
mention.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
message.py bots: Generate queue events for embedded bots. 2017-05-25 15:00:51 -07:00
migrate.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
mobile_auth_otp.py mobile: Add mobile one-time-pad library. 2017-04-28 11:47:35 -07: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: Various strict-optional fixes in zerver. 2017-05-26 10:10:20 -07:00
outgoing_webhook.py Outgoing Webhook System: Add DoRestCall and helper functions 2017-05-23 08:19:16 -07:00
parallel.py pep8: Add compliance with rule E261 to parallel.py. 2017-05-07 23:21:50 -07:00
push_notifications.py gcm: Increase retries to 10 while pushing. 2017-05-17 12:14:32 -07:00
queue.py pep8: Add compliance with rule E261 zerver/lib/queue.py. 2017-05-07 23:21:50 -07:00
rate_limiter.py pep8: Add compliance with rule E261 to rate_limiter.py. 2017-05-07 23:21:50 -07:00
realm_icon.py realm_icon: Use string_id instead of domain for Realm gravitar. 2017-03-13 14:28:43 -07:00
redis_utils.py settings: Add support for specifying a remote redis password. 2016-08-11 16:54:22 -07:00
request.py pep8: Add compliance with rule E261 to request.py. 2017-05-07 23:21:50 -07:00
request.pyi mypy: Fix missing class in request.pyi and document. 2016-12-28 09:37:28 -08:00
response.py mypy: Fix return annotation; json_method_not_allowed. 2017-05-25 15:41:44 -07:00
rest.py pep8: Add compliance with rule E261 to rest.py. 2017-05-07 23:21:50 -07:00
retention.py messages: Add support for admins deleting messages. 2017-05-29 21:59:38 -07:00
send_email.py send_email.py: Remove unused get_user_profile_by_email import. 2017-05-23 15:27:21 -07:00
sessions.py pep8: Add compliance with rule E261 to sessions.py. 2017-05-07 23:21:50 -07:00
sqlalchemy_utils.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
statistics.py pep8: Add compliance with rule E261 to statistics.py. 2017-05-07 23:21:50 -07:00
str_utils.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
streams.py pep8: Add compliance with rule E261 to streams.py. 2017-05-07 23:21:50 -07:00
test_classes.py tests: Fix str/Text mypy issues in various tests. 2017-05-24 15:19:38 -07:00
test_fixtures.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
test_helpers.py tests: Remove get_user_profile_by_email from most tests. 2017-05-24 13:05:19 -07:00
test_runner.py test-backend: Enable test coverage in multi-process mode. 2017-05-23 18:25:13 -07:00
tex.py mypy: Fix Optional typing issues in tex.py. 2017-03-23 15:49:08 -07:00
timeout.py mypy: Various strict-optional fixes in zerver. 2017-05-26 10:10:20 -07:00
timestamp.py Replace timezone.utc with timezone_utc. 2017-04-16 12:28:56 -07:00
timezone.py Add timezone field in UserProfile. 2017-03-15 11:18:24 -07:00
type_debug.py pep8: Add compliance with rule E261 to type_debug.py. 2017-05-07 23:21:50 -07:00
unminify.py pep8: Add compliance with rule E261 to unminify.py. 2017-05-07 23:21:50 -07:00
upload.py mypy: Various strict-optional fixes in zerver. 2017-05-26 10:10:20 -07: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 Switch change_full_name to use RealmAuditLog. 2017-05-29 15:22:08 -07:00
utils.py mypy: strict optional fixes. 2017-05-24 18:50:59 -07:00
validator.py mypy: Fix strict-optional errors for test files. 2017-05-24 12:43:28 -07:00