0
0
Fork 0
mirror of https://github.com/lunaisnotaboy/mastodon.git synced 2025-01-22 12:37:23 +00:00
Commit graph

6 commits

Author SHA1 Message Date
leo60228 ca6c62068e Support customizing poll option limits 2021-01-26 14:07:31 +01:00
Thibaut Girka b3dd0d276d Increase poll option length limit to 100 chars, number of options to 5 2019-10-10 20:13:59 +02:00
Hinaloe 48f466daf1 Allow set the voting period to just 5 minutes ()
* Add spec of PollValidator for 

* Raise fraction less than 1 second

* format

* simplify time initialize
2019-04-09 17:02:12 +02:00
Eugen Rochko 5996be994d
Fix poll validation issues ()
- Fix missing interpolation argument in PollValidator
- Fix PollValidator rejecting exact allowed min/max durations
2019-03-06 04:54:11 +01:00
ThibG f2a1b8b96b Widen allowed time windows for polls () 2019-03-04 22:46:38 +01:00
Eugen Rochko 230a012f00
Add polls ()
* Add polls

Fix 

* 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
2019-03-03 22:18:23 +01:00