Commit Graph

18 Commits

Author SHA1 Message Date
Robin Ward 0adfeb1cff ES6: Mega update of controllers 2014-08-13 10:22:47 -04:00
Vikhyat Korrapati 5cb2df8f09 Set up poll plugin javascript using an Ember initializer. 2014-05-18 13:36:27 +05:30
Robin Ward 41a4a58af1 FIX: Thanks .gitignore, I missed a necessary file! 2014-05-15 17:57:13 -04:00
Robin Ward ba8b45792c Plugins: Prefix `discourse/plugins/PLUGINNAME` for plugin export names. 2014-05-15 16:31:45 -04:00
Vikhyat Korrapati a0b7637f5e Extract poll plugin controller into an ES6 module. 2014-05-15 23:54:53 +05:30
Vikhyat Korrapati 11297efed5 Get rid of unnecessary controller reference in poll template. 2014-04-16 12:11:41 +05:30
Vikhyat Korrapati 83b46a6b88 Disable the close poll functionality if allow_user_locale is enabled. 2014-04-12 23:00:51 +05:30
Vikhyat Korrapati 5de7d889fd Add close/open poll buttons to poll UI. 2014-04-12 22:53:21 +05:30
Vikhyat Korrapati cc607dc0b5 Poll style improvements. 2014-04-11 12:26:55 +05:30
Vikhyat Korrapati edfea2f801 Update poll when title is changed. 2014-04-11 09:05:07 +05:30
Vikhyat Korrapati edbbf7ffbb Switch the awkward poll.post.poll_details.closed to poll.closed. 2014-04-11 08:13:02 +05:30
Kane York 6e8392bf8e Show results by default for closed polls 2014-04-10 01:00:52 -07:00
Burke Mamlin 765cf700e3 allow polls to be closed independently of topic 2014-04-08 21:16:29 -04:00
Vikhyat Korrapati 9ef104bbce Poll Plugin: Don't allow voting on closed topics. 2014-03-16 19:21:17 +05:30
Nick Schonning 9f51ab347a JSHint: Add strict comparisons to poll_ui.js 2014-03-08 01:35:12 -05:00
Benjamin Kampmann a2512ecf74 Allow poll options to contain rendered code by not escaping it. 2014-03-05 10:45:49 +01:00
Vikhyat Korrapati 33cb4bc5ac Fallback to using the first list if [poll] isn't present. 2014-02-20 13:46:27 +05:30
Vikhyat Korrapati 74ab14de19 Add poll plugin. 2014-02-13 07:39:01 +05:30