mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 22:28:34 +08:00
16acba6cf8
Since we recently blocked accidental serialization of AR models, we are getting a 500 error in some cases with thumbnails. We can fix this by serializing the thumbnail, previously we just returned a raw OptimizedImage object. Thumbnails are now attached to the serializer in core, therefore we no longer need to use add_to_serializer within the chat plugin to use thumbnails within chat message uploads. |
||
---|---|---|
.. | ||
schemas | ||
shared | ||
backups_spec.rb | ||
badges_spec.rb | ||
categories_spec.rb | ||
groups_spec.rb | ||
invites_spec.rb | ||
multiple_invites_spec.rb | ||
notifications_spec.rb | ||
posts_spec.rb | ||
private_messages_spec.rb | ||
rate_limits_spec.rb | ||
search_spec.rb | ||
site_spec.rb | ||
tags_spec.rb | ||
topics_spec.rb | ||
uploads_spec.rb | ||
user_badges_spec.rb | ||
users_spec.rb |