This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins
Joffrey JAFFEUX 63bab32816 FEATURE: introduces minimum trust level for polls (#5391)
* FEATURE: introduces minimum trust level for polls

This commit makes `poll_enabled` less misleading and introduces `poll_minimum_trust_level_to_create`. If poll are enabled they will always be cooked, and if you have the required trust level you can create polls. As a side effect, it also fixes a bug where rebaking a post created by staff member when `poll_enabled=false` would end up not cooking it.

It also adds more tests to ensure settings are respected.

* admins should be whitelisted

* checks for admin in post validation

* test for >= instead of == trust level
2017-12-04 14:47:11 +01:00
..
discourse-details tweak icon-library generation 2017-11-23 18:24:26 +01:00
discourse-narrative-bot Update translations 2017-11-30 15:32:15 -05:00
discourse-nginx-performance-report Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
discourse-presence Composer restyle 2017-11-27 15:23:18 -05:00
lazyYT fix the build (take 2) 2017-11-27 23:49:35 +05:30
poll FEATURE: introduces minimum trust level for polls (#5391) 2017-12-04 14:47:11 +01:00