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 0f982c4c66 .
* 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
Ogundele Olumide
6a2f09ae78
chore: migrate test to testify kit ( #12230 )
...
- convert t.fatal to require.Fail
2019-09-16 11:27:40 -04:00
Darrell Richards
50ae252f9c
GH-12194 Converting to structured logging the file app/user.go ( #12201 )
...
* Converted Logging on app/user.go
* Fixed a couple of issues with logging using the mlog.Err.
* Fixed issues from feedback via PR.
2019-09-16 14:28:09 +02:00
Nikhil Ranjan
62eeca29b7
Converting to structured logging the file app/slackimport.go ( #12137 )
2019-09-16 13:37:14 +02:00
Phillip Ahereza
7ecd270d7c
migrated plugin_deadlock_test.go to use testify ( #12077 )
2019-09-14 23:08:04 +02:00
Ogundele Olumide
43a068543c
fix: migrate the test to testify ( #12158 )
...
- convert all t.Fatal to testify require or assert
2019-09-14 12:53:37 +02:00
Martin Kraft
890a7c6985
MM-18522: Include edited posts in compliance export. ( #12197 )
...
* MM-18522: Export all post edits in compliance exports.
* MM-18522: Changes ordering of export query post results.
2019-09-13 18:18:06 -04:00
Miguel de la Cruz
85ce27fc93
[MM-18544] Initialise UserSearch struct before trying to decode JSON ( #12198 )
2019-09-13 13:58:27 -04:00
Lev
4c4fbdc652
Bumped Jira plugin to 2.1.3 ( #12185 )
2019-09-13 06:48:32 -07:00
Nikhil Ranjan
bff8ad995d
Converting to structured logging the file app/license.go ( #12170 )
2019-09-13 09:07:00 -04:00
Nikhil Ranjan
995a545411
Convert app/export_test.go t.Fatal calls into assert/require calls ( #12184 )
2019-09-13 11:51:46 +02:00
Jesús Espino
738a948e45
Restricting groupmsg command to only allow to create group chats with know people ( #12148 )
...
* Restricting groupmsg command to only allow to create group chats with know people
* More generic response to the users about user he can't see
* Making the code more clean
2019-09-13 10:57:47 +02:00
Nikhil Ranjan
4a3d7b9389
MM-18258 Converting to structured logging the file utils/html.go ( #12134 )
...
* Converting to structured logging the file utils/html.go
* using any instead of type assertion
2019-09-13 10:34:48 +02:00
Nikhil Ranjan
9f54e8267f
Converting to structured logging the file app/webhook.go ( #12142 )
2019-09-13 01:31:59 -04:00
Nikhil Ranjan
d9fa46e0a2
Converting to structured logging the file store/sqlstore/post_… ( #12087 )
2019-09-12 21:02:14 -04:00
Nikhil Ranjan
d8f9dd271d
MM-18268 Converting to structured logging the file app/websock… ( #12143 )
2019-09-12 20:30:41 -04:00
Jesús Espino
5cf578f486
Migrating to our ldap fork ( #12149 )
2019-09-12 21:11:05 +02:00
Nikhil Ranjan
5fe5077578
MM-18257 Converting to structured logging the file utils/i18n.… ( #12095 )
2019-09-12 11:55:31 -05:00
Jesús Espino
28cc7e7e36
Migrating roles and schemes to new Cache Layer ( #11936 )
...
* Migrating roles and schemes to new Cache Layer
* Adding missed license headers
* Updating cache tests
* Adding the cache layer to the testlib helper
* Fixing cyclic dependency
* fixing a bit of not-idiomatic error handling
* Another small fix arrount idiomatic error handling
2019-09-12 18:52:45 +02:00
Nikhil Ranjan
e58aeb90a8
MM-18255 Converting to structured logging the file web/static.go ( #12093 )
...
* Converting to structured logging the file web/static.go
* change staticDir to clientDir in logs
2019-09-13 00:22:48 +08:00
Nikhil Ranjan
e8911b3e08
Converting to structured logging the file app/analytics.go ( #12171 )
2019-09-12 17:58:16 +02:00
Nikhil Ranjan
b7a879b985
Converting to structured logging the file app/post.go ( #12138 )
2019-09-12 10:27:04 -05:00
Elias Nahum
794ae335b3
MM-17953 Set updateAt and remove from cache when a user is (de)activated ( #12178 )
2019-09-12 16:30:15 +02:00
Nikhil Ranjan
54c0e394f5
MM-18278 Converting to structured logging the file plugin/supe… ( #12177 )
2019-09-12 09:31:09 -04:00
Nikhil Ranjan
37d719d20c
Converting to structured logging the file app/ratelimit.go ( #12176 )
2019-09-12 13:35:07 +02:00
Nikhil Ranjan
d327df12e6
MM-18264 Converting to structured logging the file app/emoji.go ( #12139 )
2019-09-11 22:49:27 -05:00
Elias Nahum
3618947094
MM-18066 Remove double @ for email notifications ( #12131 )
...
* Remove double @ for email notifications
* Fix tests
2019-09-11 17:30:35 -03:00
Nikhil Ranjan
be25dcd6f3
Converting to structured logging the file jobs/jobs.go ( #12120 )
2019-09-11 14:19:13 -04:00