Ben Schumacher
b8f0546c19
[MM-18193] Use vendor folder when compiling test plugins ( #12188 )
2019-09-24 23:02:59 +02:00
Christopher Speller
7966397f1f
Defaulting to using go modules vendored ( #12040 )
2019-09-24 22:01:53 +02:00
Jesús Espino
99f13ed0e6
Use seconds instead of nanoseconds for the store time layer metrics ( #12321 )
...
* Use nanoseconds instead of seconds for the api metrics
* Using seconds instead of nanoseconds in the store layer metrics
2019-09-24 20:00:19 +02:00
Maria A Nunez
f257109953
Revert "MM-16809: Added EnsureChannel Helper ( #11852 )" ( #12314 )
...
This reverts commit 5aa24aedc8 .
2019-09-24 13:48:33 -04:00
Carlos Tadeu Panato Junior
c3ffac4f6b
bump mattermost/mattermost-build-server to use go 1.12.9 ( #12239 )
...
* bump mattermost/mattermost-build-server to use go 1.12.9
2019-09-24 19:29:57 +02:00
Ogundele Olumide
1f9d14e24c
chore: refactor to use structured logging ( #12256 )
2019-09-24 18:30:23 +02:00
Marc Argent
d0a138a35e
GH-12049 use structured logging ( #12258 )
2019-09-24 18:30:13 +02:00
Nikhil Ranjan
7ba491ac2d
Converting to structured logging the file app/notification_pus… ( #12126 )
2019-09-24 17:10:47 +02:00
Nikhil Ranjan
7464449478
Convert app/config_test.go t.Fatal calls into assert/require c… ( #12220 )
2019-09-24 16:49:23 +02:00
Nikhil Ranjan
d130131a88
Convert app/web_hub_test.go t.Fatal calls into assert/require… ( #12222 )
2019-09-24 16:44:01 +02:00
Ben Schumacher
4faf8a96b9
Bump app version to 5.18 ( #12259 )
2019-09-24 16:37:49 +02:00
Ogundele Olumide
be340bb7c7
MM-18317 Migrate tests from import_validators_test.go to use t… ( #12129 )
2019-09-24 15:37:47 +02:00
Nikhil Ranjan
49a900554f
MM-18256 Converting to structured logging the file utils/licen… ( #12094 )
2019-09-24 15:37:21 +02:00
Nikhil Ranjan
230a518059
MM-18288 Converting to structured logging the file app/web_hub… ( #12133 )
2019-09-24 15:35:20 +02:00
Phillip Ahereza
14bf82ad03
[MM-18320] Migrate tests from "app/email_batching_test.go" to… ( #12079 )
2019-09-24 15:33:58 +02:00
Micah Thompson
fa6b98df3c
Migrate tests from 'app/oauth_test.go' to use testify ( #12155 )
2019-09-24 15:32:13 +02:00
Nikhil Ranjan
69eb2faf3d
Convert app/login_test.go t.Fatal calls into assert/require ca… ( #12221 )
2019-09-24 15:25:24 +02:00
sowmiyamuthuraman
3802c1e4d3
Replace t.fatal() to testify require/assert calls ( #12174 )
2019-09-24 15:23:30 +02:00
Darrell Richards
a3c5cd5760
GH-12100 Mirgrated tests in app/channel_test.go ( #12217 )
2019-09-24 15:22:09 +02:00
Renil Joseph
945a099c06
MM-18383: updated tests using fatal to use assert ( #12175 )
2019-09-24 15:10:58 +02:00
Scott Bishel
d6b134aecc
MM-18344 Honour absolute paths to SAML certificates ( #12237 )
...
* MM-18344 Honour absolute paths to SAML certificates
* fixes from code review
* update text
2019-09-24 06:44:12 -06:00
Scott Bishel
1de5f29de4
MM-17620 - Web: Error when entering an invalid MFA token is unclear ( #12238 )
2019-09-24 06:43:40 -06:00
Darrell Richards
417dd7997a
GH-12196 Converting to structured logging in app/import_functions.go ( #12205 )
...
* Updated Logging for mlog and removed fmt
* Changed up wording from last PR.
2019-09-20 12:45:28 -06:00
Nikhil Ranjan
c4d6b0213e
Convert app/notification_email_test.go t.Fatal calls into asse… ( #12227 )
...
* Convert app/notification_email_test.go t.Fatal calls into assert/require calls
* changes as per review
* using require.Regexp instead of require.True
2019-09-20 09:04:10 -06:00
Nikhil Ranjan
8cd9dac632
Convert app/user_agent_test.go t.Fatal calls into assert/requi… ( #12224 )
2019-09-20 16:53:48 +02:00
Shota Gvinepadze
32bc585446
[MM-18121] Fix config set panic ( #12083 )
...
* Fix config set panic
* Change error message
* Add a test case
* Update error string
2019-09-20 17:48:19 +04:00
Jesús Espino
e236eb74fa
Add prometheous metrics for each api handler ( #12254 )
2019-09-20 15:09:58 +02:00
Ben Schumacher
05fae599b8
[MM-18625] Fix database source parsing on go 1.12.8 ( #12250 )
2019-09-20 06:22:40 +02:00
Jesse Hallam
33cf37bbc0
MM: 16479: ensure replacement file finishes io.Copy ( #12249 )
...
* simplify FileWillBeUploaded
* MM-16479: ensure replacement file finishes io.Copy
2019-09-19 22:02:19 -03:00
Ogundele Olumide
22ec2d169c
chore: migrate t.fatal to testify ( #12231 )
...
- convert t.fatal to require or assert
2019-09-19 18:33:24 -04:00
Akil Darjean
9b5b2831ee
Migrate tests from 'app/command_mute_test.go' to use testify ( #12240 )
2019-09-19 18:01:30 +01:00
tejashreecd
e42c40b4b5
[MM-11854] Migrates some CI/CD steps to circleci ( #11978 )
...
* [MM-11854] Migrates some CI/CD steps to circleci
* [MM-11854] Empty commit to trigger CI/CD build
* update circleci config
* update build image
2019-09-19 12:43:21 +02:00
Ankit R Gadiya
d1017a089a
Moved Push to S3, Clean Checkout and Build Docker before Test ( #12027 )
2019-09-19 10:37:02 +02:00
Jesús Espino
ecbc5ef5e1
Fixing autocomplete endpoint for in/out of channels ( #12147 )
2019-09-18 20:27:32 +02:00
sowmiyamuthuraman
be0d13578d
Refactor "app/authorization.go" to use structured logging ( #12233 )
2019-09-18 20:02:22 +02:00
Carlos Tadeu Panato Junior
c7b583ccdd
use mkdirall instead of mkdir ( #12032 )
...
* use mkdirall instead of mkdir
* revert
* create the folder here
2019-09-18 18:39:01 +02:00
Nikhil Ranjan
581cdf158c
Convert app/license_test.go t.Fatal calls into assert/require calls ( #12218 )
2019-09-18 10:38:28 -06:00
Ben Schumacher
3323e7a619
[MM-17109] Bump model version to 5.16 ( #12172 )
...
* Bump model version to 5.16
* Make db schema version indipended of app version
2019-09-18 18:23:58 +02:00
Nikhil Ranjan
3a3676eb12
Converting to structured logging the file cmd/mattermost/commands/utils.go ( #12091 )
2019-09-17 12:54:43 -07:00
Joram Wilander
3d4c941ba8
MM-18512 Use options struct for GetProfilesWithoutTeam and add filtering to API ( #12200 )
...
* Use options struct for GetProfilesWithoutTeam and add filtering
* Fix test
2019-09-17 20:13:17 +01:00
Jesse Hallam
4ce7b92283
MM-17023: Plugin Marketplace ( #12183 )
...
* MM-17149 - Extend config.json for marketplace settings (#11933 )
* MM-17149 - Extend config.json for marketplace settings
* Renamed MarketplaceUrl, tracking default marketplace url
* Added EnableMarketplace to the client config
* Revert "Added EnableMarketplace to the client config"
This reverts commit 0f982c4c661c2cd9bb96264e9a01a2363c40d9c5.
* MM-17149 - Added EnableMarketplace to the client config (#11958 )
* Added EnableMarketplace to the client config
* Moved EnableMarketplace setting out of limited client configuration
* MM-17150, MM-17545, MM-18100 - Implement GET /api/v4/plugins/m… (#11977 )
* MM-17150 - Implement GET /api/v4/plugins/marketplace proxying upstream
MM-17545 - Merge locally installed plugins into GET /api/v4/plugins/marketplace
* Replaced MarketplacePluginState with Installed
* Setting InstalledVersion instead of Installed
* marketplace client setting per_page if non zero
* Creating insecure client for marketplace url
* Fixed trailing slash for default marketplace url
* Adding filtering
* Fixed function names
* Renamed Manifest() to GetManifest(), added godoc for BaseMarketplacePlugin
* Handling plugin.ErrNotFound correctly
* Checking err == nil instead when a plugin is installed
* MM-18450 - Local-only plugin search (#12152 )
* MM-17846: plugin icons (#12157 )
* MM-17846: add support for plugin icons
Extend the model definitions to support plugin icons from the marketplace.
* s/IconURL/IconData
* MM-18475 - Converge on snake_case responses from the marketplace (#12179 )
* MM-18520 - MM-Server should forward server version to marketplace server (#12181 )
* Renamed request to filter client4.GetMarketplacePlugins
* Renamed request to filter
* Guarding against bad marketplace server response
2019-09-17 15:02:26 -04:00
Nikhil Ranjan
86891091c0
Converting to structured logging the file app/file.go ( #12124 )
2019-09-17 13:48:22 -04:00
Esdras Beleza
46c624f4f8
Migrate app/team_test.go to use testify ( #12215 ) ( #12226 )
...
* Migrate app/team_test.go to use testify (#12215 )
* Add missing message
* Fix suggestions
2019-09-17 14:38:22 +01:00
Eli Yukelzon
b3517eaf2f
MM-17468 - Improving performance of fetching threads ( #11980 )
...
fetchThreads parameter support in the API
2019-09-17 14:37:10 +01:00
Nikhil Ranjan
39036ffb30
Converting to structured logging the file app/cluster_discover… ( #12204 )
2019-09-17 12:20:23 +02:00
Paulo Bittencourt
5b79fc4110
[MM-17889] Implement validation of plugin API version comments ( #11941 )
2019-09-17 08:03:28 +02:00
Nikhil Ranjan
04653ec924
Convert app/helper_test.go t.Fatal calls into assert/require calls ( #12223 )
...
* Convert app/helper_test.go t.Fatal calls into assert/require calls
* using Equalf
2019-09-16 18:11:17 -04:00
Nikhil Ranjan
29c738dc9d
Converting to structured logging the file app/email_batching.go ( #12127 )
...
* Converting to structured logging the file app/email_batching.go
* reverting to fmt.Sprintf as per need
2019-09-16 17:28:13 -04:00
Arshdeep Singh Chimni
fe41272723
migrate "app/diagnostics_test.go" to use testify ( #12072 )
2019-09-16 21:18:28 +02:00
Claudio Costa
ad9784d7e3
[MM-16934] Add API endpoint to update channel privacy ( #11993 )
...
* Add API endpoint to update channel privacy setting
* Fix language files
* Improve tests by making sure channel has been updated correctly
* Improve tests
2019-09-16 19:34:36 +02:00