Sam Saffron
045a2abcec
FEATURE: remove the timecop gem
...
We should only have one way of mocking time, misuse of timecop
was causing build stability issues
2017-07-24 12:11:10 -04:00
Guo Xiang Tan
e80a1dfa43
FIX: Post with multiple polls containing votes can not be edited.
...
https://meta.discourse.org/t/500-internal-server-error-when-editing-specific-poll-in-a-post-with-votes-editing-other-polls-works-fine/59684
2017-07-14 12:33:22 +09:00
Guo Xiang Tan
8c4dfdfa40
FIX: Votes lost when editing a poll option with votes.
2017-01-16 22:51:57 +08:00
Guo Xiang Tan
8213da20f2
Extract polls edit window to a site settings.
2016-08-10 15:17:16 +08:00
Guo Xiang Tan
c3cab98998
FEATURE: Admins should be able to create polls even when plugin is disabled.
2016-07-13 18:05:19 +08:00
Guo Xiang Tan
f53494f102
FIX: Polls with votes cannot be made public.
2016-06-09 12:10:27 +08:00
Guo Xiang Tan
8ecde35df3
FEATURE: Add public type to polls.
2016-06-08 16:19:13 +08:00
Guo Xiang Tan
5f92de8ede
Remove unnecessary for loop.
2016-06-07 16:50:45 +08:00
Guo Xiang Tan
2f14a81fa4
FIX: min
setting should be greater than 0 for multiple type polls.
2016-06-07 10:48:06 +08:00
Guo Xiang Tan
a849fae5ee
Add specs for polls ( #4246 )
...
* Extract validation logic into a service object.
* Extract logic for updating polls custom fields into a service object.
* Use `strip_heredoc` instead.
* FIX: Polls do not update when configuration has been changed.
2016-06-06 17:04:56 +02:00
Régis Hanol
d889f05480
changed default 'poll maximum options' to 20
2015-05-19 14:33:27 +02:00
Régis Hanol
43755a6fab
keep closed status when migrating poll to new style
2015-05-13 22:30:27 +02:00
Régis Hanol
06643fb625
add support for all types of unordered lists in migrate_old_polls
2015-05-13 22:10:02 +02:00
Régis Hanol
4df868a420
FIX: update 'migrate_old_polls' rake task to support more cases
...
FIX: support list that uses double newlines
FIX: support list that uses spaces before the '-'
FIX: don't break lamentably when a poll wasn't created
2015-05-13 19:56:09 +02:00
Régis Hanol
0ded6434df
FIX: migrate_old_polls should properly identify olds polls at the end of the post
2015-05-08 19:17:09 +02:00
Régis Hanol
9106331d4f
FIX: 'migrate_old_poll' rake task to support options with HTML
2015-05-01 15:53:02 +02:00
Régis Hanol
e9b70ac9cb
FIX: migrate old polls rake task
2015-04-30 17:08:44 +02:00
Régis Hanol
202b442b86
FEATURE: new 'poll:migrate_old_polls' rake task
2015-04-29 23:34:40 +02:00