Commit Graph

12 Commits

Author SHA1 Message Date
Eli Yukelzon
17523fa5d9 MM-21898 - Part 1: Generate and use an interface instead of *A… (#13840)
* Generate and use an interface instead of *App
2020-02-13 13:26:58 +01:00
Jesús Espino
a76643116f Making private opengraph methods in the app layer (#13759) 2020-01-28 10:56:45 +01:00
Jesús Espino
a63684fcb5 Consistent license message for all the go files (#13235)
* Consistent license message for all the go files

* Fixing the last set of unconsistencies with the license headers

* Addressing PR review comments

* Fixing busy.go and busy_test.go license header
2019-11-29 12:59:40 +01:00
Miguel de la Cruz
2259b7f2a8 [MM-19948] Set version on module file and internal paths (#13186)
* [MM-19948] Set version on module file and internal paths

* Fixes after merge

* Fix i18n checker error
2019-11-28 14:39:38 +01:00
Harrison Healey
f1d83eaf81 MM-17043 Downgrade OpenGraph logging to debug level (#11649) 2019-07-18 15:46:54 -04:00
Gabe Jackson
8c048a6604 Review error logging (#10897)
This change lowers the levels of a few log messages in an attempt
to bring them more in line with the severity of the actual message.
2019-05-21 10:57:26 -07:00
Harrison Healey
99ea780f20 MM-13142 Replace mlog.Any with mlog.Err (#10848) 2019-05-15 16:04:43 -04:00
Daniel Schalla
a2f46c0466 [MM-13889] Limit OpenGraph data response size (#10213)
* Limit OpenGraph data response size

* Add LimitReader to Metadata Image
2019-02-01 18:55:43 +01:00
Harrison Healey
1a3ccaf305 MM-13606 Remove consumeAndClose and clean up integration response handling (#10066)
* MM-13606 Remove consumeAndClose

* Allow overriding HTTPService's request timeout

* MM-13606 Clean up integration response handling

* Properly close httptest servers

* Address feedback

* Only call buf.Bytes when necessary

* Properly check for errors in doOutgoingWebhookRequest

* Add comment explaining ignored ioutil.ReadAll errors
2019-01-09 17:07:08 -05:00
George Goldberg
9afb1586cd MM-12648: Properly unescape OpenGraph metadata containing HTML entities. (#9891) 2018-11-28 10:58:12 +00:00
Harrison Healey
3929cb0141 Replace App.HTTPClient calls after merge (#9387)
* Replace App.HTTPClient calls after merge

* Add missing import
2018-11-01 15:25:23 -04:00
Harrison Healey
2959b53d98 MM-11272 Add OpenGraph and image dimension metadata to posts (#9313)
* Move OpenGraph code into its own file

* Move OpenGraph image proxying to app layer

* Move test file code out of api4 package

* MM-11272 Add OpenGraph and image dimension metadata to posts
2018-11-01 15:25:11 -04:00