zulip/zerver/lib
Rishi Gupta 2b0a7fd0ba Rename models.get_realm_by_string_id to get_realm.
Finishes the refactoring started in c1bbd8d. The goal of the refactoring is
to change the argument to get_realm from a Realm.domain to a
Realm.string_id. The steps were

* Add a new function, get_realm_by_string_id.

* Change all calls to get_realm to use get_realm_by_string_id instead.

* Remove get_realm.

* (This commit) Rename get_realm_by_string_id to get_realm.

Part of a larger migration to remove the Realm.domain field entirely.
2017-01-04 17:12:23 -08:00
..
bugdown Remove models.get_realm(domain). 2017-01-03 16:46:15 -08:00
url_preview mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
webhooks mypy: Convert more zerver/lib files to typing.Text. 2016-12-05 21:17:24 -08:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
actions.py Rename models.get_realm_by_string_id to get_realm. 2017-01-04 17:12:23 -08:00
alert_words.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
avatar.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
avatar_hash.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
bulk_create.py Remove calls to get_realm in preparation for its deprecation. 2016-12-26 17:53:32 -08:00
cache.py mypy: Update zerver directory to use Text 2016-12-29 09:12:15 -08:00
cache_helpers.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
camo.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
ccache.py mypy: Convert the isinstances function in /zerver/lib/ to use typing.Text. 2016-12-25 10:33:45 -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 mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
db.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
debug.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
digest.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
email_mirror.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
export.py Change X.realm.id to X.realm_id across codebase. 2017-01-03 16:46:26 -08:00
html_diff.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
i18n.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
initial_password.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
integrations.py integrations: Add webhook code, API endpoint, and tests for solano labs. 2017-01-03 20:18:34 -08:00
logging_util.py logging: Fix handling of tracebacks with no exc_info. 2016-12-20 11:49:12 -08: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 X.realm.id to X.realm_id across codebase. 2017-01-03 16:46:26 -08:00
migrate.py lint: Fix E127 pep8 violations. 2016-12-01 10:23:55 -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 Move static/third/gemoji to static/generated/emoji. 2016-12-27 20:16:23 -08:00
parallel.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
push_notifications.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
queue.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
rate_limiter.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
redis_utils.py settings: Add support for specifying a remote redis password. 2016-08-11 16:54:22 -07:00
request.py mypy: Fix missing class in request.pyi and document. 2016-12-28 09:37:28 -08:00
request.pyi mypy: Fix missing class in request.pyi and document. 2016-12-28 09:37:28 -08:00
response.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
rest.py pep8: Fix E129 violations 2016-12-03 10:56:36 -08:00
retention.py pep8: Fix E231. 2016-11-30 19:59:25 -08:00
session_user.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -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 mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
str_utils.py mypy: Convert the isinstances function in /zerver/lib/ to use typing.Text. 2016-12-25 10:33:45 -08:00
test_classes.py mypy: Update zerver directory to use Text 2016-12-29 09:12:15 -08:00
test_fixtures.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
test_helpers.py ldap: Inherit FakeLdap exceptions from ldap. 2016-12-30 16:55:06 -08:00
test_runner.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -08:00
timeout.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
timestamp.py timestamp.py: Add {floor,ceiling}_to_{hour,day} to parallel floor_to_day. 2016-12-29 14:20:13 -08: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 Change X.realm.id to X.realm_id across codebase. 2017-01-03 16:46:26 -08: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
utils.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
validator.py Add annotations for zerver/lib/validator. 2016-06-03 23:53:49 -07:00