Commit Graph

491 Commits

Author SHA1 Message Date
dee9af2877 Update translations 2018-05-31 17:03:38 -04:00
Joe
733ffc4bbf FIX: add classes to input groups and move tips 2018-05-30 21:02:06 +08:00
Joe
ec7f597274 FIX: update poll-builder to new modal design 2018-05-30 21:00:54 +08:00
Joe
47a9b3427b FIX: input tip causes modal to change width when present 2018-05-30 14:26:06 +08:00
c1fb111951 FIX: Show poll options when user is in a PM with a bot.
https://meta.discourse.org/t/discobot-dont-take-users-through-the-poll-tutorial-if-its-not-enabled/76604/9
2018-05-30 11:16:20 +08:00
b7bf0e96aa Update translations 2018-05-29 22:01:57 +02:00
864ada835b FEATURE: Add Bulgarian language 2018-05-29 21:07:17 +02:00
01b0d9d235 Update translations 2018-05-17 00:08:33 +02:00
19605e8b0b Feature: Hide plugins that ship with core from plugins panel 2018-05-15 15:50:17 -07:00
ef87944a34 UX: show close date on automatically closed polls 2018-05-12 02:14:58 +02:00
8cf0f51eb2 UX: Display site settings shortcut for poll and discourse-nginx-performance-report.
https://meta.discourse.org/t/improving-admin-plugins/84585/29?u=tgxworld
2018-05-08 10:34:32 +08:00
94163d7f1a add spec for auto-close polls 2018-05-07 11:31:20 +02:00
0d74c30fa7 Remove more uses of rescue nil. 2018-05-07 11:38:23 +08:00
7bf01fd769 Update translations 2018-05-04 10:58:21 +02:00
69a3ba0014 Update translations 2018-05-03 15:23:31 -04:00
50a2508604 minor copyedit 2018-05-03 02:31:18 -07:00
9ff2d540ba fix the build 2018-05-03 10:32:01 +02:00
ba14c80b9c FEATURE: automatically close a poll on a given date and time 2018-05-03 02:12:19 +02:00
8babf1c1e1 Update translations 2018-04-24 11:08:45 -04:00
a631c8f09d Update translations 2018-04-13 10:32:39 -04:00
4319273cf5 UX: Split up group form into smaller sections. 2018-04-09 15:14:50 +08:00
4c53e81c69 Update translations 2018-04-06 14:51:09 +02:00
37fa843efc Allow pulling of Urdu translations from Transifex again
The translations have been fixed.
2018-03-27 11:56:40 +02:00
cd99ccdbf0 Update translations 2018-03-26 10:58:01 -04:00
51657d3426 Allow polls to be added/renamed/removed as long as user can edit posts. 2018-03-14 11:00:57 +08:00
b77553a635 FIX: Staff should be able to updates polls when edit window expires.
https://meta.discourse.org/t/moderators-cannot-remove-polls-from-posts/81804/7?u=tgxworld
2018-03-08 16:45:06 +08:00
0c8df32903 Update translations, except ur because of errors 2018-03-07 14:11:56 -05:00
d02e2cbcca PERF: Avoid fetching a bunch of ids in polls updater. 2018-03-07 14:18:56 +08:00
e2a441ade9 Add Slovenian translations 2018-03-06 20:51:41 +01:00
7a2183e8ab FEATURE: rake task for merging users 2018-03-01 12:28:12 +01:00
10139692b2 forgot the error message 2018-02-27 00:25:15 +01:00
dee35b72f2 FIX: must be able to post in a topic in order to vote on a poll 2018-02-27 00:19:44 +01:00
32ad98161f Update translations 2018-02-15 16:36:03 -05:00
Sam
94b2c70c0d PERF: remove oga gem
oga gem is automatically required by the aws gem
the oga gem retains about 1mb of memory, aws now uses nokogiri

This also removes the html normalize from the pretty text specs that was
a fair bit buggy as the polls test shows.
2018-02-15 14:36:40 +11:00
f7042ecc85 Update translations 2018-01-31 11:19:21 -05:00
6750ff6873 (S)CSS cleanup: 0px => O and removal of duplicated properties (#5526) 2018-01-25 09:53:36 -05:00
Sam
7e3543d96f correct plugin specs 2018-01-12 14:42:05 +11:00
b295c03001 FIX: select single choice as default when building a poll 2018-01-03 09:23:15 +01:00
315b9d796d select-kit refactoring
* better test helper
* more reliable tests
* more consistent use of data-value/data-name/title/aria-label everywhere: header and rows
2017-12-22 13:08:12 +01:00
7e3c4b4b2f Update translations 2017-12-20 15:28:29 -05:00
0df1c85fd3 FEATURE: Serbian translation (#5443) 2017-12-19 12:26:06 +01:00
c1c31b99ce Replaces toolbar popup-menu with select-kit 2017-12-13 10:49:32 +01:00
929aa98723 Update translations 2017-12-11 12:01:57 -05:00
c52f747031 FEATURE: Catalan Translations (#5404) 2017-12-07 10:36:25 +01:00
978cf9485f Update translations 2017-12-06 10:25:12 -05:00
067d454937 FIX: makes sur we have polls before validating 2017-12-05 12:07:21 -05:00
316d814130 FIX: staff should always be allowed to create polls if they are enabled 2017-12-05 00:03:56 +01:00
76bc173d47 FEATURE: adds poll_allow_staff_to_create
This setting will bypass poll_minimum_trust_level_to_create if set to true
2017-12-04 18:12:17 +01:00
1e0bfa1d97 FIX: poll new_post_manager spec 2017-12-04 16:12:40 +01:00
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