Граф коммитов

197 Коммитов

Автор SHA1 Сообщение Дата
enahum
994d73be6f daily translations 20160623 (#3403) 2016-06-24 08:19:32 -04:00
enahum
dd341de0ac daily translations 20160621 (#3392) 2016-06-21 21:05:32 -04:00
enahum
a4b8a04c60 daily translations 20160620 (#3384) 2016-06-20 22:35:40 -04:00
enahum
1ac3bfa603 PLT-3364 Fix panic when load config failes (#3361) 2016-06-20 09:14:02 -06:00
David Lu
3f333678d8 PLT-2971 Added email footer for address (#3319)
* Added email footer for address

* added default

* Update html.go

* Changed according to PM
2016-06-16 08:44:02 -04:00
enahum
e1703d8800 daily translations 20160615 (#3348) 2016-06-15 19:22:13 -03:00
Joram Wilander
f6fc4bdbdb Update error message when trying to switch account with a duplicate email (#3332) 2016-06-15 08:02:07 -04:00
enahum
70711c82a3 daily translations 20160614 (#3340) 2016-06-15 08:01:15 -04:00
Joram Wilander
1cfb35fd32 Fix channels showing up across teams when multiple teams open in same browser (#3329) 2016-06-15 08:00:55 -04:00
enahum
af4110b2ed Add German Localization (#3328) 2016-06-14 13:53:26 -04:00
Harrison Healey
a0cc913b85 PLT-3143 Added serverside code for custom Emoji (#3311)
* Added model objects for emoji

* Added database tables for emoji

* Added settings for custom emoji

* Added serverside APIs and unit tests for custom emoji

* Added additional validation to catch duplicate emoji names earlier on

* Added additional validation to prevent users from adding emoji as another user
2016-06-14 07:38:19 -06:00
David Lu
661f221727 Made error message clearer (#3318) 2016-06-14 08:59:55 -04:00
Martin Schenck
24a2805456 PLT-2058 Debugging incoming web hook content (#3150)
* PLT-2058 Debugging incoming web hook content

This change debugs contents of incoming webhooks using l4g.

The problem is that in order to debug the request body, it neads to be
read. And a Reader can only be read once. Hence, the body is only read
for Debugging if it is actually enabled. Furthermore, a new reader is
created from the content of the old reader in order for the rest of the
method to work as usual (with or without debugging).

The debug statement is wrapped in a closure, so that the content is
only copied if Debug is actually enabled.

It is not possible to return `(string, string)` from the closure to
`l4g.Debug()`. That is the reason the debugging is not done with `=%v`,
but the translations strings end with a space.

I tested the change with a `application/json` HTTP header as well as
`payload=`

The debug method is extracted into util/log.go in order to be re-usable
for debugging `io.Reader`

* Added a config flag to turn off incoming webhook debugging

Setting `EnableWebhookDebugging` to false in the `config.json` will
disable the printing of the content of incoming webhooks to the console

* Defaulting webhook debugging to true

* Added the setting of debugging incoming webhooks to the system console
2016-06-10 09:59:24 -04:00
enahum
aa61ea0e44 daily translations 20160609 (#3305) 2016-06-10 07:58:42 -04:00
enahum
d52bd0f6dc daily translations 20160608 (#3296) 2016-06-09 09:18:51 -03:00
enahum
a3a774c5b4 daily translations 20160607 (#3288) 2016-06-07 19:26:35 -03:00
enahum
22245eee70 daily translations 20160606 (#3275) 2016-06-06 18:28:57 -03:00
Joram Wilander
c0d1b8fbb9 System messages trigger notifications when user is mentioned (#3235) 2016-06-06 14:29:10 -04:00
David Lu
edc0e00037 Removed ESC (#3268) 2016-06-06 14:05:50 -04:00
Joram Wilander
1e245f19c7 PLT-3114 Moved preview collapse out of pre-release features (#3206)
* Added user setting to auto collapse image previews

* Added slash commands for collapsing/expanding image previews

* Added translation strings for collapse setting

* Add default props for preview collapse setting
2016-06-06 10:41:54 -07:00
jasonblais
8936d67044 Update /shortcuts display text (#3244) 2016-06-05 03:37:54 -03:00
enahum
bbaf1032a2 daily translations 20160603 (#3251) 2016-06-04 10:52:56 -04:00
Joram Wilander
971149d2b2 Don't allow users to be added to a channel they are not in the team of (#3246) 2016-06-04 10:52:25 -04:00
Christopher Speller
ea3342aa6c Adding LDAP Syncronization (#3219) 2016-06-03 09:33:59 -04:00
Joram Wilander
8165f5d91f PLT-3131 Add slash command for sending email invites (#3218)
* Add slash command for sending email invites

* Add response for empty message and trim commas

* Check for @ in email addresses before sending

* Update invite people error message
2016-06-02 19:39:23 -03:00
enahum
159953050a PLT-1800 Load server side locale from the config.json (#3202)
* PLT-1800 Load server side locale from the config.json

* Add support for locales with country specifics

* Fix localization on served locale file as plain/text

* Remove github.com/cloudfoundry/jibber_jabber as vendor dependency

* Fix get locale on login_controller
2016-06-02 12:47:26 -07:00
enahum
a479d1fee0 daily translations 20160601 (#3209) 2016-06-02 09:10:06 -03:00
Christopher Speller
786e4dce7d Revert "PLT-1800 Load server side locale from the config.json" (#3201) 2016-06-01 11:56:27 -04:00
enahum
b00a60ab71 PLT-1800 Load server side locale from the config.json (#3135)
* PLT-1800 Load server side locale from the config.json

* Add support for locales with country specifics

* Fix localization on served locale file as plain/text

* Remove github.com/cloudfoundry/jibber_jabber as vendor dependency
2016-06-01 08:56:13 -04:00
enahum
85ccd67593 daily translations 20160531 (#3192) 2016-06-01 09:18:35 -03:00
David Lu
8e2f427b46 Fixed typo (#3188) 2016-05-31 16:09:51 -04:00
David Lu
a1fd5d4df7 Changed shortcut command message (#3173) 2016-05-31 14:26:21 -04:00
enahum
db2ca26a02 daily translations 20160530 (#3169) 2016-05-31 08:00:32 -04:00
enahum
c7615920df daily translations 20160527 (#3144) 2016-05-27 19:20:47 -03:00
enahum
97a4310610 daily translations 20160526 (#3131) 2016-05-27 08:38:01 -07:00
Joram Wilander
d2aacdbb07 Don't allow gitlab users to activate mfa (#3125) 2016-05-27 08:36:53 -07:00
David Lu
0d0734ac98 Added duplicated trigger validation (#3124) 2016-05-27 08:35:55 -07:00
Christopher Speller
ec7a273550 Revert "PLT-1800 Load server side locale from the config.json" (#3133) 2016-05-27 09:01:35 -04:00
enahum
a2c183f401 PLT-1800 Load server side locale from the config.json (#3092)
* PLT-1800 Load server side locale from the config.json

* Add support for locales with country specifics

* Fix localization on served locale file as plain/text
2016-05-27 08:25:37 -04:00
enahum
9c0caaa765 daily translations 20160525 (#3117) 2016-05-26 08:49:21 -04:00
Corey Hulen
56cca6be7c PLT-2976 Adding checkout for missing SMTP server when testing email connection (#3115)
* PLT-2976 Adding checkout for missing SMTP server when testing email connection

* Fixing unit test
2016-05-26 07:55:37 -04:00
enahum
e9d1289fb0 daily translations 20160524 (#3101) 2016-05-25 08:39:31 -07:00
Corey Hulen
09863c0b80 Adding APIs to reload config, recycle db connections and ping server (#3096)
* Adding APIs to reload config, recycle db connections and ping server

* Fixing unit test

* Adding unit tests
2016-05-24 14:31:30 -07:00
Christopher Speller
4ae7128ecb Revert "PLT-1800 Load server side locale from the config.json (#3076)"
This reverts commit 34beaa569b.
2016-05-24 10:39:56 -04:00
Thomas Balthazar
7e2b539de4 Max_File_Size setting in System Console > File Settings (#3070) 2016-05-24 09:07:42 -04:00
enahum
34beaa569b PLT-1800 Load server side locale from the config.json (#3076)
* PLT-1800 Load server side locale from the config.json

* Add support for locales with country specifics
2016-05-24 08:36:27 -04:00
Christopher Speller
2a137e97c4 Adding enterprise build hash to about dialog (#3058) 2016-05-20 07:41:47 -07:00
enahum
36be959cd9 daily translations 20160519 (#3061) 2016-05-20 09:13:18 -04:00
Joram Wilander
1492d1a3cb PLT-2664 Split out push notifications from email notifications (#3049)
* Split out push and email notification logic, always send push notifications on mention

* Add user setting to control push notifications

* Minor changeto simplify code
2016-05-19 14:33:04 -04:00
enahum
98fa24f216 daily translations 20160518 (#3050) 2016-05-19 09:34:08 -04:00