ThibG
81ef26b67d
[Glitch] Fix not being able to vote
...
Port e12a5635da
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Gurgen Hayrapetyan
4849752a9c
[Glitch] Fix Poll fetchPoll action not being debounced.
...
Port ab8d7c0680
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Sasha Sorokin
b367dd713e
[Glitch] Improve polls: option lengths & redesign
...
Port 37b3985bfa
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
c6ba870f00
[Glitch] Fix poll options not being selectable via keyboard
...
Port c05ed8a625
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Takeshi Umeda
f2fc7246e1
[Glitch] Fix an issue where polls with 'expires_at' not set expired
...
Port 5b46467474
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
e5a50eda4c
[Glitch] Add voters count support
...
Port front-end changes from 3babf8464b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
332be562ea
[Glitch] Change vote results to display ex-aequo leading options as leading
...
Port 15b3eeb326
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
98cc81c0e2
[Glitch] Fix vote checkmark in poll results
...
Port b0cda7a504
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
e25b7feb72
[Glitch] Show user what options they have voted
...
Port front-end changes from b359974d9b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
15a37a967c
[Glitch] Fix expiring polls not being displayed as such in the WebUI
...
Port 524187b653
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
682cfbb829
Fix imports importing modules from vanilla flavour instead of glitch
5 years ago
ThibG
be6885eb93
[Glitch] Update poll remaining time just like with status timestamps
...
Port daab45d4ae
to glitch-soc
6 years ago
ThibG
8b5b686f08
[Glitch] Add support for custom emojis in poll options
...
Fixes #956
Port 80f0910e21
to glitch-soc
6 years ago
Eugen Rochko
ca45198ccb
[Glitch] Fix NaN in Poll component
...
Port 75cb93676b
to glitch-soc
6 years ago
Eugen Rochko
94a0149ff3
Fix poll options not rendering text after vote/refresh
...
Port fd128b9c7a
to glitch-soc
6 years ago
Eugen Rochko
7f32d675b0
Render unicode emoji in polls using emoji pack
...
Port 4407f07014
to glitch-soc
6 years ago
Eugen Rochko
ba6ca3cd69
Fix various issues in polls
...
Port front-end changes from a198add83b
to glitch-soc
6 years ago
ThibG
7f27ee35a8
Display closed polls as such
...
Port cda6ece760
to glitch-soc
6 years ago
ThibG
530151466e
Fixes to the polls UI
...
Port 4ced609497
to glitch-soc
6 years ago
Eugen Rochko
f14eda23e9
Fix web UI crash on page load when detailed status has a poll
...
Port 5dfa433698
to glitch-soc
6 years ago
Eugen Rochko
8d70a8a19b
Add polls
...
Port front-end parts of 230a012f00
to glitch-soc
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
cda6ece760
Display closed polls as such ( #10156 )
6 years ago
ThibG
4ced609497
Fixes to the polls UI ( #10150 )
...
* Allow unselecting choices in multiple choice polls
* Properly disable checkboxes/radio buttons for polls in public pages
* Visually differentiate checkboxes and radio buttons
6 years ago
Eugen Rochko
5dfa433698
Fix web UI crash on page load when detailed status has a poll ( #10139 )
6 years ago
Eugen Rochko
230a012f00
Add polls ( #10111 )
...
* Add polls
Fix #1629
* Add tests
* Fixes
* Change API for creating polls
* Use name instead of content for votes
* Remove poll validation for remote polls
* Add polls to public pages
* When updating the poll, update options just in case they were changed
* Fix public pages showing both poll and other media
6 years ago