mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 07:23:40 +08:00
fd0025a735
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>
21 lines
379 B
YAML
21 lines
379 B
YAML
plugins:
|
|
poll_enabled:
|
|
default: true
|
|
client: true
|
|
poll_maximum_options:
|
|
default: 20
|
|
min: 2
|
|
max: 100
|
|
client: true
|
|
poll_edit_window_mins:
|
|
default: 5
|
|
min: 0
|
|
poll_minimum_trust_level_to_create:
|
|
default: 1
|
|
client: true
|
|
enum: 'TrustLevelSetting'
|
|
poll_export_data_explorer_query_id:
|
|
default: -16
|
|
min: -9999
|
|
client: true
|