zulip/zerver/lib
hollywoodno 401fae30f1 markdown: Render backend second level markdown.
By default, Python markdown tab length for indents is 4 spaces, which
require using 4 spaces or a tab to create nested elements. This
modifies that setting to specify 2-space indentation for nesting
elements only.

Modified significantly by tabbott to limit the change to just list
indentation.

Fixes #4252.
2017-04-07 16:14:57 -07:00
..
bugdown markdown: Render backend second level markdown. 2017-04-07 16:14:57 -07:00
url_preview mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
webhooks git.py: Add create branch event message. 2017-03-17 12:22:06 -07:00
__init__.py
actions.py actions: Deduplicate backend display_settings code. 2017-04-06 15:33:41 -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 Refactor: Change user_avatar_hash with user_avatar_path at all calls. 2017-03-04 18:39:49 -08:00
avatar_hash.py avatar: Move avatar data from email based to user id based. 2017-03-07 22:44:26 -08:00
bulk_create.py populate_db: Change enter_sends to True for development users. 2017-03-29 18:38:30 -07:00
cache.py cache.py: Change realm_alert_words_cache_key to use Realm.string_id. 2017-03-13 14:17:14 -07:00
cache_helpers.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
camo.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
ccache.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
context_managers.py mypy: Change Generator[None, None, None] to Iterator[None]. 2016-11-27 10:42:16 -08:00
create_user.py populate_db: Change enter_sends to True for development users. 2017-03-29 18:38:30 -07:00
db.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
debug.py mypy: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00
digest.py js dependencies: Change hashchange_encode to hash_util_encode in zerver. 2017-03-18 20:40:34 -07:00
domains.py Add stricter domain validation and improve error messages. 2017-01-26 17:24:25 -08:00
email_mirror.py mypy: Fix some new errors flagged by latest mypy master. 2017-03-19 21:03:45 -07:00
emoji.py bugdown: Change rendered emoji image to `unicode/<codepoint>.png.` 2017-02-26 18:30:15 -08:00
error_notify.py errors: Move do_report_error into zerver/lib/. 2017-01-23 23:18:28 -08:00
events.py actions.py: Rename remaining occurrences of `alias' to `realm_domain`. 2017-04-04 15:48:03 -07:00
export.py models: Rename RealmAlias model to RealmDomain. 2017-04-04 15:48:03 -07:00
feedback.py Change sender_domain to sender_realm_str in message dict. 2017-03-25 19:50:24 -07:00
hotspots.py hotspots: Add backend support for tutorial hotspots. 2017-03-29 11:34:32 -07:00
html_diff.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08: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: Support writing docs in markdown. 2017-04-07 15:52:15 -07:00
logging_util.py logging_handlers: Add tests for main error reporting code path. 2017-03-26 13:10:43 -07:00
mandrill_client.py Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
mention.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
message.py Change sender_domain to sender_realm_str in message dict. 2017-03-25 19:50:24 -07:00
migrate.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08: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 js dependencies: Change hashchange_encode to hash_util_encode in zerver. 2017-03-18 20:40:34 -07:00
parallel.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
push_notifications.py remove_push_device_token: Remove unused request argument. 2017-03-05 22:01:28 -08:00
queue.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
rate_limiter.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08: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 request: Fix unnecessary translation tag for assertion. 2017-03-09 00:38:14 -08:00
request.pyi mypy: Fix missing class in request.pyi and document. 2016-12-28 09:37:28 -08:00
response.py coverage: bring zerver/lib/response.py to 100% coverage. 2017-03-05 00:53:26 -08:00
rest.py coverage: Add test for REST requests to /json API unauthed. 2017-03-05 00:53:27 -08:00
retention.py retention.py: Remove use of domain from get_expired_messages. 2017-03-14 17:17:42 -07:00
sessions.py sessions: Fix missing typing imports. 2017-03-08 03:00:05 -08:00
sqlalchemy_utils.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
statistics.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
str_utils.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
streams.py get_stream: Throw DoesNotExist if stream is not found. 2017-03-23 15:42:00 -07:00
test_classes.py test_classes: Remove assert_max_length. 2017-04-04 17:07:34 -07:00
test_fixtures.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
test_helpers.py dev: Expose coverage and built documentation to web. 2017-03-23 13:10:06 -07:00
test_runner.py testing: Flush API_KEYS before every test. 2017-03-22 12:07:06 -07:00
tex.py mypy: Fix Optional typing issues in tex.py. 2017-03-23 15:49:08 -07:00
timeout.py Replace 'type' with 'Type[BaseException]'. 2017-02-06 22:34:01 -08:00
timestamp.py Clean up timestamps.py and add a test. 2017-03-01 23:03:56 -08:00
timezone.py Add timezone field in UserProfile. 2017-03-15 11:18:24 -07:00
type_debug.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
unminify.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
upload.py avatar: Fix buggy avatar URL scheme with S3 backend. 2017-03-21 16:12:04 -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 users: Verify full names explicitly in user creation. 2017-02-07 19:54:30 -08:00
utils.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
validator.py validators: Add a test_dict_only validator that bans other arguments. 2017-03-26 13:10:54 -07:00