mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 22:54:19 +08:00
bae492efee
using Instant Run-off Voting algorithm to Poll Plugin (Part 2 add Ranked Choice) --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com> Co-authored-by: Jarek Radosz <jradosz@gmail.com>
40 lines
828 B
YAML
40 lines
828 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"
|
|
hidden: true
|
|
poll_create_allowed_groups:
|
|
default: "11" # auto group trust_level_1
|
|
type: group_list
|
|
client: false
|
|
allow_any: false
|
|
refresh: true
|
|
validator: "AtLeastOneGroupValidator"
|
|
poll_groupable_user_fields:
|
|
default: ""
|
|
type: list
|
|
client: true
|
|
poll_export_data_explorer_query_id:
|
|
default: -16
|
|
min: -9999
|
|
client: true
|
|
poll_export_ranked_choice_data_explorer_query_id:
|
|
default: -19
|
|
min: -9999
|
|
client: true
|
|
poll_default_public:
|
|
default: true
|
|
client: true
|