zulip/zerver
Abhijeet Prasad Bodas c3319a5231 notification_data: Create common source for trigger strings.
This reduces loose strings in the codebase, and allows us to not worry
about the exact naming (`stream_email_enabled` or `stream_emails_enabled`?)
and tense (`mentioned` or `mention`?).

Ideally this new class should have been in `lib/notification_data.py`,
which is our file for things like this. But, the next commit requires
using this data in `models.py`, and importing from `notification_data.py`
to `models.py` causes recursive imports.
2021-07-13 17:16:32 -07:00
..
data_import markdown: Use a shared variable for IMAGE_EXTENSION. 2021-07-02 11:22:55 -07:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib notification_data: Create common source for trigger strings. 2021-07-13 17:16:32 -07:00
management management: Add change_password command. 2021-07-09 12:34:39 -07:00
migrations linkifiers: Add joint validation for linkifier urls and patterns. 2021-06-16 17:51:33 -07:00
openapi openapi: Make endpoint operationId dash-separated. 2021-07-13 16:46:22 -07:00
tests notification_data: Create common source for trigger strings. 2021-07-13 17:16:32 -07:00
tornado notifications: Remove unused fields in queue events. 2021-07-08 11:22:45 -07:00
views openapi: Make endpoint operationId dash-separated. 2021-07-13 16:46:22 -07:00
webhooks webhooks: Make github webhook support event filtering system. 2021-07-13 16:47:18 -07:00
worker worker: Ensure complete coverage for PushNotificationsWorker. 2021-07-13 08:30:31 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py context_processors: Add test for `get_apps_page_url`. 2021-06-16 07:49:03 -07:00
decorator.py zilencer: Log warning when a remote server hits rate limits. 2021-07-08 15:55:03 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py billing: Enforce license limit for plans on manual license management. 2021-06-09 17:42:38 -07:00
logging_handlers.py logging_handlers: Remove STAGING_ERROR_NOTIFICATIONS setting. 2021-07-07 09:26:02 -07:00
middleware.py json_error: Completely remove json_error. 2021-07-06 15:34:33 -07:00
models.py notification_data: Create common source for trigger strings. 2021-07-13 17:16:32 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00