zulip/zerver/lib
Tim Abbott 594451707d check_capped_string: Clean up corner case.
We were rejecting strings of length equal to the max.

While we're at it, fix the unnecessary period in the error message,
which doesn't align with similar validators.
2018-05-03 14:30:03 -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: Stop raising an exception if stream does not exist. 2018-03-24 13:50:17 -07:00
__init__.py
actions.py streams: Add get_default_value_for_history_public_to_subscribers(). 2018-05-03 10:24:27 -07: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_owned_bot_dicts: Optimize admin's bot dicts loading from database. 2018-04-03 09:10:32 -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 populate_db: Add a web public stream to dev database. 2018-05-02 15:23:33 -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 create stream: Add maxlength restriction on name and description. 2018-04-30 10:11:25 -07:00
exceptions.py webhooks: Stop raising an exception if stream does not exist. 2018-03-24 13:50:17 -07:00
export.py import: Split out import.py into its own module. 2018-04-23 15:21:12 -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 zerver/lib: Use python 3 syntax for typing. 2017-11-18 16:09:04 -08: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 REQ: Add type parameter to act as hint for typing. 2018-02-13 11:40:52 -08:00
request.pyi mypy: Add explicit Optional for default=None parameters in various files. 2018-03-28 12:31:51 -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 slack import: Reformat UserProfile to one-line-per-field. 2018-05-01 09:16:12 -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 lib/streams.py: Extract get_stream_by_id as a separate function. 2018-05-02 15:23:33 -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 upload: Rename upload_message_image to upload_message_file. 2018-03-30 13:38:31 -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 check_capped_string: Clean up corner case. 2018-05-03 14:30:03 -07:00