zulip/zerver
Zixuan James Li 75925fe059 middleware: Reorder middleware to clean up LogRequests hasattr checks.
Similar to the previous commit, we should access request.user only
after it has been initialized, rather than having awkward hasattr
checks.

With updates to the settings comments about LogRequests by tabbott.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-07-14 17:28:50 -07:00
..
actions models: Remove "role" field from Subscription. 2022-07-13 17:07:44 -07:00
data_import user_profile: Fallback to "" for timezone upon creation. 2022-06-28 16:05:24 -07:00
integration_fixtures/nagios
lib test_helpers: Default user_profile to AnonymousUser. 2022-07-14 17:24:24 -07:00
management merge_streams: Move logic to zerver/actions/streams.py. 2022-07-13 16:12:36 -07:00
migrations models: Remove "role" field from Subscription. 2022-07-13 17:07:44 -07:00
openapi models: Remove "role" field from Subscription. 2022-07-13 17:07:44 -07:00
tests test_helpers: Default user_profile to AnonymousUser. 2022-07-14 17:24:24 -07:00
tornado tornado: Ignore StreamClosedError. 2022-06-28 16:35:49 -07:00
views events_register: Pass spectator set language to client in user_settings. 2022-07-14 14:27:32 -07:00
webhooks integrations: Add RhodeCode webhook integration. 2022-07-13 14:10:00 -07:00
worker message_send: Remove unnecessary user_ids argument. 2022-05-04 14:45:18 -07:00
__init__.py
apps.py caching: Make sender type optional for flush_cache. 2021-07-26 14:48:07 -07:00
context_processors.py middleware: Reorder middleware to avoid hasattr checks. 2022-07-14 17:24:24 -07:00
decorator.py 2fa: Rename zulip_otp_required for clarity. 2022-07-13 14:49:41 -07:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py typing: Access LANGUAGE_CODE via `django.utils.translation.get_language`. 2022-06-28 16:07:18 -07:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py middleware: Reorder middleware to clean up LogRequests hasattr checks. 2022-07-14 17:28:50 -07:00
models.py models: Remove "role" field from Subscription. 2022-07-13 17:07:44 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00