zulip/zilencer
Prakhar Pratyush 88fe0a7561 zilencer: Update last_audit_log_update before `sync_license_ledger..`.
We need to update 'last_audit_log_update' before calling the
'sync_license_ledger_if_needed' method to avoid 'MissingDataError'
due to 'has_stale_audit_log' being True.

Also, we made the code block that creates audit logs,
updates 'last_audit_log_update', and syncs LicenseLedger in
an atomic operation.

This helps to rely on 'last_audit_log_update' to assume
'RemoteRealmAuditLog' and 'LicenseLedger' are up-to-date.
2023-12-12 12:15:31 -08:00
..
lib python: Consistently use from…import for datetime. 2023-12-05 12:01:18 -08:00
management settings: Add "Automatically follow topics where I'm mentioned" setting. 2023-12-11 23:26:11 -08:00
migrations models: Store `is_system_bot_realm` information for `RemoteRealm`. 2023-12-11 13:23:49 -08:00
README.md docs: Format Markdown with Prettier. 2021-09-08 12:06:24 -07:00
__init__.py
auth.py auth: Allow easier bouncer testing in dev env. 2023-11-17 18:32:49 -08:00
models.py models: Store `is_system_bot_realm` information for `RemoteRealm`. 2023-12-11 13:23:49 -08:00
urls.py remote_billing: Rename the _billing_entry and _finalize_login functions. 2023-12-05 11:34:57 -08:00
views.py zilencer: Update last_audit_log_update before `sync_license_ledger..`. 2023-12-12 12:15:31 -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.