]> cat aescling's git repositories - mastodon.git/commit
Fix various issues in polls (#10165)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 5 Mar 2019 02:51:18 +0000 (03:51 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2019 02:51:18 +0000 (03:51 +0100)
commita198add83bb527c32fa0e01404338562b157da99
treec5a507a1e40092b89fe0c8ab6ffe36fa126628f1
parent0a39c81dd87242feb84da68b8907c3e45620eadf
Fix various issues in polls (#10165)

* Fix ActivityPub poll results being serialized even with hide_totals

* Fix poll refresh button having a different font size

* Display poll in OpenGraph description

* Fix NoMethodError when serializing votes

Regression from #10158

* Fix polls on public pages being broken for non-logged-in users

* Do not show time remaining if poll has no expiration date
app/helpers/stream_entries_helper.rb
app/javascript/mastodon/components/poll.js
app/javascript/styles/mastodon/polls.scss
app/models/poll_vote.rb
app/serializers/activitypub/note_serializer.rb
app/views/stream_entries/_poll.html.haml