Commit Graph

5 Commits

Author SHA1 Message Date
Claudio Costa
8677596c0d [MM-17919] Add permission check for guest users before sending a /msg command (#11987)
* Add permission check for guest users before sending a /msg command

* Remove unnecessary check for IsGuest
2019-09-03 22:11:55 +02:00
Gabe Jackson
be4b473aee Move to the mattermost/go-i18n fork (#10669)
This change is being made to address an issue where the go-i18n
translation library would result in partial-translations when a
given language dictionary was missing a given plural keyword. The
improvement made here leads the translation library to try an
'other' keyword lookup if the first plural keyword fails to have
a value.

This change was not accepted upstream due to concern regarding
changing the behavior, so we are using a fork at this time to
address the issue.
2019-04-23 09:33:42 -04:00
Shreyansh Chouhan
39ceaa3e86 [MM-13833] Configured unit tests to log through t.Log (#10272)
* Rerouted the unit test logs through t.Log

* resolving merge confilvts

* Update testing.go

* Update helper_test.go

* Added godocs for NewTestingLogger

* Added go docs for NewTestingLogger

* Resolving conflicts
2019-02-14 13:52:11 -04:00
George Goldberg
951e4ad984 MM-11174: Fix /msg slash command. (#9059) 2018-07-10 10:53:51 +02:00
Chris
bd3b7aeeea Fix /msg switching teams (#7753)
* Fix /msg switching teams

* simplify a bit
2017-11-01 14:15:31 -04:00