zulip/zerver
Alex Vandiver 2218de0399 management: Disable Sentry for management commands run interactively.
This adds `--automated` and `--no-automated` flags to all Zulip
management commands, whose default is based on if STDIN is a TTY.
This enables cron jobs and supervisor commands to continue to report
to Sentry, and manually-run commands (when reporting to Sentry does
not provide value, since the user can see them) to not.

Note that this only applies to Zulip commands -- core Django
commands (e.g. `./manage.py`) do not grow support for `--automated`
and will always report exceptions to Sentry.

`manage.py` subcommands in the `upgrade` and `restart-server` paths
are marked as `--automated`, since those may be run semi-unattended,
and they are useful to log to Sentry.
2024-05-24 10:30:16 -07:00
..
actions message_edit: Update do_update_message codepath to send event on commit. 2024-05-24 10:17:35 -07:00
data_import typos: Fix typos caught by mwic. 2024-05-20 13:55:00 -07:00
integration_fixtures/nagios
lib management: Disable Sentry for management commands run interactively. 2024-05-24 10:30:16 -07:00
management management: Move commands to all use ZulipBaseCommand. 2024-05-24 10:30:16 -07:00
migrations docs: Update Django links to our current version. 2024-05-24 10:18:37 -07:00
models docs: Update Django links to our current version. 2024-05-24 10:18:37 -07:00
openapi api: Add "users/<int:user_id>/status" endpoint. 2024-05-22 18:07:22 -07:00
tests docs: Update Django links to our current version. 2024-05-24 10:18:37 -07:00
tornado requirements: Upgrade Python requirements. 2024-05-06 12:56:30 -07:00
transaction_tests user_groups: Create NamedUserGroup objects when creating new groups. 2024-04-26 17:03:09 -07:00
views docs: Update Django links to our current version. 2024-05-24 10:18:37 -07:00
webhooks typos: Fix typos caught by mwic. 2024-05-20 13:55:00 -07:00
worker missedmessage_emails: Backoff the background worker retries. 2024-05-06 12:50:27 -07:00
__init__.py
apps.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
context_processors.py realm: Add an alias `realm_url` and deprecate `realm_uri` in the API. 2024-05-08 17:39:15 -07: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 models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py portico: Improve message for deactivated, invalid and moved orgs. 2024-05-13 12:44:20 -07:00
signals.py ruff: Fix UP036 Version block is outdated for minimum Python version. 2024-04-01 18:32:52 -07:00