]> cat aescling's git repositories - mastodon.git/commit
Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 28 Mar 2019 03:44:59 +0000 (04:44 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Mar 2019 03:44:59 +0000 (04:44 +0100)
commitf1bc90ab508cbdebc646324f87db48a9e80036f4
treec9e6fff16d8e69ed99e7010cabd4d83d595e5493
parentf46f67d984e4e2deb4bf98cd5c5de813caf66eca
Rename :poll to :preloadable_poll and :owned_poll to :poll on Status (#10401)

Also, fix some n+1 queries

Resolve #10365
15 files changed:
app/helpers/stream_entries_helper.rb
app/lib/activitypub/activity/create.rb
app/lib/activitypub/activity/update.rb
app/lib/formatter.rb
app/models/notification.rb
app/models/status.rb
app/serializers/activitypub/note_serializer.rb
app/serializers/activitypub/update_poll_serializer.rb
app/serializers/rest/status_serializer.rb
app/services/post_status_service.rb
app/views/stream_entries/_detailed_status.html.haml
app/views/stream_entries/_simple_status.html.haml
app/workers/activitypub/distribute_poll_update_worker.rb
config/locales/activerecord.en.yml
spec/lib/activitypub/activity/create_spec.rb