zulip/zerver/lib
Tim Abbott 0a39eb2a58 export: Convert a bunch of error cases to AssertionError.
This reflects the fact that these are just defensive programming (we
don't expect them to ever happen) and also nicely makes these lines
not show up in our missing test coverage reports.
2018-05-09 20:49:13 -07:00
..
bugdown org settings: Remove "Delete streams" administrative tab from settings. 2018-04-30 17:47:34 +05:30
url_preview zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
webhooks webhooks: Add helper to extract and validate HTTP event headers. 2018-05-05 15:48:37 -07:00
__init__.py
actions.py zerver: Migrate away from six. 2018-05-09 18:38:25 +00:00
addressee.py refactor: Move topic name checks to Addressee class. 2018-01-25 06:21:01 -05:00
alert_words.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
api_test_helpers.py pypi packaging: Upgrade to release 0.4.6. 2018-04-27 14:50:25 -07:00
attachments.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
avatar.py mypy: Use Python 3 type syntax in zerver/lib/avatar.py. 2017-12-18 11:32:52 -05:00
avatar_hash.py zerver/lib: Use Python 3 syntax for typing for several files. 2017-11-28 17:02:24 -08:00
bot_config.py get_bot_configs: Adjust API to accept a list of bot user IDs. 2018-05-04 13:31:28 -07:00
bot_lib.py embedded bots: Log warning when bot quit()s. 2018-02-13 14:56:37 -08:00
bot_storage.py zerver/lib: Use python 3 syntax for typing. 2017-11-28 17:15:14 -08:00
bulk_create.py bulk_create: Mark bulk_create_streams as nocoverage. 2018-05-09 20:49:12 -07:00
cache.py cache: Remove a now-unnecessary TODO. 2018-03-16 11:32:14 -07:00
cache_helpers.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
camo.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
ccache.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
context_managers.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
create_user.py org settings: Add realm level default time format setting. 2018-03-31 16:23:26 -07:00
db.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
debug.py mypy: Migrate lib/debug.py to python3.5 annotations. 2018-03-12 11:23:30 -07:00
digest.py models: Introduce can_access_public_streams field. 2018-04-20 12:06:57 -07:00
domains.py validate_domain: Add verification of domain length. 2018-04-23 09:29:03 -07:00
email_mirror.py email_mirror: Fix handling of empty topic. 2018-04-26 10:21:29 -07:00
emoji.py markdown: Update bugdown emoticon translation logic to match frontend. 2018-03-29 15:56:24 -07:00
error_notify.py errors: Compute deployment metadata on the right deployment. 2017-12-22 11:52:13 -05:00
events.py events: Include data for whether push notifications are enabled. 2018-05-08 11:45:13 -07:00
exceptions.py webhooks: Add helper to extract and validate HTTP event headers. 2018-05-05 15:48:37 -07:00
export.py export: Convert a bunch of error cases to AssertionError. 2018-05-09 20:49:13 -07:00
feedback.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
fix_unreads.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
generate_test_data.py tests: Move zerver/fixtures to zerver/tests/fixtures for clarity. 2018-04-19 21:50:17 -07:00
hotspots.py hotspots: Tag strings for translation. 2018-04-18 09:33:09 -07:00
html_diff.py mypy: Remove type: ignores that are unnecessary with new mypy. 2017-11-25 10:06:28 -08:00
i18n.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
import_realm.py import: Split out import.py into its own module. 2018-04-23 15:21:12 -07:00
initial_password.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
integrations.py webhooks: Move github_webhook/ to github/. 2018-04-19 11:00:55 -07:00
json_encoder_for_html.py mypy: Fix annotations for json_encoder_for_html. 2017-11-22 01:32:46 -08:00
logging_util.py settings: Fix double negative in LOGGING_NOT_DISABLED. 2018-03-21 18:03:05 -07:00
management.py management: Refactor checkconfig code to live in library. 2018-05-03 21:11:02 -07:00
mdiff.py mypy: Amend diff_strings to return str or raise DiffException. 2018-02-13 11:40:51 -08:00
mention.py markdown: Add @stream as an alias for @all. 2018-04-09 16:35:14 -07:00
message.py messages: Modify access_message for is_history_public_to_subscribers. 2018-04-04 16:18:47 -07:00
migrate.py migrate: Remove dead migration code. 2018-03-15 17:56:32 -07:00
mobile_auth_otp.py zerver/lib/mobile_auth_otp: Sweep force_str. 2017-12-26 09:09:31 -05:00
name_restrictions.py email: Use PyPi module for disposable email providers list. 2018-03-11 21:48:56 -07:00
narrow.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
notifications.py emails: Update followup_day1. 2018-04-25 08:52:29 -07:00
onboarding.py bots: Clean up create_realm_internal_bots. 2018-02-06 18:59:57 -08:00
outgoing_webhook.py outgoing_webhook: Extract success response handling to separate method. 2018-05-02 11:57:26 -07:00
parallel.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
profile.py mypy: Improve typing to profile.py & remove FuncT from decorator.py. 2017-10-29 17:10:13 -07:00
push_notifications.py zilencer: Rename remote_server_unregister_push. 2018-05-03 12:50:29 -07:00
queue.py mypy: Remove some now-unnecessary type: ignores. 2018-03-28 10:39:05 -07:00
rate_limiter.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
realm_icon.py zerver/lib: Remove u prefix from strings. 2018-02-05 12:12:58 -08:00
redis_utils.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
request.py request: Add new str_validator validator type. 2018-05-03 21:11:02 -07:00
request.pyi validators: Improve mypy type annotations. 2018-05-03 21:27:43 -07:00
response.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
rest.py uploads: Add new way of querying for mobile uploads endpoint. 2018-04-13 17:51:45 -07:00
retention.py zerver/lib: Use python 3 syntax for typing. 2017-11-28 17:15:14 -08:00
send_email.py settings: Added setting to turn on and off realm name in email subject. 2018-02-05 18:01:54 -08:00
sessions.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
slack_data_to_zulip_data.py i18n: Add missing strings for custom profile fields and fix capitalization. 2018-05-06 19:44:36 -07:00
slack_message_conversion.py Slack importer: Map Slack channel mentions to Zulip stream mentions. 2018-04-09 10:47:39 -07:00
soft_deactivation.py soft_deactivation: Change `<` to `<=` in add_missing_messages. 2018-04-16 11:28:08 -07:00
sqlalchemy_utils.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:45:52 -08:00
statistics.py zerver/lib: Use Python 3 syntax for typing for several files. 2017-11-28 17:02:24 -08:00
str_utils.py zerver/lib: Remove u prefix from strings. 2018-02-05 12:12:58 -08:00
stream_recipient.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
stream_subscription.py Mypy: Use models.py QuerySet annotation approach in stream_subscription.py. 2018-03-15 12:54:43 -07:00
stream_topic.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
streams.py streams: Limit access to public streams for guest users. 2018-05-04 09:47:58 -07:00
subdomains.py Convert EmailAuthBackend and LDAPAuthBackend to accept a realm. 2017-11-21 18:23:50 -08:00
test_classes.py streams: Add get_default_value_for_history_public_to_subscribers(). 2018-05-03 10:24:27 -07:00
test_data.source.txt test_data.source.txt: Replace postmodernism generator text with a play. 2017-08-23 13:00:39 -07:00
test_fixtures.py populate_db: Fix initialization of history_public_to_subscribers. 2018-05-02 09:02:57 -07:00
test_helpers.py mypy: Final small migrations to python3.5 annotations in many files. 2018-03-12 11:23:30 -07:00
test_runner.py mypy: Use Python 3 syntax for typing in test_runner.py 2018-01-23 08:49:42 -08:00
tex.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
timeout.py mypy: Add assertion in timeout.py. 2018-04-25 08:58:55 -07:00
timestamp.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
timezone.py schedulemessages: Add handle_deferred_message() to handle requests. 2018-01-19 11:33:11 -05:00
topic_mutes.py zerver/lib: Use python 3 syntax for typing. 2017-11-21 20:56:40 -08:00
type_debug.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
types.py profile: Add choice field. 2018-04-26 00:35:51 -07:00
unminify.py zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08:00
upload.py attachments: Send events for attachment updates. 2018-05-04 16:22:27 -07:00
user_agent.py tests: Move zerver/fixtures to zerver/tests/fixtures for clarity. 2018-04-19 21:50:17 -07:00
user_groups.py user-groups: Add backend enforcing for new modification settings. 2018-03-23 14:44:47 -07:00
users.py users: Improve testing for user_ids_to_users. 2018-04-04 16:31:30 -07:00
utils.py mypy: Add explicit Optional for default=None parameters in various files. 2018-03-28 12:31:51 -07:00
validator.py validators: Improve mypy type annotations. 2018-05-03 21:27:43 -07:00