zulip/zerver
Lauryn Menard a9b3a9c673 narrow: Use dict to map operator to by_* method in NarrowBuilder.
Updates the logic for identifying the method to use to extend the
query for the given term from a narrow to use a dictionary that
maps the operator string to the by_* method in the NarrowBuilder
class.

Previously, the by_* method was determined by building a string
based on the operator string and replacing dashes with underscores.
2023-03-20 15:37:09 -07:00
..
actions invite: Be more fair about the no-messages-sent warning flag. 2023-03-20 11:35:19 -07:00
data_import upload: Rename upload_message_file to use word "attachment". 2023-03-02 16:36:19 -08:00
integration_fixtures/nagios
lib narrow: Use dict to map operator to by_* method in NarrowBuilder. 2023-03-20 15:37:09 -07:00
management templates: Allow the same line-wrapping in {{t}} as in {{#tr}}. 2023-03-16 11:26:45 -07:00
migrations user_settings: Automate 'Include realm name in message email subject'. 2023-03-14 17:48:57 -07:00
openapi UserTopic: Set visibility_policy or delete UserTopic row without error. 2023-03-16 10:55:54 -07:00
tests markdown: Fix use of pure_markdown for non-pure markdown rendering. 2023-03-17 08:46:25 -07:00
tornado tornado: Replace dataclasses.asdict() call, as it is slow. 2023-02-23 11:01:38 -08:00
views user_topics: Introduce visibility policy enum subclass in models.py. 2023-03-14 17:50:45 -07:00
webhooks integration: Add branch names to Azure Devops merged PR event. 2023-03-20 12:33:47 -07:00
worker deferred_work: Log at start of the work. 2023-02-09 12:06:38 -08:00
__init__.py
apps.py sentry: Initialize sentry in AppConfig ready hook. 2022-09-26 12:42:36 -07:00
context_processors.py sentry: Enable reporting on portico and other unauth pages. 2023-03-07 15:01:27 -08:00
decorator.py request-notes: Add `is_webhook_view` boolean to fields. 2023-03-06 10:33:13 -08:00
filters.py
forms.py registration: Add code to set email_address_visibility during signup. 2023-02-24 09:23:34 -08:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py ruff: Fix PIE810 Call `startswith` once with a `tuple`. 2023-02-08 16:40:35 -08:00
models.py user_topics: Introduce visibility policy enum subclass in models.py. 2023-03-14 17:50:45 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00