Commit Graph

11162 Commits

Author SHA1 Message Date
Shota Gvinepadze
e9cb343ba7 Migrate to Sync by default (#11286) 2019-06-25 15:14:01 +02:00
Martin Kraft
d1b1b319cf MM-16499: Adds ability to retrieve channels with total count f… (#11375)
* MM-16499: Adds ability to retrieve channels with total count for pagination.

* MM-16499: Switches to custom package name for squirrel.
2019-06-25 15:18:48 +03:00
Bob Lubecker
3993cac4ed MM-16264 - add cypress-test-data command to make file (#11130)
* add cypress-test-data command to make file

* apply changes to the standard test-data command
2019-06-25 07:06:44 -05:00
Rodrigo Villablanca Vásquez
54d62dbadf Migrates Channel.IncrementMentionCount to sync by default (#11237)
* Migrates Channel.IncrementMentionCount to sync by default

* Calls to Channel.IncrementMentionCount are concurrent now
2019-06-25 11:13:39 +01:00
Micah Thompson
eb9415a668 MM-16482 Migrate UserAccessToken.Delete to Sync by default (#11356)
* MM-16482 Migrate UserAccessToken.Delete to Sync by default

* err mistake

* [Requested Change] Removed else block

* gofmt change

* gofmt change
2019-06-24 23:25:19 +02:00
Martin Kraft
c07b7046ca MM-16500: Adds ability to retrieve the total count of teams via the API. (#11325) 2019-06-24 22:05:34 +01:00
Harrison Healey
49d5037a89 MM-16654 Fix default value for EnableSurvey in diagnostics (#11373) 2019-06-24 15:58:45 -04:00
Shobhit Gupta
a4262373e5 Migrate Emoji.GetList to Sync by default (#11314) 2019-06-24 19:25:29 +02:00
Tarik Eshaq
453f28c05d Migrate Status.GetAllFromTeam method to Sync (#11362)
* Migrate Status.GetAllFromTeam method to Sync

* remove redundant else statement in GetAllFromTeam
2019-06-24 19:01:45 +02:00
Shobhit Gupta
331ded2421 Migrate UserAccessToken.Search to Sync by default (#11330) 2019-06-24 16:12:23 +02:00
Sheshagiri Rao Mallipedhi
cca41427a4 Migrate Status.SaveOrUpdate to Sync by default (#11359)
* Migrate Status.SaveOrUpdate to Sync by default

* address pr comments
2019-06-24 12:03:29 +02:00
Rodrigo Villablanca Vásquez
0199cef145 Migrates Status.GetOnline to sync by default (#11351)
* Status.GetOnline to sync by default

* Removed else sentence
2019-06-24 10:02:50 +02:00
Miguel de la Cruz
162a2a9903 [MM-16244] Add Elasticsearch SkipTLSVerification parameter to the config (#11189)
* [MM-16244] Add Elasticsearch SkipTLSVerification parameter to the config

* Add SkipTLSVerification config parameter to the diagnostics

* Update diagnostics key for consistency

Co-Authored-By: George Goldberg <george@gberg.me>
2019-06-23 12:03:55 +01:00
Carlos Tadeu Panato Junior
efb9e2fe54 fix the clean checkou and only check in PR (#11363) 2019-06-23 12:29:16 +02:00
Shobhit Gupta
c4b9b3cfd3 Migrate Emoji.Search to Sync by default (#11308)
* Migrate Emoji.Search to Sync by default

* Fix indentation
2019-06-22 09:41:47 +02:00
Miguel de la Cruz
9e9b008f3d [MM-13500] Adds channel /search_group endpoint (#10805)
* [MM-13500] Adds channel /search_group endpoint

* Add LIMIT to the queries

* Fix i18n extract

* Fix tests

* Add a new endpoint to get profiles by group channel ids

* Rebase fix
2019-06-22 00:14:21 +01:00
krjn
604e247135 [MM-16514] Migrate Token.GetByName to Sync by Default (#11355)
* [MM-16514] Migrate Token.GetByToken to Sync by default

* test: use testify

* fix: shadowing
2019-06-22 00:20:27 +02:00
Dean Whillier
cfd9d314a3 [MM 7970] Support maintaining online status while the Desktop App is in the background ... and other things. (#11312)
* receive os-level user status updates via websocket

* removing debugging
2019-06-21 17:46:06 -04:00
George Goldberg
0d8377cc59 MM-16439: Print config ordered by key alphabetically for easy diff. (#11349)
* MM-16439: Print config ordered by key alphabetically for easy diff.

* Clarify comment.
2019-06-21 17:38:26 +01:00
Jesús Espino
e3504398c7 Migrate OAuth store to sync by default (#11319)
* Migrate OAuth store to sync by default

* Removing unnecesary return oldValue for updateApp in Oauth Store
2019-06-21 18:21:18 +02:00
krjn
e3c8c1251f [MM-16490] Migrate UpdateTokenDisable to Sync by default (#11333)
* [MM-16490] Migrate UpdateTokenDisable to Sync by default

* fix: missed conversion of app/session.go
2019-06-21 22:55:23 +08:00
Shota Gvinepadze
2d00aed038 Migrate 'UserAccessToken.GetByUser' to Sync by default (#11322) 2019-06-21 16:49:56 +02:00
Pradeep Murugesan
d300f4a6ad made the emoji store getByName method sync (#11324) 2019-06-21 13:19:57 +02:00
Shota Gvinepadze
9ce1aa4455 [MM-11306] Migrate 'UserAccessToken.Save' to Sync by default (#11309)
* Migrate 'UserAccessToken.Save' to Sync by default

* Remove else clause in UserAccessToken.Save()
2019-06-21 10:42:37 +02:00
Carlos Tadeu Panato Junior
c0ea93c228 tagging the docker image using the sha instead of the PR number (#11284) 2019-06-21 10:41:49 +02:00
Rodrigo Villablanca Vásquez
9ad2dd9514 Migrates Channel.GetDeletedByName to sync by default (#11203) 2019-06-21 08:32:13 +02:00
Shota Gvinepadze
e9e65fe8bb Migrate 'UserAccessToken.GetByToken' to Sync by default (#11321) 2019-06-20 23:37:38 +02:00
Donald Feury
66993e1fae MM-2954 - Add a separate post type for /me messages and update formatting (#11082)
* MM-2954

* Added new const post type for /me commands
* Modified me command to return response text without *__* wrapper
* Modified unit test for MeCommand to reflect changes
* Added unit test for the me command provider

* * Reverted change to text property in me command response
* Added original message in me command response props
* Updated unit tests

* gofmt changes
2019-06-20 17:16:36 -04:00
Rodrigo Villablanca Vásquez
a760f32526 Migrates Channel.ResetAllChannelSchemes to sync by default (#11275) 2019-06-20 22:52:24 +02:00
Gabe Jackson
41e5ec3c5e [MM-16032] Add system ping endpoint health checks (#11267)
* Add system ping endpoint health checks

This change adds the option for additional server health checks
to be performed when the system ping endpoint is hit. An additional
field 'getserverstatus' is required to run the enhanced health
checks to ensure previous default ping behavior is not modified.

* Use snake_casing
2019-06-20 16:06:04 -04:00
Rajat Varyani
a9b4a7f508 [MM-16484] Migrate UserAccessToken.Get to Sync by default (#11316)
* [MM-16484] Migrate UserAccessToken.Get to Sync by default

* [MM-16484] Fix shadowing error for err variable

* [MM-16484] Remove redundant else
2019-06-20 20:22:10 +02:00
Rajat Varyani
11b7081f26 [MM-16485] Migrate UserAccessToken.GetAll to Sync by default (#11317) 2019-06-20 10:04:55 -07:00
Hanzei
c05399ba9c Run go get commands explicitly without modules (#11290) 2019-06-20 13:09:05 -03:00
Rodrigo Villablanca Vásquez
1e05d37290 Migrates Channel.GetAllDirectChannelsForExportAfter to sync by default (#11272) 2019-06-20 11:01:49 -04:00
Rodrigo Villablanca Vásquez
b1631026d8 Channel.GetAllChannels to sync by default (#11206)
* Channel.GetAllChannels to sync by default

* Improvements in test of GetAllChannels
2019-06-20 16:48:51 +02:00
Shota Gvinepadze
01fa648886 [MM-11222] Migrate 'Channel.GetMemberCount' to Sync by default (#11246)
* Migrate 'Channel.GetMemberCount' to Sync by default

* Rename member count chan

* Fix variable shadowing
2019-06-20 10:25:53 -04:00
Woolim Cho
0975409f8e [MM-16161] Migrate Team.SearchAll to Sync by default (#11188)
* Migrate Team.SearchAll to Sync by default

* SearchAllTeams: return result directly
2019-06-20 10:10:17 -04:00
Rodrigo Villablanca Vásquez
59e7bf1c23 Migrates Channel.GetByName to sync by default (#11187)
* Channel.GetByName and Channel.GetByNameIncludedDeleted sync by default

* Suggested changes

* Fix some vars shadowing

* Rename of vars inside goroutine

* Shadow variable corrected
2019-06-20 15:21:36 +02:00
Shobhit Gupta
4494a56162 Migrate Emoji.Delete to Sync by default (#11313) 2019-06-20 14:50:06 +02:00
Shobhit Gupta
bd3f72254d Migrate Channel.MigrateChannelMembers to Sync by default (#11277) 2019-06-20 14:37:06 +02:00
Rodrigo Villablanca Vásquez
de8a60225b Channel.GetPublicChannelsForTeam to sync by default (#11208)
* Channel.GetPublicChannelsForTeam to sync by default

* var rename
2019-06-20 14:36:47 +02:00
Sheshagiri Rao Mallipedhi
be5c962913 Migrate Channel.GetMemberForPost to Sync by default (#11244)
* Migrate Channel.GetMemberForPost to Sync by default

* fix indentation
2019-06-20 09:37:26 +02:00
Rodrigo Villablanca Vásquez
327a1c92e8 Migrates Channel.GetChannels to sync by default (#11204)
* Migrates Channel.GetChannels to sync by default

* Some suggestions

* resolved undefined var
2019-06-20 09:31:40 +02:00
Kyle Reczek
3c13b0e4e7 [MM-16182] Migrate Team.GetTeamsForUserWithPagination to Sync by default #11117 (#11235)
* [MM-16182] Migrate Team.GetTeamsForUserWithPagination to Sync by default #11117
+ Team.GetTeamsForUserWithPagination returns ([]*model.TeamMember, *model.AppError) now instead of StoreChannel.
+ Updated mock.
+ Updated tests to use new explicit async.

* Fix Whitespace from go fmt

* Changed team_store.go to not use explicit async.

* Fixed up files from the review
+ Dont reassign var to ms.
+ Avoid nesting of the fetch calls.
+ Directly return fetch instead of nil, err and team, nil.
2019-06-20 08:42:09 +02:00
Shota Gvinepadze
33789a3523 [MM-11227] Migrate "Channel.GetMembers" to Sync by default (#11228)
* Migrate 'Channel.GetMembers' to Sync by default

* Add error tests to GetMembers

* Change error name

* Change error name
2019-06-19 15:24:02 -04:00
Shota Gvinepadze
aad50f7b2c Migrate 'Channel.GetMembersByIds' to Sync by default (#11287) 2019-06-19 18:20:19 +02:00
krjn
a39ceadd58 [MM-16353] Migrate Channel.AnalyticsDeletedTypeCount to Sync by default (#11289)
* [MM-16353] Migrate AnalyticsDeletedTypeCount to Sync by default

* refactor: decrease branching

* test: use testify for assertion
2019-06-19 17:23:16 +02:00
Harrison Healey
73a1bb80f1 MM-16465 Only enable NPS plugin by default if diagnostics are enabled (#11279) 2019-06-19 09:06:59 -04:00
Rodrigo Villablanca Vásquez
c40017b39d Migrates Channel.GetAllChannelsForExportAfter to sync by default (#11273) 2019-06-19 12:31:51 +01:00
piperRyan
2ce36c2eb1 Migrates "Channel.GetAll" to Sync by default (#11281) 2019-06-19 10:40:05 +01:00