zulip/zerver/lib
Shubham Dhama 42c262b807 invite: Replace `invite_as_admin` usage with `invite_as`.
Since we have already added the `invite_as` field to models, we can now
replace usage of `invite_as_admin` properly with its equivalent `invite_as
== PreregistrationUser.INVITE_AS['REALM_ADMIN']`.

Hence, also removed now redundant `invite_as`.
2019-01-05 14:46:38 -08:00
..
bugdown thumbnails: Add setting THUMBNAIL_IMAGES. 2019-01-04 10:27:04 -08:00
url_preview preview: Hash cache keys for preview urls. 2018-10-14 09:28:57 -07:00
webhooks webhooks/gitlab: Support issues with multiple assignees. 2018-12-27 20:15:00 -08:00
__init__.py
actions.py invite: Replace `invite_as_admin` usage with `invite_as`. 2019-01-05 14:46:38 -08:00
addressee.py messages: Add Addressee.for_user_ids(). 2018-11-27 12:09:41 -08:00
alert_words.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
api_test_helpers.py api docs: Document the custom emoji upload endpoint. 2018-12-14 14:19:28 -08:00
attachments.py
avatar.py python: Clean up various if False blocks. 2018-12-17 11:14:47 -08:00
avatar_hash.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
bot_config.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
bot_lib.py bot_lib: Add user_id attribute to EmbeddedBotHandler. 2018-12-17 18:37:20 -03:30
bot_storage.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
bulk_create.py models: Add USER_CREATED event type constant to RealmAuditLog. 2018-07-10 15:42:26 +05:30
cache.py python: Clean up various if False blocks. 2018-12-17 11:14:47 -08:00
cache_helpers.py email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00
camo.py camo: Add endpoint to handle camo requests. 2019-01-04 10:27:04 -08:00
ccache.py str_utils: Move force_bytes into ccache.py. 2018-05-15 19:07:32 -07:00
context_managers.py
create_user.py user: Extend `do_create_user` for guest users. 2018-12-30 10:16:17 -08:00
db.py python: Remove unnecessary NonBinaryStr TypeVar. 2018-11-27 11:44:09 -08:00
debug.py mypy: Set local_partial_types = True. 2018-05-21 22:41:00 -07:00
dev_ldap_directory.py ldap: Cast account_control_values to int. 2018-12-29 16:35:13 -08:00
digest.py digest_email: Add endpoint for rendering digest to the web. 2018-12-11 13:38:30 -08:00
domains.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
email_mirror.py email_mirror: Add email address parsing. 2019-01-03 13:34:20 -08:00
emoji.py emoji: Move `EMOTICON_CONVERSIONS` mapping to build_emoji infra. 2018-07-23 12:35:08 -07:00
error_notify.py emails: Fix subject -> email_subject in error_notify.py. 2019-01-01 20:48:59 -08:00
events.py status: Add away_user_ids to page_params. 2019-01-02 09:16:31 -08:00
exceptions.py decorator: Set an error code for invalid API key errors. 2019-01-05 11:29:34 -08:00
export.py export: Export and import analytics table data. 2019-01-04 16:22:18 -08:00
feedback.py zerver/lib: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
fix_unreads.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
generate_test_data.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
hotspots.py signup: Copy hotspots when importing settings. 2018-06-16 08:50:49 -07:00
html_diff.py
i18n.py i18n: Pass translation data in page_params. 2018-05-30 08:57:26 -07:00
import_realm.py export: Export and import analytics table data. 2019-01-04 16:22:18 -08:00
initial_password.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
integrations.py webhooks/opsgenie: Update docs, logo and screenshots. 2018-12-29 10:29:16 -08:00
json_encoder_for_html.py
logging_util.py
management.py email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00
mdiff.py
mention.py bugdown: Refactor name to mention_text in mention.py. 2018-11-07 10:02:53 -08:00
message.py message: Store the value of first_visible_message_id in Realm table. 2018-12-12 15:11:17 -08:00
migrate.py migrations: Fix do_batch_update for postgres 10. 2018-12-16 17:46:11 -08:00
mobile_auth_otp.py mobile: Make otp_encrypt_api_key accept API keys. 2018-08-08 16:45:40 -07:00
name_restrictions.py signup: Add opayq.com to disposable domain whitelist. 2018-08-13 10:56:47 -07:00
narrow.py topic -> subject: Extract get_topic_from_message_info(). 2018-11-14 23:24:06 -08:00
notifications.py email: Convert accounts code to use delivery_email. 2018-12-06 16:21:38 -08:00
onboarding.py Extract get_turtle_message(). 2018-11-14 23:24:06 -08:00
openapi.py Minimize race conditions for reading zulip.yaml. 2018-09-12 11:07:20 -07:00
outgoing_webhook.py topic -> subject: Extract get_topic_from_message_info(). 2018-11-14 23:24:06 -08:00
parallel.py
profile.py
push_notifications.py notifications: Optimize push notifications code path in tests. 2018-12-15 11:12:43 -08:00
queue.py
rate_limiter.py rate_limiter: Improve handling of deadlocks. 2018-12-12 12:19:01 -08:00
realm_icon.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
realm_logo.py settings: Add support for customizing the top-left logo. 2018-12-18 12:44:52 -08:00
redis_utils.py
request.py webhook_decorator: Support notifying bot owner on invalid JSON. 2018-11-14 22:35:56 -08:00
request.pyi Add alias support to REQ helpers for subject/topic. 2018-11-12 15:47:11 -08:00
response.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
rest.py report: Allow error-reporting views from unauthed users. 2018-12-16 15:44:48 -08:00
retention.py retention: move_messages_to_archive should accept multiple message ids. 2018-10-11 15:31:12 -07:00
send_email.py emails: Fix subject -> email_subject in send_email.py. 2019-01-01 20:49:00 -08:00
sessions.py sessions: Suppress coverage error until we can debug. 2018-12-01 10:08:57 -08:00
soft_deactivation.py soft deactivation: Handle case where a user has no message history. 2018-12-16 18:52:20 -08:00
sqlalchemy_utils.py mypy: Set local_partial_types = True. 2018-05-21 22:41:00 -07:00
statistics.py
storage.py python: Remove now-unnecessary str_utils library. 2018-11-27 11:57:54 -08:00
stream_recipient.py
stream_subscription.py
stream_topic.py refactor: Remove "subject" from stream_topic.py. 2019-01-01 20:48:56 -08:00
streams.py Accept stream_id for muting endpoints. 2018-12-27 20:26:30 -08:00
subdomains.py Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
test_classes.py Remove "subject" from test_classes.py. 2018-11-07 10:03:53 -08:00
test_data.source.txt
test_fixtures.py test_fixtures: Fix bug with run_db_migrations for test platform. 2018-07-09 14:17:53 +05:30
test_helpers.py tests: Add capture_event() helper. 2019-01-02 09:12:10 -08:00
test_runner.py zerver/lib: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
tex.py Enable pycodestyle W605 (invalid escape sequence). 2018-07-03 16:54:46 +02:00
thumbnail.py camo: Add endpoint to handle camo requests. 2019-01-04 10:27:04 -08:00
timeout.py
timestamp.py
timezone.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
topic.py Extract get_turtle_message(). 2018-11-14 23:24:06 -08:00
topic_mutes.py Extract topic_match_sa() helper. 2018-11-07 10:03:53 -08:00
type_debug.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
types.py zerver/models.py: Modify FIELD_TYPE_DATA, add keyword for field type. 2018-08-21 11:37:51 -07:00
unminify.py unminify: Clean up unnecessary repetition of webpack:/// URLs. 2018-08-03 15:56:40 -07:00
upload.py import: Fix uploading avatars with S3 upload backend. 2019-01-02 15:23:09 -08:00
url_encoding.py topic -> subject: Extract get_topic_from_message_info(). 2018-11-14 23:24:06 -08:00
user_agent.py user_agent: Use re.X to make the regex a little more readable. 2018-12-05 14:58:13 -08:00
user_groups.py zerver/lib: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
user_status.py status: Add UserStatus model and core library for away status. 2019-01-02 09:12:03 -08:00
users.py signup: Set oldest account as default option in import settings. 2018-12-29 15:01:09 -08:00
utils.py utils: Add process_list_in_batches(). 2018-10-15 10:54:23 -07:00
validator.py requirements: Upgrade pyflakes to 2.0.0. 2018-05-24 11:31:36 -07:00
widget.py tests: Test get_widget_data() helper. 2018-08-24 10:00:25 -07:00
zcommand.py zcommand: Fix broken switch mode message. 2018-08-08 11:29:49 -07:00
zephyr.py python: Remove now-unnecessary str_utils library. 2018-11-27 11:57:54 -08:00