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

51 Коммитов

Автор SHA1 Сообщение Дата
Carlos Tadeu Panato Junior
c8b99b97df Update html2text lib to use the original repo (#8900) 2018-06-14 19:27:21 +02:00
Carlos Tadeu Panato Junior
b6d5cc4f69 re-enabling TestSendMailUsingConfigAdvanced (#8836) 2018-05-27 09:56:44 -04:00
Christopher Speller
686c2fbab7 Structured logging (#8673)
* Implementing structured logging

* Changes to en.json to allow refactor to run.

* Fixing global logger

* Structured logger initalization.

* Add caller.

* Do some log redirection.

* Auto refactor

* Cleaning up l4g reference and removing dependancy.

* Removing junk.

* Copyright headers.

* Fixing tests

* Revert "Changes to en.json to allow refactor to run."

This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026.

* Fixing some auto refactor strangeness and typo.

* Making keys more human readable.
2018-04-27 12:49:45 -07:00
Jesús Espino
014a3b6a60 Fixing misspell errors (#8544) 2018-03-29 10:04:54 -04:00
Jesús Espino
9e6db178b0 Adding durafmt library and use it from enterprise global relay export (#8487)
* Adding durafmt library and use it from enterprise global relay export

* Allow to specify different server host and server name on smtp connections

* Fixing utils/smtp tests
2018-03-27 10:23:33 +02:00
Jesús Espino
b4784be2de Receive the email date as parameter (#8484) 2018-03-21 16:11:45 +01:00
Jesús Espino
e3edc2c121 Isolating configuration, sending emails and connection to SMTP. (#8452)
* Isolating configuration, sending emails and connection to SMTP.

* Building smtpAddress once

* Remove unnecesary errX variables

* Moving mail connection information to new data structure
2018-03-15 19:07:47 +01:00
Chris
e8943936c5 general cleanup (#8387) 2018-03-07 12:36:40 -06:00
Carlos Tadeu Panato Junior
4b5541db46 [PLT-8024] Support LOGIN authentication method for SMTP (#8140)
* [PLT-8024] Support LOGIN authentication method for SMTP

* added initial unit tests
2018-03-01 12:58:35 +01:00
Jonathan
05d84a8008 Modified advanced mail implementation to properly support multiple attachments with the same file name (#8289) 2018-02-15 09:02:31 +01:00
Chris
a6309aaf48 Remove license globals entirely (#8229)
* remove license globals entirely

* fix infinite recursion

* test fix
2018-02-09 10:04:48 -06:00
Jonathan
d3e934d07a XYZ-35: Added Support for GlobalRelay Compliance Export Format
* Added username to ChannelMemberHistory struct in anticipation of supporting GlobalRelay in Compliance Export
* Removed translation from debug output - this makes it complicated to use utils functions from tests in the enterprise repo
* Added an advanced email function that allows for greater control over message details. Updated MessageExport config to support GlobalRelay. Added attachment support to InBucket unit tests
* Moving templates in from enterprise to solve test issues
* Added export format to diagnostics
* Changed email attachment code to use FileBackend so that S3 storage is properly supported
2018-02-07 09:02:46 -05:00
Chris
bbb301b7de send-mail refactor (#7885) 2017-11-23 09:44:19 -05:00
Chris
a6694058a7 Revert "workaround for go smtp bug (#7620)" (#7866)
This reverts commit 8966452d11.
2017-11-21 11:11:04 -08:00
Carsten Pfeiffer
010122c988 7740: Set auto-submitted and precedence headers for emails (#7741)
* Set auto-submitted and precedence headers for emails

This prevents auto-responses from out-of-office agents.

* Apply gofmt
2017-11-15 08:34:46 -08:00
Chris
8966452d11 workaround for go smtp bug (#7620) 2017-10-12 15:23:33 -07:00
Christopher Speller
29fca51821 Renaming repo 2017-09-06 23:11:59 -07:00
Chris
1adfd0e9be app type transition (#7167) 2017-09-06 17:12:54 -05:00
George Goldberg
1a2a02440c Other Packages: NewLocAppError -> NewAppError (#7283) 2017-08-25 18:04:37 +08:00
Carlos Tadeu Panato Junior
12a9180807 [PLT-1015] Make all Mattermost system emails Multi-Part, with both a HTML and Plain Text version. (#5698)
* Implementation to Make all Mattermost system emails Multi-Part, with both a HTML and Plain Text version

* update lib

* update code per review

* update to use the mattermost repo
2017-08-21 11:31:13 -07:00
AJ Moon
6f4e38d129 [GH-6366] Add functionality to disable Authentication when connecting to SMTP (#6639)
* Issue #6366: Add feature to disable auth for Encrypted connections to SMTP settings.

* Clean PLAIN AUTH Option

* Reorder SMTP server setup and change helptext

* remove unneeded setting and modify logic

* text description change
2017-07-31 08:15:01 -07:00
Harrison Healey
9eb9c115de Move SMTP HELO before authentication (#6464) 2017-05-19 16:57:36 -04:00
Carlos Tadeu Panato Junior
0df61d161f implement PLT-6469 - Send HELO request containing domain name to SMTP server (#6322) 2017-05-09 09:34:30 -04:00
Harrison Healey
fb6f2a123c PLT-5860 Updated copyright date (#6058)
* PLT-5860 Updated copyright date in about modal

* PLT-5860 Updated copyright notice in JSX files

* PLT-5860 Updated copyright notice in go files

* Fixed misc copyright dates

* Fixed component snapshots
2017-04-12 08:27:57 -04:00
George Goldberg
b489a5bb01 PLT-5904 (Server): Config flag for SMTP Cert Check. (#5857) 2017-03-27 08:43:27 -03:00
Corey Hulen
1359f7f391 Adding go vet from hack-a-thon (#5328)
* Adding go vet to the api package

* Adding go vet to app package

* Adding go vet to manualtesting package

* Adding go vet to the model package

* Adding go vet to the store dir

* Adding go vet to utils package

* Adding missing dirs with go files

* Fixing up makefile

* Fixing up makefile

* Removing root dir
2017-02-09 21:39:15 +00:00
enahum
baf1fb6fea PLT-4618 Fix email subjects (#4537) 2016-11-14 07:11:54 -05:00
Girish Ramakrishnan
6c085594e4 mail: allow PLAIN auth over non-tls connections (#3900)
This allows mattermost to use a non-tls connection with a SMTP server that
supports PLAIN auth (but not LOGIN). The go library explicitly allows PLAIN
auth over non-tls connections - https://golang.org/src/net/smtp/auth.go#L55

Fixes #2929
2016-09-02 14:33:26 -04:00
enahum
2305b2597f PLT-3456 Fix Errors while starting the server (#3445)
* PLT-3456 AppErrors that are triggered before translations are loaded crash server or produce bad error messages.

* Fixing tests
2016-07-04 09:30:57 -04:00
Elias Nahum
7b3be6c77e PLT-7: Refactoring manuatesting & utils to use translations (chunk 5)
- Add spanish translations
- Skip tests
2016-01-25 00:57:16 -03:00
=Corey Hulen
b1251b9393 Upgrade logging package 2016-01-11 09:12:51 -06:00
=Corey Hulen
01a5f67398 PLT-1607 adding more debugging info for email and push notifications 2016-01-05 20:35:36 -06:00
=Corey Hulen
7f8cb30bd3 PLT-1607 adding more debugging info for email and push notifications 2016-01-05 20:33:31 -06:00
Melvi Ts
830c6b3f1e Fix email encoding issue 2015-10-16 14:52:31 +08:00
Christopher Speller
b85b529373 Changing SpinPunch to Mattermost in copyright 2015-10-08 12:27:09 -04:00
=Corey Hulen
0969e1bc71 PLT-470 Adding STMP server connection check 2015-09-29 11:59:26 -07:00
=Corey Hulen
0529a494ae Adding image properties 2015-09-21 17:34:13 -07:00
=Corey Hulen
ed9a2da83b Adding email to admin console 2015-09-21 15:11:56 -07:00
Bastien Durel
dce1f1e988 Use better format for date, as RFC1123 re-defined it over RFC822, and states 'implementations SHOULD use numeric timezones instead of timezone names' 2015-08-27 15:03:04 +02:00
Bastien Durel
ab5b2d12a5 missing tab 2015-08-26 20:17:52 +02:00
Bastien Durel
224e7d1a7b tabify 2015-08-26 16:45:57 +02:00
Bastien Durel
af02957c22 add date header in mail 2015-08-26 16:43:24 +02:00
Zvi "Viz" Effron
31d1e84411 Add SMTP auth to STARTTLS connections 2015-08-23 22:13:07 -07:00
Jirka Hlavacek
3c58e283b6 Add support for SMTP servers with StartTLS 2015-08-19 09:03:55 +02:00
nickago
22acb7b950 Set the 'From' field to include the FeedbackName from the config 2015-07-24 07:36:38 -07:00
=Corey Hulen
252d0f3924 Fixes mm-1415 adding email bypass flag 2015-07-12 23:36:52 -08:00
Reed Garmsen
94390236fd Unescaped escape characters in the subject line of emails so that all characters appear properly 2015-06-22 12:25:46 -07:00
Christopher Speller
6eb3775956 Adding check of email configuation settings when config file is loaded 2015-06-17 11:50:51 -04:00
=Corey Hulen
b41925da31 Fixing build 2015-06-16 23:05:37 -08:00
Christopher Speller
9925d52d9c Modifying sendmail to allow for non-encrypted connection for ease setup of local mail sender 2015-06-15 11:19:48 -04:00