Commit Graph

30 Commits

Author SHA1 Message Date
23rd 42eaddfaba Added geolocation support to poll answer media data layer. 2026-03-28 10:29:13 +03:00
23rd cbf8f791bb [poll-view] Added poll option author info to context menu. 2026-03-28 10:29:09 +03:00
23rd 27e04f3e0c Added creator flag to PollData. 2026-03-28 10:29:09 +03:00
23rd 554ba411f6 [poll-view] Added initial support of reply to poll answers. 2026-03-28 10:29:08 +03:00
23rd 8e746dcfbd Replaced MTPInputMedia with domain-level PollMedia in poll data structs. 2026-03-28 10:29:08 +03:00
23rd bbdc6abea8 Added recent voters to media view. 2026-03-28 10:29:08 +03:00
23rd 8145b0b96e [poll-create] Added files support for poll media. 2026-03-28 10:29:07 +03:00
23rd 546c786ed3 [poll-create] Added poll option toggle to extend poll with new answers. 2026-03-28 10:29:07 +03:00
23rd e613a89d02 [poll-create] Added poll option toggle to disable revoting. 2026-03-28 10:29:07 +03:00
23rd 945373eb5b [poll-create] Added poll option toggle for shuffled options. 2026-03-28 10:29:07 +03:00
John Preston 2a153214f6 Support polls with 12 options. 2025-06-04 10:00:22 +04:00
23rd e6c22ec1ca Added api support for custom emoji in polls. 2024-04-26 20:12:29 +04:00
John Preston 29d0c8c2ec Update API scheme to layer 159. 2023-07-20 07:20:07 +04:00
23rd ea10cf5758 Moved api polls processing to separated file. 2021-10-20 22:56:19 +03:00
John Preston bdbcd8e540 Use Main::Session in entities parsing. 2020-06-08 12:05:17 +04:00
John Preston 5dcb232b77 Force reload results on auto-closed quiz. 2020-04-21 18:55:34 +04:00
John Preston 3cb76fb80b Support poll closing by date. 2020-04-21 18:55:34 +04:00
John Preston 13d22947df Send poll solution with entities. 2020-04-21 18:55:34 +04:00
John Preston f700220ec1 Create polls with different settings. 2020-01-23 10:09:33 +03:00
John Preston 2981a16e17 Allow sending multiple votes in a poll. 2020-01-23 10:09:33 +03:00
John Preston afff7634f9 Display last voters userpics. 2020-01-23 10:09:33 +03:00
John Preston 95b2886bad Display correct poll subtitle and quiz answer. 2020-01-23 10:09:33 +03:00
John Preston fe618bd652 Use crl::time/now instead of TimeMs/getms. 2019-02-19 11:06:33 +04:00
John Preston 8708a001c7 Always display nice percent values.
Sum of percent values should never exceed 100%. If any two answers
received same amount of votes, they should show same percent values.
This way sum could be less than 100% (three answers, one vote each),
but this looks better than giving extra vote to some random answer.
2018-12-25 22:12:35 +04:00
John Preston 6f176803d4 Reload poll data each 30 seconds without update. 2018-12-24 21:03:53 +04:00
John Preston 93c8e9aa1f Add poll vote sending animation. 2018-12-22 23:32:04 +04:00
John Preston b6f7832745 Add create poll box from groups three-dot menu. 2018-12-22 10:29:03 +04:00
John Preston 74c1db740d Implement polls voting and actions. 2018-12-21 17:09:33 +04:00
John Preston 4bb5dcf50c Simplest poll layout. 2018-12-21 17:09:32 +04:00
John Preston 47bdeeef9a Poll data and updates handling added. 2018-12-21 17:09:31 +04:00