zulip/zerver
Alex Vandiver a80840aa4d push_notifications: Don't open unnecessary APNs connections.
Calling `get_apns_context` opens (and caches) an open connection to
the APNs servers.  Since `apns_enabled` is called from Django
codepaths, this means that the Django processes hold unnecessary
connections open to the APNs servers.

Switch `apns_enabled` to checking what `get_apns_context` checks when
we're just returning True/False.
2022-02-08 15:20:23 -08:00
..
data_import docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib push_notifications: Don't open unnecessary APNs connections. 2022-02-08 15:20:23 -08:00
management docs: Add missing space to compound verbs “back up”, “log in”, etc. 2022-02-07 19:20:54 -08:00
migrations docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
openapi docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
tests push_notifications: Fix for aioapns 2.1. 2022-02-08 15:16:31 -08:00
tornado docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
views docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
webhooks docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
worker backend: Change `do_report_error` return value. 2022-02-04 15:16:55 -08:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py caching: Make sender type optional for flush_cache. 2021-07-26 14:48:07 -07:00
context_processors.py home: Simplify and comment terms of service notice implementation. 2022-02-04 15:48:38 -08:00
decorator.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py python: Replace deprecated jinja2.utils.Markup with markupsafe.Markup. 2022-01-13 14:22:48 -08:00
logging_handlers.py python: Replace universal_newlines with text. 2022-01-23 22:16:01 -08:00
middleware.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
models.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00