zulip/zerver/lib
Harshit Bansal 3c9705ce98 actions.py: Instead of deleting a realm emoji just deactivate it.
Instead of removing an emoji from the database, just mark them as
deactivated so that they can't be used further but can be rendered
properly in reactions and messages.

Fixes: #4750.
2017-07-05 13:00:15 -07:00
..
bugdown bugdown/__init__.py: Close opened file objects. 2017-07-01 11:14:24 -07:00
url_preview preview.py: Fix error raised on uploading file with unicode filename. 2017-06-19 14:58:44 -04:00
webhooks mypy: strict optional fixes. 2017-05-24 18:50:59 -07:00
__init__.py
actions.py actions.py: Instead of deleting a realm emoji just deactivate it. 2017-07-05 13:00:15 -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 Use absolute URLs in GCM push notifications. 2017-06-15 03:56:59 -07:00
avatar_hash.py avatar_hash: Update a comment to reflect the current code. 2017-06-26 15:15:32 -07:00
bot_lib.py bots: Move "EmbeddedBotHandler" class to "zerver/lib/bot_lib.py" file. 2017-06-21 16:01:16 -04:00
bulk_create.py pep8: Add compliance with rule E261 to bulk_create.py. 2017-05-07 23:21:50 -07:00
cache.py bots: Add UI to view bot types of existing bots in "Your bots". 2017-06-15 10:08:31 -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 email_mirror: Change missed message noreply to not have a display name. 2017-07-04 14:25:01 -07:00
emoji.py realm_emoji: Make sure that a deactivated realm emoji can't be used. 2017-06-15 02:59:57 -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: Change hotspots to have a name and a description. 2017-06-13 12:59:33 -07:00
html_diff.py message-edit: Patch html tags after edits on new lines. 2017-06-19 16:43:11 -04: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 lib/integrations: Stop rendering HTML files. 2017-06-26 12:30:04 -04: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 message.py: Use the singular 'they' pronoun. 2017-07-05 09:27:44 -07:00
migrate.py migrations: Add create_if_not_exist() helper. 2017-06-13 13:58:58 -07: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 Update narrow.py, messages.py to support is:unread. 2017-06-19 06:51:13 -04:00
notifications.py emails: Add a FromAddress class to control access to certain settings emails. 2017-07-04 14:25:01 -07:00
outgoing_webhook.py Outgoing Webhook System: Add usage of Interfaces in DoRestCall. 2017-06-28 11:11:21 -04:00
parallel.py pep8: Add compliance with rule E261 to parallel.py. 2017-05-07 23:21:50 -07:00
push_notifications.py Use absolute URLs in GCM push notifications. 2017-06-15 03:56:59 -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 api: Fix caps in JSON validation error message. 2017-06-27 08:33:56 -04: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 Django 1.11: is_authenticated is now a property. 2017-06-13 15:04:04 -07:00
retention.py messages: Add support for admins deleting messages. 2017-05-29 21:59:38 -07:00
send_email.py emails: Add a FromAddress class to control access to certain settings emails. 2017-07-04 14:25:01 -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 streams.py: Use the singular 'they' pronoun. 2017-07-05 09:27:44 -07:00
test_classes.py models: Change default org_type to CORPORATE. 2017-06-29 15:14:58 -07:00
test_fixtures.py text_fixtures: Rename migration status file to have test in name. 2017-06-02 13:27:34 -07:00
test_helpers.py Add URL for viewing node coverage data on dev server. 2017-06-09 16:17:30 -07:00
test_runner.py Django 1.11: Upgrade parallel test runner. 2017-06-13 15:04:04 -07:00
tex.py mypy: Fix Optional typing issues in tex.py. 2017-03-23 15:49:08 -07:00
timeout.py pep8: Add compliance with rule E261 timeout.py. 2017-06-04 15:06:29 +05:30
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 bots: Add validation to add_bot_backend to prevent empty short names 2017-06-21 10:11:08 -04:00
utils.py mypy: strict optional fixes. 2017-05-24 18:50:59 -07:00
validator.py validators: Add check_url validator. 2017-06-15 15:03:26 -07:00