discourse/plugins/poll
Rafael dos Santos Silva fd0025a735
FEATURE: Add export poll button (#8370)
This PR aims to make poll results easily exportable to staff in a CSV format, so they can be analyzed in external software.

It also makes the export data easily customizable by allowing users to leverage any data explorer query to generate the report. By default, we use a query that ships with data explorer, but user can change the ID in settings or use 0 to disable this feature.

One potential upgrade is using the recent work that allows arbitrary group to run data explorer and allow all the groups with access to the configured query to also export polls, but that can be added later.

Co-Authored-By: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2019-11-22 16:06:39 -03:00
..
app FEATURE: Staff only poll results (#7984) 2019-08-15 12:27:18 -06:00
assets FEATURE: Add export poll button (#8370) 2019-11-22 16:06:39 -03:00
config FEATURE: Add export poll button (#8370) 2019-11-22 16:06:39 -03:00
db FIX: replace model usage with SQL query 2019-08-13 18:32:24 +02:00
jobs/regular DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
lib DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
spec FIX: Store custom attributes that are needed by plugins in queuedpost payload (#8009) 2019-08-14 15:02:59 -03:00
test/javascripts Fix Prettier in poll plugin 2019-11-15 11:01:22 -05:00
plugin.rb FIX: do not strip nil string 2019-11-13 16:58:14 +05:30