zulip/zerver
Tim Abbott e12225ace7 realm_audit_log: Fix malformed RealmAuditLog entries.
In f8bcf39014, we fixed buggy
marshalling of Streams and similar data structures where we were
including the Stream object rather than its ID in dictionaries passed
to ujson, and ujson happily wrote that large object dump into the
RealmAuditLog.extra_data field.

This commit includes a migration to fix those corrupted RealmAuditLog
entries, and because the migration loop is the same, also fixes the
format of similar RealmAuditLog entries to be in a more natural format
that doesn't weirdly nest and duplicate the "property" field.

Fixes #16066.
2020-08-09 16:51:29 -07:00
..
data_import database: Remove short_name from UserProfile. 2020-07-17 11:15:15 -07:00
lib realm_audit_log: Fix malformed RealmAuditLog entries. 2020-08-09 16:51:29 -07:00
management bulk_update: Do updates in bulk where applicable. 2020-08-03 16:16:42 -07:00
migrations realm_audit_log: Fix malformed RealmAuditLog entries. 2020-08-09 16:51:29 -07:00
openapi openapi: Improve Bots documentation by dividing bots. 2020-08-06 12:29:43 -07:00
templatetags refactor: Rename zerver.lib.bugdown to zerver.lib.markdown . 2020-06-26 17:08:37 -07:00
tests realm_audit_log: Fix malformed RealmAuditLog entries. 2020-08-09 16:51:29 -07:00
tornado event_queue: Convert users argument of send_event to list. 2020-08-07 11:12:32 -07:00
views message_fetch: Use strings as dict keys. 2020-08-07 11:12:32 -07:00
webhooks webhooks: Fix invalid JSON in Papertrail test fixtures. 2020-08-07 15:07:27 -07:00
worker queue_processors: Fix strict_optional errors. 2020-07-06 11:25:48 -07:00
__init__.py
apps.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
context_processors.py auth: Make apple log in and sign up buttons consistent with others. 2020-06-18 13:06:10 -07:00
decorator.py billing: Don't allow guest users to upgrade. 2020-07-22 16:57:49 -07:00
filters.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
forms.py emails: Add a custom header specifying the organization when possible. 2020-06-28 13:33:02 -07:00
logging_handlers.py Error reporting emails: Indicate user role. 2020-08-03 13:35:51 -07:00
middleware.py middleware: Stop shadowing top-level logger definition on line 33. 2020-07-27 16:46:13 -07:00
models.py models: Fix typo in comments for get_users_by_delivery_email. 2020-08-06 15:46:56 -07:00
signals.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00