Commit Graph

181 Commits

Author SHA1 Message Date
Luke GB
9f31c3d235 Expose poll_maximum_options to client
At present this doesn't actually seem to be exposed to the client.

I discovered this by accident whilst trying to write my own plugin:

7b6d6b76eb/app/models/site_setting.rb (L17-L18)
2015-07-19 21:41:14 +01:00
Arpit Jalan
fc977771a3 Update Translations 2015-07-16 19:18:02 +05:30
Sam
00aaa692ac Merge pull request #3574 from gschlager/patch-2
FIX: Remove invalid translation keys from polls plugin
2015-07-15 16:53:37 +10:00
Arpit Jalan
63b5a6c4e0 Update Translations 2015-07-09 18:57:52 +05:30
Robin Ward
8be37193ee Trivial changes to poll plugin, including a small typo fix. 2015-07-07 10:51:51 -04:00
Kane York
af042ffe5e FEATURE: Per-plugin settings buttons, "Enabled" column
Also, added enabled_site_setting to the Poll plugin so it shows up properly.
2015-07-02 10:59:06 -07:00
Neil Lalonde
9a0e4bb96e Update translations 2015-07-01 17:09:37 -04:00
Gerhard Schlager
5eaf95b328 FIX: Remove invalid translation keys from polls plugin
And it changes the file header since it was wrong.
2015-06-28 01:31:03 +02:00
Arpit Jalan
db02dbb0da Update Translations 2015-06-26 20:30:13 +05:30
Régis Hanol
b25a16ee3e FEATURE: 2 new reports: time to first response, topics with no response
FIX: relativeAgeMediumSpan was off by 1
REFACTOR: extracted decimalAdjust & round functions from the poll plugin
2015-06-22 19:46:51 +02:00
Neil Lalonde
4b6cf528ce update translations 2015-06-19 11:29:13 -04:00
Arpit Jalan
6148ae8775 Update Translations 2015-06-17 22:05:22 +05:30
Arpit Jalan
436e84c6c1 Update Translations 2015-06-15 20:25:53 +05:30
Neil Lalonde
d9efb37ec7 Update translations 2015-06-11 15:35:01 -04:00
Arpit Jalan
45a7c314c2 Update Translations 2015-06-03 20:39:08 +05:30
Régis Hanol
7afe78eec0 FIX: don't use a table for poll results 2015-06-03 16:49:20 +02:00
Régis Hanol
50a39f7e98 use bigger bottom padding instead of line-height to vertical center 2015-06-03 12:35:49 +02:00
Régis Hanol
0013a94692 FIX: use pastel color for background of the selected poll options 2015-06-03 12:28:03 +02:00
Jeff Atwood
1a9da9133e switch back to line-height based centering on polls 2015-06-03 02:58:52 -07:00
Régis Hanol
c240a8bd80 FIX: make sure we can't vote on deleted polls 2015-06-01 22:31:47 +02:00
Arpit Jalan
1ac4e60c90 Update Translations 2015-06-01 23:33:27 +05:30
Régis Hanol
f736b6face FIX: validate poll parameters when type=multiple 2015-06-01 19:28:05 +02:00
Jeff Atwood
9ce6603864 better poll option alignment for multi-line 2015-05-29 16:32:44 -07:00
Arpit Jalan
5880313e84 Update Translations 2015-05-26 20:08:20 +05:30
Robin Ward
78abf85087 FIX: IE9 issues with latest discourse 2015-05-25 12:32:42 -04:00
Arpit Jalan
56544f2048 Update Translations 2015-05-21 00:24:12 +05:30
Régis Hanol
3859273ff7 FIX: prevent span abuse in polls 2015-05-20 15:55:27 +02:00
Régis Hanol
d889f05480 changed default 'poll maximum options' to 20 2015-05-19 14:33:27 +02:00
Régis Hanol
764f9b42fe Merge pull request #3458 from Qasem-h/Bosnian
Add Bosnian langage for discourse
2015-05-15 14:34:16 +02:00
Régis Hanol
42be2b431f ooops, we actually need that :fired: 2015-05-15 11:51:10 +02:00
Régis Hanol
a3fb2c002c FIX: remove dangerous support for style/background attributes in polls 2015-05-15 11:08:51 +02:00
riking
9d232dac9a FIX: Properly whitelist li styles 2015-05-14 16:43:01 -07:00
Régis Hanol
635b31af7b FIX: editing a post with a poll breaks sometimes 2015-05-14 17:18:45 +02:00
Régis Hanol
7c545537a6 FIX: prevent pollception 2015-05-13 23:12:53 +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
b8005f0b1b FIX: link starting with '[poll' should not break polls 2015-05-13 17:50:25 +02:00
Neil Lalonde
1c5ea5d8ef Update translations 2015-05-12 17:38:49 -04:00
Qasem Hajizadeh
a4c69d450e Create server.bs_BA.yml 2015-05-12 16:22:06 +04:30
Qasem Hajizadeh
2ad958b796 Create client.bs_BA.yml 2015-05-12 16:21:49 +04:30
Régis Hanol
3a9907f392 FIX: prevent self-xss in poll attributes 2015-05-11 20:09:17 +02:00
Robin Ward
585583d38c Upgrade polls to Ember 1.11 2015-05-11 11:20:45 -04:00
Robin Ward
aee12fd6ef Ember Deprecations for Topics 2015-05-11 11:18:37 -04:00
riking
7238c43018 SECURITY: XSS in poll errors dialog 2015-05-08 19:28:04 -07: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
c2ffe255c3 FIX: add borders on polls on mobile 2015-05-08 11:13:32 +02:00
Régis Hanol
875a013ec7 FIX: poll design on mobile 2015-05-07 19:49:06 +02:00
Régis Hanol
c1bb7bc7cc clarify copy when editing a poll after the first 5 minutes 2015-05-07 17:24:35 +02:00
Régis Hanol
9b0ca60f52 FIX: support quotes for poll parameters 2015-05-07 16:40:14 +02:00