Ben Schumacher
757dc96461
[MM-37772] Idiomatic naming (URL, URI, API) ( #18128 )
...
* s/Url/URL/g & s/Uri/URI/g
* s/Api/API/g
2021-08-16 19:46:44 +02:00
Agniva De Sarker
c4b4e1bc38
MM-36271: Bump major version to 6.0 ( #17973 )
...
https://mattermost.atlassian.net/browse/MM-36271
```release-note
We bump the major version to 6.0
```
2021-07-22 12:21:47 +05:30
Ibrahim Serdar Acikgoz
5d41bffe5e
[MM-30092] api4/image: add support for protocol rel. urls ( #16189 )
...
* api4/image: add support for protocol rel. urls
* reflect review comments
* Update api4/image.go
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com >
* api4/image: prevent opaque urls to be processed
Co-authored-by: Juho Nurminen <juho.nurminen@mattermost.com >
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2020-12-10 09:54:13 +03:00
Eli Yukelzon
52c92d6659
MM-23185 - Markdown image hosted by plugins are not shown if l… ( #14185 )
...
* avoid image proxy for local images
* added test for local images
2020-04-01 11:45:26 +03:00
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
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
Harrison Healey
dce6cb601f
MM-14686 Send all image proxy requests through /api/v4/image ( #10775 )
...
* MM-14686 Implement /api/v4/image when proxy is disabled
* MM-14686 Send all image proxy requests through /api/v4/image
* Update unit tests
2019-05-06 09:22:37 -04:00
Harrison Healey
ba5566d1a0
MM-10417 Add local image proxy and enable by default ( #9967 )
...
* MM-10417 Add local image proxy and enable by default
* Remove unused function
* Add dependencies for willnorris/imageproxy
* Fixed compilation errors
* Lock to the master version of willnorris/imageproxy
* Fix atmos/camo proxy when no SiteURL is specified
* Re-add default values for deprecated settings
* Fix unit tests added by merge
* Pass imageproxy to App struct
* Remove unneeded locking when creating the image proxy
* Remove empty test file
2019-01-24 16:11:32 -04:00
Jesús Espino
d81a61398d
Migrate all the api4 to handle errors in idiomatic way ( #9143 )
2018-08-01 16:55:18 +02:00
Chris
0daac7e4fc
Add /v4/image api ( #8230 )
...
* add image api
* i suppose i should add a test...
* only redirect to image proxy
2018-02-09 11:56:11 -08:00