Commit Graph

215 Commits

Author SHA1 Message Date
Guo Xiang Tan 51657d3426 Allow polls to be added/renamed/removed as long as user can edit posts. 2018-03-14 11:00:57 +08:00
Neil Lalonde 0c8df32903 Update translations, except ur because of errors 2018-03-07 14:11:56 -05:00
Maja Komel e2a441ade9 Add Slovenian translations 2018-03-06 20:51:41 +01:00
Régis Hanol 10139692b2 forgot the error message 2018-02-27 00:25:15 +01:00
Neil Lalonde 32ad98161f Update translations 2018-02-15 16:36:03 -05:00
Neil Lalonde f7042ecc85 Update translations 2018-01-31 11:19:21 -05:00
Neil Lalonde 7e3c4b4b2f Update translations 2017-12-20 15:28:29 -05:00
blokovi 0df1c85fd3 FEATURE: Serbian translation (#5443) 2017-12-19 12:26:06 +01:00
Neil Lalonde 929aa98723 Update translations 2017-12-11 12:01:57 -05:00
Kyle Zhao c52f747031 FEATURE: Catalan Translations (#5404) 2017-12-07 10:36:25 +01:00
Neil Lalonde 978cf9485f Update translations 2017-12-06 10:25:12 -05:00
Joffrey JAFFEUX 316d814130
FIX: staff should always be allowed to create polls if they are enabled 2017-12-05 00:03:56 +01:00
Joffrey JAFFEUX 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
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
Neil Lalonde 1603dcf0d1 Update translations 2017-11-30 15:32:15 -05:00
Eric Berry ab22c8cad4 FIX: Infinite loop when poll step is zero (#5380)
* Fix infinite loop when poll step is zero

* Add test for step minimum and for breaking test

* Remove trailing spaces (eslint)

* Remove extra space (eslint)

* Removed test call .twice
2017-11-30 17:04:41 +01:00
Neil Lalonde 13c91fc7ec Update translations 2017-11-13 15:02:53 -05:00
Neil Lalonde d2d272c5f1 Update translations 2017-09-28 13:37:19 -04:00
Neil Lalonde 346442134e Update translations 2017-09-14 11:02:39 -04:00
Robin Ward e41a828774 Update translations 2017-08-31 14:50:40 -04:00
Neil Lalonde ea969d1ed0 FEATURE: add Thai language 2017-08-25 12:33:09 -04:00
Neil Lalonde 3b7657e4b3 Update translations 2017-08-16 11:38:45 -04:00
Neil Lalonde 130ae2cd4b FEATURE: add Latvian language 2017-08-15 11:40:00 -04:00
Arpit Jalan d666b73893 Update translations. 2017-07-20 14:57:02 +05:30
Arpit Jalan 25d70ec900 Update Translations 2017-07-05 11:35:35 +05:30
Neil Lalonde febfe27669 Update translations 2017-06-26 14:56:22 -04:00
Guo Xiang Tan a23ce56682 Update translations. 2017-06-19 12:39:30 +09:00
Arpit Jalan 4112c2b883 Update translations 2017-06-12 21:24:40 +05:30
Arpit Jalan 266acbcc6c Update Translations 2017-05-29 12:23:49 +05:30
Arpit Jalan f57914ccd8 Update translations 2017-05-22 10:24:44 +05:30
Neil Lalonde 8651fc57a5 Update translations 2017-05-15 11:11:18 -04:00
Arpit Jalan a160589e84 Update Translations 2017-05-09 22:59:38 +05:30
Arpit Jalan 1f6ffd5fb0 Update Translations 2017-05-02 16:08:55 +05:30
Neil Lalonde 5259a7824e Update translations 2017-04-27 13:26:15 -04:00
Arpit Jalan df77a827e1 Update Translations 2017-04-24 18:12:40 +05:30
Arpit Jalan ae96631692 Update Translations 2017-04-17 23:46:18 +05:30
Arpit Jalan ff530d6fb3 Update Translations 2017-04-07 22:23:39 +05:30
Neil Lalonde c19bf7e1bd Update translations 2017-03-28 10:50:09 -04:00
Bianca Nenciu c423544208 Changed combo-box to number inputs for min, max and step values. 2017-03-15 10:56:11 +08:00
Neil Lalonde 4271aa0b48 Update translations 2017-03-08 11:54:01 -05:00
Neil Lalonde d848916357 FEATURE: Greek language support, thanks to Vasilis Vlachokyriakos 2017-03-01 15:52:55 -05:00
Neil Lalonde 56233e9ec6 Update translations 2017-02-13 16:42:15 -05:00
Neil Lalonde 8ab327665f Update translations 2017-01-26 12:22:14 -05:00
Arpit Jalan bcbcfa2078 Update Translations 2017-01-18 22:13:12 +05:30
Arpit Jalan 1570c4e4a7 Update Translations 2017-01-12 13:26:45 +05:30
Neil Lalonde 5a2e989e0d Update translations 2017-01-06 15:53:03 -05:00
Arpit Jalan be303ecef9 Update Translations 2017-01-04 23:43:08 +05:30
Arpit Jalan 4e63880b5d Update Translations 2016-12-29 00:15:25 +05:30
Neil Lalonde bad98a4987 Update translations 2016-12-14 13:55:24 -05:00
Sam 02b21a26dd Merge pull request #4585 from ibnesayeed/urdu-support
Add initial Urdu support with RTL direction
2016-12-09 13:01:25 +11:00