zulip/zerver
Lauryn Menard 62e17c987f exceptions: Add IncompatibleParametersError as a JsonableError.
Creates an IncompatibleParametersError to be used in cases where
there are two (or more) optional parameters for an endpoint that
are incompatible with each other, e.g. there's a parameter for a
user name and a user ID but only one should be sent in the request
to identify the user.

Documents the error on the /api/rest-error-handling article.

Updates the PATCH users/me/subscriptions/muted_topics endpoint to
use this error when both the stream and stream_id parameters are
passed (note this endpoint is currently deprecated).
2024-04-29 16:58:47 -07:00
..
actions user_groups: Remove unneeded fields from UserGroup model. 2024-04-26 17:03:09 -07:00
data_import python: Mark regexes as raw strings. 2024-04-26 12:30:31 -07:00
integration_fixtures/nagios
lib exceptions: Add IncompatibleParametersError as a JsonableError. 2024-04-29 16:58:47 -07:00
management python: Mark regexes as raw strings. 2024-04-26 12:30:31 -07:00
migrations user_groups: Remove unneeded fields from UserGroup model. 2024-04-26 17:03:09 -07:00
models user_groups: Remove unneeded fields from UserGroup model. 2024-04-26 17:03:09 -07:00
openapi exceptions: Add IncompatibleParametersError as a JsonableError. 2024-04-29 16:58:47 -07:00
tests exceptions: Add IncompatibleParametersError as a JsonableError. 2024-04-29 16:58:47 -07:00
tornado narrow: Move python-only implemenation into its own file. 2024-04-16 09:48:11 -07:00
transaction_tests user_groups: Create NamedUserGroup objects when creating new groups. 2024-04-26 17:03:09 -07:00
views groups: Use NamedUserGroup for all queries. 2024-04-26 17:03:09 -07:00
webhooks python: Mark regexes as raw strings. 2024-04-26 12:30:31 -07:00
worker db: Split reset_queries into a new module zerver.lib.db_connections. 2024-04-17 16:49:03 -07:00
__init__.py
apps.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
context_processors.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
decorator.py test_decorators: Replace some deleted tests. 2024-03-29 09:39:34 -07:00
filters.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
forms.py python: Mark regexes as raw strings. 2024-04-26 12:30:31 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py db: Split reset_queries into a new module zerver.lib.db_connections. 2024-04-17 16:49:03 -07:00
signals.py ruff: Fix UP036 Version block is outdated for minimum Python version. 2024-04-01 18:32:52 -07:00