zulip/zerver
Mateusz Mandera 43a0c60e96 exceptions: Make RateLimited into a subclass of JsonableError.
This simplifies the code, as it allows using the mechanism of converting
JsonableErrors into a response instead of having separate, but
ultimately similar, logic in RateLimitMiddleware.
We don't touch tests here because "rate limited" error responses are
already verified in test_external.py.
2020-12-01 13:40:56 -08:00
..
data_import docs: Remove incorrect references to chat.zulip.org. 2020-10-29 16:46:40 -07:00
lib exceptions: Make RateLimited into a subclass of JsonableError. 2020-12-01 13:40:56 -08:00
management mypy: Fix types for redis. 2020-11-10 15:46:04 -08:00
migrations lint: Migrate typing.Text check to semgrep. 2020-11-16 18:17:41 -08:00
openapi markdown: Use immutable type for extension config. 2020-11-10 15:54:27 -08:00
templatetags python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -07:00
tests events: Fix apply_event for streams. 2020-12-01 13:01:38 -08:00
tornado tornado: Never use proxies when talking from Django to Tornado. 2020-10-28 12:13:04 -07:00
views exceptions: Make RateLimited into a subclass of JsonableError. 2020-12-01 13:40:56 -08:00
webhooks webhooks: Properly format the currency amount for refunds. 2020-11-29 18:11:24 -08:00
worker python: Open text files as text to skip decode operations. 2020-10-30 11:36:38 -07:00
__init__.py
apps.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
context_processors.py i18n: Don't include email tags in translation strings. 2020-09-25 15:53:26 -07:00
decorator.py home: Allow logged out user through home. 2020-11-02 17:07:12 -08:00
filters.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
forms.py exceptions: Make RateLimited into a subclass of JsonableError. 2020-12-01 13:40:56 -08:00
logging_handlers.py python: Use universal_newlines to get str from subprocess. 2020-10-30 11:36:38 -07:00
middleware.py exceptions: Make RateLimited into a subclass of JsonableError. 2020-12-01 13:40:56 -08:00
models.py email digests: Write RealmAuditLog rows. 2020-11-16 08:59:28 -08:00
signals.py timezone: Remove get_timezone wrapper. 2020-10-27 13:42:54 -07:00