Commit Graph

4 Commits (6e3936aa6f4296ac202b54c0b178b4fa825d7885)

Author SHA1 Message Date
Eugen Rochko 054bbb3da2
Immediately display poll results to poll author (#10187)
* Immediately display poll results to poll author

* Refactor Poll#loaded_options and add Poll#voted? to improve DRYness
6 years ago
rinsuki f44091d653 Fix #10202 (#10203) 6 years ago
Eugen Rochko a198add83b
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
6 years ago
ThibG 3de71887d8 Add non-JS fallback for polls on public pages (#10155) 6 years ago