zulip/zerver
Tim Abbott a53daa6f8c message: Fix malformed reaction data.
After a message was reset in our caches cache via message editing or
adding/removing a reaction, we were sending corrupt data to the cache
because build_message_dict (and thus build_dict_from_raw_db_row) was
improperly being called before sewing in the reaction data.

As a result, we were sending raw database data in the reaction
dictionaries, rather than the reformatted version expected by the API.

Bug introduced in 2a4c62a326.

Fixing this correctly required moving the rendering_realm_id logic one
step higher in the call chain, which is a useful refactoring anyway
(since we're no longer passing a `Message` object down)
2020-05-21 14:09:53 -07:00
..
data_import slack import: Fix DefaultStream import of deactivated #random. 2020-05-12 17:18:57 -07:00
lib message: Fix malformed reaction data. 2020-05-21 14:09:53 -07:00
management i18n: Fix makemessages not walking subdirectories. 2020-05-08 17:03:16 -07:00
migrations python: Convert more variable type annotations to Python 3.6 style. 2020-05-08 16:42:43 -07:00
openapi openapi: Add tests for checking presence of various attributes. 2020-05-20 13:10:58 -07:00
templatetags openapi: Combine two similar openapi markdown extensions. 2020-05-05 21:42:31 -07:00
tests markdown: Disable tex and latex for math rendering. 2020-05-21 12:30:27 -07:00
tornado sharding: Add basic sharding configuration for Tornado. 2020-05-20 13:47:20 -07:00
views models: Create ensure_not_on_limited_plan instance method. 2020-05-19 14:48:59 -07:00
webhooks webhooks/github: Provide more detailed info for unexpected events. 2020-05-21 12:31:43 -07:00
worker queue_processors: Log time spent getting data for url in embed_links. 2020-05-21 12:13:46 -07:00
__init__.py
apps.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
context_processors.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
decorator.py portico: Add setting to put Google Analytics on selected portico pages. 2020-05-11 23:22:50 -07:00
filters.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
forms.py logging: Pass format arguments to logging. 2020-05-02 10:18:02 -07:00
logging_handlers.py error logging: Inline add_deployment_metadata. 2020-05-06 16:29:53 -07:00
middleware.py queue_processors: Remove the slow_queries queue. 2020-05-11 00:45:13 -07:00
models.py models: Use UPGRADE_TEXT_STANDARD in ensure_not_on_limited_plan. 2020-05-19 14:48:59 -07:00
signals.py emails: Translate from_name of account security emails. 2020-02-18 17:45:33 -08:00