zulip/zilencer
Prakhar Pratyush 9c9866461a transaction: Add `durable=True` to the outermost db transactions.
This commit adds `durable=True` to the outermost db transactions
created in the following:
* confirm_email_change
* handle_upload_pre_finish_hook
* deliver_scheduled_emails
* restore_data_from_archive
* do_change_realm_subdomain
* do_create_realm
* do_deactivate_realm
* do_reactivate_realm
* do_delete_user
* do_delete_user_preserving_messages
* create_stripe_customer
* process_initial_upgrade
* do_update_plan
* request_sponsorship
* upload_message_attachment
* register_remote_server
* do_soft_deactivate_users
* maybe_send_batched_emails

It helps to avoid creating unintended savepoints in the future.

This is as a part of our plan to explicitly mark all the
transaction.atomic calls with either 'savepoint=False' or
'durable=True' as required.

* 'savepoint=True' is used in special cases.
2024-11-05 17:58:47 -08:00
..
lib python: Consistently use from…import for datetime. 2023-12-05 12:01:18 -08:00
management settings: Add group_creator as default for can_manage_group. 2024-10-01 17:35:14 -07:00
migrations migrations: Squash zilencer migrations. 2024-08-23 17:15:35 -07:00
README.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
__init__.py
auth.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
models.py audit-logs: Use AuditLogEventType enum name for string method. 2024-09-09 11:50:13 -07:00
urls.py remote_billing: Rename the _billing_entry and _finalize_login functions. 2023-12-05 11:34:57 -08:00
views.py transaction: Add `durable=True` to the outermost db transactions. 2024-11-05 17:58:47 -08:00

README.md

ZILENCER -- The Zulip license manager

This app is the place for storing state about various deployments of Zulip that exist in the world.