zulip/zerver
Sahil Batra cf14d8f611 users: Change bot owner only if needed.
This is a small optimization to avoid DB queries if the bot owner
is not changed.

This also helps in avoiding showing the error message in UI if
anything other than the owner is updated for a deactivated bot.
Ideally if the bot owner is not changed, the bot_owner_id field
should not be passed in the request, but we would handle that
later given this is anyways a small nice optimization and we
follow this pattern at other places as well in the API.
2024-07-17 10:07:51 -07:00
..
actions events: Send delete_message event to user who deleted the message. 2024-07-16 23:29:02 -07:00
data_import ruff: Fix FURB154 Use of repeated consecutive global, nonlocal. 2024-07-14 13:53:18 -07:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib narrow: Migrate legacy SQLAlchemy select syntax. 2024-07-16 14:50:30 -07:00
management runtornado: Remove explicit AsyncIOMainLoop installation. 2024-07-16 14:01:32 -07:00
migrations migrations: Further fix emoji re-thumbnailing. 2024-07-16 15:38:22 -07:00
models compose: Show banner to explain non interleaved view messages fading. 2024-07-16 13:52:29 -07:00
openapi api-docs: Add changes section in construct a narrow article. 2024-07-16 23:40:45 -07:00
tests events: Send delete_message event to user who deleted the message. 2024-07-16 23:29:02 -07:00
tornado ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
transaction_tests ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
views users: Change bot owner only if needed. 2024-07-17 10:07:51 -07:00
webhooks integration-docs: Update Trello for new doc format. 2024-07-16 17:02:55 -07:00
worker upload: Serve thumbnailed images. 2024-07-16 13:22:15 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
context_processors.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
decorator.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
filters.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
forms.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
logging_handlers.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
middleware.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
signals.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00